Linux / Drivers / Bus
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 48 files with 19,892 lines of code.
    • 3 very long files (4,807 lines of code)
    • 9 long files (6,619 lines of code)
    • 23 medium size files (7,263 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (620 lines of code)
    • 9 very small files (583 lines of code)
24% | 33% | 36% | 3% | 2%
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
c26% | 32% | 34% | 3% | 3%
h0% | 36% | 63% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT23% | 21% | 50% | 0% | 3%
mhi43% | 43% | 13% | 0% | 0%
fsl-mc0% | 49% | 30% | 15% | 4%
Longest Files (Top 48)
File# lines# units
ti-sysc.c
in root
2465 100
main.c
in mhi/core
1274 56
init.c
in mhi/core
1068 27
968 38
fsl-mc-bus.c
in fsl-mc
937 34
pm.c
in mhi/core
919 28
847 27
moxtet.c
in root
676 36
600 28
internal.h
in mhi/core
597 6
dprc-driver.c
in fsl-mc
552 25
fsl-mc-uapi.c
in fsl-mc
523 7
474 19
hisi_lpc.c
in root
463 18
428 18
418 2
boot.c
in mhi/core
398 10
392 -
378 14
arm-cci.c
in root
358 18
dprc.c
in fsl-mc
351 16
343 3
debugfs.c
in mhi/core
326 21
321 11
bt1-apb.c
in root
301 18
283 2
237 6
235 13
234 7
imx-weim.c
in root
229 4
228 -
ts-nbus.c
in root
226 12
bt1-axi.c
in root
221 13
211 1
208 6
mc-io.c
in fsl-mc
189 7
mc-sys.c
in fsl-mc
173 8
fsl-mc-msi.c
in fsl-mc
154 8
dpcon.c
in fsl-mc
104 7
96 2
87 4
dpbp.c
in fsl-mc
81 6
79 3
obj-api.c
in fsl-mc
75 4
56 2
dpmcp.c
in fsl-mc
39 3
ti-pwmss.c
in root
38 2
32 2
Files With Most Units (Top 46)
File# lines# units
ti-sysc.c
in root
2465 100
main.c
in mhi/core
1274 56
968 38
moxtet.c
in root
676 36
fsl-mc-bus.c
in fsl-mc
937 34
pm.c
in mhi/core
919 28
600 28
init.c
in mhi/core
1068 27
847 27
dprc-driver.c
in fsl-mc
552 25
debugfs.c
in mhi/core
326 21
474 19
428 18
bt1-apb.c
in root
301 18
hisi_lpc.c
in root
463 18
arm-cci.c
in root
358 18
dprc.c
in fsl-mc
351 16
378 14
bt1-axi.c
in root
221 13
235 13
ts-nbus.c
in root
226 12
321 11
boot.c
in mhi/core
398 10
mc-sys.c
in fsl-mc
173 8
fsl-mc-msi.c
in fsl-mc
154 8
fsl-mc-uapi.c
in fsl-mc
523 7
dpcon.c
in fsl-mc
104 7
mc-io.c
in fsl-mc
189 7
234 7
internal.h
in mhi/core
597 6
dpbp.c
in fsl-mc
81 6
208 6
237 6
imx-weim.c
in root
229 4
obj-api.c
in fsl-mc
75 4
87 4
343 3
dpmcp.c
in fsl-mc
39 3
79 3
ti-pwmss.c
in root
38 2
418 2
32 2
283 2
96 2
56 2
211 1
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