orchestrata_ultimate.refactor.codemod.analysis

Reference › orchestrata_ultimate › refactor › codemod › analysis › init

The facade of the read-only analysis passes of SPEC-110 (FR-011, REQ-110-031 and 032). It re-exports the analyzers from abstraction, blast_radius, breaking_change, complexity, coupling, dead_code and test_coverage, plus the helpers metrics, encode and protocol. scripts.codemod imports it for its analyze command.

At a glance

Source src/orchestrata_ultimate/refactor/codemod/analysis/__init__.py
Lines of code 45
Classes 0
Functions 0
Imports (internal) orchestrata_ultimate.refactor.codemod.analysis.abstraction, orchestrata_ultimate.refactor.codemod.analysis.blast_radius, orchestrata_ultimate.refactor.codemod.analysis.breaking_change, orchestrata_ultimate.refactor.codemod.analysis.complexity, orchestrata_ultimate.refactor.codemod.analysis.coupling, orchestrata_ultimate.refactor.codemod.analysis.dead_code, orchestrata_ultimate.refactor.codemod.analysis.encode, orchestrata_ultimate.refactor.codemod.analysis.metrics, orchestrata_ultimate.refactor.codemod.analysis.protocol, orchestrata_ultimate.refactor.codemod.analysis.test_coverage
Imported by scripts.codemod
Tests that import it tests/refactor/codemod/analysis/test_abstraction.py, tests/refactor/codemod/analysis/test_blast_radius.py, tests/refactor/codemod/analysis/test_breaking_change.py, tests/refactor/codemod/analysis/test_complexity.py, tests/refactor/codemod/analysis/test_coupling.py, tests/refactor/codemod/analysis/test_dead_code.py, tests/refactor/codemod/analysis/test_encode.py, tests/refactor/codemod/analysis/test_protocol.py, tests/refactor/codemod/analysis/test_read_only.py, tests/refactor/codemod/analysis/test_test_coverage.py

Class diagram

No classes; see Functions.

Dependency diagram

Dependency diagram orchestrata_ultimate.refactor.codemod.analysis

API

No public API: the module defines no classes, functions or constants.

Source

Permalink: https://gitlab.com/MSamy/orchestrata-ultimate-architecture/-/blob/a4cbc2bdf/src/orchestrata_ultimate/refactor/codemod/analysis/__init__.py

"""SPEC-110 read-only analysis passes (FR-011, REQ-110-031 / REQ-110-032).

Seven analyzers, one submodule each, thin adapters over
``CodeIntelligenceGraph`` (and the forest's ``ast`` overlay where the graph
cannot answer). Every analyzer returns a frozen dataclass and none writes the
workspace.
"""

from __future__ import annotations

from orchestrata_ultimate.refactor.codemod.analysis.abstraction import (
    AbstractionAnalyzer,
)
from orchestrata_ultimate.refactor.codemod.analysis.blast_radius import (
    BlastRadiusAnalyzer,
)
from orchestrata_ultimate.refactor.codemod.analysis.breaking_change import (
    BreakingChangeDetector,
)
from orchestrata_ultimate.refactor.codemod.analysis.complexity import (
    ComplexityAnalyzer,
)
from orchestrata_ultimate.refactor.codemod.analysis.coupling import CouplingAnalyzer
from orchestrata_ultimate.refactor.codemod.analysis.dead_code import DeadCodeDetector
from orchestrata_ultimate.refactor.codemod.analysis.encode import (
    AnalysisResultEncoder,
)
from orchestrata_ultimate.refactor.codemod.analysis.metrics import ComplexityMetrics
from orchestrata_ultimate.refactor.codemod.analysis.protocol import AnalysisPass
from orchestrata_ultimate.refactor.codemod.analysis.test_coverage import (
    TestCoverageMapper,
)

__all__ = [
    "AbstractionAnalyzer",
    "AnalysisPass",
    "AnalysisResultEncoder",
    "BlastRadiusAnalyzer",
    "BreakingChangeDetector",
    "ComplexityAnalyzer",
    "ComplexityMetrics",
    "CouplingAnalyzer",
    "DeadCodeDetector",
    "TestCoverageMapper",
]