Linux / Virt
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 14 files with 6,353 lines of code.
    • 1 very long files (4,249 lines of code)
    • 1 long files (675 lines of code)
    • 2 medium size files (536 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (749 lines of code)
    • 5 very small files (144 lines of code)
66% | 10% | 8% | 11% | 2%
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
c67% | 10% | 8% | 11% | 1%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kvm68% | 10% | 8% | 9% | 2%
lib0% | 0% | 0% | 100% | 0%
Longest Files (Top 14)
File# lines# units
4249 240
eventfd.c
in kvm
675 18
vfio.c
in kvm
309 14
227 8
irqchip.c
in kvm
169 10
168 6
152 8
133 8
127 13
65 1
kvm_mm.h
in kvm
31 1
21 2
vfio.h
in kvm
15 2
12 -
Files With Most Units (Top 13)
File# lines# units
4249 240
eventfd.c
in kvm
675 18
vfio.c
in kvm
309 14
127 13
irqchip.c
in kvm
169 10
133 8
152 8
227 8
168 6
vfio.h
in kvm
15 2
21 2
kvm_mm.h
in kvm
31 1
65 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