Linux / Drivers / Nvdimm
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 12,061 lines of code.
    • 5 very long files (6,433 lines of code)
    • 4 long files (2,542 lines of code)
    • 6 medium size files (1,924 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (659 lines of code)
    • 8 very small files (503 lines of code)
53% | 21% | 15% | 5% | 4%
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
c58% | 17% | 15% | 3% | 3%
h0% | 51% | 18% | 21% | 7%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT53% | 21% | 15% | 5% | 4%
Longest Files (Top 28)
File# lines# units
2025 66
btt.c
in root
1235 54
label.c
in root
1098 43
bus.c
in root
1065 52
1010 50
787 43
pfn_devs.c
in root
643 23
nd.h
in root
587 36
pmem.c
in root
525 22
core.c
in root
459 24
security.c
in root
426 12
btt_devs.c
in root
289 14
claim.c
in root
273 12
blk.c
in root
261 15
nd-core.h
in root
216 15
badrange.c
in root
188 10
label.h
in root
127 1
btt.h
in root
122 -
region.c
in root
119 7
dax_devs.c
in root
103 3
95 3
dimm.c
in root
93 4
85 3
of_pmem.c
in root
84 2
e820.c
in root
58 3
pmem.h
in root
34 2
28 -
pfn.h
in root
26 -
Files With Most Units (Top 25)
File# lines# units
2025 66
btt.c
in root
1235 54
bus.c
in root
1065 52
1010 50
787 43
label.c
in root
1098 43
nd.h
in root
587 36
core.c
in root
459 24
pfn_devs.c
in root
643 23
pmem.c
in root
525 22
nd-core.h
in root
216 15
blk.c
in root
261 15
btt_devs.c
in root
289 14
claim.c
in root
273 12
security.c
in root
426 12
badrange.c
in root
188 10
region.c
in root
119 7
dimm.c
in root
93 4
95 3
dax_devs.c
in root
103 3
85 3
e820.c
in root
58 3
of_pmem.c
in root
84 2
pmem.h
in root
34 2
label.h
in root
127 1
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