aws-samples / distributed-load-testing-on-aws-cn
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 27 files with 4,334 lines of code.
    • 1 very long files (1,204 lines of code)
    • 1 long files (560 lines of code)
    • 5 medium size files (1,474 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (213 lines of code)
    • 18 very small files (883 lines of code)
27% | 12% | 34% | 4% | 20%
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
yaml100% | 0% | 0% | 0% | 0%
js0% | 20% | 42% | 7% | 30%
css0% | 0% | 100% | 0% | 0%
html0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment100% | 0% | 0% | 0% | 0%
source/console/src0% | 29% | 48% | 5% | 16%
source/api-services/lib0% | 0% | 89% | 0% | 10%
source/results-parser/lib0% | 0% | 87% | 0% | 12%
source/results-parser0% | 0% | 0% | 100% | 0%
source/custom-resource/lib0% | 0% | 0% | 0% | 100%
source/task-status-checker0% | 0% | 0% | 0% | 100%
source/task-runner0% | 0% | 0% | 0% | 100%
source/api-services0% | 0% | 0% | 0% | 100%
source/ecr-checker0% | 0% | 0% | 0% | 100%
source/custom-resource0% | 0% | 0% | 0% | 100%
source/console/public0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
distributed-load-testing-on-aws.yaml
in deployment
1204 -
Create.js
in source/console/src/Components/Create
560 12
Details.js
in source/console/src/Components/Details
384 6
index.js
in source/api-services/lib/scenarios
310 -
index.css
in source/console/src
292 -
index.js
in source/results-parser/lib/parser
250 1
Results.js
in source/console/src/Components/Results
238 6
App.js
in source/console/src
112 5
index.js
in source/results-parser
101 -
serviceWorker.js
in source/console/src
92 4
Dashboard.js
in source/console/src/Components/Dashboard
88 2
index.js
in source/task-status-checker
81 1
index.js
in source/task-runner
78 -
Running.js
in source/console/src/Components/Running
71 -
index.js
in source/api-services
71 -
index.js
in source/ecr-checker
62 -
History.js
in source/console/src/Components/History
53 1
index.js
in source/custom-resource
53 -
index.js
in source/custom-resource/lib/s3
44 -
index.js
in source/results-parser/lib/metrics
36 1
index.js
in source/api-services/lib/metrics
35 1
index.js
in source/custom-resource/lib/cfn
33 -
index.js
in source/custom-resource/lib/metrics
33 1
index.html
in source/console/public
21 -
buildspec.yml
in root
20 -
index.js
in source/console/src
11 -
aws_config.js
in source/console/public
1 -
Files With Most Units (Top 12)
File# lines# units
Create.js
in source/console/src/Components/Create
560 12
Details.js
in source/console/src/Components/Details
384 6
Results.js
in source/console/src/Components/Results
238 6
App.js
in source/console/src
112 5
serviceWorker.js
in source/console/src
92 4
Dashboard.js
in source/console/src/Components/Dashboard
88 2
index.js
in source/task-status-checker
81 1
History.js
in source/console/src/Components/History
53 1
index.js
in source/custom-resource/lib/metrics
33 1
index.js
in source/api-services/lib/metrics
35 1
index.js
in source/results-parser/lib/parser
250 1
index.js
in source/results-parser/lib/metrics
36 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 35 long lines.

File# lines# units# long lines
distributed-load-testing-on-aws.yaml
in deployment
1204 - 11
Details.js
in source/console/src/Components/Details
384 6 6
Create.js
in source/console/src/Components/Create
560 12 6
Results.js
in source/console/src/Components/Results
238 6 5
App.js
in source/console/src
112 5 2
History.js
in source/console/src/Components/History
53 1 1
Dashboard.js
in source/console/src/Components/Dashboard
88 2 1
index.js
in source/api-services/lib/scenarios
310 - 1
index.js
in source/api-services
71 - 1
index.js
in source/results-parser/lib/parser
250 1 1