Linux / Drivers / Fpga
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 40 files with 11,107 lines of code.
    • 1 very long files (1,209 lines of code)
    • 4 long files (2,557 lines of code)
    • 17 medium size files (5,473 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,270 lines of code)
    • 10 very small files (598 lines of code)
10% | 23% | 49% | 11% | 5%
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
c11% | 23% | 48% | 11% | 4%
h0% | 0% | 76% | 0% | 23%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT10% | 23% | 49% | 11% | 5%
Longest Files (Top 40)
File# lines# units
dfl.c
in root
1209 60
760 34
715 23
573 30
509 23
fpga-mgr.c
in root
487 27
439 12
socfpga.c
in root
415 24
412 13
375 17
350 13
332 10
dfl.h
in root
320 8
dfl-pci.c
in root
310 10
305 10
287 9
280 16
252 15
245 7
230 8
227 10
207 7
196 7
193 8
163 5
162 10
155 5
150 5
140 6
111 5
100 4
94 5
86 4
72 3
63 3
57 3
dfl-afu.h
in root
52 -
30 1
28 -
dfl-fme.h
in root
16 -
Files With Most Units (Top 37)
File# lines# units
dfl.c
in root
1209 60
760 34
573 30
fpga-mgr.c
in root
487 27
socfpga.c
in root
415 24
715 23
509 23
375 17
280 16
252 15
412 13
350 13
439 12
305 10
dfl-pci.c
in root
310 10
162 10
227 10
332 10
287 9
dfl.h
in root
320 8
230 8
193 8
207 7
196 7
245 7
140 6
150 5
155 5
94 5
163 5
111 5
86 4
100 4
57 3
72 3
63 3
30 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