oct
Loading...
Searching...
No Matches
coverage.py File Reference

Go to the source code of this file.

Classes

class  oct.complexity.coverage.CoverageUnavailableError
class  oct.complexity.coverage.CoverageRun
class  oct.complexity.coverage.CoveredFunction

Namespaces

namespace  oct
namespace  oct.complexity
namespace  oct.complexity.coverage

Functions

Any oct.complexity.coverage._import_coverage ()
Any oct.complexity.coverage._import_pytest ()
CoverageRun oct.complexity.coverage.run_pytest_with_coverage (str|Path project_root, Sequence[str] pytest_args=("tests",), str|Path data_file=".coverage", Sequence[str|Path] source=(), *, bool in_process=False, str|Path|None python_executable=None, dict[str, str]|None env=None)
CoverageRun oct.complexity.coverage._run_pytest_in_process (Path project_root, tuple[str,...] pytest_args, Path data_file, tuple[str,...] source)
None oct.complexity.coverage._remove_first (list[str] items, str value)
CoverageRun oct.complexity.coverage._run_pytest_subprocess (Path project_root, tuple[str,...] pytest_args, Path data_file, tuple[str,...] source, *, str|Path|None python_executable, dict[str, str]|None env)
list[CoveredFunction] oct.complexity.coverage.map_coverage (Sequence[FunctionComplexity] records, str|Path data_file)
CoveredFunction oct.complexity.coverage._map_one (Any coverage, dict[str, str] measured_files, FunctionComplexity record)
set[int] oct.complexity.coverage._statement_lines (Any coverage, str filename)
str oct.complexity.coverage._normalized_path (str|Path filename)