firebase / quickstart-js
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 55 files with 7,282 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 8 medium size files (2,603 lines of codeclsfd_ftr_w_mp_ins)
    • 26 small files (3,635 lines of code)
    • 21 very small files (1,044 lines of code)
0% | 0% | 35% | 49% | 14%
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
js0% | 0% | 66% | 10% | 22%
html0% | 0% | 19% | 68% | 12%
css0% | 0% | 59% | 28% | 11%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
auth0% | 0% | 22% | 73% | 3%
firestore/scripts0% | 0% | 60% | 24% | 14%
firestore/styles0% | 0% | 100% | 0% | 0%
firestore0% | 0% | 98% | 0% | 1%
database/scripts0% | 0% | 100% | 0% | 0%
database0% | 0% | 73% | 0% | 26%
messaging0% | 0% | 0% | 77% | 22%
functions/public0% | 0% | 0% | 47% | 52%
auth/exampletokengenerator0% | 0% | 0% | 100% | 0%
auth/chromextension0% | 0% | 0% | 0% | 100%
remote-config0% | 0% | 0% | 0% | 100%
storage0% | 0% | 0% | 0% | 100%
functions/functions0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
FriendlyEats.View.js
in firestore/scripts
414 30
main.css
in firestore/styles
393 -
mfa-password.js
in auth
348 34
index.html
in firestore
313 -
main.js
in database/scripts
294 24
phone-visible.html
in auth
290 -
main.css
in database
279 -
phone-invisible.html
in auth
272 -
email-password.html
in auth
182 -
index.html
in messaging
176 -
main.css
in functions/public/styles
174 -
multi-tenant-ui.html
in auth
173 -
email-link.html
in auth
173 -
FriendlyEats.js
in firestore/scripts
169 9
apple-redirect.html
in auth
168 -
apple-popup.html
in auth
161 -
main.css
in auth
155 -
facebook-credentials.html
in auth
146 -
google-credentials.html
in auth
141 -
twitter-redirect.html
in auth
130 -
auth.html
in auth/exampletokengenerator
127 -
microsoft-redirect.html
in auth
127 -
google-redirect.html
in auth
124 -
phone-simple.html
in auth
124 -
github-redirect.html
in auth
124 -
facebook-redirect.html
in auth
124 -
twitter-popup.html
in auth
121 -
mfa-password.html
in auth
121 -
microsoft-popup.html
in auth
119 -
customauth.html
in auth
118 -
facebook-popup.html
in auth
116 -
google-popup.html
in auth
116 -
github-popup.html
in auth
116 -
phone-simple-popup.html
in auth
110 -
index.html
in database
100 -
main.js
in functions/public/scripts
97 10
anon.html
in auth
94 -
index.html
in functions/public
94 -
index.html
in storage
86 -
index.html
in remote-config
78 -
index.html
in auth
61 -
credentials.js
in auth/chromextension
59 4
FriendlyEats.Data.js
in firestore/scripts
54 5
FriendlyEats.Mock.js
in firestore/scripts
46 2
index.js
in functions/functions
45 -
main.css
in auth/chromextension
44 -
main.css
in messaging
38 -
main.css
in remote-config
38 -
sanitizer.js
in functions/functions
28 3
credentials.html
in auth/chromextension
22 -
Files With Most Units (Top 10)
File# lines# units
mfa-password.js
in auth
348 34
FriendlyEats.View.js
in firestore/scripts
414 30
main.js
in database/scripts
294 24
main.js
in functions/public/scripts
97 10
FriendlyEats.js
in firestore/scripts
169 9
FriendlyEats.Data.js
in firestore/scripts
54 5
credentials.js
in auth/chromextension
59 4
sanitizer.js
in functions/functions
28 3
FriendlyEats.Mock.js
in firestore/scripts
46 2
background.js
in auth/chromextension
14 2
Files With Long Lines (Top 20)

There are 29 files with lines longer than 120 characters. In total, there are 76 long lines.

File# lines# units# long lines
mfa-password.html
in auth
121 - 19
email-password.html
in auth
182 - 6
index.html
in auth
61 - 5
auth.html
in auth/exampletokengenerator
127 - 5
index.html
in functions/public
94 - 5
index.html
in firestore
313 - 4
email-link.html
in auth
173 - 3
customauth.html
in auth
118 - 3
phone-invisible.html
in auth
272 - 3
index.html
in database
100 - 3
phone-visible.html
in auth
290 - 2
main.css
in firestore/styles
393 - 1
index.html
in storage
86 - 1
google-redirect.html
in auth
124 - 1
phone-simple.html
in auth
124 - 1
multi-tenant-ui.html
in auth
173 - 1
facebook-credentials.html
in auth
146 - 1
google-credentials.html
in auth
141 - 1
microsoft-popup.html
in auth
119 - 1
facebook-popup.html
in auth
116 - 1