Linux / Drivers / Cpuidle
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 32 files with 4,931 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (560 lines of code)
    • 9 medium size files (2,576 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,040 lines of code)
    • 14 very small files (755 lines of code)
0% | 11% | 52% | 21% | 15%
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% | 11% | 53% | 21% | 14%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 13% | 49% | 21% | 15%
governors0% | 0% | 70% | 17% | 12%
Longest Files (Top 32)
File# lines# units
sysfs.c
in root
560 36
cpuidle.c
in root
441 30
coupled.c
in root
327 27
284 18
277 11
263 12
menu.c
in governors
257 8
250 14
246 12
teo.c
in governors
231 8
driver.c
in root
188 11
133 3
129 3
127 6
125 5
ladder.c
in governors
122 5
110 7
106 2
99 3
haltpoll.c
in governors
86 5
83 3
77 2
governor.c
in root
69 3
55 3
cpuidle.h
in root
54 5
52 3
43 2
41 2
39 2
37 2
14 1
6 -
Files With Most Units (Top 31)
File# lines# units
sysfs.c
in root
560 36
cpuidle.c
in root
441 30
coupled.c
in root
327 27
284 18
250 14
246 12
263 12
277 11
driver.c
in root
188 11
teo.c
in governors
231 8
menu.c
in governors
257 8
110 7
127 6
ladder.c
in governors
122 5
haltpoll.c
in governors
86 5
125 5
cpuidle.h
in root
54 5
83 3
129 3
99 3
133 3
governor.c
in root
69 3
55 3
52 3
37 2
106 2
39 2
43 2
41 2
77 2
14 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