aws-samples / aws-panorama-shelf-monitoring
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 22 files with 726 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (113 lines of code)
    • 21 very small files (613 lines of code)
0% | 0% | 0% | 15% | 84%
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
jsx0% | 0% | 0% | 48% | 51%
js0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
yml0% | 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
src/Functions0% | 0% | 0% | 56% | 43%
src/graphql0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
cloudformation/custom_resources/sqsInvokedFunction0% | 0% | 0% | 0% | 100%
amplify/backend/function0% | 0% | 0% | 0% | 100%
cloudformation/custom_resources/getAppSyncEndpoint0% | 0% | 0% | 0% | 100%
cloudformation/custom_resources/githubhelper0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
amplify/backend/api0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
InventoryThreshold.jsx
in src/Functions
113 -
index.js
in amplify/backend/function/smartshelf72d32494/src
70 1
Body.jsx
in src/Functions
67 -
custom_resource.py
in cloudformation/custom_resources/getAppSyncEndpoint
64 5
mutations.js
in src/graphql
45 6
queries.js
in src/graphql
39 3
gqllayer.py
in cloudformation/custom_resources/sqsInvokedFunction
38 3
subscriptions.js
in src/graphql
36 -
App.css
in src
33 -
lambda_function.py
in cloudformation/custom_resources/sqsInvokedFunction
33 1
custom_resource.py
in cloudformation/custom_resources/githubhelper
30 3
App.jsx
in src
23 -
amplify.yml
in root
22 -
index.html
in public
20 -
index.css
in src
19 -
schema.graphql
in amplify/backend/api/smartshelf
17 -
Header.jsx
in src/Functions
17 -
index.jsx
in src
15 -
reportWebVitals.js
in src
12 -
introspections.js
in src/graphql
9 1
index.js
in src/Functions
3 -
setupTests.js
in src
1 -
Files With Most Units (Top 8)
File# lines# units
mutations.js
in src/graphql
45 6
custom_resource.py
in cloudformation/custom_resources/getAppSyncEndpoint
64 5
queries.js
in src/graphql
39 3
custom_resource.py
in cloudformation/custom_resources/githubhelper
30 3
gqllayer.py
in cloudformation/custom_resources/sqsInvokedFunction
38 3
index.js
in amplify/backend/function/smartshelf72d32494/src
70 1
introspections.js
in src/graphql
9 1
lambda_function.py
in cloudformation/custom_resources/sqsInvokedFunction
33 1
Files With Long Lines (Top 1)

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

File# lines# units# long lines
index.js
in amplify/backend/function/smartshelf72d32494/src
70 1 1