firebase / oss-bot
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 31 files with 5,231 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,788 lines of code)
    • 6 medium size files (1,640 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (916 lines of code)
    • 15 very small files (887 lines of code)
0% | 34% | 31% | 17% | 16%
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% | 45% | 27% | 16% | 10%
css0% | 0% | 78% | 0% | 21%
js0% | 0% | 73% | 0% | 26%
mjml0% | 0% | 0% | 65% | 34%
html0% | 0% | 0% | 30% | 69%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
functions/src0% | 47% | 28% | 14% | 8%
public/assets/css0% | 0% | 100% | 0% | 0%
public0% | 0% | 30% | 14% | 55%
functions/templates0% | 0% | 0% | 65% | 34%
functions/src/shared0% | 0% | 0% | 100% | 0%
functions/src/scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 31)
File# lines# units
types.ts
in functions/src
678 15
report.ts
in functions/src
564 20
issues.ts
in functions/src
546 8
mvp.css
in public/assets/css
349 -
index.ts
in functions/src
345 2
snapshot.ts
in functions/src
276 12
cron.ts
in functions/src
243 7
charts.js
in public
225 19
config.ts
in functions/src
202 5
github.ts
in functions/src
168 10
mjml
weekly.mjml
in functions/templates
152 -
email.ts
in functions/src
142 1
bigquery.ts
in functions/src
136 7
template.ts
in functions/src
113 3
samscore.html
in public
103 -
encoding.ts
in functions/src/shared
102 8
pullrequests.ts
in functions/src
89 6
charts.html
in public
87 -
deploy-config.ts
in functions/src/scripts
83 1
audit.html
in public
80 -
audit.js
in public
80 11
mjml
repo-weekly.mjml
in functions/templates
80 -
audit.css
in public
65 -
index.html
in public
64 -
log.ts
in functions/src
62 5
util.ts
in functions/src
57 8
stats.ts
in functions/src
57 1
badge.ts
in functions/src
34 -
charts.css
in public
31 -
pubsub.ts
in functions/src
10 1
database.ts
in functions/src
8 1
Files With Most Units (Top 20)
File# lines# units
report.ts
in functions/src
564 20
charts.js
in public
225 19
types.ts
in functions/src
678 15
snapshot.ts
in functions/src
276 12
audit.js
in public
80 11
github.ts
in functions/src
168 10
util.ts
in functions/src
57 8
issues.ts
in functions/src
546 8
encoding.ts
in functions/src/shared
102 8
cron.ts
in functions/src
243 7
bigquery.ts
in functions/src
136 7
pullrequests.ts
in functions/src
89 6
log.ts
in functions/src
62 5
config.ts
in functions/src
202 5
template.ts
in functions/src
113 3
index.ts
in functions/src
345 2
deploy-config.ts
in functions/src/scripts
83 1
pubsub.ts
in functions/src
10 1
database.ts
in functions/src
8 1
stats.ts
in functions/src
57 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
mjml
weekly.mjml
in functions/templates
152 - 5
mjml
repo-weekly.mjml
in functions/templates
80 - 3
cron.ts
in functions/src
243 7 3
samscore.html
in public
103 - 2
mvp.css
in public/assets/css
349 - 1
issues.ts
in functions/src
546 8 1