Linux / Drivers / Regulator
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 187 files with 74,469 lines of code.
    • 14 very long files (19,880 lines of code)
    • 28 long files (18,944 lines of code)
    • 89 medium size files (28,710 lines of codeclsfd_ftr_w_mp_ins)
    • 37 small files (5,689 lines of code)
    • 19 very small files (1,246 lines of code)
26% | 25% | 38% | 7% | 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
c27% | 25% | 38% | 6% | 1%
h0% | 0% | 26% | 41% | 32%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT26% | 25% | 38% | 7% | 1%
Longest Files (Top 50)
File# lines# units
core.c
in root
4035 171
1798 38
1447 21
1435 21
ab8500.c
in root
1203 13
1192 20
1182 11
1159 30
1150 7
s2mps11.c
in root
1113 10
1085 18
1059 18
1014 16
1008 25
941 16
913 7
874 24
s5m8767.c
in root
849 14
830 18
lp872x.c
in root
816 17
778 20
776 8
768 19
749 4
739 7
685 11
681 3
max8998.c
in root
680 19
650 20
648 14
607 18
604 15
566 6
fan53555.c
in root
560 12
559 8
helpers.c
in root
538 30
537 12
533 9
532 17
516 15
514 8
501 6
493 11
487 15
481 4
479 3
464 15
463 8
460 6
459 9
Files With Most Units (Top 50)
File# lines# units
core.c
in root
4035 171
1798 38
helpers.c
in root
538 30
1159 30
1008 25
874 24
1447 21
1435 21
778 20
1192 20
650 20
768 19
max8998.c
in root
680 19
1059 18
max8660.c
in root
397 18
830 18
1085 18
607 18
lp3972.c
in root
459 18
532 17
lp872x.c
in root
816 17
mcp16502.c
in root
414 16
941 16
lp3971.c
in root
352 16
devres.c
in root
261 16
1014 16
487 15
366 15
516 15
464 15
604 15
s5m8767.c
in root
849 14
431 14
457 14
648 14
virtual.c
in root
271 14
ab8500.c
in root
1203 13
341 13
401 13
537 12
271 12
430 12
301 12
fan53555.c
in root
560 12
237 11
ad5398.c
in root
211 11
255 11
318 11
1182 11
279 11
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