golang / arch
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 55 files with 46,723 lines of code.
    • 8 very long files (33,350 lines of code)
    • 11 long files (7,060 lines of code)
    • 14 medium size files (4,492 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,285 lines of code)
    • 13 very small files (536 lines of code)
71% | 15% | 9% | 2% | 1%
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
go71% | 15% | 9% | 2% | 1%
h0% | 0% | 0% | 100% | 0%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
x86/x86asm83% | 13% | 2% | 0% | 0%
arm/armasm88% | 0% | 10% | 1% | 0%
ppc64/ppc64asm82% | 0% | 14% | 2% | <1%
arm64/arm64asm68% | 21% | 8% | 0% | 1%
x86/x86spec42% | 53% | 0% | 4% | 0%
x86/x86map100% | 0% | 0% | 0% | 0%
ppc64/ppc64map0% | 100% | 0% | 0% | 0%
arm64/arm64spec0% | 100% | 0% | 0% | 0%
arm/armmap0% | 100% | 0% | 0% | 0%
arm/armspec0% | 72% | 0% | 27% | 0%
x86/x86avxgen0% | 0% | 85% | 0% | 14%
ppc64/ppc64spec0% | 0% | 100% | 0% | 0%
arm64/arm64gen0% | 0% | 100% | 0% | 0%
x86/xeddata0% | 0% | 0% | 74% | 25%
ppc64/ppc64util0% | 0% | 0% | 100% | 0%
x86/x86csv0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
tables.go
in x86/x86asm
9917 -
tables.go
in arm/armasm
9549 -
tables.go
in ppc64/ppc64asm
5765 -
decode.go
in arm64/arm64asm
2424 7
tables.go
in arm64/arm64asm
2148 -
decode.go
in x86/x86asm
1318 6
cleanup.go
in x86/x86spec
1125 28
map.go
in x86/x86map
1104 28
parse.go
in x86/x86spec
843 24
inst.go
in arm64/arm64asm
819 46
gnu.go
in x86/x86asm
797 9
plan9x.go
in arm64/arm64asm
629 2
map.go
in ppc64/ppc64map
626 26
spec.go
in arm64/arm64spec
623 14
map.go
in arm/armmap
581 8
format.go
in x86/x86spec
573 1
inst.go
in x86/x86asm
541 19
intel.go
in x86/x86asm
515 2
spec.go
in arm/armspec
513 13
decode.go
in arm/armasm
442 3
spec.go
in ppc64/ppc64spec
395 14
gnu.go
in ppc64/ppc64asm
378 4
plan9x.go
in x86/x86asm
346 3
inst.go
in arm/armasm
333 31
plan9x.go
in arm/armasm
325 4
arg.go
in arm64/arm64asm
317 -
plan9.go
in ppc64/ppc64asm
316 4
decode.go
in x86/x86avxgen
316 8
inst.go
in ppc64/ppc64asm
312 16
main.go
in x86/x86avxgen
289 12
condition.go
in arm64/arm64asm
280 93
sysreggen.go
in arm64/arm64gen
241 3
generate.go
in x86/x86avxgen
202 9
specmap.go
in arm/armspec
199 6
database.go
in x86/xeddata
180 11
decode.go
in ppc64/ppc64asm
171 4
reader.go
in x86/xeddata
151 7
gnu.go
in arm/armasm
141 2
object.go
in x86/xeddata
116 5
hack.h
in ppc64/ppc64util
110 -
spec.go
in x86/x86spec
110 5
util.go
in ppc64/ppc64util
107 6
print.go
in x86/x86avxgen
100 1
operand.go
in x86/xeddata
69 5
condition_util.go
in arm64/arm64asm
67 7
pattern_set.go
in x86/xeddata
61 7
field.go
in ppc64/ppc64asm
55 8
x86csv.go
in x86/x86csv
52 9
reader.go
in x86/x86csv
44 3
instruction.go
in x86/x86avxgen
33 3
Files With Most Units (Top 20)
File# lines# units
condition.go
in arm64/arm64asm
280 93
inst.go
in arm64/arm64asm
819 46
inst.go
in arm/armasm
333 31
cleanup.go
in x86/x86spec
1125 28
map.go
in x86/x86map
1104 28
map.go
in ppc64/ppc64map
626 26
parse.go
in x86/x86spec
843 24
inst.go
in x86/x86asm
541 19
inst.go
in ppc64/ppc64asm
312 16
spec.go
in ppc64/ppc64spec
395 14
spec.go
in arm64/arm64spec
623 14
spec.go
in arm/armspec
513 13
main.go
in x86/x86avxgen
289 12
database.go
in x86/xeddata
180 11
generate.go
in x86/x86avxgen
202 9
x86csv.go
in x86/x86csv
52 9
gnu.go
in x86/x86asm
797 9
map.go
in arm/armmap
581 8
field.go
in ppc64/ppc64asm
55 8
decode.go
in x86/x86avxgen
316 8
Files With Long Lines (Top 20)

There are 23 files with lines longer than 120 characters. In total, there are 645 long lines.

File# lines# units# long lines
tables.go
in arm64/arm64asm
2148 - 472
tables.go
in ppc64/ppc64asm
5765 - 53
cleanup.go
in x86/x86spec
1125 28 31
decode.go
in arm64/arm64asm
2424 7 10
map.go
in x86/x86map
1104 28 10
spec.go
in ppc64/ppc64spec
395 14 8
spec.go
in arm/armspec
513 13 7
spec.go
in arm64/arm64spec
623 14 7
arg.go
in arm64/arm64asm
317 - 6
parse.go
in x86/x86spec
843 24 6
plan9.go
in ppc64/ppc64asm
316 4 5
specmap.go
in arm/armspec
199 6 4
map.go
in ppc64/ppc64map
626 26 4
condition.go
in arm64/arm64asm
280 93 4
gnu.go
in x86/x86asm
797 9 3
decode.go
in x86/x86asm
1318 6 3
plan9x.go
in arm/armasm
325 4 2
map.go
in arm/armmap
581 8 2
sysreggen.go
in arm64/arm64gen
241 3 2
plan9x.go
in arm64/arm64asm
629 2 2