Linux / Drivers / Mfd
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 247 files with 92,789 lines of code.
    • 21 very long files (34,522 lines of code)
    • 34 long files (22,151 lines of code)
    • 76 medium size files (23,146 lines of codeclsfd_ftr_w_mp_ins)
    • 70 small files (10,215 lines of code)
    • 46 very small files (2,755 lines of code)
37% | 23% | 24% | 11% | 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
c37% | 24% | 24% | 10% | 2%
h0% | 0% | 37% | 23% | 38%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT37% | 23% | 24% | 11% | 2%
Longest Files (Top 50)
File# lines# units
3177 6
2855 6
2565 6
2295 102
1911 6
1909 3
1798 30
1594 4
1557 14
1534 3
1524 6
1502 3
1268 6
1253 6
sm501.c
in root
1219 56
1165 28
stmpe.c
in root
1161 45
1113 31
lpc_ich.c
in root
1051 12
1049 43
1022 31
menelaus.c
in root
982 38
twl-core.c
in root
911 17
axp20x.c
in root
882 4
iqs62x.c
in root
856 8
asic3.c
in root
824 40
817 11
780 25
759 15
739 3
tps65010.c
in root
731 27
rk808.c
in root
707 8
tc6393xb.c
in root
671 30
668 5
667 15
palmas.c
in root
658 8
dln2.c
in root
655 24
twl6040.c
in root
639 20
qcom_rpm.c
in root
628 8
627 11
583 8
583 24
554 10
553 10
max77620.c
in root
551 11
530 8
rave-sp.c
in root
529 19
516 14
tps6586x.c
in root
514 30
512 25
Files With Most Units (Top 50)
File# lines# units
2295 102
sm501.c
in root
1219 56
stmpe.c
in root
1161 45
1049 43
asic3.c
in root
824 40
menelaus.c
in root
982 38
da903x.c
in root
442 33
1022 31
1113 31
1798 30
tps6586x.c
in root
514 30
tc6393xb.c
in root
671 30
510 30
1165 28
tps65010.c
in root
731 27
501 25
512 25
780 25
ezx-pcap.c
in root
402 24
dln2.c
in root
655 24
583 24
ioc3.c
in root
507 24
385 23
stmfx.c
in root
424 21
504 21
388 21
twl6040.c
in root
639 20
rave-sp.c
in root
529 19
432 18
tps65217.c
in root
323 17
292 17
tc3589x.c
in root
367 17
372 17
mcp-core.c
in root
145 17
twl-core.c
in root
911 17
adp5520.c
in root
264 15
759 15
667 15
1557 14
516 14
356 14
253 14
342 13
88pm800.c
in root
480 13
208 13
441 13
t7l66xb.c
in root
316 13
349 13
137 12
208 12
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
759 15 1