aws-solutions / aws-centralized-logging
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 11 files with 2,084 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (940 lines of code)
    • 2 medium size files (576 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (440 lines of code)
    • 5 very small files (128 lines of code)
0% | 45% | 27% | 21% | 6%
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% | 45% | 27% | 21% | 5%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
resources/lib0% | 65% | 0% | 30% | 4%
services/helper0% | 0% | 100% | 0% | 0%
services/transformer0% | 0% | 100% | 0% | 0%
services/@aws-solutions/utils/metrics0% | 0% | 0% | 0% | 100%
resources0% | 0% | 0% | 0% | 100%
services/@aws-solutions/utils/logger0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
cl-primary-stack.ts
in source/resources/lib
940 1
index.ts
in source/services/helper
361 5
index.ts
in source/services/transformer
215 7
cl-demo-stack.ts
in source/resources/lib
195 1
cl-demo-ec2-construct.ts
in source/resources/lib
132 1
utils.ts
in source/resources/lib
113 3
cl-jumpbox-construct.ts
in source/resources/lib
50 1
index.ts
in source/services/@aws-solutions/utils/metrics
27 2
jest.config.js
in source/resources
23 -
index.ts
in source/services/@aws-solutions/utils/logger
19 1
resource-retention-aspect.ts
in source/resources/lib
9 1
Files With Most Units (Top 10)
File# lines# units
index.ts
in source/services/transformer
215 7
index.ts
in source/services/helper
361 5
utils.ts
in source/resources/lib
113 3
index.ts
in source/services/@aws-solutions/utils/metrics
27 2
resource-retention-aspect.ts
in source/resources/lib
9 1
cl-jumpbox-construct.ts
in source/resources/lib
50 1
cl-demo-stack.ts
in source/resources/lib
195 1
cl-demo-ec2-construct.ts
in source/resources/lib
132 1
cl-primary-stack.ts
in source/resources/lib
940 1
index.ts
in source/services/@aws-solutions/utils/logger
19 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
cl-primary-stack.ts
in source/resources/lib
940 1 3
cl-demo-stack.ts
in source/resources/lib
195 1 2
cl-demo-ec2-construct.ts
in source/resources/lib
132 1 1