Linux / Arch / Nios2
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 82 files with 6,136 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (502 lines of code)
    • 5 medium size files (1,376 lines of codeclsfd_ftr_w_mp_ins)
    • 18 small files (2,477 lines of code)
    • 58 very small files (1,781 lines of code)
0% | 8% | 22% | 40% | 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
S0% | 37% | 36% | 19% | 6%
c0% | 0% | 26% | 52% | 20%
h0% | 0% | 0% | 31% | 68%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kernel0% | 16% | 32% | 42% | 8%
mm0% | 0% | 38% | 39% | 21%
include0% | 0% | 0% | 31% | 68%
boot0% | 0% | 0% | 64% | 35%
lib0% | 0% | 0% | 43% | 56%
platform0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
S
insnemu.S
in kernel
502 -
S
entry.S
in kernel
488 -
time.c
in kernel
264 19
signal.c
in kernel
217 7
206 20
tlb.c
in mm
201 15
process.c
in kernel
198 11
pgtable.h
in include/asm
170 21
fault.c
in mm
167 1
misaligned.c
in kernel
165 5
S
head.S
in kernel
150 -
uaccess.h
in include/asm
149 2
cpuinfo.c
in kernel
149 4
140 4
asm-macros.h
in include/asm
138 -
setup.c
in kernel
135 5
traps.c
in kernel
128 13
kgdb.c
in kernel
122 7
misc.c
in boot/compressed
116 4
113 -
memcpy.c
in lib
112 2
ptrace.c
in kernel
112 6
S
head.S
in boot/compressed
110 -
module.c
in kernel
103 3
entry.h
in include/asm
97 -
console.c
in boot/compressed
89 10
init.c
in mm
77 5
kgdb.h
in include/asm
65 1
memmove.c
in lib
63 -
ptrace.h
in include/uapi/asm
59 -
asm-offsets.c
in kernel
57 1
elf.h
in include/asm
56 -
memset.c
in lib
56 -
55 6
thread_info.h
in include/asm
54 -
ptrace.h
in include/asm
54 -
page.h
in include/asm
52 1
52 3
irq.c
in kernel
52 5
S
vmlinux.lds.S
in kernel
52 -
syscall.h
in include/asm
51 7
checksum.h
in include/asm
47 3
processor.h
in include/asm
43 1
registers.h
in include/asm
40 -
irqflags.h
in include/asm
39 7
S
vmlinux.lds.S
in boot/compressed
37 -
35 2
elf.h
in include/uapi/asm
34 -
platform.c
in platform
34 1
sys_nios2.c
in kernel
33 2
Files With Most Units (Top 40)
File# lines# units
pgtable.h
in include/asm
170 21
206 20
time.c
in kernel
264 19
tlb.c
in mm
201 15
traps.c
in kernel
128 13
process.c
in kernel
198 11
console.c
in boot/compressed
89 10
irqflags.h
in include/asm
39 7
syscall.h
in include/asm
51 7
signal.c
in kernel
217 7
kgdb.c
in kernel
122 7
55 6
ptrace.c
in kernel
112 6
init.c
in mm
77 5
irq.c
in kernel
52 5
misaligned.c
in kernel
165 5
setup.c
in kernel
135 5
misc.c
in boot/compressed
116 4
delay.c
in lib
29 4
140 4
cpuinfo.c
in kernel
149 4
checksum.h
in include/asm
47 3
52 3
module.c
in kernel
103 3
swab.h
in include/uapi/asm
21 2
pgalloc.h
in include/asm
22 2
tlbflush.h
in include/asm
20 2
uaccess.h
in include/asm
149 2
memcpy.c
in lib
112 2
35 2
sys_nios2.c
in kernel
33 2
page.h
in include/asm
52 1
processor.h
in include/asm
43 1
kgdb.h
in include/asm
65 1
mmu_context.h
in include/asm
20 1
platform.c
in platform
34 1
12 1
fault.c
in mm
167 1
asm-offsets.c
in kernel
57 1
prom.c
in kernel
22 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