aws-samples / aws-modernization-gitops-with-weaveworks
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 47 files with 8,715 lines of code.
    • 1 very long files (1,107 lines of code)
    • 5 long files (4,208 lines of code)
    • 6 medium size files (1,721 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (531 lines of code)
    • 31 very small files (1,148 lines of code)
12% | 48% | 19% | 6% | 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
css32% | 15% | 31% | 7% | 14%
yaml0% | 80% | 6% | 3% | 8%
js0% | 0% | 69% | 0% | 30%
html0% | 0% | 0% | 95% | 4%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
public/css44% | 21% | 8% | 5% | 20%
content/30_workshop_03_grc0% | 95% | 0% | 0% | 4%
public/mermaid0% | 0% | 100% | 0% | 0%
public/js0% | 0% | 69% | 0% | 30%
content/40_workshop_4_hipo-teams0% | 0% | 74% | 0% | 25%
modules/webhosting0% | 0% | 0% | 63% | 36%
static/css0% | 0% | 0% | 100% | 0%
layouts/partials0% | 0% | 0% | 95% | 4%
ROOT0% | 0% | 0% | 0% | 100%
modules0% | 0% | 0% | 0% | 100%
Longest Files (Top 47)
File# lines# units
theme.css
in public/css
1107 -
required-labels-template.yaml
in content/30_workshop_03_grc/deploy.files
986 -
required-labels-template.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
986 -
opa-gatekeeper-deployment.yaml
in content/30_workshop_03_grc/deploy.files
857 -
opa-gatekeeper-deployment.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
857 -
nucleus.css
in public/css
522 -
learn.js
in public/js
342 40
mermaid.forest.css
in public/mermaid
340 -
1-podinfo.yaml
in content/40_workshop_4_hipo-teams/60_install-pod-info/deploy.files
305 -
mermaid.dark.css
in public/mermaid
262 -
mermaid.css
in public/mermaid
260 -
hugo-theme.css
in public/css
212 -
pipeline.yaml
in modules/webhosting
170 -
theme-mine.css
in static/css
127 -
theme-mine.css
in public/css
127 -
header.html
in layouts/partials
107 -
cloudfront-s3-website.yaml
in modules/webhosting
97 -
theme-green.css
in public/css
90 -
theme-blue.css
in public/css
90 -
theme-red.css
in public/css
90 -
hugo-learn.js
in public/js
82 5
2-podinfo-virtual-nodes.yaml
in content/40_workshop_4_hipo-teams/60_install-pod-info/deploy.files
74 -
hybrid.css
in public/css
72 -
atom-one-dark-reasonable.css
in public/css
70 -
search.js
in public/js
69 8
config.toml
in root
63 -
tags.css
in public/css
42 -
auto-complete.css
in public/css
40 -
allowed-repos-template.yaml
in content/30_workshop_03_grc/deploy.files
32 -
allowed-repos-template.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
32 -
webspec.yml
in root
30 -
3-podinfo-virtual-services.yaml
in content/40_workshop_4_hipo-teams/60_install-pod-info/deploy.files
20 -
pod-aunauthorized-repo-example.yaml
in content/30_workshop_03_grc/deploy.files
19 -
pod-aunauthorized-repo-example.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
19 -
allowed-repos-policy.yaml
in content/30_workshop_03_grc/deploy.files
14 -
required-labels-policy.yaml
in content/30_workshop_03_grc/deploy.files
14 -
allowed-repos-policy.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
14 -
required-labels-policy.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
14 -
EKS-workshop-stack.yaml
in modules
13 -
4-podinfo-placeholder-services.yaml
in content/40_workshop_4_hipo-teams/60_install-pod-info/deploy.files
11 -
development-ns.yaml
in content/30_workshop_03_grc/150_iam-groups/deploy.files
6 -
integration-ns.yaml
in content/30_workshop_03_grc/150_iam-groups/deploy.files
6 -
development-ns.yaml
in content/30_workshop_03_grc/deploy.files
6 -
integration-ns.yaml
in content/30_workshop_03_grc/deploy.files
6 -
menu-footer.html
in layouts/partials
5 -
bad-namespace-example.yaml
in content/30_workshop_03_grc/deploy.files
4 -
bad-namespace-example.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
4 -
Files With Most Units (Top 3)
File# lines# units
learn.js
in public/js
342 40
search.js
in public/js
69 8
hugo-learn.js
in public/js
82 5
Files With Long Lines (Top 20)

There are 20 files with lines longer than 120 characters. In total, there are 576 long lines.

File# lines# units# long lines
required-labels-template.yaml
in content/30_workshop_03_grc/deploy.files
986 - 264
required-labels-template.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
986 - 264
theme.css
in public/css
1107 - 8
opa-gatekeeper-deployment.yaml
in content/30_workshop_03_grc/deploy.files
857 - 8
opa-gatekeeper-deployment.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
857 - 8
header.html
in layouts/partials
107 - 5
learn.js
in public/js
342 40 3
nucleus.css
in public/css
522 - 2
allowed-repos-template.yaml
in content/30_workshop_03_grc/deploy.files
32 - 2
allowed-repos-template.yaml
in content/30_workshop_03_grc/120_deploy_opa_gatekeeper/deploy.files
32 - 2
theme-mine.css
in static/css
127 - 1
webspec.yml
in root
30 - 1
search.js
in public/js
69 8 1
theme-green.css
in public/css
90 - 1
atom-one-dark-reasonable.css
in public/css
70 - 1
theme-blue.css
in public/css
90 - 1
theme-red.css
in public/css
90 - 1
theme-mine.css
in public/css
127 - 1
EKS-workshop-stack.yaml
in modules
13 - 1
cloudfront-s3-website.yaml
in modules/webhosting
97 - 1