Linux / Drivers / Nvmem
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 28 files with 5,766 lines of code.
    • 1 very long files (1,283 lines of code)
    • 0 long files (0 lines of code)
    • 7 medium size files (1,935 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,973 lines of code)
    • 8 very small files (575 lines of code)
22% | 0% | 33% | 34% | 9%
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
c22% | 0% | 33% | 34% | 9%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT22% | 0% | 33% | 34% | 9%
Longest Files (Top 28)
File# lines# units
core.c
in root
1283 61
420 8
qfprom.c
in root
306 6
292 13
248 4
245 11
212 5
212 6
198 5
196 5
195 7
191 5
184 6
164 4
164 3
155 5
153 7
143 4
122 3
imx-iim.c
in root
108 2
92 2
92 3
75 4
71 2
rmem.c
in root
67 2
60 2
59 3
59 2
Files With Most Units (Top 28)
File# lines# units
core.c
in root
1283 61
292 13
245 11
420 8
195 7
153 7
184 6
212 6
qfprom.c
in root
306 6
191 5
155 5
196 5
212 5
198 5
248 4
75 4
164 4
143 4
122 3
59 3
164 3
92 3
92 2
imx-iim.c
in root
108 2
71 2
59 2
rmem.c
in root
67 2
60 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