awslabs / aws-gov-cloud-import
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 21 files with 3,481 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,991 lines of code)
    • 2 medium size files (460 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (248 lines of code)
    • 14 very small files (782 lines of code)
0% | 57% | 13% | 7% | 22%
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
js0% | 45% | 16% | 9% | 28%
html0% | 100% | 0% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 100% | 0% | 0% | 0%
browser/scripts0% | 100% | 0% | 0% | 0%
ec20% | 100% | 0% | 0% | 0%
lambda/ec2Run0% | 0% | 100% | 0% | 0%
lambda/importImageStatus0% | 0% | 100% | 0% | 0%
lambda/appStatus0% | 0% | 0% | 100% | 0%
lambda/importImage0% | 0% | 0% | 100% | 0%
lambda/makeVolume0% | 0% | 0% | 0% | 100%
lambda/snsPublish0% | 0% | 0% | 0% | 100%
lambda/removeS3Image0% | 0% | 0% | 0% | 100%
lambda/listGovBuckets0% | 0% | 0% | 0% | 100%
lambda/moveStatus0% | 0% | 0% | 0% | 100%
lambda/initStepFunction0% | 0% | 0% | 0% | 100%
lambda/initS3Sync0% | 0% | 0% | 0% | 100%
lambda/cleanUp0% | 0% | 0% | 0% | 100%
lambda/snsSubscribe0% | 0% | 0% | 0% | 100%
browser0% | 0% | 0% | 0% | 100%
lambda/moveImage0% | 0% | 0% | 0% | 100%
lambda/listComBuckets0% | 0% | 0% | 0% | 100%
lambda/makeVolumeStatus0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
index.html
in root
749 -
gov-cloud-import-browser.js
in browser/scripts
732 44
gov-cloud-import.js
in ec2
510 31
index.js
in lambda/ec2Run
252 9
index.js
in lambda/importImageStatus
208 7
index.js
in lambda/appStatus
125 4
index.js
in lambda/importImage
123 4
index.js
in lambda/makeVolume
95 3
index.js
in lambda/snsPublish
93 4
index.js
in lambda/removeS3Image
82 3
index.js
in lambda/listGovBuckets
78 3
index.js
in lambda/moveStatus
68 2
index.js
in lambda/initStepFunction
66 2
index.js
in lambda/initS3Sync
63 2
index.js
in lambda/cleanUp
55 1
index.js
in lambda/snsSubscribe
51 2
index.js
in lambda/moveImage
39 -
index.js
in lambda/listComBuckets
30 1
index.js
in lambda/makeVolumeStatus
23 -
importImage.js
in browser
20 1
importS3.js
in browser
19 1
Files With Most Units (Top 18)
File# lines# units
gov-cloud-import-browser.js
in browser/scripts
732 44
gov-cloud-import.js
in ec2
510 31
index.js
in lambda/ec2Run
252 9
index.js
in lambda/importImageStatus
208 7
index.js
in lambda/snsPublish
93 4
index.js
in lambda/appStatus
125 4
index.js
in lambda/importImage
123 4
index.js
in lambda/removeS3Image
82 3
index.js
in lambda/makeVolume
95 3
index.js
in lambda/listGovBuckets
78 3
index.js
in lambda/snsSubscribe
51 2
index.js
in lambda/initStepFunction
66 2
index.js
in lambda/initS3Sync
63 2
index.js
in lambda/moveStatus
68 2
importImage.js
in browser
20 1
importS3.js
in browser
19 1
index.js
in lambda/cleanUp
55 1
index.js
in lambda/listComBuckets
30 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
index.html
in root
749 - 52
gov-cloud-import-browser.js
in browser/scripts
732 44 6
index.js
in lambda/snsPublish
93 4 5
gov-cloud-import.js
in ec2
510 31 2