aws-samples / amazon-documentdb-integration-with-application-autoscaler
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 8 files with 1,531 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (680 lines of code)
    • 1 medium size files (235 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (403 lines of code)
    • 3 very small files (213 lines of code)
0% | 44% | 15% | 26% | 13%
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% | 53% | 18% | 21% | 6%
py0% | 0% | 0% | 51% | 48%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cfn0% | 53% | 18% | 21% | 6%
lambda0% | 0% | 0% | 62% | 37%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 8)
File# lines# units
autoscaler.yaml
in cfn
680 -
network.yaml
in cfn
235 -
main.yaml
in cfn
158 -
index_patch.py
in lambda
137 1
docdb.yaml
in cfn
108 -
jumphost.yaml
in cfn
85 -
index_get.py
in lambda
81 1
register.py
in scripts
47 -
Files With Most Units (Top 2)
File# lines# units
index_get.py
in lambda
81 1
index_patch.py
in lambda
137 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
autoscaler.yaml
in cfn
680 - 10
main.yaml
in cfn
158 - 4
index_patch.py
in lambda
137 1 4
register.py
in scripts
47 - 3
index_get.py
in lambda
81 1 1