Linux / Drivers / 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 19 files with 6,323 lines of code.
    • 2 very long files (2,261 lines of code)
    • 2 long files (1,139 lines of code)
    • 6 medium size files (2,001 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (704 lines of code)
    • 4 very small files (218 lines of code)
35% | 18% | 31% | 11% | 3%
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
c40% | 20% | 31% | 6% | 1%
h0% | 0% | 29% | 51% | 19%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
vboxguest49% | 24% | 22% | 0% | 3%
nitro_enclaves67% | 0% | 21% | 7% | 3%
ROOT0% | 100% | 0% | 0% | 0%
acrn0% | 0% | 62% | 32% | 4%
Longest Files (Top 19)
File# lines# units
vboxguest_core.c
in vboxguest
1227 44
ne_misc_dev.c
in nitro_enclaves
1034 30
vboxguest_utils.c
in vboxguest
609 19
530 23
ioreq.c
in acrn
461 24
hsm.c
in acrn
441 8
vboxguest_linux.c
in vboxguest
351 14
ne_pci_dev.c
in nitro_enclaves
326 14
mm.c
in acrn
217 7
vmmdev.h
in vboxguest
205 -
183 9
irqfd.c
in acrn
161 10
123 22
acrn_drv.h
in acrn
121 -
ne_pci_dev.h
in nitro_enclaves
116 -
vboxguest_core.h
in vboxguest
85 -
vm.c
in acrn
78 2
ne_misc_dev.h
in nitro_enclaves
47 -
8 -
Files With Most Units (Top 13)
File# lines# units
vboxguest_core.c
in vboxguest
1227 44
ne_misc_dev.c
in nitro_enclaves
1034 30
ioreq.c
in acrn
461 24
530 23
123 22
vboxguest_utils.c
in vboxguest
609 19
ne_pci_dev.c
in nitro_enclaves
326 14
vboxguest_linux.c
in vboxguest
351 14
irqfd.c
in acrn
161 10
183 9
hsm.c
in acrn
441 8
mm.c
in acrn
217 7
vm.c
in acrn
78 2
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