golang / freetype
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 19 files with 5,370 lines of code.
    • 1 very long files (1,439 lines of code)
    • 1 long files (508 lines of code)
    • 8 medium size files (2,492 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (575 lines of code)
    • 5 very small files (356 lines of code)
26% | 9% | 46% | 10% | 6%
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
go27% | 9% | 47% | 10% | 5%
c0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
truetype48% | 17% | 34% | 0% | 0%
raster0% | 0% | 86% | 13% | 0%
ROOT0% | 0% | 100% | 0% | 0%
example/genbasicfont0% | 0% | 100% | 0% | 0%
example/raster0% | 0% | 0% | 100% | 0%
example/drawer0% | 0% | 0% | 100% | 0%
example/freetype0% | 0% | 0% | 100% | 0%
cmd/print-glyph-points0% | 0% | 0% | 0% | 100%
example/round0% | 0% | 0% | 0% | 100%
example/truetype0% | 0% | 0% | 0% | 100%
example/gamma0% | 0% | 0% | 0% | 100%
example/capjoin0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
hint.go
in truetype
1439 20
truetype.go
in truetype
508 24
raster.go
in raster
468 15
glyph.go
in truetype
409 5
face.go
in truetype
355 20
stroke.go
in raster
329 18
opcodes.go
in truetype
277 -
freetype.go
in root
236 16
paint.go
in raster
214 13
main.go
in example/genbasicfont
204 10
geom.go
in raster
162 22
main.go
in example/raster
156 4
main.go
in example/drawer
133 1
main.go
in example/freetype
124 1
main.c
in cmd/print-glyph-points
78 2
main.go
in example/round
78 2
main.go
in example/truetype
69 3
main.go
in example/gamma
66 2
main.go
in example/capjoin
65 1
Files With Most Units (Top 18)
File# lines# units
truetype.go
in truetype
508 24
geom.go
in raster
162 22
face.go
in truetype
355 20
hint.go
in truetype
1439 20
stroke.go
in raster
329 18
freetype.go
in root
236 16
raster.go
in raster
468 15
paint.go
in raster
214 13
main.go
in example/genbasicfont
204 10
glyph.go
in truetype
409 5
main.go
in example/raster
156 4
main.go
in example/truetype
69 3
main.c
in cmd/print-glyph-points
78 2
main.go
in example/round
78 2
main.go
in example/gamma
66 2
main.go
in example/drawer
133 1
main.go
in example/freetype
124 1
main.go
in example/capjoin
65 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
main.go
in example/gamma
66 2 1