golang / appengine
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 194 files with 56,348 lines of code.
    • 11 very long files (25,465 lines of code)
    • 13 long files (8,256 lines of code)
    • 51 medium size files (15,884 lines of codeclsfd_ftr_w_mp_ins)
    • 19 small files (2,596 lines of code)
    • 100 very small files (4,147 lines of code)
45% | 14% | 28% | 4% | 7%
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
go48% | 15% | 26% | 3% | 6%
proto0% | 0% | 56% | 17% | 25%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal65% | 12% | 15% | 3% | 4%
v241% | 13% | 32% | 4% | 8%
search0% | 79% | 18% | 0% | 2%
cmd0% | 37% | 52% | 7% | 2%
datastore0% | 22% | 68% | 0% | 9%
taskqueue0% | 0% | 100% | 0% | 0%
memcache0% | 0% | 100% | 0% | 0%
aetest0% | 0% | 75% | 0% | 24%
socket0% | 0% | 87% | 0% | 12%
blobstore0% | 0% | 64% | 35% | 0%
delay0% | 0% | 100% | 0% | 0%
log0% | 0% | 91% | 0% | 8%
remote_api0% | 0% | 0% | 100% | 0%
xmpp0% | 0% | 0% | 100% | 0%
urlfetch0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
user0% | 0% | 0% | 0% | 100%
runtime0% | 0% | 0% | 0% | 100%
module0% | 0% | 0% | 0% | 100%
mail0% | 0% | 0% | 0% | 100%
channel0% | 0% | 0% | 0% | 100%
image0% | 0% | 0% | 0% | 100%
cloudsql0% | 0% | 0% | 0% | 100%
capability0% | 0% | 0% | 0% | 100%
file0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
datastore_v3.pb.go
in v2/internal/datastore
3898 767
datastore_v3.pb.go
in internal/datastore
3898 767
search.pb.go
in internal/search
3084 635
taskqueue_service.pb.go
in v2/internal/taskqueue
2816 603
taskqueue_service.pb.go
in internal/taskqueue
2816 603
socket_service.pb.go
in internal/socket
2564 422
memcache_service.pb.go
in v2/internal/memcache
1387 293
memcache_service.pb.go
in internal/memcache
1387 293
images_service.pb.go
in v2/internal/image
1227 244
images_service.pb.go
in internal/image
1227 244
log_service.pb.go
in internal/log
1161 220
search.go
in search
881 42
modules_service.pb.go
in v2/internal/modules
697 178
modules_service.pb.go
in internal/modules
697 178
fix.go
in v2/cmd/aefix
691 39
fix.go
in cmd/aefix
688 39
xmpp_service.pb.go
in internal/xmpp
644 134
blobstore_service.pb.go
in v2/internal/blobstore
591 134
blobstore_service.pb.go
in internal/blobstore
591 134
query.go
in datastore
569 25
query.go
in v2/datastore
569 25
api.go
in internal
554 31
app_identity_service.pb.go
in v2/internal/app_identity
542 128
app_identity_service.pb.go
in internal/app_identity
542 128
typecheck.go
in cmd/aefix
489 12
typecheck.go
in v2/cmd/aefix
489 12
user_service.pb.go
in v2/internal/user
467 104
user_service.pb.go
in internal/user
467 104
urlfetch_service.pb.go
in v2/internal/urlfetch
466 76
urlfetch_service.pb.go
in internal/urlfetch
466 76
api.go
in v2/internal
414 25
proto
datastore_v3.proto
in v2/internal/datastore
403 -
proto
datastore_v3.proto
in internal/datastore
403 -
taskqueue.go
in v2/taskqueue
394 18
taskqueue.go
in taskqueue
394 18
proto
socket_service.proto
in internal/socket
378 -
load.go
in datastore
351 8
load.go
in v2/datastore
351 8
memcache.go
in v2/memcache
347 30
memcache.go
in memcache
347 30
remote_api.pb.go
in v2/internal/remote_api
317 55
remote_api.pb.go
in internal/remote_api
317 55
datastore.go
in datastore
314 16
datastore.go
in v2/datastore
314 16
proto
search.proto
in internal/search
314 -
mail_service.pb.go
in v2/internal/mail
309 57
mail_service.pb.go
in internal/mail
309 57
system_service.pb.go
in v2/internal/system
308 69
system_service.pb.go
in internal/system
308 69
save.go
in datastore
296 9
Files With Most Units (Top 20)
File# lines# units
datastore_v3.pb.go
in v2/internal/datastore
3898 767
datastore_v3.pb.go
in internal/datastore
3898 767
search.pb.go
in internal/search
3084 635
taskqueue_service.pb.go
in v2/internal/taskqueue
2816 603
taskqueue_service.pb.go
in internal/taskqueue
2816 603
socket_service.pb.go
in internal/socket
2564 422
memcache_service.pb.go
in v2/internal/memcache
1387 293
memcache_service.pb.go
in internal/memcache
1387 293
images_service.pb.go
in v2/internal/image
1227 244
images_service.pb.go
in internal/image
1227 244
log_service.pb.go
in internal/log
1161 220
modules_service.pb.go
in v2/internal/modules
697 178
modules_service.pb.go
in internal/modules
697 178
blobstore_service.pb.go
in v2/internal/blobstore
591 134
xmpp_service.pb.go
in internal/xmpp
644 134
blobstore_service.pb.go
in internal/blobstore
591 134
app_identity_service.pb.go
in v2/internal/app_identity
542 128
app_identity_service.pb.go
in internal/app_identity
542 128
user_service.pb.go
in v2/internal/user
467 104
user_service.pb.go
in internal/user
467 104
Files With Long Lines (Top 20)

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

File# lines# units# long lines
datastore_v3.pb.go
in v2/internal/datastore
3898 767 103
datastore_v3.pb.go
in internal/datastore
3898 767 103
taskqueue_service.pb.go
in v2/internal/taskqueue
2816 603 93
taskqueue_service.pb.go
in internal/taskqueue
2816 603 93
search.pb.go
in internal/search
3084 635 61
socket_service.pb.go
in internal/socket
2564 422 58
log_service.pb.go
in internal/log
1161 220 44
memcache_service.pb.go
in v2/internal/memcache
1387 293 34
memcache_service.pb.go
in internal/memcache
1387 293 34
images_service.pb.go
in v2/internal/image
1227 244 23
images_service.pb.go
in internal/image
1227 244 23
urlfetch_service.pb.go
in v2/internal/urlfetch
466 76 15
urlfetch_service.pb.go
in internal/urlfetch
466 76 15
app_identity_service.pb.go
in v2/internal/app_identity
542 128 13
app_identity_service.pb.go
in internal/app_identity
542 128 13
blobstore_service.pb.go
in v2/internal/blobstore
591 134 9
blobstore_service.pb.go
in internal/blobstore
591 134 9
user_service.pb.go
in v2/internal/user
467 104 6
user_service.pb.go
in internal/user
467 104 6
xmpp_service.pb.go
in internal/xmpp
644 134 6