awslabs / amazon-pinpoint-preference-center
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 10 files with 2,058 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (533 lines of code)
    • 3 medium size files (1,000 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (432 lines of code)
    • 3 very small files (93 lines of code)
0% | 25% | 48% | 20% | 4%
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
css0% | 68% | 0% | 21% | 9%
js0% | 0% | 87% | 10% | 1%
html0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
static-assets/css0% | 68% | 0% | 21% | 9%
rest-api-handler0% | 0% | 100% | 0% | 0%
static-assets/js0% | 0% | 94% | 0% | 5%
solution-helper0% | 0% | 100% | 0% | 0%
static-assets0% | 0% | 0% | 100% | 0%
stream-processor0% | 0% | 0% | 100% | 0%
Longest Files (Top 10)
File# lines# units
milligram.css
in source/static-assets/css
533 -
index.js
in source/rest-api-handler
375 12
main.js
in source/static-assets/js
353 37
index.js
in source/solution-helper
272 8
main.css
in source/static-assets/css
169 -
index.html
in source/static-assets
138 -
index.js
in source/stream-processor
125 3
tlite.css
in source/static-assets/css
72 -
inputmask.binding.js
in source/static-assets/js
20 5
validetta.min.css
in source/static-assets/css
1 -
Files With Most Units (Top 5)
File# lines# units
main.js
in source/static-assets/js
353 37
index.js
in source/rest-api-handler
375 12
index.js
in source/solution-helper
272 8
inputmask.binding.js
in source/static-assets/js
20 5
index.js
in source/stream-processor
125 3
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 20 long lines.

File# lines# units# long lines
index.js
in source/solution-helper
272 8 5
index.js
in source/rest-api-handler
375 12 5
main.js
in source/static-assets/js
353 37 3
inputmask.binding.js
in source/static-assets/js
20 5 2
milligram.css
in source/static-assets/css
533 - 2
index.html
in source/static-assets
138 - 2
validetta.min.css
in source/static-assets/css
1 - 1