aws-samples / service-screener
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 117 files with 14,300 lines of code.
    • 3 very long files (9,776 lines of code)
    • 1 long files (648 lines of code)
    • 4 medium size files (1,082 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,437 lines of code)
    • 99 very small files (1,357 lines of code)
68% | 4% | 7% | 10% | 9%
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
js98% | 0% | 0% | 0% | 1%
css93% | 0% | 6% | 0% | <1%
php0% | 16% | 19% | 35% | 28%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
adminlte/html96% | 0% | 3% | 0% | <1%
services0% | 84% | 0% | 0% | 15%
services/ec20% | 0% | 46% | 38% | 14%
services/rds0% | 0% | 63% | 0% | 36%
tools0% | 0% | 0% | 67% | 32%
services/dashboard0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 51% | 48%
services/iam0% | 0% | 0% | 34% | 65%
services/s30% | 0% | 0% | 52% | 47%
templates0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
select2.full.js
in adminlte/html/plugins/select2/js
5108 310
all.css
in adminlte/html/plugins/fontawesome-free/css
3112 -
v4-shims.css
in adminlte/html/plugins/fontawesome-free/css
1556 -
pageBuilder.class.php
in services
648 37
svg-with-js.css
in adminlte/html/plugins/fontawesome-free/css
312 -
ec2_ec2.class.php
in services/ec2/drivers
268 15
rds_common.class.php
in services/rds/drivers
252 18
ec2.class.php
in services/ec2
250 10
reporter.class.php
in tools
196 10
ec2_sg.class.php
in services/ec2/drivers
177 12
dashboard.pageBuilder.php
in services/dashboard
171 6
rule-count.php
in root
168 5
ec2_ebs.class.php
in services/ec2/drivers
143 8
iam.class.php
in services/iam
141 7
s3_s3.class.php
in services/s3/drivers
126 11
feedback.class.php
in tools
107 3
ec2_asg.class.php
in services/ec2/drivers
106 7
config.php
in tools
102 3
screen.php
in root
98 -
iam_common.class.php
in services/iam/drivers
86 5
aws-sdk-custom-credential-provider.php
in tools
83 5
s3.class.php
in services/s3
76 4
iam_user.class.php
in services/iam/drivers
58 6
rds.class.php
in services/rds
56 4
ec2_elb.class.php
in services/ec2/drivers
54 4
bootstrap.inc.php
in root
53 1
iam_setting.class.php
in services/iam/drivers
50 3
iam_role.class.php
in services/iam/drivers
48 5
arguParser.class.php
in tools
47 3
ec2_elbClassic.class.php
in services/ec2/drivers
44 5
policy.class.php
in tools
41 4
ec2_costExplorer.php
in services/ec2/drivers
39 3
cloudwatch.class.php
in services
38 3
s3_control.class.php
in services/s3/drivers
36 2
rds_postgres.class.php
in services/rds/drivers
35 2
evaluator.class.php
in services
33 4
rds_mysql.class.php
in services/rds/drivers
31 5
service.class.php
in services
28 3
iam_group.class.php
in services/iam/drivers
28 3
header.postcss.template.html
in templates
27 -
sidebar.precustom.template.html
in templates
24 -
__load.php
in tools
24 4
__load.php
in services
23 -
breadcrumb.template.html
in templates
18 -
ec2_compopt.class.php
in services/ec2/drivers
16 2
footer.prejs.template.html
in templates
15 -
sidebar.postcustom.template.html
in templates
11 -
solid.css
in adminlte/html/plugins/fontawesome-free/css
11 -
constants.inc.php
in root
10 -
regular.css
in adminlte/html/plugins/fontawesome-free/css
10 -
Files With Most Units (Top 20)
File# lines# units
select2.full.js
in adminlte/html/plugins/select2/js
5108 310
pageBuilder.class.php
in services
648 37
rds_common.class.php
in services/rds/drivers
252 18
ec2_ec2.class.php
in services/ec2/drivers
268 15
ec2_sg.class.php
in services/ec2/drivers
177 12
s3_s3.class.php
in services/s3/drivers
126 11
reporter.class.php
in tools
196 10
ec2.class.php
in services/ec2
250 10
ec2_ebs.class.php
in services/ec2/drivers
143 8
ec2_asg.class.php
in services/ec2/drivers
106 7
iam.class.php
in services/iam
141 7
dashboard.pageBuilder.php
in services/dashboard
171 6
iam_user.class.php
in services/iam/drivers
58 6
aws-sdk-custom-credential-provider.php
in tools
83 5
rule-count.php
in root
168 5
rds_mysql.class.php
in services/rds/drivers
31 5
ec2_elbClassic.class.php
in services/ec2/drivers
44 5
iam_role.class.php
in services/iam/drivers
48 5
iam_common.class.php
in services/iam/drivers
86 5
__load.php
in tools
24 4
Files With Long Lines (Top 20)

There are 77 files with lines longer than 120 characters. In total, there are 95 long lines.

File# lines# units# long lines
pageBuilder.class.php
in services
648 37 10
dashboard.pageBuilder.php
in services/dashboard
171 6 6
all.css
in adminlte/html/plugins/fontawesome-free/css
3112 - 3
sidebar.precustom.template.html
in templates
24 - 2
iam_common.class.php
in services/iam/drivers
86 5 2
header.postcss.template.html
in templates
27 - 1
footer.prejs.template.html
in templates
15 - 1
bootstrap.inc.php
in root
53 1 1
id.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
et.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
hy.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
vi.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
de.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
ko.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
tr.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
ca.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
th.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
sr.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
lt.js
in adminlte/html/plugins/select2/js/i18n
1 - 1
en.js
in adminlte/html/plugins/select2/js/i18n
1 - 1