Linux / Drivers / Mailbox
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 11,839 lines of code.
    • 1 very long files (1,254 lines of code)
    • 7 long files (4,758 lines of code)
    • 14 medium size files (4,388 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,433 lines of code)
    • 1 very small files (6 lines of code)
10% | 40% | 37% | 12% | <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
c10% | 40% | 37% | 12% | 0%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT10% | 40% | 37% | 12% | <1%
Longest Files (Top 32)
File# lines# units
1254 44
943 25
769 27
724 32
623 21
606 20
557 23
536 10
500 15
pcc.c
in root
463 16
mailbox.c
in root
364 17
362 11
346 11
306 11
286 12
272 17
270 10
267 8
264 10
256 12
226 9
206 8
197 6
187 11
185 7
152 6
151 10
147 5
141 6
140 6
arm_mhu.c
in root
133 6
mailbox.h
in root
6 -
Files With Most Units (Top 31)
File# lines# units
1254 44
724 32
769 27
943 25
557 23
623 21
606 20
272 17
mailbox.c
in root
364 17
pcc.c
in root
463 16
500 15
286 12
256 12
187 11
362 11
306 11
346 11
270 10
536 10
264 10
151 10
226 9
267 8
206 8
185 7
arm_mhu.c
in root
133 6
141 6
197 6
140 6
152 6
147 5
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 2 long lines.

File# lines# units# long lines
769 27 2