aws-samples / aws-cdk-project-template-for-devops
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 19 files with 1,237 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (230 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (314 lines of code)
    • 16 very small files (693 lines of code)
0% | 0% | 18% | 25% | 56%
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
ts0% | 0% | 25% | 12% | 62%
yaml0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/template/pattern0% | 0% | 72% | 0% | 27%
infra/stack/template0% | 0% | 0% | 100% | 0%
lib/template0% | 0% | 0% | 91% | 8%
lib/template/stack0% | 0% | 0% | 0% | 100%
infra/stack0% | 0% | 0% | 0% | 100%
codes/sample-backend-fastapi/app0% | 0% | 0% | 0% | 100%
lib/template/common0% | 0% | 0% | 0% | 100%
lib/template/construct0% | 0% | 0% | 0% | 100%
infra0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
cloudwatch-pattern.ts
in lib/template/pattern
230 17
sample-cfn-vpc.yaml
in infra/stack/template
200 -
app-context.ts
in lib/template
114 10
lambda-pattern.ts
in lib/template/pattern
88 4
main.py
in codes/sample-backend-fastapi/app
84 5
base-stack.ts
in lib/template/stack/base
64 4
common-helper.ts
in lib/template/common
62 7
base-construct.ts
in lib/template/construct/base
62 3
sample-vpc-ecs-stack.ts
in infra/stack
55 2
vpc-base-stack.ts
in lib/template/stack/vpc
52 3
common-guardian.ts
in lib/template/common
37 1
sample-vpc-rds-stack.ts
in infra/stack
37 2
cfn-include-stack.ts
in lib/template/stack/cfn
34 2
utility.py
in codes/sample-backend-fastapi/app
30 3
sample-vpc-cloud9-stack.ts
in infra/stack
27 2
sample-cfn-vpc-stack.ts
in infra/stack
22 2
app-main.ts
in infra
20 -
app-config.ts
in lib/template
11 -
jest.config.js
in root
8 -
Files With Most Units (Top 15)
File# lines# units
cloudwatch-pattern.ts
in lib/template/pattern
230 17
app-context.ts
in lib/template
114 10
common-helper.ts
in lib/template/common
62 7
main.py
in codes/sample-backend-fastapi/app
84 5
lambda-pattern.ts
in lib/template/pattern
88 4
base-stack.ts
in lib/template/stack/base
64 4
utility.py
in codes/sample-backend-fastapi/app
30 3
base-construct.ts
in lib/template/construct/base
62 3
vpc-base-stack.ts
in lib/template/stack/vpc
52 3
cfn-include-stack.ts
in lib/template/stack/cfn
34 2
sample-vpc-cloud9-stack.ts
in infra/stack
27 2
sample-cfn-vpc-stack.ts
in infra/stack
22 2
sample-vpc-ecs-stack.ts
in infra/stack
55 2
sample-vpc-rds-stack.ts
in infra/stack
37 2
common-guardian.ts
in lib/template/common
37 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
cloudwatch-pattern.ts
in lib/template/pattern
230 17 13
sample-vpc-cloud9-stack.ts
in infra/stack
27 2 2
sample-vpc-ecs-stack.ts
in infra/stack
55 2 2
main.py
in codes/sample-backend-fastapi/app
84 5 1
lambda-pattern.ts
in lib/template/pattern
88 4 1
app-context.ts
in lib/template
114 10 1