H3
File Size

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), 100-200 (small files), 200-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 109 files with 10,864 lines of code.
    • 0 very long files (0 lines of code)
    • 4 long files (2,382 lines of code)
    • 9 medium size files (2,597 lines of code)
    • 21 small files (2,984 lines of code)
    • 75 very small files (2,901 lines of code)
0% | 21% | 23% | 27% | 26%
Legend:
1001+
501-1000
201-500
101-200
1-100
File Size per Extension
c0% | 23% | 25% | 28% | 22%
h0% | 0% | 0% | 16% | 83%
Legend:
1001+
501-1000
201-500
101-200
1-100
File Size per Logical Decomposition
primary
src/h3lib0% | 54% | 19% | 13% | 12%
src/apps0% | 0% | 27% | 37% | 34%
examples0% | 0% | 0% | 0% | 100%
Legend:
1001+
501-1000
201-500
101-200
1-100
Alternative Visuals
Longest Files (Top 50)
File# lines# units
baseCells.c
in src/h3lib/lib
743 9
faceijk.c
in src/h3lib/lib
604 10
h3Index.c
in src/h3lib/lib
526 28
algos.c
in src/h3lib/lib
509 15
testPolygon.c
in src/apps/testapps
421 1
localij.c
in src/h3lib/lib
329 8
coordijk.c
in src/h3lib/lib
300 25
testKRing.c
in src/apps/testapps
291 1
testCompact.c
in src/apps/testapps
288 -
testH3UniEdge.c
in src/apps/testapps
278 -
testPolyfill.c
in src/apps/testapps
261 2
linkedGeo.c
in src/h3lib/lib
215 7
testVertexGraph.c
in src/apps/testapps
214 -
testH3SetToLinkedGeo.c
in src/apps/testapps
199 -
testBBox.c
in src/apps/testapps
192 1
testH3ToLocalIjExhaustive.c
in src/apps/testapps
176 5
geoCoord.c
in src/h3lib/lib
169 16
generateBaseCellNeighbors.c
in src/apps/miscapps
167 3
testH3Index.c
in src/apps/testapps
165 -
h3UniEdge.c
in src/h3lib/lib
161 9
utility.c
in src/apps/applib/lib
154 17
testH3ToLocalIj.c
in src/apps/testapps
151 -
testGeoCoord.c
in src/apps/testapps
139 1
testHexRing.c
in src/apps/testapps
136 -
kml.c
in src/apps/applib/lib
132 9
testH3Memory.c
in src/apps/testapps
125 2
benchmarkPolygon.c
in src/apps/benchmarks
123 -
testH3NeighborRotations.c
in src/apps/testapps
120 3
polygonAlgos.h
in src/h3lib/include
118 4
benchmarkPolyfill.c
in src/apps/benchmarks
117 -
vertexGraph.c
in src/h3lib/lib
117 5
args.c
in src/apps/applib/lib
113 3
testPolyfillReported.c
in src/apps/testapps
109 -
testH3ToChildren.c
in src/apps/testapps
101 1
h3ToGeoHier.c
in src/apps/miscapps
99 3
h3ToGeoBoundaryHier.c
in src/apps/miscapps
98 3
testH3Distance.c
in src/apps/testapps
96 -
h3ToComponents.c
in src/apps/filters
95 3
testH3GetFaces.c
in src/apps/testapps
94 4
h3ToHier.c
in src/apps/miscapps
77 2
testH3Api.c
in src/apps/testapps
75 -
localIjToH3.c
in src/apps/filters
72 2
testH3UniEdgeExhaustive.c
in src/apps/testapps
69 2
testH3LineExhaustive.c
in src/apps/testapps
67 3
kRing.c
in src/apps/filters
66 2
testH3SetToVertexGraph.c
in src/apps/testapps
66 -
h3Index.h
in src/h3lib/include
65 -
geoToH3.c
in src/apps/filters
61 2
bbox.c
in src/h3lib/lib
58 6
hexRange.c
in src/apps/filters
57 2
Files With Most Units (Top 50)
File# lines# units
h3Index.c
in src/h3lib/lib
526 28
coordijk.c
in src/h3lib/lib
300 25
utility.c
in src/apps/applib/lib
154 17
geoCoord.c
in src/h3lib/lib
169 16
algos.c
in src/h3lib/lib
509 15
faceijk.c
in src/h3lib/lib
604 10
kml.c
in src/apps/applib/lib
132 9
h3UniEdge.c
in src/h3lib/lib
161 9
baseCells.c
in src/h3lib/lib
743 9
localij.c
in src/h3lib/lib
329 8
linkedGeo.c
in src/h3lib/lib
215 7
bbox.c
in src/h3lib/lib
58 6
testH3ToLocalIjExhaustive.c
in src/apps/testapps
176 5
vertexGraph.c
in src/h3lib/lib
117 5
testH3GetFaces.c
in src/apps/testapps
94 4
polygonAlgos.h
in src/h3lib/include
118 4
h3ToComponents.c
in src/apps/filters
95 3
testH3NeighborRotations.c
in src/apps/testapps
120 3
testH3LineExhaustive.c
in src/apps/testapps
67 3
h3ToGeoBoundaryHier.c
in src/apps/miscapps
98 3
h3ToGeoHier.c
in src/apps/miscapps
99 3
generateBaseCellNeighbors.c
in src/apps/miscapps
167 3
args.c
in src/apps/applib/lib
113 3
distance.c
in examples
27 2
localIjToH3.c
in src/apps/filters
72 2
h3ToLocalIj.c
in src/apps/filters
53 2
h3ToGeo.c
in src/apps/filters
53 2
geoToH3.c
in src/apps/filters
61 2
h3ToGeoBoundary.c
in src/apps/filters
56 2
kRing.c
in src/apps/filters
66 2
hexRange.c
in src/apps/filters
57 2
testPolyfill.c
in src/apps/testapps
261 2
testH3UniEdgeExhaustive.c
in src/apps/testapps
69 2
testGeoToH3.c
in src/apps/testapps
35 2
testH3DistanceExhaustive.c
in src/apps/testapps
47 2
testH3ToGeo.c
in src/apps/testapps
41 2
testH3Memory.c
in src/apps/testapps
125 2
generateFaceCenterPoint.c
in src/apps/miscapps
21 2
generateNumHexagons.c
in src/apps/miscapps
20 2
h3ToHier.c
in src/apps/miscapps
77 2
polygon.c
in src/h3lib/lib
38 2
vec2d.c
in src/h3lib/lib
20 2
vec3d.c
in src/h3lib/lib
13 2
index.c
in examples
22 1
edge.c
in examples
16 1
compact.c
in examples
42 1
neighbors.c
in examples
17 1
testKRing.c
in src/apps/testapps
291 1
testH3ToGeoBoundary.c
in src/apps/testapps
27 1
mkRandGeoBoundary.c
in src/apps/testapps
44 1