Linux / Drivers / Perf
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 24 files with 15,850 lines of code.
    • 4 very long files (5,696 lines of code)
    • 9 long files (6,330 lines of code)
    • 9 medium size files (3,549 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (181 lines of code)
    • 1 very small files (94 lines of code)
35% | 39% | 22% | 1% | <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
c36% | 40% | 22% | 1% | 0%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT45% | 44% | 8% | 1% | 0%
hisilicon0% | 21% | 75% | 0% | 2%
Longest Files (Top 24)
File# lines# units
1604 42
arm-cmn.c
in root
1600 52
arm-cci.c
in root
1253 56
arm-ccn.c
in root
1239 44
887 40
796 35
723 40
hisi_pcie_pmu.c
in hisilicon
721 48
712 43
arm_pmu.c
in root
673 34
649 36
599 28
570 23
483 27
474 27
460 31
456 26
411 27
383 26
333 13
hisi_uncore_pmu.c
in hisilicon
330 25
219 9
181 8
hisi_uncore_pmu.h
in hisilicon
94 -
Files With Most Units (Top 23)
File# lines# units
arm-cci.c
in root
1253 56
arm-cmn.c
in root
1600 52
hisi_pcie_pmu.c
in hisilicon
721 48
arm-ccn.c
in root
1239 44
712 43
1604 42
723 40
887 40
649 36
796 35
arm_pmu.c
in root
673 34
460 31
599 28
483 27
474 27
411 27
456 26
383 26
hisi_uncore_pmu.c
in hisilicon
330 25
570 23
333 13
219 9
181 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