firebase / snippets-node
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 32 files with 2,924 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (702 lines of code)
    • 1 medium size files (354 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (850 lines of code)
    • 24 very small files (1,018 lines of code)
0% | 24% | 12% | 29% | 34%
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% | 24% | 12% | 30% | 32%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
firestore/main0% | 100% | 0% | 0% | 0%
messaging0% | 0% | 100% | 0% | 0%
auth0% | 0% | 0% | 67% | 32%
database0% | 0% | 0% | 100% | 0%
firestore/solution-sharded-timestamp0% | 0% | 0% | 59% | 40%
firestore/solution-deletes0% | 0% | 0% | 0% | 100%
management0% | 0% | 0% | 0% | 100%
firestore/extend-with-functions0% | 0% | 0% | 0% | 100%
firestore/solution-scheduled-backups0% | 0% | 0% | 0% | 100%
config0% | 0% | 0% | 0% | 100%
firebaseapp0% | 0% | 0% | 0% | 100%
functions/stackdriver-logging0% | 0% | 0% | 0% | 100%
auth/functions0% | 0% | 0% | 0% | 100%
functions/firestore-export0% | 0% | 0% | 0% | 100%
firestore/solution-aggregation0% | 0% | 0% | 0% | 100%
storage0% | 0% | 0% | 0% | 100%
Longest Files (Top 32)
File# lines# units
index.js
in firestore/main
702 55
index.js
in messaging
354 19
import_users.js
in auth
194 -
retrieve-data.js
in database
174 21
shardedTimestamps.js
in firestore/solution-sharded-timestamp
140 10
manage_users.js
in auth
134 -
manage_cookies.js
in auth
106 -
save-data.js
in database
102 11
nonShardedTimestamps.js
in firestore/solution-sharded-timestamp
95 5
post_firebase.js
in management
94 5
index.js
in firestore/extend-with-functions/functions
81 10
custom_claims.js
in auth
69 2
app.js
in firestore/solution-scheduled-backups
66 -
pre_firebase.js
in management
63 3
index.js
in config
58 5
index.css
in firestore/solution-deletes/public
57 -
index.js
in firestore/solution-deletes/public
57 6
email_action_links.js
in auth
48 -
index.js
in firebaseapp
47 8
manage_sessions.js
in auth
43 -
index.js
in firestore/solution-deletes/functions
38 -
index.html
in firestore/solution-deletes/public
34 -
create_custom_tokens.js
in auth
26 -
index.js
in functions/stackdriver-logging
26 1
custom_claims.js
in auth/functions
24 -
index.js
in functions/firestore-export
24 -
index.js
in firestore/solution-aggregation/functions
21 -
index.js
in storage
20 4
verify_id_tokens.js
in auth
12 -
get_service_account_tokens.js
in auth
9 -
cron.yaml
in firestore/solution-scheduled-backups
5 -
app.yaml
in firestore/solution-scheduled-backups
1 -
Files With Most Units (Top 15)
File# lines# units
index.js
in firestore/main
702 55
retrieve-data.js
in database
174 21
index.js
in messaging
354 19
save-data.js
in database
102 11
shardedTimestamps.js
in firestore/solution-sharded-timestamp
140 10
index.js
in firestore/extend-with-functions/functions
81 10
index.js
in firebaseapp
47 8
index.js
in firestore/solution-deletes/public
57 6
nonShardedTimestamps.js
in firestore/solution-sharded-timestamp
95 5
post_firebase.js
in management
94 5
index.js
in config
58 5
index.js
in storage
20 4
pre_firebase.js
in management
63 3
custom_claims.js
in auth
69 2
index.js
in functions/stackdriver-logging
26 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines