aws-samples / aws-alexa-workshop-smarthome-ui
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 20 files with 903 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (272 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (170 lines of code)
    • 18 very small files (461 lines of code)
0% | 0% | 30% | 18% | 51%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
yml0% | 0% | 92% | 0% | 7%
js0% | 0% | 0% | 35% | 64%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
graphql0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
amplify/backend/auth/awsalexaui51864c6a0% | 0% | 100% | 0% | 0%
src0% | 0% | 0% | 46% | 53%
src/graphql0% | 0% | 0% | 0% | 100%
app/src0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
app/public0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
amplify/backend/api/AlexaBackend0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
awsalexaui51864c6a-cloudformation-template.yml
in amplify/backend/auth/awsalexaui51864c6a
272 -
Device.js
in src
170 3
serviceWorker.js
in src
92 4
App.js
in src
51 1
mutations.js
in src/graphql
42 6
queries.js
in src/graphql
37 3
subscriptions.js
in src/graphql
33 -
App.css
in app/src
33 -
App.css
in src
29 -
amplify.yml
in root
22 -
App.js
in app/src
20 -
index.html
in app/public
20 -
index.html
in public
15 -
index.css
in src
12 -
index.js
in app/src
12 -
index.css
in app/src
12 -
reportWebVitals.js
in app/src
12 -
index.js
in src
10 -
schema.graphql
in amplify/backend/api/AlexaBackend
8 -
setupTests.js
in app/src
1 -
Files With Most Units (Top 5)
File# lines# units
mutations.js
in src/graphql
42 6
serviceWorker.js
in src
92 4
Device.js
in src
170 3
queries.js
in src/graphql
37 3
App.js
in src
51 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 6 long lines.

File# lines# units# long lines
awsalexaui51864c6a-cloudformation-template.yml
in amplify/backend/auth/awsalexaui51864c6a
272 - 6