Linux / Arch / S390
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 420 files with 76,232 lines of code.
    • 13 very long files (20,842 lines of code)
    • 21 long files (14,238 lines of code)
    • 70 medium size files (21,346 lines of codeclsfd_ftr_w_mp_ins)
    • 83 small files (12,116 lines of code)
    • 233 very small files (7,690 lines of code)
27% | 18% | 28% | 15% | 10%
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
c36% | 21% | 28% | 10% | 3%
h6% | 7% | 28% | 29% | 28%
S0% | 36% | 20% | 27% | 15%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kvm70% | 7% | 21% | <1% | <1%
kernel33% | 19% | 26% | 14% | 5%
mm25% | 36% | 31% | 7% | 0%
net95% | 0% | 0% | 0% | 4%
include7% | 8% | 25% | 30% | 28%
crypto0% | 58% | 18% | 17% | 5%
pci0% | 49% | 38% | 8% | 2%
hypfs0% | 0% | 77% | 8% | 14%
boot0% | 0% | 41% | 34% | 24%
lib0% | 0% | 56% | 35% | 7%
appldata0% | 0% | 52% | 31% | 16%
tools0% | 0% | 67% | 32% | 0%
purgatory0% | 0% | 74% | 0% | 25%
Longest Files (Top 50)
File# lines# units
4070 165
2674 130
gmap.c
in mm
1822 77
ipl.c
in kernel
1778 104
1357 60
1334 27
pgtable.h
in include/asm
1222 118
ptrace.c
in kernel
1215 49
priv.c
in kvm
1171 43
debug.c
in kernel
1112 39
1054 51
gaccess.c
in kvm
1022 23
smp.c
in kernel
1011 64
vsie.c
in kvm
984 42
931 49
kvm_host.h
in include/asm
881 11
aes_s390.c
in crypto
861 43
pci.c
in pci
848 48
setup.c
in kernel
752 34
S
chacha-s390.S
in crypto
731 -
720 -
S
entry.S
in kernel
683 -
time.c
in kernel
663 46
prng.c
in crypto
646 23
fault.c
in mm
638 23
paes_s390.c
in crypto
631 35
topology.c
in kernel
569 31
vx-insn.h
in include/asm
560 -
pci_dma.c
in pci
555 26
dis.c
in kernel
536 5
pci_clp.c
in pci
529 32
508 21
507 2
crash_dump.c
in kernel
505 20
hypfs_diag.c
in hypfs
494 31
module.c
in kernel
488 10
vmem.c
in mm
474 26
461 16
sysinfo.c
in kernel
460 23
444 17
scsw.h
in include/asm
435 56
inode.c
in hypfs
419 17
des_s390.c
in crypto
409 26
sthyi.c
in kernel
396 13
appldata_base.c
in appldata
394 11
pci_irq.c
in pci
392 20
cmm.c
in mm
381 19
sigp.c
in kvm
380 18
kprobes.c
in kernel
377 26
S
head.S
in boot
360 -
Files With Most Units (Top 50)
File# lines# units
4070 165
2674 130
pgtable.h
in include/asm
1222 118
ipl.c
in kernel
1778 104
gmap.c
in mm
1822 77
smp.c
in kernel
1011 64
1357 60
scsw.h
in include/asm
435 56
1054 51
931 49
ptrace.c
in kernel
1215 49
pci.c
in pci
848 48
time.c
in kernel
663 46
aes_s390.c
in crypto
861 43
priv.c
in kvm
1171 43
vsie.c
in kvm
984 42
debug.c
in kernel
1112 39
paes_s390.c
in crypto
631 35
360 34
setup.c
in kernel
752 34
pci_clp.c
in pci
529 32
hypfs_diag.c
in hypfs
494 31
topology.c
in kernel
569 31
bitops.h
in include/asm
258 29
1334 27
vtime.c
in kernel
329 27
des_s390.c
in crypto
409 26
pci_dma.c
in pci
555 26
vmem.c
in mm
474 26
kprobes.c
in kernel
377 26
297 24
prng.c
in crypto
646 23
gaccess.c
in kvm
1022 23
fault.c
in mm
638 23
sysinfo.c
in kernel
460 23
508 21
pci_irq.c
in pci
392 20
crash_dump.c
in kernel
505 20
uv.c
in kernel
350 20
cmm.c
in mm
381 19
processor.h
in include/asm
218 18
preempt.h
in include/asm
101 18
sigp.c
in kvm
380 18
traps.c
in kernel
336 18
early.c
in kernel
263 18
444 17
inode.c
in hypfs
419 17
irq.c
in kernel
313 17
190 17
processor.c
in kernel
319 17
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
106 - 1