Linux / Drivers / Dma
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 183 files with 108,261 lines of code.
    • 36 very long files (54,857 lines of code)
    • 46 long files (33,596 lines of code)
    • 44 medium size files (13,858 lines of codeclsfd_ftr_w_mp_ins)
    • 29 small files (4,220 lines of code)
    • 28 very small files (1,730 lines of code)
50% | 31% | 12% | 3% | 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
c54% | 31% | 10% | 2% | 1%
h0% | 18% | 42% | 30% | 8%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT51% | 36% | 9% | 1% | <1%
ti78% | 8% | 5% | 7% | <1%
ppc4xx90% | 0% | 0% | 7% | 1%
xilinx81% | 18% | 0% | 0% | 0%
idxd40% | 20% | 32% | 2% | 4%
qcom31% | 53% | 10% | 4% | <1%
lgm100% | 0% | 0% | 0% | 0%
sh31% | 66% | 0% | 0% | 1%
ipu76% | 0% | 15% | 8% | 0%
dw-axi-dmac80% | 0% | 19% | 0% | 0%
ioat32% | 36% | 21% | 9% | 0%
mediatek0% | 72% | 27% | 0% | 0%
dw0% | 46% | 25% | 7% | 20%
dw-edma0% | 37% | 54% | 6% | 1%
fsl-dpaa2-qdma0% | 63% | 0% | 28% | 7%
bestcomm0% | 0% | 50% | 25% | 24%
ptdma0% | 0% | 53% | 39% | 7%
sf-pdma0% | 0% | 83% | 0% | 16%
hsu0% | 0% | 64% | 0% | 35%
Longest Files (Top 50)
File# lines# units
4373 93
adma.c
in ppc4xx
3298 80
2674 67
pl330.c
in root
2352 77
xilinx_dma.c
in xilinx
2143 56
2142 55
edma.c
in ti
1966 69
gpi.c
in qcom
1736 43
imx-sdma.c
in root
1624 39
at_xdmac.c
in root
1622 35
1508 49
at_hdmac.c
in root
1401 32
lgm-dma.c
in lgm
1364 51
1347 35
1346 34
1297 44
1293 47
1257 42
1224 50
sysfs.c
in idxd
1220 86
1176 53
pxa_dma.c
in root
1176 41
iop-adma.c
in root
1168 16
1157 47
init.c
in ioat
1152 33
1140 38
1125 30
1123 39
1106 46
nbpfaxi.c
in root
1094 38
mv_xor.c
in root
1067 29
device.c
in idxd
1065 60
dmatest.c
in root
1058 39
txx9dmac.c
in root
1041 37
fsl-qdma.c
in root
1016 21
sprd-dma.c
in root
1006 41
bam_dma.c
in qcom
997 26
imx-dma.c
in root
993 28
952 25
950 36
core.c
in dw
904 33
owl-dma.c
in root
903 34
898 31
857 16
fsldma.c
in root
856 52
854 29
853 26
k3dma.c
in root
842 26
mmp_pdma.c
in root
833 22
828 25
Files With Most Units (Top 50)
File# lines# units
4373 93
sysfs.c
in idxd
1220 86
adma.c
in ppc4xx
3298 80
pl330.c
in root
2352 77
edma.c
in ti
1966 69
2674 67
device.c
in idxd
1065 60
xilinx_dma.c
in xilinx
2143 56
2142 55
1176 53
fsldma.c
in root
856 52
lgm-dma.c
in lgm
1364 51
1224 50
1508 49
1293 47
1157 47
1106 46
1297 44
gpi.c
in qcom
1736 43
669 42
1257 42
pxa_dma.c
in root
1176 41
sprd-dma.c
in root
1006 41
imx-sdma.c
in root
1624 39
dmatest.c
in root
1058 39
1123 39
1140 38
nbpfaxi.c
in root
1094 38
txx9dmac.c
in root
1041 37
950 36
1347 35
at_xdmac.c
in root
1622 35
632 35
owl-dma.c
in root
903 34
1346 34
init.c
in ioat
1152 33
core.c
in dw
904 33
idma64.c
in root
512 32
at_hdmac.c
in root
1401 32
zynqmp_dma.c
in xilinx
739 31
898 31
1125 30
740 30
perfmon.c
in idxd
458 30
iop-adma.h
in root
782 30
854 29
mv_xor.c
in root
1067 29
imx-dma.c
in root
993 28
dma.c
in ioat
766 28
737 28
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
mxs-dma.c
in root
604 17 1