aws-samples / aws-fault-injection-simulator-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 11 files with 2,142 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (966 lines of code)
    • 3 medium size files (1,013 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 7 very small files (163 lines of code)
0% | 45% | 47% | 0% | 7%
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% | 52% | 42% | 0% | 4%
ts0% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 66% | 32% | 0% | 1%
pipeline-experiment0% | 0% | 100% | 0% | 0%
lib0% | 0% | 100% | 0% | 0%
schedule-experiment0% | 0% | 0% | 0% | 100%
event-trigger-experiment0% | 0% | 0% | 0% | 100%
pipeline-experiment/src0% | 0% | 0% | 0% | 100%
event-trigger-experiment/src0% | 0% | 0% | 0% | 100%
schedule-experiment/src0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
cfn_fis_demos.yaml
in root
966 -
TestEnvironment.yaml
in root
477 -
template.yaml
in pipeline-experiment
314 -
fis-example-stack.ts
in lib
222 1
template.yaml
in schedule-experiment
42 -
template.yaml
in event-trigger-experiment
41 -
pipeline-experiment.js
in pipeline-experiment/src
35 -
event-trigger-experiment.js
in event-trigger-experiment/src
15 -
schedule-experiment.js
in schedule-experiment/src
15 -
fisservicerole.yaml
in root
8 -
jest.config.js
in root
7 -
Files With Most Units (Top 1)
File# lines# units
fis-example-stack.ts
in lib
222 1
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 13 long lines.

File# lines# units# long lines
TestEnvironment.yaml
in root
477 - 7
template.yaml
in pipeline-experiment
314 - 4
cfn_fis_demos.yaml
in root
966 - 1
pipeline-experiment.js
in pipeline-experiment/src
35 - 1