Linux / Drivers / Rapidio
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 10,310 lines of code.
    • 4 very long files (6,882 lines of code)
    • 3 long files (2,168 lines of code)
    • 3 medium size files (853 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (295 lines of code)
    • 2 very small files (112 lines of code)
66% | 21% | 8% | 2% | 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
c71% | 15% | 8% | 3% | <1%
h0% | 94% | 0% | 0% | 5%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
devices73% | 26% | 0% | 0% | 0%
ROOT69% | 16% | 7% | 3% | 2%
switches0% | 0% | 78% | 21% | 0%
Longest Files (Top 14)
File# lines# units
1991 60
tsi721.c
in devices
1946 47
rio_cm.c
in root
1618 48
rio.c
in root
1327 46
tsi721_dma.c
in devices
787 22
rio-scan.c
in root
712 24
tsi721.h
in devices
669 -
idt_gen2.c
in switches
312 5
297 7
idt_gen3.c
in switches
244 5
idtcps.c
in switches
148 4
147 10
72 1
rio.h
in root
40 -
Files With Most Units (Top 12)
File# lines# units
1991 60
rio_cm.c
in root
1618 48
tsi721.c
in devices
1946 47
rio.c
in root
1327 46
rio-scan.c
in root
712 24
tsi721_dma.c
in devices
787 22
147 10
297 7
idt_gen2.c
in switches
312 5
idt_gen3.c
in switches
244 5
idtcps.c
in switches
148 4
72 1
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
rio-scan.c
in root
712 24 1