Linux / Drivers / Vdpa
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 17 files with 8,534 lines of code.
    • 2 very long files (3,569 lines of code)
    • 3 long files (1,864 lines of code)
    • 7 medium size files (2,604 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (172 lines of code)
    • 4 very small files (325 lines of code)
41% | 21% | 30% | 2% | 3%
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
c43% | 22% | 31% | 2% | 0%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
mlx573% | 0% | 23% | 0% | 3%
vdpa_user73% | 0% | 23% | 0% | 2%
ROOT0% | 100% | 0% | 0% | 0%
vdpa_sim0% | 51% | 24% | 16% | 8%
ifcvf0% | 54% | 35% | 0% | 10%
virtio_pci0% | 0% | 100% | 0% | 0%
alibaba0% | 0% | 100% | 0% | 0%
Longest Files (Top 17)
File# lines# units
mlx5_vnet.c
in mlx5/net
2226 115
vduse_dev.c
in vdpa_user
1343 71
vdpa.c
in root
817 36
vdpa_sim.c
in vdpa_sim
529 38
ifcvf_main.c
in ifcvf
518 38
mr.c
in mlx5/core
473 28
iova_domain.c
in vdpa_user
432 20
vp_vdpa.c
in virtio_pci
430 33
eni_vdpa.c
in alibaba
423 31
ifcvf_base.c
in ifcvf
343 28
vdpa_sim_blk.c
in vdpa_sim
252 9
resources.c
in mlx5/core
251 20
vdpa_sim_net.c
in vdpa_sim
172 8
mlx5_vdpa.h
in mlx5/core
99 -
ifcvf_base.h
in ifcvf
97 -
vdpa_sim.h
in vdpa_sim
83 7
iova_domain.h
in vdpa_user
46 -
Files With Most Units (Top 14)
File# lines# units
mlx5_vnet.c
in mlx5/net
2226 115
vduse_dev.c
in vdpa_user
1343 71
ifcvf_main.c
in ifcvf
518 38
vdpa_sim.c
in vdpa_sim
529 38
vdpa.c
in root
817 36
vp_vdpa.c
in virtio_pci
430 33
eni_vdpa.c
in alibaba
423 31
ifcvf_base.c
in ifcvf
343 28
mr.c
in mlx5/core
473 28
resources.c
in mlx5/core
251 20
iova_domain.c
in vdpa_user
432 20
vdpa_sim_blk.c
in vdpa_sim
252 9
vdpa_sim_net.c
in vdpa_sim
172 8
vdpa_sim.h
in vdpa_sim
83 7
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