Linux / Drivers / Ptp
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 19 files with 8,737 lines of code.
    • 2 very long files (4,019 lines of code)
    • 3 long files (2,012 lines of code)
    • 5 medium size files (1,856 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (608 lines of code)
    • 4 very small files (242 lines of code)
45% | 23% | 21% | 6% | 2%
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
c47% | 23% | 22% | 4% | 1%
h0% | 0% | 0% | 71% | 28%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT45% | 23% | 21% | 6% | 2%
Longest Files (Top 19)
File# lines# units
ptp_ocp.c
in root
2147 -
1872 85
832 38
ptp_ines.c
in root
664 21
ptp_pch.c
in root
516 23
465 17
429 6
364 16
355 17
ptp_dte.c
in root
243 13
169 9
118 -
114 9
ptp_vmw.c
in root
105 10
102 -
86 2
78 6
62 3
16 2
Files With Most Units (Top 16)
File# lines# units
1872 85
832 38
ptp_pch.c
in root
516 23
ptp_ines.c
in root
664 21
465 17
355 17
364 16
ptp_dte.c
in root
243 13
ptp_vmw.c
in root
105 10
114 9
169 9
429 6
78 6
62 3
16 2
86 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