firebase / firebase-admin-go
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 7,991 lines of code.
    • 1 very long files (1,078 lines of code)
    • 3 long files (2,529 lines of code)
    • 11 medium size files (2,972 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (736 lines of code)
    • 12 very small files (676 lines of code)
13% | 31% | 37% | 9% | 8%
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
go13% | 31% | 37% | 9% | 8%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
snippets60% | 0% | 33% | 0% | 6%
auth0% | 50% | 32% | 10% | 5%
messaging0% | 58% | 33% | 8% | 0%
db0% | 0% | 84% | 0% | 15%
internal0% | 0% | 63% | 23% | 12%
ROOT0% | 0% | 0% | 100% | 0%
iid0% | 0% | 0% | 0% | 100%
errorutils0% | 0% | 0% | 0% | 100%
integration0% | 0% | 0% | 0% | 100%
storage0% | 0% | 0% | 0% | 100%
Longest Files (Top 32)
File# lines# units
auth.go
in snippets
1078 76
user_mgt.go
in auth
981 79
messaging.go
in messaging
808 44
provider_config.go
in auth
740 67
token_verifier.go
in auth
374 23
db.go
in snippets
360 26
query.go
in db
306 26
http_client.go
in internal
304 24
auth.go
in auth
289 17
messaging_batch.go
in messaging
255 14
messaging.go
in snippets
242 13
tenant_mgt.go
in auth
225 21
token_generator.go
in auth
215 14
messaging_utils.go
in messaging
201 11
ref.go
in db
201 16
import_users.go
in auth
195 17
hash.go
in auth/hash
163 15
firebase.go
in root
148 10
topic_mgt.go
in messaging
116 6
errors.go
in internal
114 6
email_action_links.go
in auth
92 7
db.go
in db
91 5
iid.go
in iid
82 11
export_users.go
in auth
77 4
init.go
in snippets
74 6
internal.go
in internal
60 3
errorutils.go
in errorutils
60 17
internal.go
in integration/internal
51 5
storage.go
in snippets
37 2
storage.go
in storage
27 3
auth_appengine.go
in auth
17 3
auth_std.go
in auth
8 1
Files With Most Units (Top 20)
File# lines# units
user_mgt.go
in auth
981 79
auth.go
in snippets
1078 76
provider_config.go
in auth
740 67
messaging.go
in messaging
808 44
query.go
in db
306 26
db.go
in snippets
360 26
http_client.go
in internal
304 24
token_verifier.go
in auth
374 23
tenant_mgt.go
in auth
225 21
import_users.go
in auth
195 17
auth.go
in auth
289 17
errorutils.go
in errorutils
60 17
ref.go
in db
201 16
hash.go
in auth/hash
163 15
token_generator.go
in auth
215 14
messaging_batch.go
in messaging
255 14
messaging.go
in snippets
242 13
iid.go
in iid
82 11
messaging_utils.go
in messaging
201 11
firebase.go
in root
148 10
Files With Long Lines (Top 8)

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

File# lines# units# long lines
auth.go
in auth
289 17 4
provider_config.go
in auth
740 67 4
token_verifier.go
in auth
374 23 2
user_mgt.go
in auth
981 79 2
topic_mgt.go
in messaging
116 6 2
iid.go
in iid
82 11 1
tenant_mgt.go
in auth
225 21 1
messaging.go
in messaging
808 44 1