Linux / Drivers / Edac
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 76 files with 39,280 lines of code.
    • 10 very long files (16,707 lines of code)
    • 16 long files (11,284 lines of code)
    • 30 medium size files (9,506 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (856 lines of code)
    • 13 very small files (927 lines of code)
42% | 28% | 24% | 2% | 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
c44% | 30% | 23% | 1% | <1%
h0% | 0% | 46% | 20% | 32%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT42% | 28% | 24% | 2% | 2%
Longest Files (Top 50)
File# lines# units
2917 101
sb_edac.c
in root
2590 68
1701 39
1690 29
1656 42
1614 50
1242 44
mce_amd.c
in root
1198 24
1052 22
1047 41
989 32
967 47
931 35
889 61
edac_mc.c
in root
802 25
766 16
736 50
724 22
703 7
skx_base.c
in root
598 19
563 19
554 19
532 16
521 7
505 12
504 19
491 33
469 17
464 15
442 16
427 29
414 11
408 17
378 15
366 15
350 11
x38_edac.c
in root
346 15
337 10
329 14
328 3
309 9
281 10
274 -
273 10
262 7
ti_edac.c
in root
254 7
249 9
248 9
238 -
233 6
Files With Most Units (Top 50)
File# lines# units
2917 101
sb_edac.c
in root
2590 68
889 61
1614 50
736 50
967 47
1242 44
1656 42
1047 41
1701 39
931 35
491 33
989 32
427 29
1690 29
edac_mc.c
in root
802 25
mce_amd.c
in root
1198 24
724 22
1052 22
skx_base.c
in root
598 19
504 19
554 19
563 19
469 17
408 17
532 16
442 16
766 16
366 15
x38_edac.c
in root
346 15
378 15
464 15
329 14
505 12
414 11
350 11
337 10
273 10
281 10
230 10
249 9
309 9
216 9
248 9
edac_pci.c
in root
216 8
226 8
233 8
703 7
debugfs.c
in root
109 7
521 7
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 10 long lines.

File# lines# units# long lines
sb_edac.c
in root
2590 68 5
989 32 1
debugfs.c
in root
109 7 1
931 35 1
505 12 1
532 16 1