swoole,easyswoole,swoole framework
This report summarizes scanner evidence for easy-swoole/easyswoole, a PHP project with 4,753 GitHub stars. SynthScan examined 5,854 lines of code across 61 source files, recording 106 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 20.2 (Elevated 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? 106 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 105 finding(s).
Which changes need focused human review? 106 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 106 distinct pattern matches across 2 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 | tests/Unit/ProcessKillTest.php | 79 | public function testInteractiveSelectionRetriesAndRequiresConfirmation(): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 97 | public function testMultipleSelectionsAreDeduplicatedAndConfirmedTogether(): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 110 | public function testChangedMultiSelectionAbortsBeforeSignallingAnyProcess(): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 134 | public function testCancellationNeverSignalsOrRefreshes(array $inputs): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 155 | public function testConfirmationShowsTheSignalBeingSent(array $options, int $signal): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 174 | public function testExplicitSelectorsKeepScriptBehavior(array $options, array $pids): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 195 | public function testProcessIdentityIsRecheckedAfterConfirmation(string $field, mixed $value): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 208 | public function testSelectedProcessDisappearingDoesNotSignal(): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 218 | public function testNonTerminalRequiresAnExplicitSelector(): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 230 | public function testEmptyProcessListDoesNotPrompt(): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 246 | public function testBridgeFailureNeverSignals(array $snapshots, array $inputs): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 257 | public function testSignalFailureIsReported(): void | CODE |
| LOW | tests/Unit/ProcessKillTest.php | 277 | public function testInvalidOptionsAreRejectedBeforeProcessLookup(array $options): void | CODE |
| LOW | tests/Unit/BridgeTest.php | 39 | public function testProcessConfigurationAndSocketUseApplicationAndMode(string $mode): void | CODE |
| LOW | tests/Unit/BridgeTest.php | 49 | public function testBridgeProcessExceptionIsForwardedToTriggerWithoutEscaping(): void | CODE |
| LOW | tests/Unit/BaseServiceTest.php | 25 | public function testManagementActionsRemainDispatchable(string $action): void | CODE |
| LOW | tests/Unit/BaseServiceTest.php | 65 | public function testTaskWorkerPidListUsesRunningTaskManager(array $status, array $expected): void | CODE |
| LOW | tests/Unit/BaseServiceTest.php | 85 | public function testTaskStatusReturnsSharedWorkerRows(): void | CODE |
| LOW | tests/Unit/DefaultCommandTest.php | 26 | public function testCommandsRegisterExpectedActions(string $class, string $name, array $actions): void | CODE |
| LOW | tests/Unit/DefaultCommandTest.php | 34 | public function testInstallRegistersDefaultActionWithoutExecutingIt(): void | CODE |
| LOW | tests/Unit/ServerManagerTest.php | 13 | public function testInitialStateAndUnknownSubServer(): void | CODE |
| LOW | tests/Unit/CoreTest.php | 42 | public function testNativeTaskWorkerSettingIsRejectedBeforeServerCreation(mixed $value): void | CODE |
| LOW | tests/Unit/CoreTest.php | 66 | public function testCustomTaskConfigurationCanReachServerCreation(): void | CODE |
| LOW | tests/Unit/ProcessSelectorTest.php | 48 | public function testSelectionAndTerminalRestoration(array $keys, array $expected): void | CODE |
| LOW | tests/Unit/ProcessSelectorTest.php | 64 | public function testReadFailureStillRestoresTerminal(): void | CODE |
| LOW⚡ | tests/Unit/ProcessSelectorTest.php | 83 | public function testUnsupportedTerminalRequestsNumberedFallback(): void | CODE |
| LOW⚡ | tests/Unit/ProcessSelectorTest.php | 91 | public function testRawModeFailureRestoresAndRequestsFallback(): void | CODE |
| LOW⚡ | tests/Unit/ProcessSelectorTest.php | 99 | public function testLabelDoesNotInterpretTerminalControlCharacters(): void | CODE |
| LOW⚡ | tests/Unit/ProcessSelectorTest.php | 116 | public function testMemoryAndWorkerStartupDetails(mixed $memory, string $formatted): void | CODE |
| LOW⚡ | tests/Unit/ProcessSelectorTest.php | 123 | public function testMissingStartupTimeIsDisplayedAsUnknown(): void | CODE |
| LOW⚡ | tests/Unit/ProcessSelectorTest.php | 129 | public function testArrowMenuShowsDetailsOnASeparateLine(): void | CODE |
| LOW⚡ | tests/Unit/EventRegisterTest.php | 22 | public function testDeclaredEventsAcceptCallbacks(string $event): void | CODE |
| LOW⚡ | tests/Unit/EventRegisterTest.php | 30 | public function testUnknownEventsAreRejected(): void | CODE |
| LOW⚡ | tests/Unit/EventRegisterTest.php | 38 | public function testHelperReplacesOrAppendsInRegistrationOrder(): void | CODE |
| LOW | tests/Unit/ProcessShowTest.php | 35 | public function testReadableGroupedListPreservesProcessDetailsAndRawData(): void | CODE |
| LOW⚡ | tests/Unit/ProcessShowTest.php | 70 | public function testMissingMetricsAreShownAsUnknown(): void | CODE |
| LOW⚡ | tests/Unit/ProcessShowTest.php | 78 | public function testEmptyListHasClearMessage(): void | CODE |
| LOW⚡ | tests/Unit/ProcessShowTest.php | 85 | public function testBridgeFailureIsNotOverwrittenByFormatting(): void | CODE |
| LOW | tests/Unit/ServerStatusTest.php | 35 | public function testReadableSectionsRetainAllMetricsAndRawData(): void | CODE |
| LOW⚡ | tests/Unit/ServerStatusTest.php | 61 | public function testEmptyRuntimeAndMissingStartTimeAreSupported(): void | CODE |
| LOW⚡ | tests/Unit/ServerStatusTest.php | 71 | public function testZeroStartTimeIsShownAsUnknown(): void | CODE |
| LOW⚡ | tests/Unit/ServerStatusTest.php | 77 | public function testRuntimePairsMetricsAndKeepsOddLastItem(): void | CODE |
| LOW | tests/Unit/ServerStatusTest.php | 96 | public function testRuntimeEvenItemsAndLongValuesDoNotOverlap(): void | CODE |
| LOW | tests/Unit/ServerStatusTest.php | 109 | public function testEnvironmentPairsOrdinaryItemsAndKeepsEachPathOnItsOwnLine(): void | CODE |
| LOW | tests/Unit/ServerStatusTest.php | 137 | public function testEnvironmentContainingOnlyPathsStillDisplaysThem(): void | CODE |
| LOW | tests/Unit/ServerStatusTest.php | 144 | public function testBridgeFailureSetsCommandFailure(): void | CODE |
| LOW | tests/Unit/ServerStatusTest.php | 160 | public function testMalformedResponseIsReported(mixed $data): void | CODE |
| LOW | tests/Unit/ServerStatusTest.php | 167 | public function testRequestExceptionIsReported(): void | CODE |
| LOW | tests/Unit/CommandUtilityTest.php | 24 | public function testDisplayValueFormatting(mixed $value, string $expected): void | CODE |
| LOW | tests/Unit/DefaultLoggerTest.php | 22 | public function testMonthlyFileAppendsEntries(?string $prefix, string $stem): void | CODE |
| LOW | tests/Unit/DefaultLoggerTest.php | 46 | public function testConsoleUsesDataAsText(string $message, string $category): void | CODE |
| LOW | tests/Unit/TriggerTest.php | 15 | public function testExplicitErrorLocationIsForwarded(): void | CODE |
| LOW | tests/Unit/TriggerTest.php | 27 | public function testAutomaticLocationPointsAtCaller(): void | CODE |
| LOW | tests/Unit/TriggerTest.php | 49 | public function testErrorCallbackOnlyInterceptsStrictFalse(mixed $result, bool $forward): void | CODE |
| LOW | tests/Unit/TriggerTest.php | 62 | public function testThrowableCallbackOnlyInterceptsStrictFalse(mixed $result, bool $forward): void | CODE |
| LOW | tests/Unit/TriggerTest.php | 74 | public function testThrowableIsForwardedWithoutCallback(): void | CODE |
| LOW | tests/Unit/AbstractCommandTest.php | 45 | public function testValidActionReceivesRequestAndResponse(string $action): void | CODE |
| LOW | tests/Unit/AbstractCommandTest.php | 66 | public function testInvalidActionReturnsCommandError(?array $args, string $action): void | CODE |
| LOW | tests/Unit/AbstractCommandTest.php | 86 | public function testMalformedInputReturnsErrorInsteadOfThrowing(mixed $args): void | CODE |
| LOW | tests/Unit/AbstractCommandTest.php | 96 | public function testPublicActionIsAvailableWithoutAnAllowlist(): void | CODE |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Core.php | 41 | // (| ^_^ |) // | COMMENT |