Linux / Arch / Alpha
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 278 files with 40,393 lines of code.
    • 3 very long files (3,341 lines of code)
    • 13 long files (8,631 lines of code)
    • 53 medium size files (15,126 lines of codeclsfd_ftr_w_mp_ins)
    • 52 small files (7,635 lines of code)
    • 157 very small files (5,660 lines of code)
8% | 21% | 37% | 18% | 14%
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
c14% | 27% | 40% | 14% | 3%
S0% | 21% | 25% | 29% | 22%
h0% | 7% | 38% | 22% | 31%
lds0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kernel14% | 32% | 36% | 10% | 5%
include0% | 8% | 39% | 21% | 30%
lib0% | 8% | 31% | 35% | 23%
boot0% | 0% | 54% | 43% | 1%
math-emu0% | 0% | 91% | 0% | 8%
mm0% | 0% | 0% | 100% | 0%
Longest Files (Top 50)
File# lines# units
smc37c669.c
in kernel
1210 20
osf_sys.c
in kernel
1067 -
setup.c
in kernel
1064 4
err_marvel.c
in kernel
883 -
core_cia.c
in kernel
873 -
xor.h
in include/asm
830 -
S
entry.S
in kernel
798 -
traps.c
in kernel
759 4
core_marvel.c
in kernel
700 3
pci_iommu.c
in kernel
629 7
smp.c
in kernel
549 2
err_titan.c
in kernel
548 -
core_titan.c
in kernel
526 -
516 -
perf_event.c
in kernel
516 23
io.c
in kernel
504 47
487 -
sys_dp264.c
in kernel
458 -
core_mcpcia.c
in kernel
440 -
io.h
in include/asm
436 46
signal.c
in kernel
403 -
core_t2.h
in include/asm
389 16
core_t2.c
in kernel
383 -
sys_sable.c
in kernel
374 -
core_apecs.h
in include/asm
358 8
core_lca.c
in kernel
328 2
bitops.h
in include/asm
327 12
327 -
sys_marvel.c
in kernel
326 -
pci.c
in kernel
320 6
318 -
sys_sio.c
in kernel
316 2
core_titan.h
in include/asm
310 1
core_cia.h
in include/asm
304 10
300 3
math.c
in math-emu
293 2
time.c
in kernel
293 4
292 -
S
stxncpy.S
in lib
287 -
sys_titan.c
in kernel
274 -
process.c
in kernel
270 3
268 -
265 -
core_marvel.h
in include/asm
264 3
pci-sysfs.c
in kernel
261 16
core_wildfire.h
in include/asm
260 2
stdio.c
in boot
254 4
core_tsunami.h
in include/asm
252 2
err_common.c
in kernel
247 -
core_apecs.c
in kernel
244 1
Files With Most Units (Top 50)
File# lines# units
io.c
in kernel
504 47
io.h
in include/asm
436 46
pgtable.h
in include/asm
182 26
perf_event.c
in kernel
516 23
jensen.h
in include/asm
212 21
smc37c669.c
in kernel
1210 20
core_t2.h
in include/asm
389 16
pci-sysfs.c
in kernel
261 16
bitops.h
in include/asm
327 12
dma.h
in include/asm
208 11
spinlock.h
in include/asm
133 10
core_cia.h
in include/asm
304 10
core_mcpcia.h
in include/asm
182 9
core_lca.h
in include/asm
237 8
core_apecs.h
in include/asm
358 8
smc37c93x.c
in kernel
210 8
irqflags.h
in include/asm
55 7
113 7
pci_iommu.c
in kernel
629 7
main.c
in boot
130 6
pci.c
in kernel
320 6
pc873xx.c
in kernel
68 6
pal.h
in include/asm
152 5
ptrace.c
in kernel
232 5
stdio.c
in boot
254 4
misc.c
in boot
105 4
memcpy.c
in lib
110 4
traps.c
in kernel
759 4
setup.c
in kernel
1064 4
time.c
in kernel
293 4
bugs.c
in kernel
36 4
processor.h
in include/asm
44 3
vga.h
in include/asm
56 3
core_marvel.h
in include/asm
264 3
word-at-a-time.h
in include/asm
36 3
atomic.h
in include/asm
232 3
300 3
process.c
in kernel
270 3
irq.c
in kernel
79 3
core_marvel.c
in kernel
700 3
audit.c
in kernel
53 3
srm_env.c
in kernel
156 3
math.c
in math-emu
293 2
bootp.c
in boot
117 2
bootpz.c
in boot
242 2
floppy.h
in include/asm
64 2
core_irongate.h
in include/asm
132 2
tlbflush.h
in include/asm
111 2
core_polaris.h
in include/asm
58 2
core_tsunami.h
in include/asm
252 2
Files With Long Lines (Top 0)

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

File# lines# units# long lines