golang / geo
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 65 files with 10,960 lines of code.
    • 0 very long files (0 lines of code)
    • 4 long files (3,019 lines of code)
    • 15 medium size files (4,570 lines of codeclsfd_ftr_w_mp_ins)
    • 15 small files (2,016 lines of code)
    • 31 very small files (1,355 lines of code)
0% | 27% | 41% | 18% | 12%
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
go0% | 27% | 41% | 18% | 12%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
s20% | 30% | 42% | 14% | 13%
s10% | 0% | 65% | 24% | 9%
r30% | 0% | 0% | 99% | <1%
r20% | 0% | 0% | 99% | <1%
r10% | 0% | 0% | 99% | <1%
Longest Files (Top 50)
File# lines# units
loop.go
in s2
961 85
shapeindex.go
in s2
832 68
polygon.go
in s2
708 59
cellid.go
in s2
518 70
edge_query.go
in s2
408 37
cell.go
in s2
408 42
rect.go
in s2
378 43
cellunion.go
in s2
369 33
regioncoverer.go
in s2
360 27
polyline.go
in s2
319 37
edge_clipping.go
in s2
316 18
predicates.go
in s2
307 19
interval.go
in s1
302 29
cap.go
in s2
288 39
crossing_edge_query.go
in s2
254 13
cell_index.go
in s2
241 26
min_distance_targets.go
in s2
209 47
max_distance_targets.go
in s2
206 47
stuv.go
in s2
205 19
pointcompression.go
in s2
200 18
edge_distances.go
in s2
176 17
encode.go
in s2
173 22
edge_crossings.go
in s2
161 11
paddedcell.go
in s2
153 12
rect.go
in r2
138 35
point.go
in s2
127 26
precisevector.go
in r3
127 22
shapeutil.go
in s2
117 11
projections.go
in s2
112 19
chordangle.go
in s1
112 18
convex_hull_query.go
in s2
108 10
vector.go
in r3
108 18
contains_point_query.go
in s2
103 6
interval.go
in r1
101 20
interleave.go
in s2
98 2
edge_crosser.go
in s2
97 8
rect_bounder.go
in s2
97 5
shape.go
in s2
91 9
lexicon.go
in s2
90 11
util.go
in s2
89 10
edge_tessellator.go
in s2
70 6
matrix3x3.go
in s2
68 12
metric.go
in s2
67 4
query_options.go
in s2
60 10
latlng.go
in s2
57 10
query_entry.go
in s2
46 10
point_measures.go
in s2
45 5
angle.go
in s1
44 12
shapeutil_edge_iterator.go
in s2
39 7
centroids.go
in s2
37 3
Files With Most Units (Top 20)
File# lines# units
loop.go
in s2
961 85
cellid.go
in s2
518 70
shapeindex.go
in s2
832 68
polygon.go
in s2
708 59
min_distance_targets.go
in s2
209 47
max_distance_targets.go
in s2
206 47
rect.go
in s2
378 43
cell.go
in s2
408 42
cap.go
in s2
288 39
edge_query.go
in s2
408 37
polyline.go
in s2
319 37
rect.go
in r2
138 35
cellunion.go
in s2
369 33
interval.go
in s1
302 29
regioncoverer.go
in s2
360 27
point.go
in s2
127 26
cell_index.go
in s2
241 26
encode.go
in s2
173 22
precisevector.go
in r3
127 22
interval.go
in r1
101 20
Files With Long Lines (Top 8)

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

File# lines# units# long lines
loop.go
in s2
961 85 2
predicates.go
in s2
307 19 2
crossing_edge_query.go
in s2
254 13 2
edge_tessellator.go
in s2
70 6 1
edge_crosser.go
in s2
97 8 1
rect.go
in s2
378 43 1
max_distance_targets.go
in s2
206 47 1
regioncoverer.go
in s2
360 27 1