aws-samples / aws-codebuild-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 21 files with 2,722 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (781 lines of code)
    • 3 medium size files (794 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (741 lines of code)
    • 12 very small files (406 lines of code)
0% | 28% | 29% | 27% | 14%
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% | 36% | 37% | 22% | 4%
js0% | 0% | 0% | 54% | 45%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cloudformation0% | 42% | 32% | 25% | 0%
ci_tools0% | 0% | 34% | 45% | 19%
ROOT0% | 0% | 0% | 0% | 100%
buildspecs0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
continuous-deployment.yml
in cloudformation
781 -
shared-resources.yml
in cloudformation
360 -
continuous-integration-pull-request-checks.yml
in cloudformation
233 -
vpc_cloudformation_template.yml
in ci_tools
201 -
continuous-integration-branch-checks.yml
in cloudformation
187 -
continuous-integration-nightly-checks.yml
in cloudformation
181 -
codecommit_pr_notifications.js
in ci_tools
153 4
email_notifications.js
in ci_tools
117 2
application.yml
in cloudformation
103 -
service.js
in root
98 5
index.html
in root
87 -
slack_notifications.js
in ci_tools
76 2
trigger_codebuild.js
in ci_tools
40 -
appspec.yml
in root
23 -
sonarqube.yml
in buildspecs
14 -
build-with-cache.yml
in buildspecs
14 -
environment.yml
in buildspecs
14 -
build-with-image-cache.yml
in buildspecs
13 -
buildspec.yml
in root
11 -
calculator.js
in root
11 3
shrinkwrap.yml
in buildspecs
5 -
Files With Most Units (Top 5)
File# lines# units
service.js
in root
98 5
codecommit_pr_notifications.js
in ci_tools
153 4
calculator.js
in root
11 3
slack_notifications.js
in ci_tools
76 2
email_notifications.js
in ci_tools
117 2
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 7 long lines.

File# lines# units# long lines
email_notifications.js
in ci_tools
117 2 2
slack_notifications.js
in ci_tools
76 2 1
environment.yml
in buildspecs
14 - 1
continuous-deployment.yml
in cloudformation
781 - 1
continuous-integration-pull-request-checks.yml
in cloudformation
233 - 1
shared-resources.yml
in cloudformation
360 - 1