Linux / Arch / Parisc
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 231 files with 42,227 lines of code.
    • 9 very long files (13,334 lines of code)
    • 10 long files (6,025 lines of code)
    • 41 medium size files (12,561 lines of codeclsfd_ftr_w_mp_ins)
    • 36 small files (5,376 lines of code)
    • 135 very small files (4,931 lines of code)
31% | 14% | 29% | 12% | 11%
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
S77% | 0% | 15% | 3% | 3%
c22% | 20% | 37% | 13% | 6%
h21% | 10% | 24% | 16% | 27%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kernel48% | 19% | 20% | 8% | 3%
math-emu27% | 7% | 46% | 14% | 3%
mm0% | 54% | 24% | 12% | 7%
include0% | 7% | 25% | 25% | 41%
lib0% | 0% | 78% | 0% | 21%
boot0% | 0% | 62% | 0% | 37%
Longest Files (Top 50)
File# lines# units
perf_images.h
in kernel
2519 -
S
entry.S
in kernel
1953 -
fmpyfadd.c
in math-emu
1521 -
S
perf_asm.S
in kernel
1509 -
hardware.c
in kernel
1329 -
fpudispatch.c
in math-emu
1177 1
S
pacache.S
in kernel
1174 -
S
syscall.S
in kernel
1132 -
firmware.c
in kernel
1020 73
drivers.c
in kernel
755 37
dbl_float.h
in math-emu
696 4
module.c
in kernel
695 26
unaligned.c
in kernel
632 7
init.c
in mm
571 18
pdc.h
in include/uapi/asm
553 -
ptrace.c
in kernel
548 20
traps.c
in kernel
544 18
perf.c
in kernel
523 14
cache.c
in kernel
508 15
iomap.c
in lib
445 56
assembly.h
in include/asm
444 -
inventory.c
in kernel
430 9
signal.c
in kernel
412 2
irq.c
in kernel
402 22
sgl_float.h
in math-emu
397 2
fcnvfu.c
in math-emu
393 -
unwind.c
in kernel
374 12
fcnvfx.c
in math-emu
368 -
io.c
in lib
356 9
pci-dma.c
in kernel
355 11
dfsub.c
in math-emu
338 -
sys_parisc.c
in kernel
338 35
dfadd.c
in math-emu
336 -
sfsub.c
in math-emu
333 -
sfadd.c
in math-emu
331 -
pgtable.h
in include/asm
320 18
S
head.S
in kernel
320 -
float.h
in math-emu
313 -
308 -
setup.c
in kernel
290 7
smp.c
in kernel
289 10
misc.c
in boot/compressed
278 11
processor.c
in kernel
276 4
cnv_float.h
in math-emu
273 -
dfdiv.c
in math-emu
260 -
S
real2.S
in kernel
260 -
pdcpat.h
in include/asm
258 -
fault.c
in mm
255 2
sfdiv.c
in math-emu
253 -
pdt.c
in kernel
248 7
Files With Most Units (Top 50)
File# lines# units
firmware.c
in kernel
1020 73
iomap.c
in lib
445 56
drivers.c
in kernel
755 37
sys_parisc.c
in kernel
338 35
io.h
in include/asm
247 29
module.c
in kernel
695 26
irq.c
in kernel
402 22
ptrace.c
in kernel
548 20
pgtable.h
in include/asm
320 18
init.c
in mm
571 18
traps.c
in kernel
544 18
kprobes.c
in kernel
154 16
cache.c
in kernel
508 15
perf.c
in kernel
523 14
kgdb.c
in kernel
178 14
floppy.h
in include/asm
199 12
unwind.c
in kernel
374 12
pdc_cons.c
in kernel
171 12
misc.c
in boot/compressed
278 11
ftrace.c
in kernel
188 11
pci-dma.c
in kernel
355 11
time.c
in kernel
157 11
spinlock.h
in include/asm
88 10
dma.h
in include/asm
93 10
process.c
in kernel
167 10
smp.c
in kernel
289 10
bitops.h
in include/asm
147 9
io.c
in lib
356 9
inventory.c
in kernel
430 9
135 8
pdc_chassis.c
in kernel
172 8
irqflags.h
in include/asm
37 7
syscall.h
in include/asm
54 7
ropes.h
in include/asm
211 7
pdt.c
in kernel
248 7
pci.c
in kernel
142 7
kexec.c
in kernel
90 7
setup.c
in kernel
290 7
unaligned.c
in kernel
632 7
unistd.h
in include/asm
138 6
checksum.h
in include/asm
112 6
bitops.c
in lib
69 6
patch.c
in kernel
99 6
mmu_context.h
in include/asm
70 5
dbl_float.h
in math-emu
696 4
ide.h
in include/asm
35 4
processor.c
in kernel
276 4
pgalloc.h
in include/asm
53 3
smp.h
in include/asm
31 3
ptrace.h
in include/asm
36 3
Files With Long Lines (Top 4)

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

File# lines# units# long lines
init.c
in mm
571 18 1
firmware.c
in kernel
1020 73 1
signal32.h
in kernel
37 - 1
unaligned.c
in kernel
632 7 1