aws-quickstart / quickstart-trek10-serverless-enterprise-cicd
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 12 files with 2,042 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (594 lines of code)
    • 3 medium size files (874 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (267 lines of code)
    • 6 very small files (307 lines of code)
0% | 29% | 42% | 13% | 15%
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
yaml0% | 30% | 45% | 13% | 10%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates0% | 34% | 50% | 15% | 0%
sample-project0% | 0% | 0% | 0% | 100%
sample-project/api0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
ci0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
lambda.template.yaml
in templates
594 -
pipeline.template.yaml
in templates
334 -
full-stack.template.yaml
in templates
272 -
account.template.yaml
in templates
268 -
project.template.yaml
in templates
156 -
cross-account.template.yaml
in templates
111 -
sample.yaml
in sample-project
91 -
handler.js
in sample-project/api
67 4
ChildAccountRole.template.yaml
in root
66 -
taskcat.yml
in ci
40 -
buildspec.build.yaml
in sample-project
28 -
buildspec.smoketest.yaml
in sample-project
15 -
Files With Most Units (Top 1)
File# lines# units
handler.js
in sample-project/api
67 4
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 43 long lines.

File# lines# units# long lines
lambda.template.yaml
in templates
594 - 14
pipeline.template.yaml
in templates
334 - 11
full-stack.template.yaml
in templates
272 - 5
buildspec.smoketest.yaml
in sample-project
15 - 4
buildspec.build.yaml
in sample-project
28 - 3
account.template.yaml
in templates
268 - 2
ChildAccountRole.template.yaml
in root
66 - 2
project.template.yaml
in templates
156 - 1
handler.js
in sample-project/api
67 4 1