Linux / Drivers / Interconnect
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 40 files with 17,015 lines of code.
    • 7 very long files (10,526 lines of code)
    • 4 long files (2,828 lines of code)
    • 5 medium size files (1,329 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,686 lines of code)
    • 13 very small files (646 lines of code)
61% | 16% | 7% | 9% | 3%
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
c68% | 18% | 8% | 2% | 2%
h0% | 0% | 0% | 80% | 19%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
qcom67% | 13% | 7% | 9% | 1%
ROOT0% | 83% | 0% | 0% | 16%
imx0% | 0% | 49% | 0% | 50%
samsung0% | 0% | 0% | 100% | 0%
Longest Files (Top 40)
File# lines# units
msm8996.c
in qcom
1900 -
sm8450.c
in qcom
1747 4
sc7280.c
in qcom
1631 -
sdm660.c
in qcom
1552 -
msm8939.c
in qcom
1275 -
qcm2290.c
in qcom
1219 -
msm8916.c
in qcom
1202 -
qcs404.c
in qcom
960 -
core.c
in root
728 26
msm8974.c
in qcom
639 5
sc7180.c
in qcom
501 -
icc-rpm.c
in qcom
350 10
osm-l3.c
in qcom
282 3
242 8
sdx55.c
in qcom
237 -
imx.c
in imx
218 9
icc-rpmh.c
in qcom
192 6
sc8180x.h
in qcom
165 -
sm8450.h
in qcom
159 -
sm8350.h
in qcom
159 -
sm8250.h
in qcom
155 -
exynos.c
in samsung
148 3
sc7280.h
in qcom
147 -
sm8150.h
in qcom
145 -
sc7180.h
in qcom
142 -
msm8996.h
in qcom
139 -
sdm845.h
in qcom
135 -
icc-rpmh.h
in qcom
77 -
bulk.c
in root
68 5
imx8mq.c
in imx
67 2
imx8mm.c
in imx
66 2
sdx55.h
in qcom
63 -
trace.h
in root
61 -
imx8mn.c
in imx
60 2
smd-rpm.c
in qcom
56 4
icc-rpm.h
in qcom
55 -
imx.h
in imx
33 -
internal.h
in root
17 -
17 -
smd-rpm.h
in qcom
6 -
Files With Most Units (Top 14)
File# lines# units
core.c
in root
728 26
icc-rpm.c
in qcom
350 10
imx.c
in imx
218 9
242 8
icc-rpmh.c
in qcom
192 6
msm8974.c
in qcom
639 5
bulk.c
in root
68 5
smd-rpm.c
in qcom
56 4
sm8450.c
in qcom
1747 4
osm-l3.c
in qcom
282 3
exynos.c
in samsung
148 3
imx8mn.c
in imx
60 2
imx8mm.c
in imx
66 2
imx8mq.c
in imx
67 2
Files With Long Lines (Top 3)

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

File# lines# units# long lines
sc7180.c
in qcom
501 - 12
sdx55.c
in qcom
237 - 10
msm8974.c
in qcom
639 5 1