Linux / Drivers / Phy
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 162 files with 70,446 lines of code.
    • 14 very long files (27,870 lines of code)
    • 21 long files (14,808 lines of code)
    • 65 medium size files (19,542 lines of codeclsfd_ftr_w_mp_ins)
    • 49 small files (7,387 lines of code)
    • 13 very small files (839 lines of code)
39% | 21% | 27% | 10% | 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
c37% | 22% | 28% | 10% | 1%
h75% | 0% | 8% | 11% | 3%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
qualcomm64% | 7% | 21% | 5% | <1%
tegra93% | 0% | 5% | 0% | 1%
cadence91% | 0% | 8% | 0% | 0%
microchip85% | 0% | 8% | 5% | 0%
ROOT48% | 26% | 7% | 17% | 0%
rockchip23% | 43% | 31% | 2% | 0%
ti23% | 43% | 25% | 6% | 0%
mediatek35% | 0% | 38% | 22% | 3%
broadcom0% | 47% | 29% | 20% | 1%
st0% | 73% | 20% | 6% | 0%
hisilicon0% | 57% | 11% | 30% | 0%
marvell0% | 27% | 50% | 15% | 7%
allwinner0% | 59% | 18% | 21% | 0%
xilinx0% | 100% | 0% | 0% | 0%
samsung0% | 21% | 52% | 18% | 7%
renesas0% | 49% | 27% | 22% | 0%
motorola0% | 54% | 45% | 0% | 0%
amlogic0% | 0% | 74% | 25% | 0%
socionext0% | 0% | 86% | 13% | 0%
intel0% | 0% | 74% | 25% | 0%
mscc0% | 0% | 100% | 0% | 0%
freescale0% | 0% | 53% | 46% | 0%
lantiq0% | 0% | 64% | 35% | 0%
ingenic0% | 0% | 100% | 0% | 0%
ralink0% | 0% | 57% | 42% | 0%
Longest Files (Top 50)
File# lines# units
phy-qcom-qmp.c
in qualcomm
5294 40
3990 57
2549 66
sparx5_serdes.c
in microchip
2224 28
2057 -
1962 26
1414 43
1357 26
1286 26
1248 40
phy-qcom-qmp.h
in qualcomm
1217 -
xusb.c
in tegra
1139 57
1094 27
phy-mtk-tphy.c
in mediatek
1039 26
991 28
919 26
912 21
887 17
phy-qcom-qusb2.c
in qualcomm
803 12
796 29
phy-sun4i-usb.c
in allwinner
777 21
765 17
phy-core.c
in root
728 32
phy-zynqmp.c
in xilinx
686 25
685 14
phy-brcm-sata.c
in broadcom
683 16
660 17
624 23
609 26
phy-hi3670-pcie.c
in hisilicon
604 25
597 28
phy-cpcap-usb.c
in motorola
547 17
phy-brcm-usb.c
in broadcom
520 13
510 10
phy-hi3670-usb3.c
in hisilicon
505 14
phy-qcom-edp.c
in qualcomm
491 12
481 18
452 18
448 16
lan966x_serdes.c
in microchip
442 9
428 11
phy-mtk-xsphy.c
in mediatek
424 14
406 12
406 17
393 12
384 7
381 9
xusb.h
in tegra
375 2
367 10
360 9
Files With Most Units (Top 50)
File# lines# units
2549 66
xusb.c
in tegra
1139 57
3990 57
1414 43
phy-qcom-qmp.c
in qualcomm
5294 40
1248 40
phy-core.c
in root
728 32
796 29
991 28
sparx5_serdes.c
in microchip
2224 28
597 28
1094 27
1286 26
phy-mtk-tphy.c
in mediatek
1039 26
919 26
1357 26
1962 26
609 26
phy-zynqmp.c
in xilinx
686 25
phy-hi3670-pcie.c
in hisilicon
604 25
624 23
912 21
phy-sun4i-usb.c
in allwinner
777 21
481 18
452 18
887 17
297 17
phy-cpcap-usb.c
in motorola
547 17
660 17
406 17
765 17
phy-brcm-sata.c
in broadcom
683 16
448 16
cdns-dphy.c
in cadence
290 15
685 14
phy-mtk-xsphy.c
in mediatek
424 14
phy-hi3670-usb3.c
in hisilicon
505 14
317 13
126 13
phy-brcm-usb.c
in broadcom
520 13
406 12
phy-qcom-edp.c
in qualcomm
491 12
phy-qcom-qusb2.c
in qualcomm
803 12
393 12
302 12
290 11
428 11
272 10
367 10
333 10
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