angular / vscode-ng-language-service
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 42 files with 4,465 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,382 lines of code)
    • 1 medium size files (419 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (658 lines of code)
    • 33 very small files (1,006 lines of code)
0% | 53% | 9% | 14% | 22%
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% | 54% | 9% | 14% | 21%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
server/src0% | 55% | 0% | 15% | 28%
syntaxes/src0% | 77% | 0% | 12% | 10%
integration/lsp0% | 82% | 0% | 17% | 0%
client/src0% | 0% | 60% | 19% | 20%
common0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
integration/project/app0% | 0% | 0% | 0% | 100%
integration/pre_apf_project/app0% | 0% | 0% | 0% | 100%
integration/project/libs0% | 0% | 0% | 0% | 100%
override_rename_ts_plugin0% | 0% | 0% | 0% | 100%
Longest Files (Top 42)
File# lines# units
session.ts
in server/src
945 49
expression.ts
in syntaxes/src
837 -
ivy_spec.ts
in integration/lsp
600 6
client.ts
in client/src
419 29
server_host.ts
in server/src
138 2
template.ts
in syntaxes/src
136 -
commands.ts
in client/src
132 11
utils.ts
in server/src
128 16
viewengine_spec.ts
in integration/lsp
124 -
completion.ts
in server/src
100 4
logger.ts
in server/src
95 12
embedded_support.ts
in client/src
85 5
version_provider.ts
in server/src
83 6
resolver.ts
in common
66 4
cmdline_utils.ts
in server/src
60 5
esbuild.js
in root
58 1
ngcc.ts
in server/src
53 2
server.ts
in server/src
43 1
inline-styles.ts
in syntaxes/src
39 -
build.ts
in syntaxes/src
32 2
inline-template.ts
in syntaxes/src
32 -
diagnostic.ts
in server/src
31 2
requests.ts
in common
31 -
providers.ts
in client/src
24 2
app.module.ts
in integration/project/app
18 -
extension.ts
in client/src
17 1
app.module.ts
in integration/pre_apf_project/app
16 -
banner.ts
in server/src
15 1
notifications.ts
in common
15 -
post.component.ts
in integration/project/libs/post/src/lib
14 -
progress-reporter.ts
in client/src
13 2
progress.ts
in common
12 -
app.component.ts
in integration/pre_apf_project/app
10 -
app.component.ts
in integration/project/app
10 -
foo.component.ts
in integration/pre_apf_project/app
7 -
foo.component.ts
in integration/project/app
7 -
types.ts
in syntaxes/src
6 -
foo.component.html
in integration/project/app
5 -
foo.component.html
in integration/pre_apf_project/app
4 -
initialize.ts
in common
3 -
index.js
in override_rename_ts_plugin
1 -
index.ts
in integration/project/libs/post/src
1 -
Files With Most Units (Top 20)
File# lines# units
session.ts
in server/src
945 49
client.ts
in client/src
419 29
utils.ts
in server/src
128 16
logger.ts
in server/src
95 12
commands.ts
in client/src
132 11
version_provider.ts
in server/src
83 6
ivy_spec.ts
in integration/lsp
600 6
embedded_support.ts
in client/src
85 5
cmdline_utils.ts
in server/src
60 5
completion.ts
in server/src
100 4
resolver.ts
in common
66 4
providers.ts
in client/src
24 2
progress-reporter.ts
in client/src
13 2
diagnostic.ts
in server/src
31 2
ngcc.ts
in server/src
53 2
server_host.ts
in server/src
138 2
build.ts
in syntaxes/src
32 2
extension.ts
in client/src
17 1
server.ts
in server/src
43 1
banner.ts
in server/src
15 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
expression.ts
in syntaxes/src
837 - 6
client.ts
in client/src
419 29 3
session.ts
in server/src
945 49 3
ivy_spec.ts
in integration/lsp
600 6 3