Linux / Drivers / Thunderbolt
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 33 files with 19,687 lines of code.
    • 7 very long files (11,205 lines of code)
    • 6 long files (4,137 lines of code)
    • 9 medium size files (3,376 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (598 lines of code)
    • 7 very small files (371 lines of code)
56% | 21% | 17% | 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
c63% | 18% | 14% | 3% | <1%
h0% | 40% | 43% | 0% | 16%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT56% | 21% | 17% | 3% | 1%
Longest Files (Top 33)
File# lines# units
switch.c
in root
2375 119
test.c
in root
1994 43
icm.c
in root
1906 71
xdomain.c
in root
1326 70
usb4.c
in root
1211 72
tunnel.c
in root
1205 46
tb.c
in root
1188 44
nhi.c
in root
974 48
tb.h
in root
808 54
ctl.c
in root
709 37
domain.c
in root
585 34
debugfs.c
in root
553 26
eeprom.c
in root
508 21
tb_msgs.h
in root
495 -
property.c
in root
478 14
path.c
in root
407 10
tmu.c
in root
400 23
tb_regs.h
in root
382 -
retimer.c
in root
376 17
lc.c
in root
314 21
dma_port.c
in root
295 16
acpi.c
in root
229 14
194 10
nvm.c
in root
148 7
cap.c
in root
134 8
nhi_ops.c
in root
122 10
ctl.h
in root
84 2
tunnel.h
in root
81 4
nhi_regs.h
in root
72 -
nhi.h
in root
55 -
quirks.c
in root
40 3
sb_regs.h
in root
22 -
dma_port.h
in root
17 -
Files With Most Units (Top 27)
File# lines# units
switch.c
in root
2375 119
usb4.c
in root
1211 72
icm.c
in root
1906 71
xdomain.c
in root
1326 70
tb.h
in root
808 54
nhi.c
in root
974 48
tunnel.c
in root
1205 46
tb.c
in root
1188 44
test.c
in root
1994 43
ctl.c
in root
709 37
domain.c
in root
585 34
debugfs.c
in root
553 26
tmu.c
in root
400 23
eeprom.c
in root
508 21
lc.c
in root
314 21
retimer.c
in root
376 17
dma_port.c
in root
295 16
property.c
in root
478 14
acpi.c
in root
229 14
nhi_ops.c
in root
122 10
194 10
path.c
in root
407 10
cap.c
in root
134 8
nvm.c
in root
148 7
tunnel.h
in root
81 4
quirks.c
in root
40 3
ctl.h
in root
84 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