Linux / Drivers / Devfreq
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 19 files with 5,633 lines of code.
    • 1 very long files (1,505 lines of code)
    • 2 long files (1,207 lines of code)
    • 6 medium size files (1,978 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (768 lines of code)
    • 4 very small files (175 lines of code)
26% | 21% | 35% | 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
c27% | 22% | 36% | 12% | 1%
h0% | 0% | 0% | 54% | 45%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT33% | 14% | 38% | 10% | 2%
event0% | 49% | 19% | 26% | 4%
Longest Files (Top 19)
File# lines# units
devfreq.c
in root
1505 65
659 28
548 12
392 8
386 13
375 12
322 8
284 15
219 5
179 8
124 5
imx-bus.c
in root
124 5
120 8
116 -
105 4
52 -
governor.h
in root
43 1
40 4
40 4
Files With Most Units (Top 17)
File# lines# units
devfreq.c
in root
1505 65
659 28
284 15
386 13
375 12
548 12
120 8
392 8
322 8
179 8
124 5
imx-bus.c
in root
124 5
219 5
40 4
105 4
40 4
governor.h
in root
43 1
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