Linux / Drivers / Extcon
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 26 files with 9,046 lines of code.
    • 0 very long files (0 lines of code)
    • 7 long files (5,016 lines of code)
    • 10 medium size files (3,055 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (843 lines of code)
    • 3 very small files (132 lines of code)
0% | 55% | 33% | 9% | 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
c0% | 58% | 32% | 7% | 1%
h0% | 0% | 60% | 32% | 6%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 55% | 33% | 9% | 1%
Longest Files (Top 26)
File# lines# units
extcon.c
in root
938 33
861 14
788 16
687 15
590 13
585 13
567 14
408 12
387 14
362 9
337 12
313 -
301 13
256 9
251 5
226 7
214 9
173 6
169 -
141 7
devres.c
in root
135 12
124 3
101 3
100 4
extcon.h
in root
21 -
11 -
Files With Most Units (Top 22)
File# lines# units
extcon.c
in root
938 33
788 16
687 15
387 14
567 14
861 14
301 13
590 13
585 13
408 12
devres.c
in root
135 12
337 12
362 9
256 9
214 9
226 7
141 7
173 6
251 5
100 4
101 3
124 3
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