AI Slop Code Risk Monitor

nWidart/laravel-modules

SlopCodeMonitor badge for nWidart/laravel-modules Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nWidart/laravel-modules. SynthScan examined 38,635 lines of code across 469 source files, recording 68 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.9 (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.

1.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
38.6K
Lines of Code
469
Files
68
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 8.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 66 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

Are imports declared and package/API names verified? 2 finding(s).

Agent Over-Engineering Ratio 6.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 52 finding(s).

PR Review Velocity Impact 8.7/100 · LOW

Which changes need focused human review? 68 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 1LOW 67

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 68 distinct pattern matches across 4 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.

Hyper-Verbose Identifiers52 hits · 54 pts
SeverityFileLineSnippetContext
LOWtests/Migrations/MigratorTest.php102 private function supportSchemaTransactions(): voidCODE
LOWtests/Commands/Database/MigrateRollbackCommandTest.php251 private function supportSchemaTransactions(): voidCODE
LOWtests/Commands/Make/ModuleMakeCommandTest.php935 private function moveClassGeneratorPathsTo(string $folder): voidCODE
LOWtests/Commands/Make/ModuleMakeCommandTest.php1301 private function assertModuleWasNotCreated(string $name): voidCODE
LOWtests/Commands/Make/JobMiddlewareMakeCommandTest.php157 private function withoutJobMiddlewareConfig(): voidCODE
LOW…st__test_it_generated_correct_file_with_content__1.txt26 protected function configureEmailVerification(): void {}CODE
LOW…CommandTest__test_it_generates_module_resources__2.txt26 protected function configureEmailVerification(): void {}CODE
LOWtests/Commands/Actions/ListCommandsTest.php237 private function getNamespaceFromDirectory(string $directory): stringCODE
LOWtests/Commands/Actions/ListCommandTest.php90 private function assertModulesListedInOrder(array $expected, string $output): voidCODE
LOWtests/Process/Concerns/CreatesLocalGitRepository.php56 protected function addBranchToBareRepository(string $branch, string $from = 'main'): voidCODE
LOWsrc/Traits/MigrationLoaderTrait.php30 protected function getMigrationGeneratorPath(): stringCODE
LOWsrc/Facades/Module.php41 public static function prohibitDestructiveCommands(bool $prohibit = true): voidCODE
LOWsrc/Commands/BaseCommand.php208 protected function promptForMissingArguments(InputInterface $input, OutputInterface $output): voidCODE
LOWsrc/Commands/Publish/PublishConfigurationCommand.php46 private function getServiceProviderForModule(string $module): stringCODE
LOWsrc/Commands/Make/JobMiddlewareMakeCommand.php69 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/ServiceMakeCommand.php69 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/ActionMakeCommand.php69 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/ExceptionMakeCommand.php70 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/ModuleMakeCommand.php120 protected function promptForMissingArgumentsUsing(): arrayCODE
LOWsrc/Commands/Make/ReplacementMakeCommand.php71 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/EventProviderMakeCommand.php62 protected function getEventServiceProviderName(): array|stringCODE
LOWsrc/Commands/Make/EventProviderMakeCommand.php67 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/RepositoryMakeCommand.php69 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/EnumMakeCommand.php68 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/InterfaceMakeCommand.php68 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/ComponentClassMakeCommand.php52 protected function writeComponentViewTemplate()CODE
LOWsrc/Commands/Make/ScopeMakeCommand.php68 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/CastMakeCommand.php68 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/ControllerMakeCommand.php116 private function getControllerNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/HelperMakeCommand.php69 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Make/ModelMakeCommand.php124 protected function handleOptionalMigrationOption(): voidCODE
LOWsrc/Commands/Make/ModelMakeCommand.php135 protected function handleOptionalControllerOption(): voidCODE
LOWsrc/Commands/Make/ModelMakeCommand.php150 protected function handleOptionalFactoryOption(): voidCODE
LOWsrc/Commands/Make/ModelMakeCommand.php163 protected function handleOptionalRequestOption(): voidCODE
LOWsrc/Commands/Make/ModelMakeCommand.php178 protected function handleOptionalResourceOption(): voidCODE
LOWsrc/Commands/Make/ModelMakeCommand.php208 protected function handleOptionalPolicyOption(): voidCODE
LOWsrc/Commands/Make/TraitMakeCommand.php68 private function getClassNameWithoutNamespace(): stringCODE
LOWsrc/Commands/Actions/ModelShowCommand.php81 protected function promptForMissingArgumentsUsing(): arrayCODE
LOWsrc/Commands/Actions/ModelPruneCommand.php65 protected function promptForMissingArguments(InputInterface $input, OutputInterface $output): voidCODE
LOWsrc/Commands/Actions/ListCommands.php209 protected function getDirectoryFromNamespace(string $namespace): stringCODE
LOWsrc/Generators/ModuleGenerator.php490 private function validateGeneratorPathsAtModuleRoot(): boolCODE
LOWsrc/Generators/ModuleGenerator.php543 private function composerJsonUsesAppFolder(): boolCODE
LOWsrc/Generators/ModuleGenerator.php926 private function filterModuleJsonProviders(callable $keep): voidCODE
LOWsrc/Generators/ModuleGenerator.php967 protected function getPluralLowerNameReplacement(): stringCODE
LOWsrc/Generators/ModuleGenerator.php988 protected function getPluralStudlyNameReplacement(): stringCODE
LOWsrc/Generators/ModuleGenerator.php996 protected function getPluralUpperNameReplacement(): stringCODE
LOWsrc/Generators/ModuleGenerator.php1012 protected function getModuleNamespaceReplacement(): stringCODE
LOWsrc/Generators/ModuleGenerator.php1020 private function getControllerNamespaceReplacement(): stringCODE
LOW⚡src/Generators/ModuleGenerator.php1040 protected function getAuthorEmailReplacement(): stringCODE
LOW⚡src/Generators/ModuleGenerator.php1048 protected function getAppFolderNameReplacement(): stringCODE
LOW⚡src/Generators/ModuleGenerator.php1053 protected function getProviderNamespaceReplacement(): stringCODE
LOWsrc/Process/Updater.php72 private function copyScriptsToMainComposerJson(Module $module): voidCODE
Over-Commented Block13 hits · 13 pts
SeverityFileLineSnippetContext
LOW…dTest__test_it_can_change_the_default_namespace__1.txt41 */COMMENT
LOW…rovider_is_enable_and_route_provider_is_disable__1.txt41 // protected function configureSchedules(Schedule $schedule): voidCOMMENT
LOW…uleMakeCommandTest__test_it_generates_vite_file__1.txt21 ],COMMENT
LOW…with_resources_when_adding_more_than_one_option__1.txt41 */COMMENT
LOW…st_it_can_change_the_default_namespace_specific__1.txt41 */COMMENT
LOW…st__test_it_generates_web_module_with_resources__1.txt41 */COMMENT
LOW…st__test_it_generates_api_module_with_resources__1.txt41 */COMMENT
LOW…provider_is_enable_and_route_provider_is_enable__1.txt41 */COMMENT
LOW…rovider_is_enable_and_event_provider_is_disable__1.txt41 // protected function configureSchedules(Schedule $schedule): voidCOMMENT
LOW…_have_custom_migration_resources_location_paths__1.txt41 */COMMENT
LOW…a_master_service_provider_with_resource_loading__1.txt41 */COMMENT
LOW…CommandTest__test_it_generates_module_resources__1.txt41 */COMMENT
LOW…it_generates_module_namespace_using_studly_case__1.txt41 */COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…es/1/skill/laravel-modules-development/SKILL.blade.php19 ### Creating a ModuleCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/Support/Migrations/SchemaParserTest.php178 $parser = new SchemaParser("username:string:default('John Doe'), age:integer:unsigned");CODE
LOWtests/Support/Migrations/SchemaParserTest.php181 'username' => ['string', "default('John Doe')"],CODE