aws-samples / aws-amplify-react-iot-pub-sub-using-lambda
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 17 files with 1,925 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,223 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (178 lines of code)
    • 13 very small files (524 lines of code)
0% | 0% | 63% | 9% | 27%
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% | 29% | 70%
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/backend/awscloudformation0% | 0% | 100% | 0% | 0%
amplify/#current-cloud-backend/auth/cognito81d9f49f0% | 0% | 100% | 0% | 0%
amplify/backend/auth/cognito81d9f49f0% | 0% | 100% | 0% | 0%
src0% | 0% | 0% | 37% | 62%
amplify/#current-cloud-backend/function/amplifyiotlambda/src0% | 0% | 0% | 0% | 100%
amplify/backend/function/amplifyiotlambda/src0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
nested-cloudformation-stack.yml
in amplify/backend/awscloudformation
429 -
cognito81d9f49f-cloudformation-template.yml
in amplify/#current-cloud-backend/auth/cognito81d9f49f
397 -
cognito81d9f49f-cloudformation-template.yml
in amplify/backend/auth/cognito81d9f49f
397 -
MQTTDisplay.js
in src
178 9
app.js
in amplify/#current-cloud-backend/function/amplifyiotlambda/src
100 -
app.js
in amplify/backend/function/amplifyiotlambda/src
100 -
serviceWorker.js
in src
92 4
App.css
in src
59 -
AuthDisplay.js
in src
54 1
aws-exports.js
in src
37 -
index.html
in public
18 -
App.js
in src
17 -
index.js
in src
13 -
index.css
in src
13 -
index.js
in amplify/#current-cloud-backend/function/amplifyiotlambda/src
7 -
index.js
in amplify/backend/function/amplifyiotlambda/src
7 -
aws-iot-configuration.js
in src
7 -
Files With Most Units (Top 3)
File# lines# units
MQTTDisplay.js
in src
178 9
serviceWorker.js
in src
92 4
AuthDisplay.js
in src
54 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 14 long lines.

File# lines# units# long lines
nested-cloudformation-stack.yml
in amplify/backend/awscloudformation
429 - 8
app.js
in amplify/#current-cloud-backend/function/amplifyiotlambda/src
100 - 2
app.js
in amplify/backend/function/amplifyiotlambda/src
100 - 2
cognito81d9f49f-cloudformation-template.yml
in amplify/#current-cloud-backend/auth/cognito81d9f49f
397 - 1
cognito81d9f49f-cloudformation-template.yml
in amplify/backend/auth/cognito81d9f49f
397 - 1