Linux / Drivers / Clk
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 967 files with 395,214 lines of code.
    • 92 very long files (205,576 lines of code)
    • 105 long files (72,647 lines of code)
    • 225 medium size files (68,585 lines of codeclsfd_ftr_w_mp_ins)
    • 212 small files (30,825 lines of code)
    • 333 very small files (17,581 lines of code)
52% | 18% | 17% | 7% | 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
c53% | 18% | 17% | 7% | 3%
h0% | 11% | 26% | 25% | 36%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
qcom90% | 3% | 4% | 1% | <1%
meson81% | 0% | 8% | 6% | 3%
ROOT41% | 22% | 26% | 7% | 1%
samsung59% | 18% | 16% | 4% | <1%
tegra58% | 17% | 15% | 5% | 2%
sunxi-ng45% | 28% | 9% | 10% | 5%
mediatek28% | 32% | 4% | 12% | 21%
sprd79% | 0% | 4% | 2% | 13%
rockchip22% | 67% | 4% | 3% | 1%
bcm24% | 35% | 30% | 7% | 2%
nxp57% | 24% | 10% | 7% | 0%
ti0% | 51% | 29% | 16% | 2%
imx0% | 29% | 43% | 20% | 5%
at910% | 32% | 55% | 9% | 2%
renesas0% | 22% | 47% | 26% | 3%
hisilicon0% | 44% | 35% | 14% | 6%
spear0% | 69% | 15% | 7% | 6%
st0% | 94% | 0% | 0% | 5%
actions0% | 61% | 0% | 14% | 24%
davinci0% | 45% | 13% | 10% | 30%
ingenic0% | 33% | 63% | 0% | 3%
sunxi0% | 22% | 25% | 31% | 20%
microchip0% | 72% | 21% | 0% | 5%
berlin0% | 39% | 39% | 10% | 10%
mvebu0% | 15% | 40% | 41% | 3%
starfive0% | 100% | 0% | 0% | 0%
xilinx0% | 100% | 0% | 0% | 0%
zynq0% | 80% | 0% | 19% | 0%
x860% | 29% | 57% | 6% | 6%
mmp0% | 0% | 77% | 13% | 8%
socfpga0% | 0% | 56% | 26% | 17%
baikal-t10% | 0% | 84% | 10% | 5%
pxa0% | 0% | 75% | 24% | 0%
zynqmp0% | 0% | 80% | 0% | 19%
pistachio0% | 0% | 73% | 26% | 0%
keystone0% | 0% | 67% | 32% | 0%
ux5000% | 0% | 52% | 33% | 13%
visconti0% | 0% | 54% | 17% | 28%
uniphier0% | 0% | 49% | 13% | 37%
versatile0% | 0% | 45% | 12% | 42%
ralink0% | 0% | 100% | 0% | 0%
sifive0% | 0% | 47% | 42% | 10%
axs10x0% | 0% | 59% | 40% | 0%
mxs0% | 0% | 0% | 56% | 43%
axis0% | 0% | 0% | 100% | 0%
analogbits0% | 0% | 0% | 100% | 0%
mstar0% | 0% | 0% | 100% | 0%
h83000% | 0% | 0% | 72% | 27%
loongson10% | 0% | 0% | 0% | 100%
imgtec0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
4945 11
g12a.c
in meson
4865 7
4470 3
4304 3
4290 3
3930 3
3870 3
3813 3
3682 3
3571 3
meson8b.c
in meson
3565 8
3492 3
3485 4
3401 3
3395 3
3380 3
3366 3
3269 3
3241 3
gxbb.c
in meson
3233 -
3166 1
3165 3
clk.c
in root
3164 177
3129 1
3043 3
2985 3
2978 66
2941 3
2859 3
2803 3
2706 5
2689 1
2641 3
2616 2
2598 3
2597 3
2415 1
2404 1
2382 3
2303 3
2294 3
2285 3
2274 3
clk-pll.c
in tegra
2137 55
2012 34
axg.c
in meson
2000 -
1909 53
1775 37
axg-audio.c
in meson
1761 8
1665 59
Files With Most Units (Top 50)
File# lines# units
clk.c
in root
3164 177
2978 66
clk-dfll.c
in tegra
1235 64
1665 59
1568 55
clk-pll.c
in tegra
2137 55
1909 53
1308 46
clk-rcg2.c
in qcom
1005 45
clk-pll.c
in samsung
1195 43
1432 40
763 40
ccu-sun20i-d1.c
in sunxi-ng
1202 38
clk-rcg.c
in qcom
697 38
1775 37
clk-core.c
in microchip
726 36
1278 35
1191 35
2012 34
520 32
clk-sunxi.c
in sunxi
787 31
adpll.c
in ti
777 31
clk-k210.c
in root
781 30
724 30
953 30
da8xx-cfgchip.c
in davinci
599 29
615 29
sifive-prci.c
in sifive
339 28
clk-pll.c
in rockchip
749 28
770 28
757 28
895 28
582 27
ccu-sun50i-h6.c
in sunxi-ng
1065 27
ccu-div.c
in baikal-t1
441 27
clk-main.c
in at91
445 27
680 26
ccu-sun8i-r40.c
in sunxi-ng
1190 26
1346 26
567 26
clk-scu.c
in imx
618 25
1075 25
1586 25
405 24
639 24
388 23
636 23
ccu-sun50i-a64.c
in sunxi-ng
847 22
ccu-sun4i-a10.c
in sunxi-ng
1309 22
gdsc.c
in qcom
371 22
Files With Long Lines (Top 32)

There are 32 files with lines longer than 120 characters. In total, there are 1170 long lines.

File# lines# units# long lines
444 1 135
770 1 127
748 11 127
346 4 96
470 9 74
418 3 69
486 1 69
280 1 60
183 4 49
603 1 43
clk-hi3620.c
in hisilicon
417 8 38
509 1 35
472 6 33
493 1 32
clk-hi6220.c
in hisilicon
249 5 32
906 5 28
204 7 24
375 3 16
226 5 16
518 4 15
255 5 14
clk-rk3399.c
in rockchip
1345 3 7
owl-s500.c
in actions
550 6 7
984 17 6
owl-s700.c
in actions
564 4 4
owl-s900.c
in actions
690 3 4
clk.c
in root
3164 177 3
256 1 2
1174 14 2
170 2 1
clk-mt8135.c
in mediatek
538 4 1
1117 15 1