aws-samples / aws-shadow-deployment
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 11 files with 1,062 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (680 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (152 lines of code)
    • 9 very small files (230 lines of code)
0% | 64% | 0% | 14% | 21%
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
yaml0% | 79% | 0% | 17% | 3%
py0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 78% | 0% | 17% | 4%
lambda/processor0% | 0% | 0% | 0% | 100%
lambda/performance_comparison0% | 0% | 0% | 0% | 100%
lambda/sfn_trigger0% | 0% | 0% | 0% | 100%
lambda/traffic_update0% | 0% | 0% | 0% | 100%
lambda/traffic_simulator0% | 0% | 0% | 0% | 100%
lambda/endpoint_update0% | 0% | 0% | 0% | 100%
lambda/endpoint_status_check0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
template.yaml
in root
680 -
cicd.yaml
in root
152 -
handler.py
in lambda/processor
56 3
handler.py
in lambda/performance_comparison
42 1
handler.py
in lambda/sfn_trigger
34 1
s3.yaml
in root
27 -
handler.py
in lambda/traffic_update
23 1
handler.py
in lambda/traffic_simulator
17 1
buildspec.yml
in root
12 -
handler.py
in lambda/endpoint_update
10 1
handler.py
in lambda/endpoint_status_check
9 1
Files With Most Units (Top 7)
File# lines# units
handler.py
in lambda/processor
56 3
handler.py
in lambda/performance_comparison
42 1
handler.py
in lambda/endpoint_update
10 1
handler.py
in lambda/sfn_trigger
34 1
handler.py
in lambda/traffic_simulator
17 1
handler.py
in lambda/endpoint_status_check
9 1
handler.py
in lambda/traffic_update
23 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 8 long lines.

File# lines# units# long lines
template.yaml
in root
680 - 7
buildspec.yml
in root
12 - 1