Linux / Drivers / Sh
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 16 files with 3,127 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (661 lines of code)
    • 5 medium size files (1,589 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (647 lines of code)
    • 6 very small files (230 lines of code)
0% | 21% | 50% | 20% | 7%
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
c0% | 22% | 53% | 16% | 7%
h0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
maple0% | 100% | 0% | 0% | 0%
clk0% | 0% | 100% | 0% | 0%
intc0% | 0% | 54% | 34% | 11%
superhyway0% | 0% | 0% | 80% | 19%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 16)
File# lines# units
maple.c
in maple
661 32
core.c
in clk
454 30
core.c
in intc
351 11
cpg.c
in clk
346 25
handle.c
in intc
235 8
access.c
in intc
203 20
virq.c
in intc
188 9
chip.c
in intc
156 7
154 4
superhyway.c
in superhyway
149 11
60 4
47 2
superhyway-sysfs.c
in superhyway
35 -
31 2
30 2
27 1
Files With Most Units (Top 15)
File# lines# units
maple.c
in maple
661 32
core.c
in clk
454 30
cpg.c
in clk
346 25
access.c
in intc
203 20
core.c
in intc
351 11
superhyway.c
in superhyway
149 11
virq.c
in intc
188 9
handle.c
in intc
235 8
chip.c
in intc
156 7
154 4
60 4
31 2
30 2
47 2
27 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