aws-samples / aws-codedeploy-samples
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 42 files with 696 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (182 lines of code)
    • 41 very small files (514 lines of code)
0% | 0% | 0% | 26% | 73%
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
spec0% | 0% | 0% | 91% | 9%
yml0% | 0% | 0% | 0% | 100%
rb0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
pp0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
gemspec0% | 0% | 0% | 0% | 100%
sls0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
utilities/aws-codedeploy-session-helper/spec0% | 0% | 0% | 91% | 9%
conf-mgmt/ansible/local-only0% | 0% | 0% | 0% | 100%
conf-mgmt/puppet/aws-codedeploy0% | 0% | 0% | 0% | 100%
utilities/aws-codedeploy-session-helper/lib0% | 0% | 0% | 0% | 100%
applications/SampleApp_Linux0% | 0% | 0% | 0% | 100%
conf-mgmt/puppet/masterless0% | 0% | 0% | 0% | 100%
applications/SampleApp_Windows0% | 0% | 0% | 0% | 100%
conf-mgmt/chef/solo0% | 0% | 0% | 0% | 100%
conf-mgmt/salt/local-only0% | 0% | 0% | 0% | 100%
utilities/aws-codedeploy-session-helper0% | 0% | 0% | 0% | 100%
conf-mgmt/chef/aws-codedeploy-agent0% | 0% | 0% | 0% | 100%
load-balancing/elb-v20% | 0% | 0% | 0% | 100%
load-balancing/elb0% | 0% | 0% | 0% | 100%
conf-mgmt/ansible/module0% | 0% | 0% | 0% | 100%
Longest Files (Top 42)
File# lines# units
spec
sts_credentials_provider.spec
in utilities/aws-codedeploy-session-helper/spec
182 -
STSCredentialsProvider.rb
in utilities/aws-codedeploy-session-helper/lib
51 4
index.html
in applications/SampleApp_Windows
35 -
index.html
in applications/SampleApp_Linux
32 -
example_spec.rb
in conf-mgmt/puppet/aws-codedeploy/spec/classes
30 -
main.yml
in conf-mgmt/ansible/local-only/lamp_simple/roles/db/tasks
20 -
spec
bin_get_sts_creds.spec
in utilities/aws-codedeploy-session-helper/spec
18 -
aws-codedeploy-session-helper.gemspec
in utilities/aws-codedeploy-session-helper
18 -
appspec.yml
in conf-mgmt/chef/solo
18 -
appspec.yml
in conf-mgmt/ansible/local-only
18 -
main.yml
in conf-mgmt/ansible/local-only/lamp_simple/roles/common/tasks
18 -
appspec.yml
in conf-mgmt/salt/local-only
17 -
appspec.yml
in conf-mgmt/puppet/masterless
17 -
appspec.yml
in applications/SampleApp_Linux
17 -
HelloServlet.java
in conf-mgmt/chef/solo/src/main/java/com/amazonaws/sample
16 1
site.yml
in conf-mgmt/ansible/local-only/lamp_simple
16 -
HelloServlet.java
in conf-mgmt/puppet/masterless/src/main/java/com/amazonaws/sample
16 1
install_httpd.yml
in conf-mgmt/ansible/local-only/lamp_simple/roles/web/tasks
14 -
appspec.yml
in load-balancing/elb-v2
12 -
appspec.yml
in load-balancing/elb
12 -
hello_world.pp
in conf-mgmt/puppet/masterless/puppet/manifests
12 -
default.rb
in conf-mgmt/chef/aws-codedeploy-agent/cookbooks/codedeploy-agent/recipes
11 -
params.pp
in conf-mgmt/puppet/aws-codedeploy/manifests
10 -
appspec.yml
in applications/SampleApp_Windows
9 -
index.html
in conf-mgmt/salt/local-only
8 -
init.pp
in conf-mgmt/puppet/aws-codedeploy/manifests
8 -
install.pp
in conf-mgmt/puppet/aws-codedeploy/manifests
7 -
solo.rb
in conf-mgmt/chef/solo/chef
6 -
site.yml
in conf-mgmt/ansible/module
6 -
service.pp
in conf-mgmt/puppet/aws-codedeploy/manifests
6 -
main.yml
in conf-mgmt/ansible/local-only/lamp_simple/roles/db/handlers
5 -
main.yml
in conf-mgmt/ansible/local-only/lamp_simple/roles/common/handlers
5 -
copy_code.yml
in conf-mgmt/ansible/local-only/lamp_simple/roles/web/tasks
5 -
solo.rb
in conf-mgmt/chef/aws-codedeploy-agent
3 -
webserver.sls
in conf-mgmt/salt/local-only/salt
3 -
top.sls
in conf-mgmt/salt/local-only/salt
3 -
main.yml
in conf-mgmt/ansible/local-only/lamp_simple/roles/web/tasks
3 -
main.yml
in conf-mgmt/ansible/local-only/lamp_simple/roles/web/handlers
3 -
metadata.rb
in conf-mgmt/chef/aws-codedeploy-agent/cookbooks/codedeploy-agent
2 -
default.rb
in conf-mgmt/chef/solo/chef/site-cookbooks/homesite/recipes
2 -
spec_helper.rb
in conf-mgmt/puppet/aws-codedeploy/spec
1 -
coverage_spec.rb
in conf-mgmt/puppet/aws-codedeploy/spec/classes
1 -
Files With Most Units (Top 3)
File# lines# units
STSCredentialsProvider.rb
in utilities/aws-codedeploy-session-helper/lib
51 4
HelloServlet.java
in conf-mgmt/chef/solo/src/main/java/com/amazonaws/sample
16 1
HelloServlet.java
in conf-mgmt/puppet/masterless/src/main/java/com/amazonaws/sample
16 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 16 long lines.

File# lines# units# long lines
STSCredentialsProvider.rb
in utilities/aws-codedeploy-session-helper/lib
51 4 8
spec
sts_credentials_provider.spec
in utilities/aws-codedeploy-session-helper/spec
182 - 4
aws-codedeploy-session-helper.gemspec
in utilities/aws-codedeploy-session-helper
18 - 2
index.html
in applications/SampleApp_Linux
32 - 1
index.html
in applications/SampleApp_Windows
35 - 1