Linux / Drivers / Gpio
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 181 files with 54,672 lines of code.
    • 5 very long files (7,904 lines of code)
    • 20 long files (13,114 lines of code)
    • 78 medium size files (24,227 lines of codeclsfd_ftr_w_mp_ins)
    • 52 small files (7,522 lines of code)
    • 26 very small files (1,905 lines of code)
14% | 23% | 44% | 13% | 3%
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
c14% | 24% | 44% | 13% | 3%
h0% | 0% | 0% | 48% | 51%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT14% | 23% | 44% | 13% | 3%
Longest Files (Top 50)
File# lines# units
gpiolib.c
in root
2749 137
1715 64
gpio-sim.c
in root
1178 42
1157 59
1105 35
977 30
942 39
917 37
889 20
688 19
681 28
661 29
636 32
gpio-pxa.c
in root
635 30
611 30
597 25
583 9
577 27
563 41
561 25
559 18
518 20
510 25
506 23
503 24
485 17
465 22
461 20
459 30
452 30
451 23
449 19
442 25
440 21
436 14
gpio-mxc.c
in root
434 14
418 18
415 24
407 17
404 17
387 21
376 27
367 15
366 18
361 13
361 12
360 19
351 17
gpio-pch.c
in root
348 17
345 14
Files With Most Units (Top 50)
File# lines# units
gpiolib.c
in root
2749 137
1715 64
1157 59
gpio-sim.c
in root
1178 42
563 41
942 39
917 37
1105 35
636 32
977 30
459 30
gpio-pxa.c
in root
635 30
611 30
452 30
661 29
681 28
577 27
376 27
442 25
561 25
510 25
597 25
415 24
503 24
451 23
506 23
465 22
440 21
gpio-em.c
in root
303 21
387 21
297 20
889 20
461 20
518 20
360 19
688 19
295 19
449 19
235 18
418 18
gpio-sch.c
in root
296 18
366 18
559 18
407 17
485 17
351 17
278 17
gpio-pch.c
in root
348 17
404 17
286 15
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