Linux / Drivers / Leds
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 118 files with 29,223 lines of code.
    • 0 very long files (0 lines of code)
    • 13 long files (7,994 lines of code)
    • 48 medium size files (15,162 lines of codeclsfd_ftr_w_mp_ins)
    • 32 small files (4,546 lines of code)
    • 25 very small files (1,521 lines of code)
0% | 27% | 51% | 15% | 5%
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% | 27% | 52% | 15% | 5%
h0% | 0% | 0% | 82% | 17%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 23% | 56% | 15% | 5%
flash0% | 51% | 48% | 0% | 0%
blink0% | 100% | 0% | 0% | 0%
trigger0% | 0% | 32% | 48% | 19%
simple0% | 0% | 0% | 100% | 0%
Longest Files (Top 50)
File# lines# units
799 35
772 30
727 22
673 26
625 25
586 22
581 21
566 13
559 19
552 33
538 28
515 18
501 8
489 14
469 19
466 18
453 17
440 8
419 8
407 6
404 17
383 10
381 24
led-core.c
in root
370 20
365 12
362 10
354 18
354 17
353 15
342 22
342 12
341 19
341 9
339 8
332 20
330 9
329 9
310 15
307 8
305 9
302 5
300 12
279 10
278 6
278 11
270 15
254 4
242 7
240 6
237 9
Files With Most Units (Top 50)
File# lines# units
799 35
552 33
772 30
538 28
673 26
625 25
381 24
586 22
342 22
727 22
581 21
led-core.c
in root
370 20
332 20
341 19
469 19
559 19
515 18
354 18
466 18
453 17
404 17
354 17
310 15
270 15
353 15
489 14
208 14
566 13
342 12
365 12
300 12
278 11
145 10
144 10
233 10
236 10
279 10
383 10
362 10
162 10
163 9
ledtrig-gpio.c
in trigger
155 9
179 9
222 9
237 9
341 9
330 9
305 9
329 9
leds-ns2.c
in root
208 8
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