cdklabs / aws-delivlib
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 46 files with 3,593 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,135 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,208 lines of code)
    • 33 very small files (1,250 lines of code)
0% | 0% | 31% | 33% | 34%
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% | 32% | 31% | 35%
js0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 0% | 54% | 27% | 18%
lib/pull-request0% | 0% | 69% | 0% | 30%
lib/custom-resource-handlers0% | 0% | 0% | 70% | 29%
lib/registry-sync0% | 0% | 0% | 63% | 36%
lib/code-signing0% | 0% | 0% | 49% | 50%
lib/publishing0% | 0% | 0% | 100% | 0%
lib/change-control-lambda0% | 0% | 0% | 0% | 100%
lib/pipeline-watcher0% | 0% | 0% | 0% | 100%
lib/chime-notifier0% | 0% | 0% | 0% | 100%
lib/pipeline-notifications0% | 0% | 0% | 0% | 100%
Longest Files (Top 46)
File# lines# units
publishing.ts
in lib
366 17
pipeline.ts
in lib
341 24
shellable.ts
in lib
215 10
pr.ts
in lib/pull-request
213 11
build-spec.ts
in lib
177 17
repo.ts
in lib
152 15
ecr-mirror.ts
in lib/registry-sync
148 4
private-key.ts
in lib/code-signing
142 4
pgp-secret.ts
in lib/custom-resource-handlers/src
141 6
open-pgp-key-pair.ts
in lib
129 5
_cloud-formation.ts
in lib/custom-resource-handlers/src
109 3
create-release.js
in lib/publishing/github
108 7
certificate-signing-request.ts
in lib/custom-resource-handlers/src
102 9
mirror-source.ts
in lib/registry-sync
83 8
private-key.ts
in lib/custom-resource-handlers/src
82 5
change-controller.ts
in lib
79 1
code-signing-certificate.ts
in lib/code-signing
77 2
watcher-handler.ts
in lib/pipeline-watcher/handler
76 6
time-window.ts
in lib/change-control-lambda
71 5
watcher.ts
in lib/pipeline-watcher
69 1
certificate-signing-request.ts
in lib/code-signing
66 1
index.ts
in lib/change-control-lambda
60 3
notifier-handler.ts
in lib/chime-notifier/handler
53 2
auto-build.ts
in lib
51 2
chime-notifier.ts
in lib/chime-notifier
49 1
merge-back.ts
in lib/pull-request
47 1
bump.ts
in lib/pull-request
44 1
permissions.ts
in lib
44 2
slack.ts
in lib/pipeline-notifications
42 2
signing-key.ts
in lib
34 2
_lambda.ts
in lib/custom-resource-handlers/src
32 -
canary.ts
in lib
32 1
build-env.ts
in lib
27 3
_rmrf.ts
in lib/custom-resource-handlers/src
18 -
util.ts
in lib
18 1
disable-transition.ts
in lib/change-control-lambda
18 2
index.ts
in lib
17 -
_exec.ts
in lib/custom-resource-handlers/src
16 -
chime.ts
in lib/pipeline-notifications
16 2
index.ts
in lib/pipeline-notifications
13 2
credential-pair.ts
in lib
8 -
index.ts
in lib/pull-request
3 -
index.ts
in lib/registry-sync
2 -
index.ts
in lib/chime-notifier
1 -
index.ts
in lib/code-signing
1 -
index.ts
in lib/pipeline-watcher
1 -
Files With Most Units (Top 20)
File# lines# units
pipeline.ts
in lib
341 24
build-spec.ts
in lib
177 17
publishing.ts
in lib
366 17
repo.ts
in lib
152 15
pr.ts
in lib/pull-request
213 11
shellable.ts
in lib
215 10
certificate-signing-request.ts
in lib/custom-resource-handlers/src
102 9
mirror-source.ts
in lib/registry-sync
83 8
create-release.js
in lib/publishing/github
108 7
pgp-secret.ts
in lib/custom-resource-handlers/src
141 6
watcher-handler.ts
in lib/pipeline-watcher/handler
76 6
private-key.ts
in lib/custom-resource-handlers/src
82 5
open-pgp-key-pair.ts
in lib
129 5
time-window.ts
in lib/change-control-lambda
71 5
private-key.ts
in lib/code-signing
142 4
ecr-mirror.ts
in lib/registry-sync
148 4
build-env.ts
in lib
27 3
_cloud-formation.ts
in lib/custom-resource-handlers/src
109 3
index.ts
in lib/change-control-lambda
60 3
notifier-handler.ts
in lib/chime-notifier/handler
53 2
Files With Long Lines (Top 20)

There are 21 files with lines longer than 120 characters. In total, there are 40 long lines.

File# lines# units# long lines
pr.ts
in lib/pull-request
213 11 6
notifier-handler.ts
in lib/chime-notifier/handler
53 2 3
build-spec.ts
in lib
177 17 3
mirror-source.ts
in lib/registry-sync
83 8 3
pgp-secret.ts
in lib/custom-resource-handlers/src
141 6 2
certificate-signing-request.ts
in lib/code-signing
66 1 2
watcher-handler.ts
in lib/pipeline-watcher/handler
76 6 2
ecr-mirror.ts
in lib/registry-sync
148 4 2
bump.ts
in lib/pull-request
44 1 2
shellable.ts
in lib
215 10 2
time-window.ts
in lib/change-control-lambda
71 5 2
publishing.ts
in lib
366 17 2
chime-notifier.ts
in lib/chime-notifier
49 1 1
change-controller.ts
in lib
79 1 1
_exec.ts
in lib/custom-resource-handlers/src
16 - 1
_cloud-formation.ts
in lib/custom-resource-handlers/src
109 3 1
private-key.ts
in lib/custom-resource-handlers/src
82 5 1
private-key.ts
in lib/code-signing
142 4 1
open-pgp-key-pair.ts
in lib
129 5 1
auto-build.ts
in lib
51 2 1