Linux / Drivers / Ssb
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 20 files with 7,377 lines of code.
    • 1 very long files (1,056 lines of code)
    • 5 long files (3,379 lines of code)
    • 7 medium size files (2,147 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (568 lines of code)
    • 3 very small files (227 lines of code)
14% | 45% | 29% | 7% | 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
c14% | 47% | 26% | 7% | 3%
h0% | 0% | 100% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT14% | 45% | 29% | 7% | 3%
Longest Files (Top 20)
File# lines# units
main.c
in root
1056 48
pci.c
in root
988 32
pcmcia.c
in root
690 29
600 15
551 30
550 27
sdio.c
in root
477 17
scan.c
in root
386 7
354 30
287 12
220 19
218 25
embedded.c
in root
205 12
host_soc.c
in root
165 9
145 16
133 2
sprom.c
in root
125 7
95 6
91 5
41 2
Files With Most Units (Top 20)
File# lines# units
main.c
in root
1056 48
pci.c
in root
988 32
551 30
354 30
pcmcia.c
in root
690 29
550 27
218 25
220 19
sdio.c
in root
477 17
145 16
600 15
embedded.c
in root
205 12
287 12
host_soc.c
in root
165 9
scan.c
in root
386 7
sprom.c
in root
125 7
95 6
91 5
133 2
41 2
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