aws-samples / deploy-cis-level-1-hardened-ami-with-ec2-image-builder-pipeline
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 32 files with 5,829 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,214 lines of code)
    • 8 medium size files (2,737 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (384 lines of code)
    • 18 very small files (494 lines of code)
0% | 37% | 46% | 6% | 8%
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
yml0% | 38% | 47% | 6% | 7%
py0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
LinuxCis/tasks0% | 59% | 39% | 0% | 1%
Templates0% | 0% | 71% | 21% | 7%
LinuxCis/defaults0% | 0% | 100% | 0% | 0%
AnsibleConfig0% | 0% | 0% | 86% | 13%
Nginx/tasks0% | 0% | 0% | 0% | 100%
LinuxCis/handlers0% | 0% | 0% | 0% | 100%
LinuxCis/library0% | 0% | 0% | 0% | 100%
Nginx/defaults0% | 0% | 0% | 0% | 100%
Nginx/vars0% | 0% | 0% | 0% | 100%
Nginx/files0% | 0% | 0% | 0% | 100%
Nginx/handlers0% | 0% | 0% | 0% | 100%
LinuxCis0% | 0% | 0% | 0% | 100%
Longest Files (Top 32)
File# lines# units
section1.yml
in LinuxCis/tasks
921 -
section2.yml
in LinuxCis/tasks
671 -
section5.yml
in LinuxCis/tasks
622 -
section4.yml
in LinuxCis/tasks
494 -
vpc.yml
in Templates
395 -
section6.yml
in LinuxCis/tasks
376 -
section3.yml
in LinuxCis/tasks
349 -
main.yml
in LinuxCis/defaults
327 -
nginx-config.yml
in Templates
310 -
prelim.yml
in LinuxCis/tasks
249 -
s3-iam-config.yml
in Templates
237 -
nginx-image-builder.yml
in Templates
163 -
infrastructure-ssm-params.yml
in Templates
118 -
component-nginx.yml
in AnsibleConfig
103 -
kms.yml
in Templates
94 -
main.yml
in LinuxCis/handlers
75 -
main.yml
in LinuxCis/tasks
46 -
main.yml
in Nginx/tasks
46 -
grub_crypt.py
in LinuxCis/library
44 3
vhosts.yml
in Nginx/tasks
40 -
main.yml
in Nginx/defaults
39 -
setup-Ubuntu.yml
in Nginx/tasks
18 -
index.html
in Nginx/files
15 -
main.yml
in Nginx/handlers
13 -
setup-Debian.yml
in Nginx/tasks
11 -
setup-RedHat.yml
in Nginx/tasks
9 -
Debian.yml
in Nginx/vars
9 -
RedHat.yml
in Nginx/vars
9 -
cis_playbook.yml
in AnsibleConfig
8 -
nginx_playbook.yml
in AnsibleConfig
8 -
post.yml
in LinuxCis/tasks
7 -
cfg
ansible.cfg
in LinuxCis
3 -
Files With Most Units (Top 1)
File# lines# units
grub_crypt.py
in LinuxCis/library
44 3
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 27 long lines.

File# lines# units# long lines
index.html
in Nginx/files
15 - 15
section1.yml
in LinuxCis/tasks
921 - 4
component-nginx.yml
in AnsibleConfig
103 - 2
main.yml
in Nginx/tasks
46 - 2
main.yml
in LinuxCis/tasks
46 - 1
main.yml
in LinuxCis/defaults
327 - 1
vpc.yml
in Templates
395 - 1
nginx-image-builder.yml
in Templates
163 - 1