aws-samples / amazon-eks-refarch-cloudformation
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 13 files with 1,834 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (629 lines of code)
    • 1 medium size files (464 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (345 lines of code)
    • 9 very small files (396 lines of code)
0% | 34% | 25% | 18% | 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
yml0% | 100% | 0% | 0% | 0%
yaml0% | 0% | 40% | 30% | 28%
ts0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cloudformation0% | 38% | 28% | 21% | 12%
external-dns0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
files0% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
codepipeline.yml
in cloudformation
629 -
nodegroup.yaml
in cloudformation
464 -
eks.yaml
in cloudformation
178 -
ami.yaml
in cloudformation
167 -
cluster.yaml
in cloudformation
70 -
main.ts
in src
68 2
aws-sd.yaml
in external-dns
62 -
configmap.yaml
in cloudformation
55 -
configmap-sar.yaml
in cloudformation
45 -
nginx.yaml
in external-dns
31 -
eks-lambda-drainer.yaml
in cloudformation
27 -
eks-latest-ami.yaml
in files
26 -
aws-auth-cm.yaml
in files
12 -
Files With Most Units (Top 1)
File# lines# units
main.ts
in src
68 2
Files With Long Lines (Top 5)

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

File# lines# units# long lines
codepipeline.yml
in cloudformation
629 - 10
nodegroup.yaml
in cloudformation
464 - 6
eks.yaml
in cloudformation
178 - 6
cluster.yaml
in cloudformation
70 - 1
ami.yaml
in cloudformation
167 - 1