Linux / Drivers / Clocksource
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 91 files with 19,756 lines of code.
    • 1 very long files (1,317 lines of code)
    • 4 long files (2,649 lines of code)
    • 28 medium size files (8,320 lines of codeclsfd_ftr_w_mp_ins)
    • 44 small files (6,655 lines of code)
    • 14 very small files (815 lines of code)
6% | 13% | 42% | 33% | 4%
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
c6% | 13% | 42% | 33% | 3%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT6% | 13% | 42% | 33% | 4%
Longest Files (Top 50)
File# lines# units
1317 78
sh_cmt.c
in root
837 44
697 35
608 31
sh_tmu.c
in root
507 33
479 30
sh_mtu2.c
in root
412 19
411 16
375 26
373 24
362 18
348 13
330 29
330 20
324 12
319 15
312 19
301 14
289 19
288 15
em_sti.c
in root
276 22
261 13
260 14
258 22
254 19
241 13
234 19
223 20
219 10
215 13
211 9
209 10
206 16
199 16
199 12
195 10
192 15
187 14
184 15
184 11
178 10
169 12
167 13
167 11
165 11
165 10
164 7
161 8
160 9
159 11
Files With Most Units (Top 50)
File# lines# units
1317 78
sh_cmt.c
in root
837 44
697 35
sh_tmu.c
in root
507 33
608 31
479 30
330 29
375 26
373 24
em_sti.c
in root
276 22
258 22
330 20
223 20
289 19
312 19
234 19
254 19
sh_mtu2.c
in root
412 19
362 18
199 16
206 16
411 16
288 15
184 15
319 15
192 15
157 14
260 14
301 14
187 14
167 13
215 13
241 13
261 13
348 13
324 12
157 12
149 12
199 12
169 12
159 11
117 11
acpi_pm.c
in root
154 11
123 11
184 11
165 11
167 11
147 10
178 10
132 10
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