Linux / Drivers / Virtio
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 7,566 lines of code.
    • 2 very long files (3,543 lines of code)
    • 2 long files (1,344 lines of code)
    • 6 medium size files (2,280 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (268 lines of code)
    • 2 very small files (131 lines of code)
46% | 17% | 30% | 3% | 1%
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
c47% | 17% | 30% | 3% | <1%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT46% | 17% | 30% | 3% | 1%
Longest Files (Top 14)
File# lines# units
1893 99
1650 53
795 41
549 25
497 19
420 19
virtio.c
in root
387 28
337 16
330 14
309 17
156 11
112 12
82 2
49 3
Files With Most Units (Top 14)
File# lines# units
1893 99
1650 53
795 41
virtio.c
in root
387 28
549 25
420 19
497 19
309 17
337 16
330 14
112 12
156 11
49 3
82 2
Files With Long Lines (Top 2)

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

File# lines# units# long lines
420 19 1
112 12 1