Linux / Drivers / Hwtracing
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 67 files with 25,325 lines of code.
    • 6 very long files (8,114 lines of code)
    • 14 long files (9,776 lines of code)
    • 14 medium size files (4,788 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,528 lines of code)
    • 23 very small files (1,119 lines of code)
32% | 38% | 18% | 6% | 4%
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
c35% | 39% | 19% | 3% | 2%
h0% | 30% | 8% | 34% | 26%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
coresight34% | 38% | 17% | 6% | 1%
intel_th34% | 34% | 17% | 4% | 8%
stm0% | 44% | 35% | 0% | 20%
Longest Files (Top 50)
File# lines# units
1914 98
1460 75
msu.c
in intel_th
1404 56
coresight-core.c
in coresight
1163 64
1141 43
1032 62
964 50
core.c
in stm
888 40
core.c
in intel_th
802 32
coresight-trbe.c
in coresight
797 51
coresight-stm.c
in coresight
739 38
coresight-etm4x.h
in coresight
710 3
692 30
676 38
coresight-syscfg.c
in coresight
675 37
coresight-etb10.c
in coresight
615 23
574 2
gth.c
in intel_th
572 22
559 25
513 19
478 24
449 20
447 17
coresight-catu.c
in coresight
427 16
policy.c
in stm
410 9
365 20
340 16
336 14
coresight-funnel.c
in coresight
335 18
p_sys-t.c
in stm
294 12
pti.c
in intel_th
258 12
pci.c
in intel_th
236 4
coresight-tmc.h
in coresight
208 3
sth.c
in intel_th
205 6
intel_th.h
in intel_th
198 -
coresight-etm.h
in coresight
190 2
coresight-config.c
in coresight
179 11
coresight-tpiu.c
in coresight
177 8
coresight-priv.h
in coresight
172 6
coresight-sysfs.c
in coresight
133 7
coresight-cti.h
in coresight
129 1
120 3
117 -
coresight-trbe.h
in coresight
113 19
coresight-config.h
in coresight
95 -
stm.h
in stm
86 -
86 5
85 3
msu-sink.c
in intel_th
82 4
msu.h
in intel_th
81 5
Files With Most Units (Top 50)
File# lines# units
1914 98
1460 75
coresight-core.c
in coresight
1163 64
1032 62
msu.c
in intel_th
1404 56
coresight-trbe.c
in coresight
797 51
964 50
1141 43
core.c
in stm
888 40
676 38
coresight-stm.c
in coresight
739 38
coresight-syscfg.c
in coresight
675 37
core.c
in intel_th
802 32
692 30
559 25
478 24
coresight-etb10.c
in coresight
615 23
gth.c
in intel_th
572 22
449 20
365 20
coresight-trbe.h
in coresight
113 19
513 19
coresight-funnel.c
in coresight
335 18
447 17
340 16
coresight-catu.c
in coresight
427 16
336 14
pti.c
in intel_th
258 12
p_sys-t.c
in stm
294 12
coresight-config.c
in coresight
179 11
policy.c
in stm
410 9
coresight-tpiu.c
in coresight
177 8
coresight-sysfs.c
in coresight
133 7
sth.c
in intel_th
205 6
coresight-priv.h
in coresight
172 6
msu.h
in intel_th
81 5
56 5
86 5
msu-sink.c
in intel_th
82 4
pci.c
in intel_th
236 4
ftrace.c
in stm
56 4
console.c
in stm
51 4
coresight-etm4x.h
in coresight
710 3
19 3
120 3
coresight-tmc.h
in coresight
208 3
85 3
p_basic.c
in stm
34 3
debug.h
in intel_th
15 2
debug.c
in intel_th
17 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