Linux / Drivers / Mmc
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 161 files with 87,010 lines of code.
    • 29 very long files (45,007 lines of code)
    • 35 long files (25,005 lines of code)
    • 34 medium size files (11,218 lines of codeclsfd_ftr_w_mp_ins)
    • 25 small files (3,860 lines of code)
    • 38 very small files (1,920 lines of code)
51% | 28% | 12% | 4% | 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
c54% | 29% | 12% | 3% | 1%
h0% | 14% | 28% | 32% | 24%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
host52% | 30% | 11% | 3% | 1%
core48% | 18% | 20% | 7% | 5%
Longest Files (Top 50)
File# lines# units
sdhci.c
in host
3384 147
dw_mmc.c
in host
2528 94
mtk-sd.c
in host
2365 73
block.c
in core
2190 99
vub300.c
in host
2182 48
2002 66
1948 46
mmci.c
in host
1748 58
1731 94
mmc.c
in core
1602 47
1563 51
1430 46
core.c
in core
1424 83
1422 55
1356 40
s3cmci.c
in host
1289 48
sh_mmcif.c
in host
1238 38
1236 50
sd.c
in core
1224 45
omap.c
in host
1194 26
1156 40
1152 30
1146 29
1136 38
wbsd.c
in host
1111 55
bcm2835.c
in host
1102 34
1065 41
1060 30
1023 34
mxcmmc.c
in host
961 40
953 30
mmc_spi.c
in host
928 12
907 49
tifm_sd.c
in host
905 25
894 42
893 34
au1xmmc.c
in host
888 32
861 43
sdio.c
in core
833 30
alcor.c
in host
829 41
cavium.c
in host
799 34
783 33
762 29
754 42
734 21
mmc_ops.c
in core
730 37
697 25
693 17
670 18
mvsdio.c
in host
658 12
Files With Most Units (Top 50)
File# lines# units
sdhci.c
in host
3384 147
block.c
in core
2190 99
1731 94
dw_mmc.c
in host
2528 94
core.c
in core
1424 83
mtk-sd.c
in host
2365 73
2002 66
mmci.c
in host
1748 58
wbsd.c
in host
1111 55
1422 55
1563 51
1236 50
907 49
s3cmci.c
in host
1289 48
vub300.c
in host
2182 48
mmc.c
in core
1602 47
1948 46
1430 46
sd.c
in core
1224 45
861 43
754 42
894 42
1065 41
alcor.c
in host
829 41
1356 40
mxcmmc.c
in host
961 40
1156 40
1136 38
sh_mmcif.c
in host
1238 38
mmc_ops.c
in core
730 37
cavium.c
in host
799 34
893 34
bcm2835.c
in host
1102 34
1023 34
783 33
au1xmmc.c
in host
888 32
sdio.c
in core
833 30
1060 30
588 30
953 30
1152 30
762 29
1146 29
sdio_io.c
in core
375 28
492 28
598 28
omap.c
in host
1194 26
tifm_sd.c
in host
905 25
697 25
516 25
Files With Long Lines (Top 3)

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

File# lines# units# long lines
wbsd.c
in host
1111 55 2
1563 51 1
435 12 1