Linux / Arch / Nds32
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 139 files with 10,627 lines of code.
    • 1 very long files (1,029 lines of code)
    • 2 long files (1,111 lines of code)
    • 14 medium size files (3,853 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,424 lines of code)
    • 113 very small files (3,210 lines of code)
9% | 10% | 36% | 13% | 30%
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
c16% | 8% | 48% | 8% | 18%
h0% | 19% | 25% | 7% | 47%
S0% | 0% | 0% | 51% | 48%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kernel22% | 0% | 38% | 22% | 16%
include0% | 19% | 25% | 7% | 47%
mm0% | 27% | 53% | 10% | 9%
math-emu0% | 0% | 43% | 0% | 56%
lib0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
1029 55
bitfield.h
in include/asm
602 -
509 6
proc.c
in mm
445 29
fpuemu.c
in math-emu
369 1
pmu.h
in include/asm
314 2
290 24
signal.c
in kernel
288 6
setup.c
in kernel
284 6
traps.c
in kernel
273 16
fpu.c
in kernel
243 7
module.c
in kernel
240 6
pgtable.h
in include/asm
237 7
fault.c
in mm
234 2
uaccess.h
in include/asm
217 4
gettimeofday.c
in kernel/vdso
215 14
ftrace.c
in kernel
204 22
process.c
in kernel
193 12
vdso.c
in kernel
187 8
init.c
in mm
183 8
S
head.S
in kernel
176 -
S
ex-exit.S
in kernel
167 -
S
ex-entry.S
in kernel
163 -
sfp-machine.h
in include/asm
135 -
S
sleep.S
in kernel
114 -
elf.h
in include/asm
106 -
l2_cache.h
in include/asm
98 6
fpu.h
in include/asm
94 7
ptrace.c
in kernel
89 8
futex.h
in include/asm
88 1
S
ex-scall.S
in kernel
81 -
processor.h
in include/asm
73 -
dma.c
in kernel
71 4
sys_nds32.c
in kernel
70 -
69 2
nds32_fpu_inst.h
in include/asm
68 -
pm.c
in kernel
66 5
nds32.h
in include/asm
61 5
S
vdso.lds.S
in kernel/vdso
59 -
S
vmlinux.lds.S
in kernel
59 -
ptrace.h
in include/asm
58 3
58 -
S
memmove.S
in lib
58 -
io.h
in include/asm
55 6
sigcontext.h
in include/uapi/asm
53 -
atl2c.c
in kernel
50 1
syscall.h
in include/asm
49 -
thread_info.h
in include/asm
47 -
mmu_context.h
in include/asm
47 3
mmap.c
in mm
46 -
Files With Most Units (Top 50)
File# lines# units
1029 55
proc.c
in mm
445 29
290 24
ftrace.c
in kernel
204 22
traps.c
in kernel
273 16
gettimeofday.c
in kernel/vdso
215 14
process.c
in kernel
193 12
init.c
in mm
183 8
ptrace.c
in kernel
89 8
vdso.c
in kernel
187 8
pgtable.h
in include/asm
237 7
fpu.h
in include/asm
94 7
fpu.c
in kernel
243 7
io.h
in include/asm
55 6
l2_cache.h
in include/asm
98 6
509 6
module.c
in kernel
240 6
setup.c
in kernel
284 6
signal.c
in kernel
288 6
nds32.h
in include/asm
61 5
irqflags.h
in include/asm
32 5
pm.c
in kernel
66 5
uaccess.h
in include/asm
217 4
dma.c
in kernel
71 4
tlbflush.h
in include/asm
35 3
ptrace.h
in include/asm
58 3
mmu_context.h
in include/asm
47 3
cacheinfo.c
in kernel
39 3
swab.h
in include/asm
26 2
pmu.h
in include/asm
314 2
delay.h
in include/asm
28 2
69 2
fault.c
in mm
234 2
tlb.c
in mm
40 2
stacktrace.c
in kernel
44 2
fsqrtd.c
in math-emu
14 1
fdivs.c
in math-emu
18 1
fui2d.c
in math-emu
13 1
fadds.c
in math-emu
16 1
fnegs.c
in math-emu
14 1
fcmpd.c
in math-emu
19 1
fsubd.c
in math-emu
18 1
fd2siz.c
in math-emu
22 1
fs2d.c
in math-emu
15 1
fs2ui.c
in math-emu
22 1
fd2si.c
in math-emu
22 1
fsi2d.c
in math-emu
13 1
fmuld.c
in math-emu
16 1
fd2uiz.c
in math-emu
22 1
fs2uiz.c
in math-emu
22 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
bitfield.h
in include/asm
602 - 3
memory.h
in include/asm
34 - 1