aws-ia / workshop-taskcat
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 76 files with 5,459 lines of code.
    • 1 very long files (1,104 lines of code)
    • 1 long files (522 lines of code)
    • 4 medium size files (1,074 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (942 lines of code)
    • 63 very small files (1,817 lines of code)
20% | 9% | 19% | 17% | 33%
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
css34% | 16% | 33% | 0% | 15%
yaml0% | 0% | 0% | 72% | 27%
html0% | 0% | 0% | 37% | 62%
py0% | 0% | 0% | 0% | 100%
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
themes/learn/static/css47% | 22% | 9% | 0% | 21%
themes/learn/static/mermaid0% | 0% | 100% | 0% | 0%
content/lab_assets/start/lab40% | 0% | 0% | 63% | 36%
content/lab_assets/start/lab50% | 0% | 0% | 65% | 34%
themes/learn/layouts/partials0% | 0% | 0% | 70% | 29%
content/lab_assets/start/lab30% | 0% | 0% | 57% | 42%
themes/learn/i18n0% | 0% | 0% | 0% | 100%
themes/learn/layouts/shortcodes0% | 0% | 0% | 0% | 100%
content/lab_assets/start/lab20% | 0% | 0% | 0% | 100%
themes/learn/layouts0% | 0% | 0% | 0% | 100%
content/lab_assets/start/lab10% | 0% | 0% | 0% | 100%
themes/learn0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
themes/learn/layouts/_default0% | 0% | 0% | 0% | 100%
content/lab_assets/start/lab60% | 0% | 0% | 0% | 100%
layouts/partials0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
theme.css
in themes/learn/static/css
1104 -
nucleus.css
in themes/learn/static/css
522 -
mermaid.forest.css
in themes/learn/static/mermaid
340 -
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 -
survey.template.yaml
in content/lab_assets/start/lab4/cfn-project/templates
173 -
survey.template.yaml
in content/lab_assets/start/lab5/cfn-project/templates
157 -
menu.html
in themes/learn/layouts/partials
140 -
copy-zips.template.yaml
in content/lab_assets/start/lab5/cfn-project/templates
124 -
copy-zips.template.yaml
in content/lab_assets/start/lab4/cfn-project/templates
122 -
copy-zips.template.yaml
in content/lab_assets/start/lab3/cfn-project/templates
122 -
header.html
in themes/learn/layouts/partials
104 -
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 -
survey.py
in content/lab_assets/start/lab4/cfn-project/lambda_functions/source/Survey
72 1
survey.py
in content/lab_assets/start/lab5/cfn-project/lambda_functions/source/Survey
72 1
hybrid.css
in themes/learn/static/css
72 -
lab3.template.yaml
in content/lab_assets/start/lab3/cfn-project/templates
70 -
lab2.template.yaml
in content/lab_assets/start/lab2/cfn-project/templates
70 -
atom-one-dark-reasonable.css
in themes/learn/static/css
70 -
footer.html
in themes/learn/layouts/partials
66 -
survey_submit.py
in content/lab_assets/start/lab5/cfn-project/lambda_functions/source/SurveySubmit
62 5
survey_submit.py
in content/lab_assets/start/lab4/cfn-project/lambda_functions/source/SurveySubmit
60 5
lab1.template.yaml
in content/lab_assets/start/lab1/cfn-project/templates
56 -
404.html
in themes/learn/layouts
48 -
tags.css
in themes/learn/static/css
42 -
config.toml
in root
41 -
auto-complete.css
in themes/learn/static/css
40 -
config.yaml
in content/lab_assets/start/lab4/cfn-project/lambda_functions/source/Survey
37 -
attachments.html
in themes/learn/layouts/shortcodes
35 -
index.html
in themes/learn/layouts
30 -
broken1.template.yaml
in content/lab_assets/start/lab6/broken-project/templates
21 -
lambda_function.py
in content/lab_assets/start/lab3/cfn-project/lambda_functions/source/GenRandom
19 3
lambda_function.py
in content/lab_assets/start/lab1/cfn-project/lambda_functions/source/GenRandom
19 3
lambda_function.py
in content/lab_assets/start/lab2/cfn-project/lambda_functions/source/GenRandom
19 3
theme.toml
in themes/learn
18 -
list.html
in themes/learn/layouts/_default
18 -
zh-cn.toml
in themes/learn/i18n
18 -
de.toml
in themes/learn/i18n
18 -
id.toml
in themes/learn/i18n
18 -
fr.toml
in themes/learn/i18n
18 -
nl.toml
in themes/learn/i18n
18 -
es.toml
in themes/learn/i18n
18 -
pt.toml
in themes/learn/i18n
18 -
tr.toml
in themes/learn/i18n
18 -
hi.toml
in themes/learn/i18n
18 -
ar.toml
in themes/learn/i18n
18 -
Files With Most Units (Top 7)
File# lines# units
survey_submit.py
in content/lab_assets/start/lab4/cfn-project/lambda_functions/source/SurveySubmit
60 5
survey_submit.py
in content/lab_assets/start/lab5/cfn-project/lambda_functions/source/SurveySubmit
62 5
lambda_function.py
in content/lab_assets/start/lab3/cfn-project/lambda_functions/source/GenRandom
19 3
lambda_function.py
in content/lab_assets/start/lab1/cfn-project/lambda_functions/source/GenRandom
19 3
lambda_function.py
in content/lab_assets/start/lab2/cfn-project/lambda_functions/source/GenRandom
19 3
survey.py
in content/lab_assets/start/lab4/cfn-project/lambda_functions/source/Survey
72 1
survey.py
in content/lab_assets/start/lab5/cfn-project/lambda_functions/source/Survey
72 1
Files With Long Lines (Top 20)

There are 29 files with lines longer than 120 characters. In total, there are 101 long lines.

File# lines# units# long lines
footer.html
in themes/learn/layouts/partials
66 - 13
children.html
in themes/learn/layouts/shortcodes
86 - 12
survey.py
in content/lab_assets/start/lab4/cfn-project/lambda_functions/source/Survey
72 1 11
survey.py
in content/lab_assets/start/lab5/cfn-project/lambda_functions/source/Survey
72 1 11
theme.css
in themes/learn/static/css
1104 - 8
menu.html
in themes/learn/layouts/partials
140 - 8
menu-footer.html
in layouts/partials
10 - 5
header.html
in themes/learn/layouts/partials
104 - 5
404.html
in themes/learn/layouts
48 - 4
survey.template.yaml
in content/lab_assets/start/lab4/cfn-project/templates
173 - 2
nucleus.css
in themes/learn/static/css
522 - 2
search.html
in themes/learn/layouts/partials
16 - 2
index.html
in themes/learn/layouts
30 - 2
copy-zips.template.yaml
in content/lab_assets/start/lab4/cfn-project/templates
122 - 1
copy-zips.template.yaml
in content/lab_assets/start/lab3/cfn-project/templates
122 - 1
lab3.template.yaml
in content/lab_assets/start/lab3/cfn-project/templates
70 - 1
copy-zips.template.yaml
in content/lab_assets/start/lab5/cfn-project/templates
124 - 1
survey.template.yaml
in content/lab_assets/start/lab5/cfn-project/templates
157 - 1
lab2.template.yaml
in content/lab_assets/start/lab2/cfn-project/templates
70 - 1
theme-green.css
in themes/learn/static/css
90 - 1