final class Analyzer

Selects every declared scope, resolves every evidence entry and records which units the specifications claim.

Source extensions report retrieval failures and unsupported syntax by throwing, so each scope and each evidence entry is read on its own and any failure becomes an error of the analysis. An item with invalid evidence claims nothing, and neither do specifications refining it.

Methods§

public function analyze(Project $project, bool $live = false): Analysis

Analyzes the sources and evidence of a project.

Parameters

$projectProjectThe loaded project
$liveboolWhether to read the current source URIs instead of pinned snapshots

Returns

Analysis The units, scopes, errors and resolved evidence
Test cases 21
Called from 1
Calls 10

Test cases 24§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 12
Other tests reaching this symbol 12

Relations§

Instantiated in 1
Method calls 1