aws-samples / aws-health-aware
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 8 files with 2,831 lines of code.
    • 0 very long files (0 lines of code)
    • 4 long files (2,648 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 4 very small files (183 lines of code)
0% | 93% | 0% | 0% | 6%
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
py0% | 100% | 0% | 0% | 0%
tf0% | 87% | 0% | 0% | 12%
yml0% | 93% | 0% | 0% | 6%
tfvars0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 97% | 0% | 0% | 2%
terraform/Terraform_DEPLOY_AHA0% | 95% | 0% | 0% | 4%
terraform/Terraform_MGMT_ROLE0% | 0% | 0% | 0% | 100%
Longest Files (Top 8)
File# lines# units
handler.py
in root
757 24
Terraform_DEPLOY_AHA.tf
in terraform/Terraform_DEPLOY_AHA
674 -
CFN_DEPLOY_AHA.yml
in root
651 -
messagegenerator.py
in root
566 13
Terraform_MGMT_ROLE.tf
in terraform/Terraform_MGMT_ROLE
94 -
CFN_MGMT_ROLE.yml
in root
48 -
terraform.tfvars
in terraform/Terraform_DEPLOY_AHA
33 -
terraform.tfvars
in terraform/Terraform_MGMT_ROLE
8 -
Files With Most Units (Top 2)
File# lines# units
handler.py
in root
757 24
messagegenerator.py
in root
566 13
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 107 long lines.

File# lines# units# long lines
messagegenerator.py
in root
566 13 64
Terraform_DEPLOY_AHA.tf
in terraform/Terraform_DEPLOY_AHA
674 - 20
handler.py
in root
757 24 13
CFN_DEPLOY_AHA.yml
in root
651 - 10