The elegant testing framework for PHP developers and AI agents.
This report summarizes scanner evidence for pestphp/pest, a PHP project with 11,754 GitHub stars. SynthScan examined 50,004 lines of code across 672 source files, recording 81 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 79 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 75 finding(s).
Which changes need focused human review? 81 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 81 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | overrides/Logging/JUnit/JunitXmlLogger.php | 213 | public function testPrintedUnexpectedOutput(PrintedUnexpectedOutput $event): void | CODE |
| LOW | overrides/Logging/JUnit/JunitXmlLogger.php | 373 | private function handleIncompleteOrSkipped(MarkedIncomplete|Skipped $event): void | CODE |
| LOW | tests/Autoload.php | 9 | public function assertPluginTraitGotRegistered(): void | CODE |
| LOW | tests/Autoload.php | 17 | public function assertSecondPluginTraitGotRegistered(): void | CODE |
| LOW | tests/Pest.php | 84 | function removeAnsiEscapeSequences(string $input): ?string | CODE |
| LOW | tests/Unit/Plugins/Tia/NumericTableDependencies.php | 168 | function tiaAssertNumericTableGraph(string $root, array $files, array $tables, array $expected, array $selections): void | CODE |
| LOW | tests/Unit/Plugins/Tia/NumericTableDependencies.php | 198 | function tiaRemoveNumericTableProject(string $root): void | CODE |
| LOW | tests/Unit/Plugins/Tia/ResultKey.php | 41 | function tiaResultKeyTelemetryInfo(): Info | CODE |
| LOW | tests/Features/Tia/RemoteBaselineGitLab.php | 15 | function tiaPublishedBaselineGitLab(string $mode = 'ok', ?callable $mutator = null): array | CODE |
| LOW | tests/Features/Tia/LivewireComponents.php | 19 | function tiaSeedWithGeneratedViews(Project $project, array $generatedToTest): void | CODE |
| LOW | …ders/SubFolder/SubFolder/CustomTestCaseInSubFolder.php | 11 | public function assertCustomInSubFolderTrue(): void | CODE |
| LOW | src/Expectation.php | 448 | public function toHaveFileSystemPermissions(string $permissions): ArchExpectation | CODE |
| LOW | src/Expectation.php | 484 | public function toHavePropertiesDocumented(): ArchExpectation | CODE |
| LOW⚡ | src/Expectation.php | 589 | public function toHavePublicMethodsBesides(): void | CODE |
| LOW⚡ | src/Expectation.php | 599 | public function toHaveProtectedMethodsBesides(): void | CODE |
| LOW⚡ | src/Expectation.php | 609 | public function toHavePrivateMethodsBesides(): void | CODE |
| LOW | src/Expectation.php | 838 | public function toHaveSuspiciousCharacters(): ArchExpectation | CODE |
| LOW | src/Plugins/Snapshot.php | 20 | public static function shouldCreateMissingSnapshots(): bool | CODE |
| LOW | src/Plugins/Cache.php | 58 | private function hasTestRunHistoryArgument(array $arguments): bool | CODE |
| LOW | src/Plugins/Configuration.php | 41 | private function fromGeneratedConfigurationFile(): string | CODE |
| LOW | src/Plugins/Configuration.php | 58 | private function hasCustomConfigurationFile(): bool | CODE |
| LOW | src/Plugins/Coverage.php | 171 | private function computeComparableCoverage(float $coverage): float | CODE |
| LOW | src/Plugins/Parallel.php | 154 | private function hasArgumentsThatWouldBeFasterWithoutParallel(): bool | CODE |
| LOW | src/Plugins/Tia.php | 237 | private function structuralFingerprintShifted(array $current): bool | CODE |
| LOW | src/Plugins/Tia.php | 1051 | private function activateWorkerRecorderForReplay(array $arguments): array | CODE |
| LOW⚡ | src/Plugins/Tia.php | 1366 | private function emitCoverageDriverMissing(): void | CODE |
| LOW⚡ | src/Plugins/Tia.php | 1373 | private function emitCoverageScopedRecordSkipped(): void | CODE |
| LOW⚡ | src/Plugins/Tia.php | 1381 | private function emitMutationScopedRecordSkipped(): void | CODE |
| LOW | src/Plugins/Tia.php | 1412 | private function collectWorkerEdgesPartials(): array | CODE |
| LOW | src/Plugins/Tia.php | 1417 | private function reportMissingWorkerDrivers(): void | CODE |
| LOW | src/Plugins/Tia.php | 1494 | private function collectWorkerReplayPartials(): array | CODE |
| LOW | src/Plugins/Tia.php | 1499 | private function mergeWorkerReplayPartials(): void | CODE |
| LOW | src/Plugins/Tia.php | 2138 | private function hasProjectPhpSourceChanges(array $changedFiles): bool | CODE |
| LOW | src/Plugins/Tia.php | 2174 | private function tryRemoteBaselineForDrift(array $current): ?Graph | CODE |
| LOW | src/Plugins/Tia.php | 2298 | private function augmentDatabaseTestTables(array $perTestTables, array $perTestUsesDatabase, string $projectRoot): a | CODE |
| LOW | src/Plugins/Tia/CoverageMerger.php | 117 | private static function stripCurrentTestsFromCached(CodeCoverage $cached, CodeCoverage $current): void | CODE |
| LOW | src/Plugins/Tia/CoverageMerger.php | 160 | private static function dropLinesMissingFromCurrent(CodeCoverage $cached, CodeCoverage $current): void | CODE |
| LOW | src/Plugins/Tia/CoverageMerger.php | 249 | private static function coverageFromSerializedData(string $reportPath): ?CodeCoverage | CODE |
| LOW | src/Plugins/Tia/ChangedFiles.php | 27 | public function filterUnchangedSinceLastRun(array $files, array $lastRunTree): array | CODE |
| LOW | src/Plugins/Tia/ChangedFiles.php | 132 | private function filterBehaviourallyUnchanged(array $files, string $sha): array | CODE |
| LOW | src/Plugins/Tia/Graph.php | 497 | private function applyLivewireComponentChanges(array $nonMigrationPaths, array &$affectedSet): array | CODE |
| LOW | src/Plugins/Tia/Graph.php | 556 | private function isLivewireMultiFileDirectory(string $componentDirectory): bool | CODE |
| LOW | src/Plugins/Tia/Graph.php | 633 | private function applyWatchPatternFallback( | CODE |
| LOW | src/Plugins/Tia/Graph.php | 1099 | public function replaceTestInertiaComponents(array $testToComponents): void | CODE |
| LOW | src/Plugins/Tia/Graph.php | 1126 | public function replaceJsFileToComponents(array $fileToComponents): void | CODE |
| LOW | src/Plugins/Tia/Graph.php | 1165 | private function usesSiblingHeuristicForUnknownPhp(string $rel): bool | CODE |
| LOW | src/Plugins/Tia/Graph.php | 1279 | private function testSourceDeclaresArchGroup(string $rel): bool | CODE |
| LOW | src/Plugins/Tia/Graph.php | 1305 | private function affectedByStaticBladeUsage(string $changedBlade): array | CODE |
| LOW | src/Plugins/Tia/Graph.php | 1533 | private function isGlobalFrontendRuntimePath(string $rel): bool | CODE |
| LOW | src/Plugins/Tia/Graph.php | 1589 | public function pruneResultsForMissingFiles(string $branch): void | CODE |
| LOW | src/Plugins/Tia/BaselineSync.php | 319 | private function validateDownloadedArtifact(string $runCacheDir, bool $hasAnchor): array | CODE |
| LOW | src/Plugins/Parallel/Paratest/WrapperRunner.php | 514 | private static function numberOfTestsSeenByWorker(TestResult $result): int | CODE |
| LOW | src/Plugins/Parallel/Paratest/WrapperRunner.php | 522 | private static function numberOfDeprecationsByTrigger(TestResult ...$results): array | CODE |
| LOW | src/Plugins/Parallel/Paratest/WrapperRunner.php | 541 | private function generateCodeCoverageReports(): void | CODE |
| LOW | src/Plugins/Parallel/Paratest/WrapperRunner.php | 664 | private function shouldIncludeBootstrappedTestFile(string $filename): bool | CODE |
| LOW | src/Plugins/Parallel/Handlers/Laravel.php | 67 | private function ensureEnvironmentVariables(array $arguments): array | CODE |
| LOW | src/Expectations/OppositeExpectation.php | 80 | public function toHaveFileSystemPermissions(string $permissions): ArchExpectation | CODE |
| LOW | src/Expectations/OppositeExpectation.php | 117 | public function toHavePropertiesDocumented(): ArchExpectation | CODE |
| LOW | src/Expectations/OppositeExpectation.php | 241 | public function toHaveSuspiciousCharacters(): ArchExpectation | CODE |
| LOW | src/Expectations/OppositeExpectation.php | 271 | public function toHavePublicMethodsBesides(array|string $methods): ArchExpectation | CODE |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/.snapshots/success.txt | 1301 | ✓ it may have a static note | COMMENT |
| LOW | tests/.snapshots/success.txt | 1321 | // This is a runtime note within describe | COMMENT |
| LOW | tests/.snapshots/success.txt | 1341 | // This is a runtime note within a matching describe | COMMENT |
| LOW | tests/.snapshots/success.txt | 1621 | ↓ todo on describe → todo block → nested inside todo block → it should not execute | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/Features/Expect/toBeEmail.php | 8 | expect('user@example.com')->toBeEmail() | CODE |
| LOW | tests/Features/Expect/toBeEmail.php | 25 | expect('user@example.com')->not->toBeEmail(); | CODE |