angular / dev-infra
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 232 files with 11,957 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (856 lines of codeclsfd_ftr_w_mp_ins)
    • 24 small files (2,976 lines of code)
    • 205 very small files (8,125 lines of code)
0% | 0% | 7% | 24% | 67%
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% | 6% | 24% | 69%
bzl0% | 0% | 12% | 36% | 50%
mjs0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ng-dev/release0% | 0% | 16% | 19% | 63%
github-actions/feature-request0% | 0% | 32% | 34% | 32%
bazel/integration0% | 0% | 100% | 0% | 0%
ng-dev/pr0% | 0% | 0% | 36% | 63%
bazel/benchmark0% | 0% | 0% | 68% | 31%
ng-dev/utils0% | 0% | 0% | 21% | 78%
bazel/http-server0% | 0% | 0% | 87% | 12%
bazel/browsers0% | 0% | 0% | 48% | 51%
ng-dev/commit-message0% | 0% | 0% | 22% | 77%
ng-dev/ts-circular-dependencies0% | 0% | 0% | 34% | 65%
ng-dev/caretaker0% | 0% | 0% | 21% | 78%
bazel/api-golden0% | 0% | 0% | 43% | 56%
ng-dev/format0% | 0% | 0% | 0% | 100%
ng-dev/pullapprove0% | 0% | 0% | 0% | 100%
github-actions/slash-commands0% | 0% | 0% | 0% | 100%
bazel/spec-bundling0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
ng-dev/misc0% | 0% | 0% | 0% | 100%
tslint-rules0% | 0% | 0% | 0% | 100%
bazel0% | 0% | 0% | 0% | 100%
tools/local-actions0% | 0% | 0% | 0% | 100%
github-actions/lock-closed0% | 0% | 0% | 0% | 100%
shared-scripts/angular-linker0% | 0% | 0% | 0% | 100%
github-actions/commit-message-based-labels0% | 0% | 0% | 0% | 100%
bazel/esbuild0% | 0% | 0% | 0% | 100%
shared-scripts/angular-optimization0% | 0% | 0% | 0% | 100%
github-actions0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tools/git-toolchain0% | 0% | 0% | 0% | 100%
ng-dev/ngbot0% | 0% | 0% | 0% | 100%
tools/jasmine0% | 0% | 0% | 0% | 100%
ng-dev0% | 0% | 0% | 0% | 100%
ng-dev/ci0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
actions.ts
in ng-dev/release/publish
433 26
octokit.ts
in github-actions/feature-request/src
213 14
index.bzl
in bazel/integration
210 -
fetch-pull-request.ts
in ng-dev/pr/common
161 10
virtual-git-client.ts
in ng-dev/utils/testing
156 9
index.ts
in ng-dev/release/publish
151 7
index.bzl
in bazel/http-server
143 -
context.ts
in ng-dev/release/notes
142 5
git-client.ts
in ng-dev/utils/git
140 8
component_benchmark.bzl
in bazel/benchmark/component_benchmark
140 -
find-stable-revision-for-all-platforms.ts
in bazel/browsers/chromium
139 13
api-merge.ts
in ng-dev/pr/merge/strategies
137 8
validate.ts
in ng-dev/commit-message
133 3
action.ts
in github-actions/feature-request/src
127 2
index.ts
in ng-dev/ts-circular-dependencies
121 4
labels.ts
in ng-dev/pr/common/targeting
114 2
g3.ts
in ng-dev/caretaker/check
113 7
index.bzl
in bazel/benchmark/app_bundling
112 -
active-release-trains.ts
in ng-dev/release/versioning
108 8
server.ts
in bazel/http-server
108 6
index.bzl
in bazel/api-golden
108 -
chromium.bzl
in bazel/browsers/chromium
108 -
changelog.ts
in ng-dev/release/notes
105 15
task.ts
in ng-dev/pr/merge
104 1
index.ts
in ng-dev/pr/merge
102 5
testing.ts
in github-actions/feature-request/src
102 4
perf_util.ts
in bazel/benchmark/driver-utilities
102 3
analyzer.ts
in ng-dev/ts-circular-dependencies
100 3
external-commands.ts
in ng-dev/release/publish
100 6
env-stamp.ts
in ng-dev/release/stamping
100 8
validations.ts
in ng-dev/pr/common/validation
100 7
console.ts
in ng-dev/utils
99 8
extract_js_module_output.bzl
in bazel
99 -
update-github-team.ts
in ng-dev/caretaker/handoff
98 3
failures.ts
in ng-dev/pr/common/validation
98 19
config.ts
in ng-dev/utils
97 7
group.ts
in ng-dev/pullapprove
97 1
main.ts
in tools/local-actions/changelog/lib
97 5
noImplicitOverrideAbstractRule.ts
in tslint-rules
96 9
child-process.ts
in ng-dev/utils
95 4
resolve-yarn-bin.ts
in ng-dev/utils
94 7
target-label.ts
in ng-dev/pr/common/targeting
94 3
authenticated-git-client.ts
in ng-dev/utils/git
91 9
main.ts
in github-actions/lock-closed/lib
90 3
parse.ts
in ng-dev/commit-message
88 1
github.ts
in ng-dev/caretaker/check
87 4
rerun-circleci.ts
in github-actions/slash-commands/lib/commands
87 5
cli.ts
in ng-dev/misc/update-yarn
86 2
config.ts
in ng-dev/commit-message
85 1
index.ts
in ng-dev/pr/discover-new-conflicts
85 1
Files With Most Units (Top 20)
File# lines# units
actions.ts
in ng-dev/release/publish
433 26
failures.ts
in ng-dev/pr/common/validation
98 19
main.ts
in github-actions/feature-request/src
40 16
changelog.ts
in ng-dev/release/notes
105 15
octokit.ts
in github-actions/feature-request/src
213 14
find-stable-revision-for-all-platforms.ts
in bazel/browsers/chromium
139 13
release-notes.ts
in ng-dev/release/notes
82 10
fetch-pull-request.ts
in ng-dev/pr/common
161 10
virtual-git-client.ts
in ng-dev/utils/testing
156 9
authenticated-git-client.ts
in ng-dev/utils/git
91 9
noImplicitOverrideAbstractRule.ts
in tslint-rules
96 9
active-release-trains.ts
in ng-dev/release/versioning
108 8
env-stamp.ts
in ng-dev/release/stamping
100 8
console.ts
in ng-dev/utils
99 8
git-client.ts
in ng-dev/utils/git
140 8
strategy.ts
in ng-dev/pr/merge/strategies
79 8
api-merge.ts
in ng-dev/pr/merge/strategies
137 8
g3.ts
in ng-dev/caretaker/check
113 7
index.ts
in ng-dev/release/publish
151 7
resolve-yarn-bin.ts
in ng-dev/utils
94 7
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 34 long lines.

File# lines# units# long lines
action.yml
in github-actions/feature-request
72 - 8
chromium.bzl
in bazel/browsers/chromium
108 - 4
index.bzl
in bazel/integration
210 - 4
firefox.bzl
in bazel/browsers/firefox
74 - 3
index.bzl
in bazel/benchmark/app_bundling
112 - 3
extract_js_module_output.bzl
in bazel
99 - 2
mjs
esbuild.config-tmpl.mjs
in bazel/benchmark/app_bundling
54 - 2
index.bzl
in bazel/esbuild
47 - 2
messages.ts
in ng-dev/pr/merge
12 2 1
mjs
esbuild-plugin.mjs
in shared-scripts/angular-optimization
58 - 1
action.ts
in github-actions/feature-request/src
127 2 1
main.ts
in github-actions/lock-closed/lib
90 3 1
browser_archive_repo.bzl
in bazel/browsers
85 - 1
expand_template.bzl
in bazel
40 - 1