aws-samples / aws-amplify-react-iot-pub-sub-using-cp
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 14 files with 1,705 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,185 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (180 lines of code)
    • 10 very small files (340 lines of code)
0% | 0% | 69% | 10% | 19%
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% | 100% | 0% | 0%
js0% | 0% | 0% | 41% | 58%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
amplify/#current-cloud-backend/auth/cognito81d9f49f0% | 0% | 100% | 0% | 0%
amplify/backend/auth/cognito81d9f49f0% | 0% | 100% | 0% | 0%
amplify/backend/awscloudformation0% | 0% | 100% | 0% | 0%
src0% | 0% | 0% | 35% | 64%
public0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
cognito81d9f49f-cloudformation-template.yml
in amplify/#current-cloud-backend/auth/cognito81d9f49f
397 -
cognito81d9f49f-cloudformation-template.yml
in amplify/backend/auth/cognito81d9f49f
397 -
nested-cloudformation-stack.yml
in amplify/backend/awscloudformation
391 -
MQTTDisplay.js
in src
180 9
serviceWorker.js
in src
92 4
AuthDisplay.js
in src
88 2
App.css
in src
59 -
aws-exports.js
in src
30 -
index.html
in public
18 -
App.js
in src
17 -
index.css
in src
13 -
index.js
in src
10 -
aws-iot-configuration.js
in src
7 -
aws-iotcore-configuration.js
in src
6 -
Files With Most Units (Top 3)
File# lines# units
MQTTDisplay.js
in src
180 9
serviceWorker.js
in src
92 4
AuthDisplay.js
in src
88 2
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 11 long lines.

File# lines# units# long lines
nested-cloudformation-stack.yml
in amplify/backend/awscloudformation
391 - 6
AuthDisplay.js
in src
88 2 3
cognito81d9f49f-cloudformation-template.yml
in amplify/#current-cloud-backend/auth/cognito81d9f49f
397 - 1
cognito81d9f49f-cloudformation-template.yml
in amplify/backend/auth/cognito81d9f49f
397 - 1