aws-samples / amazon-eks-using-cdk-typescript
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 2,243 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,671 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (301 lines of code)
    • 4 very small files (271 lines of code)
0% | 0% | 74% | 13% | 12%
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
ts0% | 0% | 88% | 0% | 11%
yaml0% | 0% | 63% | 21% | 14%
py0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 0% | 81% | 0% | 18%
manifests0% | 0% | 63% | 21% | 14%
lib/policies0% | 0% | 100% | 0% | 0%
lib/custom-resources0% | 0% | 0% | 100% | 0%
Longest Files (Top 11)
File# lines# units
policies.ts
in lib/policies
482 5
k8s-baseline.ts
in lib
405 2
fluentBitSetup.yaml
in manifests
342 -
otelContainerInsights.yaml
in manifests
222 -
eks-cdk-js-stack.ts
in lib
220 4
metricServerManifest.yaml
in manifests
192 -
eksloggingOnEvent.py
in lib/custom-resources
109 6
k8s-nodegroup.ts
in lib
97 -
awsSecretsManifest.yaml
in manifests
86 -
vpc-stack.ts
in lib
44 1
consoleViewOnlyGroup.yaml
in manifests
44 -
Files With Most Units (Top 5)
File# lines# units
eksloggingOnEvent.py
in lib/custom-resources
109 6
policies.ts
in lib/policies
482 5
eks-cdk-js-stack.ts
in lib
220 4
k8s-baseline.ts
in lib
405 2
vpc-stack.ts
in lib
44 1
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
eks-cdk-js-stack.ts
in lib
220 4 5
eksloggingOnEvent.py
in lib/custom-resources
109 6 4
fluentBitSetup.yaml
in manifests
342 - 4
k8s-baseline.ts
in lib
405 2 3
k8s-nodegroup.ts
in lib
97 - 2
otelContainerInsights.yaml
in manifests
222 - 1
awsSecretsManifest.yaml
in manifests
86 - 1