microsoft / lisa
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 230 files with 27,541 lines of code.
    • 1 very long files (1,485 lines of code)
    • 7 long files (5,253 lines of code)
    • 31 medium size files (10,438 lines of codeclsfd_ftr_w_mp_ins)
    • 31 small files (4,386 lines of code)
    • 160 very small files (5,979 lines of code)
5% | 19% | 37% | 15% | 21%
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
py5% | 19% | 38% | 15% | 20%
pyi0% | 0% | 0% | 34% | 65%
yml0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
Dockerfile0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lisa/sut_orchestrator39% | 19% | 30% | 5% | 6%
lisa0% | 41% | 42% | 8% | 7%
lisa/tools0% | 14% | 15% | 17% | 52%
microsoft/testsuites0% | 8% | 56% | 19% | 16%
lisa/runners0% | 51% | 48% | 0% | <1%
lisa/util0% | 0% | 48% | 32% | 18%
lisa/transformers0% | 0% | 51% | 34% | 14%
lisa/parameter_parser0% | 0% | 80% | 0% | 19%
lisa/features0% | 0% | 0% | 67% | 32%
lisa/notifiers0% | 0% | 0% | 77% | 22%
typings/semver0% | 0% | 0% | 100% | 0%
lisa/base_tools0% | 0% | 0% | 0% | 100%
typings/assertpy0% | 0% | 0% | 0% | 100%
lisa/combinators0% | 0% | 0% | 0% | 100%
microsoft/runbook0% | 0% | 0% | 0% | 100%
typings/pluggy0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
selftests0% | 0% | 0% | 0% | 100%
selftests/azure0% | 0% | 0% | 0% | 100%
selftests/combinators0% | 0% | 0% | 0% | 100%
selftests/runners0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
platform_.py
in lisa/sut_orchestrator/azure
1485 42
schema.py
in lisa
999 56
operating_system.py
in lisa
965 86
features.py
in lisa/sut_orchestrator/azure
736 42
ethtool.py
in lisa/tools
722 54
testsuite.py
in lisa
674 43
dpdksuite.py
in microsoft/testsuites/dpdk
628 31
lisa_runner.py
in lisa/runners
529 22
common.py
in lisa/sut_orchestrator/azure
499 25
legacy_runner.py
in lisa/runners
493 26
networksettings.py
in microsoft/testsuites/network
479 10
search_space.py
in lisa
474 30
dpdktestpmd.py
in microsoft/testsuites/dpdk
441 22
sriov.py
in microsoft/testsuites/network
432 14
node.py
in lisa
431 45
xfstesting.py
in microsoft/testsuites/xfstests
431 12
shell.py
in lisa/util
402 39
azure_image_standard.py
in microsoft/testsuites/core
401 10
platform.py
in lisa/sut_orchestrator/qemu
375 20
environment.py
in lisa
373 27
executable.py
in lisa
367 31
functional.py
in microsoft/testsuites/xdp
350 16
storage.py
in microsoft/testsuites/core
345 17
storageperf.py
in microsoft/testsuites/performance
323 13
nvme.py
in microsoft/testsuites/nvme
292 10
kernel_source_installer.py
in lisa/transformers
283 23
kdump.py
in lisa/tools
281 37
__init__.py
in lisa/util
280 34
runbook.py
in lisa/parameter_parser
278 17
transformers.py
in lisa/sut_orchestrator/azure
277 18
nic.py
in lisa
269 26
runner.py
in lisa
262 19
variable.py
in lisa
261 14
timesync.py
in microsoft/testsuites/core
237 6
xfstests.py
in lisa/tools
233 11
testselector.py
in lisa
223 8
provisioning.py
in microsoft/testsuites/core
219 9
lagscope.py
in lisa/tools
218 10
kdumpcrash.py
in microsoft/testsuites/kdump
209 12
hv_module.py
in microsoft/testsuites/core
200 6
tools.py
in lisa/sut_orchestrator/azure
194 27
process.py
in lisa/util
188 9
kernel_installer.py
in lisa/transformers
187 17
networkperf.py
in microsoft/testsuites/performance
177 9
fio.py
in lisa/tools
175 7
gpu.py
in lisa/features
174 14
transformer.py
in lisa
161 9
dockersuite.py
in microsoft/testsuites/docker
161 11
logger.py
in lisa/util
158 16
lscpu.py
in lisa/tools
152 17
Files With Most Units (Top 20)
File# lines# units
operating_system.py
in lisa
965 86
schema.py
in lisa
999 56
ethtool.py
in lisa/tools
722 54
node.py
in lisa
431 45
pyi
__init__.pyi
in typings/semver
151 44
testsuite.py
in lisa
674 43
features.py
in lisa/sut_orchestrator/azure
736 42
platform_.py
in lisa/sut_orchestrator/azure
1485 42
shell.py
in lisa/util
402 39
kdump.py
in lisa/tools
281 37
__init__.py
in lisa/util
280 34
executable.py
in lisa
367 31
dpdksuite.py
in microsoft/testsuites/dpdk
628 31
search_space.py
in lisa
474 30
environment.py
in lisa
373 27
tools.py
in lisa/sut_orchestrator/azure
194 27
pyi
manager.pyi
in typings/pluggy
44 27
nic.py
in lisa
269 26
legacy_runner.py
in lisa/runners
493 26
common.py
in lisa/sut_orchestrator/azure
499 25
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
netperf.py
in lisa/tools
78 7 1