Linux / Drivers / Xen
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 66 files with 22,906 lines of code.
    • 6 very long files (7,588 lines of code)
    • 8 long files (5,307 lines of code)
    • 23 medium size files (7,519 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,678 lines of code)
    • 17 very small files (814 lines of code)
33% | 23% | 32% | 7% | 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
c33% | 23% | 33% | 6% | 2%
h0% | 0% | 0% | 47% | 52%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT36% | 21% | 31% | 8% | 3%
events71% | 0% | 24% | 0% | 3%
xen-pciback33% | 15% | 37% | 13% | <1%
xenbus0% | 55% | 39% | 0% | 5%
xenfs0% | 0% | 0% | 43% | 56%
Longest Files (Top 50)
File# lines# units
events_base.c
in events
1605 112
1442 58
pci_stub.c
in xen-pciback
1287 39
1195 79
1032 29
1027 27
gntdev.c
in root
832 27
privcmd.c
in root
746 27
733 40
xenbus_xs.c
in xenbus
665 35
636 21
591 25
xenbus.c
in xen-pciback
582 16
balloon.c
in root
522 20
evtchn.c
in root
497 17
494 16
488 32
449 13
gntalloc.c
in root
423 14
388 11
380 27
conf_space.c
in xen-pciback
351 15
342 12
conf_space_header.c
in xen-pciback
338 12
pciback_ops.c
in xen-pciback
317 12
306 14
manage.c
in root
301 12
mcelog.c
in root
297 12
events_fifo.c
in events
293 23
pci.c
in root
270 8
pcpu.c
in root
257 15
events_2l.c
in events
254 14
238 7
219 14
efi.c
in root
208 13
vpci.c
in xen-pciback
207 7
202 10
196 6
176 8
pciback.h
in xen-pciback
157 8
passthrough.c
in xen-pciback
150 6
147 6
140 6
135 7
time.c
in root
131 9
119 8
conf_space_quirks.c
in xen-pciback
113 6
xensyms.c
in xenfs
111 5
conf_space.h
in xen-pciback
103 3
97 7
Files With Most Units (Top 50)
File# lines# units
events_base.c
in events
1605 112
1195 79
1442 58
733 40
pci_stub.c
in xen-pciback
1287 39
xenbus_xs.c
in xenbus
665 35
488 32
1032 29
privcmd.c
in root
746 27
380 27
gntdev.c
in root
832 27
1027 27
591 25
events_fifo.c
in events
293 23
636 21
balloon.c
in root
522 20
evtchn.c
in root
497 17
xenbus.c
in xen-pciback
582 16
494 16
conf_space.c
in xen-pciback
351 15
pcpu.c
in root
257 15
306 14
219 14
gntalloc.c
in root
423 14
events_2l.c
in events
254 14
efi.c
in root
208 13
449 13
mcelog.c
in root
297 12
conf_space_header.c
in xen-pciback
338 12
pciback_ops.c
in xen-pciback
317 12
342 12
manage.c
in root
301 12
388 11
79 11
202 10
time.c
in root
131 9
pciback.h
in xen-pciback
157 8
pci.c
in root
270 8
119 8
176 8
97 7
238 7
vpci.c
in xen-pciback
207 7
135 7
147 6
196 6
passthrough.c
in xen-pciback
150 6
conf_space_quirks.c
in xen-pciback
113 6
super.c
in xenfs
80 6
140 6
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