aws-samples / aws-refarch-wordpress
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 14 files with 6,788 lines of code.
    • 2 very long files (2,385 lines of code)
    • 4 long files (2,683 lines of code)
    • 4 medium size files (1,202 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (469 lines of code)
    • 1 very small files (49 lines of code)
35% | 39% | 17% | 6% | <1%
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
yaml38% | 33% | 19% | 7% | <1%
php0% | 100% | 0% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates38% | 33% | 19% | 7% | <1%
bits0% | 100% | 0% | 0% | 0%
Longest Files (Top 14)
File# lines# units
aws-refarch-wordpress-master-newvpc.yaml
in templates
1292 -
aws-refarch-wordpress-04-web.yaml
in templates
1093 -
aws-refarch-wordpress-01-newvpc.yaml
in templates
974 -
opcache-instance-id.php
in bits
601 28
aws-refarch-wordpress-03-efsfilesystem.yaml
in templates
576 -
aws-refarch-wordpress-03-efsalarms.yaml
in templates
532 -
aws-refarch-wordpress-06-dashboard.yaml
in templates
465 -
aws-refarch-wordpress-03-bastion.yaml
in templates
292 -
aws-refarch-wordpress-03-rds.yaml
in templates
240 -
aws-refarch-wordpress-04-cloudfront.yaml
in templates
205 -
aws-refarch-wordpress-03-publicalb.yaml
in templates
184 -
aws-refarch-wordpress-03-elasticache.yaml
in templates
151 -
aws-refarch-wordpress-02-securitygroups.yaml
in templates
134 -
aws-refarch-wordpress-05-route53.yaml
in templates
49 -
Files With Most Units (Top 1)
File# lines# units
opcache-instance-id.php
in bits
601 28
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 222 long lines.

File# lines# units# long lines
aws-refarch-wordpress-04-web.yaml
in templates
1093 - 58
aws-refarch-wordpress-master-newvpc.yaml
in templates
1292 - 42
aws-refarch-wordpress-03-efsalarms.yaml
in templates
532 - 32
aws-refarch-wordpress-01-newvpc.yaml
in templates
974 - 24
aws-refarch-wordpress-06-dashboard.yaml
in templates
465 - 16
aws-refarch-wordpress-03-efsfilesystem.yaml
in templates
576 - 13
opcache-instance-id.php
in bits
601 28 10
aws-refarch-wordpress-03-publicalb.yaml
in templates
184 - 6
aws-refarch-wordpress-03-bastion.yaml
in templates
292 - 5
aws-refarch-wordpress-04-cloudfront.yaml
in templates
205 - 4
aws-refarch-wordpress-03-elasticache.yaml
in templates
151 - 4
aws-refarch-wordpress-03-rds.yaml
in templates
240 - 4
aws-refarch-wordpress-05-route53.yaml
in templates
49 - 2
aws-refarch-wordpress-02-securitygroups.yaml
in templates
134 - 2