aws-samples / amazon-eks-one-click-cluster-upgrade
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 15 files with 2,849 lines of code.
    • 1 very long files (1,058 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,283 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (305 lines of code)
    • 8 very small files (203 lines of code)
37% | 0% | 45% | 10% | 7%
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
py39% | 0% | 48% | 5% | 6%
yaml0% | 0% | 0% | 87% | 12%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
eksupdate/src44% | 0% | 43% | 5% | 5%
eksupdate0% | 0% | 99% | 0% | <1%
eksupdate/src/S3Files0% | 0% | 0% | 87% | 12%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
preflight_module.py
in eksupdate/src
1058 19
boto_aws.py
in eksupdate/src
385 18
k8s_client.py
in eksupdate/src
376 16
eksctlfinal.py
in eksupdate/src
289 11
starter.py
in eksupdate
233 4
vpc-cni.yaml
in eksupdate/src/S3Files
167 -
self_managed.py
in eksupdate/src
138 8
eks_get_image_type.py
in eksupdate/src
58 2
ekslogs.py
in eksupdate/src
49 1
latest_ami.py
in eksupdate/src
35 1
eks_updater.py
in root
29 -
core-dns.yaml
in eksupdate/src/S3Files
24 -
installer.py
in root
6 1
__init__.py
in eksupdate
1 -
__init__.py
in eksupdate/src
1 -
Files With Most Units (Top 10)
File# lines# units
preflight_module.py
in eksupdate/src
1058 19
boto_aws.py
in eksupdate/src
385 18
k8s_client.py
in eksupdate/src
376 16
eksctlfinal.py
in eksupdate/src
289 11
self_managed.py
in eksupdate/src
138 8
starter.py
in eksupdate
233 4
eks_get_image_type.py
in eksupdate/src
58 2
installer.py
in root
6 1
latest_ami.py
in eksupdate/src
35 1
ekslogs.py
in eksupdate/src
49 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 215 long lines.

File# lines# units# long lines
preflight_module.py
in eksupdate/src
1058 19 112
starter.py
in eksupdate
233 4 30
eksctlfinal.py
in eksupdate/src
289 11 21
k8s_client.py
in eksupdate/src
376 16 18
boto_aws.py
in eksupdate/src
385 18 13
self_managed.py
in eksupdate/src
138 8 10
eks_get_image_type.py
in eksupdate/src
58 2 6
eks_updater.py
in root
29 - 3
latest_ami.py
in eksupdate/src
35 1 2