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

Go to the source code of this file.

Classes

class  oct.complexity.command.GateRefusal

Namespaces

namespace  oct
namespace  oct.complexity
namespace  oct.complexity.command

Functions

None oct.complexity.command.complexity (click.Context ctx, tuple[Path,...] paths, Path|None coverage_data, bool json_mode, int|None top, int|None max_cc, float|None max_crap, bool changed, Path|None baseline_path, Path|None write_baseline_path)
None oct.complexity.command._check_baseline_options (Thresholds thresholds, Path|None baseline_path, Path|None write_baseline_path)
Verdict oct.complexity.command._build_gate_verdict (AnalysisReport report, Thresholds thresholds, Path root, Path|None baseline_path, Path|None write_baseline_path)
tuple[Path, click.ClickException|None] oct.complexity.command._resolve_root (click.Context ctx)
Thresholds oct.complexity.command._resolve_gate_thresholds (Path root, int|None max_cc, float|None max_crap, Path|None coverage_data)
tuple[Path,...] oct.complexity.command._changed_targets (Path root, tuple[Path,...] paths, bool json_mode)
tuple[Path,...] oct.complexity.command._resolve_targets (tuple[Path,...] paths, Path root, click.ClickException|None root_error)
None oct.complexity.command._emit_report (AnalysisReport report, bool json_mode, int|None top, Verdict|None verdict=None)