aws-samples / amazon-eks-and-amazon-ec2-k8s-container-networking-workshops
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 99 files with 9,801 lines of code.
    • 2 very long files (3,674 lines of code)
    • 2 long files (1,052 lines of code)
    • 7 medium size files (2,289 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (660 lines of code)
    • 83 very small files (2,126 lines of code)
37% | 10% | 23% | 6% | 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
css61% | 8% | 17% | 2% | 9%
yml0% | 37% | 51% | 10% | 1%
yaml0% | 0% | 49% | 12% | 38%
html0% | 0% | 0% | 23% | 76%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
static/css94% | 0% | 0% | 5% | 0%
themes/learn25% | 12% | 25% | 5% | 31%
templates0% | 34% | 46% | 17% | 2%
templates/eksConfigFiles0% | 0% | 73% | 0% | 26%
layouts/partials0% | 0% | 0% | 0% | 100%
layouts/shortcodes0% | 0% | 0% | 0% | 100%
templates/kopsConfigFiles0% | 0% | 0% | 0% | 100%
static/yaml0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
layouts0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
all.css
in static/css
2570 -
theme.css
in themes/learn/static/css
1104 -
amazon-eks-nodegroup-with-spot.yml
in templates
530 -
nucleus.css
in themes/learn/static/css
522 -
calico.yaml
in templates/eksConfigFiles
496 -
amazon-eks-nodegroup-with-mixed-instances.yml
in templates
383 -
mermaid.forest.css
in themes/learn/static/mermaid
340 -
ci-cd-codepipeline.cfn.yml
in templates
336 -
mermaid.dark.css
in themes/learn/static/mermaid
262 -
mermaid.css
in themes/learn/static/mermaid
260 -
hugo-theme.css
in themes/learn/static/css
212 -
theme-mine.css
in static/css
151 -
weave_flux_pipeline.cfn.yml
in templates
144 -
menu.html
in themes/learn/layouts/partials
140 -
awsk8snetworking-cluster-mgmt-cloud9.yaml
in templates
121 -
header.html
in themes/learn/layouts/partials
104 -
header.html
in layouts/partials
97 -
theme-green.css
in themes/learn/static/css
90 -
theme-blue.css
in themes/learn/static/css
90 -
theme-red.css
in themes/learn/static/css
90 -
children.html
in themes/learn/layouts/shortcodes
86 -
theme-mine.css
in themes/learn/exampleSite/static/css
84 -
cloud9.yaml
in static/yaml
73 -
hybrid.css
in themes/learn/static/css
72 -
atom-one-dark-reasonable.css
in themes/learn/static/css
70 -
footer.html
in layouts/partials
69 -
footer.html
in themes/learn/layouts/partials
66 -
config.toml
in themes/learn/exampleSite
62 -
config.toml
in root
52 -
404.html
in layouts
49 -
404.html
in themes/learn/layouts
48 -
tabs.html
in layouts/shortcodes
43 -
tags.css
in themes/learn/static/css
42 -
frontend-nlb.yaml
in templates/eksConfigFiles
41 -
auto-complete.css
in themes/learn/static/css
40 -
frontend.yaml
in templates/eksConfigFiles
39 -
frontend-elb.yaml
in templates/eksConfigFiles
39 -
createIamRole.yaml
in templates
37 -
logo.html
in themes/learn/exampleSite/layouts/partials
37 -
attachments.html
in themes/learn/layouts/shortcodes
35 -
index.html
in themes/learn/layouts
30 -
ghcontributors.html
in layouts/shortcodes
29 -
ghcontributors.html
in themes/learn/exampleSite/layouts/shortcodes
29 -
worker_hello.yaml
in templates/eksConfigFiles
24 -
hello.yaml
in templates/eksConfigFiles
24 -
busyboxDeployment.yaml
in templates/kopsConfigFiles
23 -
client.yaml
in templates/kopsConfigFiles
23 -
simpleHttpServer.yaml
in templates/kopsConfigFiles
23 -
tab.html
in layouts/shortcodes
19 -
theme.toml
in themes/learn
18 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 43 files with lines longer than 120 characters. In total, there are 141 long lines.

File# lines# units# long lines
logo.html
in themes/learn/exampleSite/layouts/partials
37 - 16
footer.html
in layouts/partials
69 - 13
footer.html
in themes/learn/layouts/partials
66 - 13
children.html
in themes/learn/layouts/shortcodes
86 - 12
theme.css
in themes/learn/static/css
1104 - 8
menu.html
in themes/learn/layouts/partials
140 - 8
amazon-eks-nodegroup-with-mixed-instances.yml
in templates
383 - 6
header.html
in themes/learn/layouts/partials
104 - 5
header.html
in layouts/partials
97 - 4
404.html
in layouts
49 - 4
menu-footer.html
in themes/learn/exampleSite/layouts/partials
7 - 4
404.html
in themes/learn/layouts
48 - 4
all.css
in static/css
2570 - 3
theme-mine.css
in static/css
151 - 3
menu-footer.html
in layouts/partials
8 - 3
amazon-eks-nodegroup-with-spot.yml
in templates
530 - 2
weave_flux_pipeline.cfn.yml
in templates
144 - 2
awsk8snetworking-cluster-mgmt-cloud9.yaml
in templates
121 - 2
cloud9.yaml
in static/yaml
73 - 2
nucleus.css
in themes/learn/static/css
522 - 2