Linux / Arch / Microblaze
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 116 files with 10,625 lines of code.
    • 1 very long files (1,007 lines of code)
    • 4 long files (2,820 lines of code)
    • 5 medium size files (1,234 lines of codeclsfd_ftr_w_mp_ins)
    • 18 small files (2,472 lines of code)
    • 88 very small files (3,092 lines of code)
9% | 26% | 11% | 23% | 29%
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
S27% | 40% | 9% | 11% | 10%
c0% | 27% | 9% | 39% | 22%
h0% | 0% | 20% | 7% | 72%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kernel19% | 27% | 14% | 24% | 14%
pci0% | 76% | 0% | 11% | 11%
lib0% | 37% | 0% | 26% | 35%
include0% | 0% | 20% | 7% | 71%
mm0% | 0% | 0% | 92% | 7%
boot0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
1007 -
S
entry.S
in kernel
904 -
768 26
S
605 -
cache.c
in kernel/cpu
543 28
S
head.S
in kernel
334 -
pgtable.h
in include/asm
242 27
timer.c
in kernel
238 19
uaccess.h
in include/asm
217 3
signal.c
in kernel
203 5
pvr.h
in include/asm
169 -
unwind.c
in kernel
169 5
164 -
init.c
in mm
163 9
162 6
S
mcount.S
in kernel
153 -
fault.c
in mm
150 3
memmove.c
in lib
141 -
ftrace.c
in kernel
140 7
setup.c
in kernel
135 6
mb.c
in kernel/cpu
124 2
memcpy.c
in lib
123 -
120 -
S
vmlinux.lds.S
in kernel
119 -
cpuinfo.c
in kernel/cpu
113 2
exceptions.c
in kernel
112 4
cpuinfo-static.c
in kernel/cpu
110 1
kgdb.c
in kernel
105 8
asm-offsets.c
in kernel
100 1
99 4
irqflags.h
in include/asm
97 10
process.c
in kernel
97 7
ptrace.c
in kernel
90 4
thread_info.h
in include/asm
87 -
futex.h
in include/asm
84 -
pci-bridge.h
in include/asm
80 2
S
umodsi3.S
in lib
78 -
cpuinfo-pvr-full.c
in kernel/cpu
75 1
S
udivsi3.S
in lib
74 -
mmu.h
in include/asm
69 -
S
divsi3.S
in lib
69 -
S
modsi3.S
in lib
68 -
module.c
in kernel
68 2
page.h
in include/asm
67 -
cpuinfo.h
in include/asm
66 1
mmu_context_mm.h
in include/asm
66 4
syscall.h
in include/asm
65 8
S
misc.S
in kernel
62 -
ptrace.h
in include/uapi/asm
55 -
cacheflush.h
in include/asm
55 1
Files With Most Units (Top 50)
File# lines# units
cache.c
in kernel/cpu
543 28
pgtable.h
in include/asm
242 27
768 26
timer.c
in kernel
238 19
irqflags.h
in include/asm
97 10
init.c
in mm
163 9
syscall.h
in include/asm
65 8
kgdb.c
in kernel
105 8
ftrace.c
in kernel
140 7
process.c
in kernel
97 7
162 6
setup.c
in kernel
135 6
tlbflush.h
in include/asm
30 5
unwind.c
in kernel
169 5
signal.c
in kernel
203 5
99 4
mmu_context_mm.h
in include/asm
66 4
ptrace.c
in kernel
90 4
reset.c
in kernel
29 4
exceptions.c
in kernel
112 4
uaccess.h
in include/asm
217 3
fault.c
in mm
150 3
traps.c
in kernel
52 3
dma.c
in kernel
31 3
pci-bridge.h
in include/asm
80 2
delay.h
in include/asm
49 2
23 2
irq.c
in kernel
36 2
mb.c
in kernel/cpu
124 2
pvr.c
in kernel/cpu
42 2
cpuinfo.c
in kernel/cpu
113 2
module.c
in kernel
68 2
stacktrace.c
in kernel
17 2
iomap.c
in pci
15 1
cacheflush.h
in include/asm
55 1
processor.h
in include/asm
50 1
kgdb.h
in include/asm
17 1
cpuinfo.h
in include/asm
66 1
ftrace.h
in include/asm
19 1
ptrace.h
in include/asm
15 1
flat.h
in include/asm
35 1
pci.h
in include/asm
47 1
hash.h
in include/asm
38 1
lshrdi3.c
in lib
21 1
cmpdi2.c
in lib
21 1
muldi3.c
in lib
48 1
ashldi3.c
in lib
21 1
ashrdi3.c
in lib
22 1
ucmpdi2.c
in lib
17 1
13 1
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