angular / angular-update-guide
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 22 files with 4,284 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,760 lines of code)
    • 5 medium size files (1,968 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (314 lines of code)
    • 12 very small files (242 lines of code)
0% | 41% | 45% | 7% | 5%
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% | 43% | 48% | 4% | 3%
html0% | 0% | 0% | 84% | 15%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/app/locales0% | 50% | 49% | 0% | <1%
src/app0% | 0% | 37% | 47% | 14%
src0% | 0% | 0% | 0% | 100%
src/environments0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
pt_BR.ts
in src/app/locales
660 -
ru_RU.ts
in src/app/locales
597 -
vi_VN.ts
in src/app/locales
503 -
zh_TW.ts
in src/app/locales
496 -
zh_CN.ts
in src/app/locales
436 -
es_CR.ts
in src/app/locales
425 -
ja_JP.ts
in src/app/locales
364 -
app.component.ts
in src/app
247 11
recommendations.ts
in src/app
188 -
app.component.html
in src/app
126 -
styles.css
in src
78 -
app.module.ts
in src/app
37 -
localization.ts
in src/app
36 3
index.html
in src
23 -
test.ts
in src
21 -
analytics.service.ts
in src/app
11 1
i18n.pipe.ts
in src/app
11 -
main.ts
in src
9 -
index.ts
in src/app/locales
7 -
environment.ts
in src/environments
3 -
environment.prod.ts
in src/environments
3 -
polyfills.ts
in src
3 -
Files With Most Units (Top 3)
File# lines# units
app.component.ts
in src/app
247 11
localization.ts
in src/app
36 3
analytics.service.ts
in src/app
11 1
Files With Long Lines (Top 10)

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

File# lines# units# long lines
recommendations.ts
in src/app
188 - 173
pt_BR.ts
in src/app/locales
660 - 124
ru_RU.ts
in src/app/locales
597 - 121
vi_VN.ts
in src/app/locales
503 - 108
es_CR.ts
in src/app/locales
425 - 75
zh_TW.ts
in src/app/locales
496 - 75
zh_CN.ts
in src/app/locales
436 - 70
ja_JP.ts
in src/app/locales
364 - 54
app.component.html
in src/app
126 - 17
app.component.ts
in src/app
247 11 1