Linux / Drivers / Watchdog
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 176 files with 39,253 lines of code.
    • 0 very long files (0 lines of code)
    • 8 long files (4,734 lines of code)
    • 85 medium size files (23,413 lines of codeclsfd_ftr_w_mp_ins)
    • 68 small files (10,440 lines of code)
    • 15 very small files (666 lines of code)
0% | 12% | 59% | 26% | 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% | 12% | 60% | 26% | <1%
h0% | 0% | 0% | 0% | 100%
S0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 12% | 59% | 26% | 1%
Longest Files (Top 50)
File# lines# units
811 46
pcwd.c
in root
664 27
639 26
pcwd_pci.c
in root
552 22
545 22
pcwd_usb.c
in root
521 20
501 23
501 18
dw_wdt.c
in root
483 25
iTCO_wdt.c
in root
449 19
wdt_pci.c
in root
444 19
cpwd.c
in root
425 20
420 14
418 15
wdat_wdt.c
in root
409 14
mei_wdt.c
in root
398 20
wdt.c
in root
377 20
372 15
356 20
354 14
352 21
nv_tco.c
in root
352 16
348 26
mtk_wdt.c
in root
346 16
343 19
wdrtas.c
in root
333 21
331 17
314 13
313 12
hpwdt.c
in root
311 15
ibmasr.c
in root
307 11
wdt977.c
in root
304 12
299 17
sprd_wdt.c
in root
296 15
296 11
imx2_wdt.c
in root
290 15
machzwd.c
in root
289 16
280 12
277 14
mlx_wdt.c
in root
268 9
264 15
qcom-wdt.c
in root
263 12
omap_wdt.c
in root
263 14
262 13
260 13
258 11
ar7_wdt.c
in root
257 14
256 12
it87_wdt.c
in root
255 14
250 12
Files With Most Units (Top 50)
File# lines# units
811 46
pcwd.c
in root
664 27
639 26
348 26
dw_wdt.c
in root
483 25
501 23
545 22
pcwd_pci.c
in root
552 22
352 21
wdrtas.c
in root
333 21
wdt.c
in root
377 20
pcwd_usb.c
in root
521 20
cpwd.c
in root
425 20
mei_wdt.c
in root
398 20
356 20
343 19
iTCO_wdt.c
in root
449 19
wdt_pci.c
in root
444 19
501 18
299 17
331 17
mtk_wdt.c
in root
346 16
238 16
machzwd.c
in root
289 16
nv_tco.c
in root
352 16
219 16
151 15
372 15
hpwdt.c
in root
311 15
imx2_wdt.c
in root
290 15
sprd_wdt.c
in root
296 15
250 15
264 15
418 15
245 15
420 14
354 14
238 14
277 14
wdat_wdt.c
in root
409 14
ar7_wdt.c
in root
257 14
233 14
omap_wdt.c
in root
263 14
it87_wdt.c
in root
255 14
262 13
189 13
gef_wdt.c
in root
231 13
314 13
231 13
260 13
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 2 long lines.

File# lines# units# long lines
314 13 1
wdrtas.c
in root
333 21 1