AI Slop Code Risk Monitor

flarum/framework

SlopCodeMonitor badge for flarum/framework Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for flarum/framework. SynthScan examined 311,794 lines of code across 3791 source files, recording 270 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.3 (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.3
Adjusted Signal
1.3
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
311.8K
Lines of Code
3.8K
Files
270
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 2.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 4.8/100 · LOW

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

PR Review Velocity Impact 6.1/100 · LOW

Which changes need focused human review? 270 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

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.

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 1HIGH 0MEDIUM 56LOW 213

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 270 distinct pattern matches across 7 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.

Decorative Section Separators56 hits · 165 pts
SeverityFileLineSnippetContext
MEDIUMframework/core/less/admin/AnnouncementsPage.less1// ── Widget wrapper ────────────────────────────────────────────────────────────COMMENT
MEDIUMframework/core/less/admin/AnnouncementsPage.less49// ── List (responsive wrapping grid) ──────────────────────────────────────────COMMENT
MEDIUMframework/core/less/admin/AnnouncementsPage.less118// ── Item card ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less28// ── tabs ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less39// ── the shared card ──────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less72// ── Flarum itself ────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less136// ── the row above the extension grid ─────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less157// ── extension cards ──────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less312// ── chips ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less335// ── "update available" ───────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less366// ── the banner's list of what is actually out of date ────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less400// ── search ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less454// ── a run in progress ────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less642// ── this host ────────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less683// ── the dashboard banner ─────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less701// ── Sources: repositories, stability, credentials ────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less738// ── the rows ────────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less817// ── the footer where things are added ───────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less851// ── the callout ─────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less885// ── rollback copies ─────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less932// ── the command-line PHP setting (This host) ─────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less954// ── Sources, redesigned ──────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less1626// ── recent updates ───────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less1677// ── release notes modal ──────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/less/admin.less1711// ── alerts and confirmations ─────────────────────────────────────────────────COMMENT
MEDIUM…package-manager/js/src/admin/components/SourcesTab.tsx117 // ── at a glance ─────────────────────────────────────────────────────────COMMENT
MEDIUM…package-manager/js/src/admin/components/SourcesTab.tsx172 // ── repositories ────────────────────────────────────────────────────────COMMENT
MEDIUM…package-manager/js/src/admin/components/SourcesTab.tsx398 // ── stability ───────────────────────────────────────────────────────────COMMENT
MEDIUM…package-manager/js/src/admin/components/SourcesTab.tsx479 // ── credentials ─────────────────────────────────────────────────────────COMMENT
MEDIUM…package-manager/js/src/admin/components/SourcesTab.tsx741 // ── plumbing ────────────────────────────────────────────────────────────COMMENT
MEDIUM…sions/package-manager/tests/unit/CrashRecoveryTest.php168 // ── helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/RepinTest.php47 // ── what the SERVER will allow ───────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/RepinTest.php120 // ── what the RUN actually writes ─────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/RepinTest.php164 // ── and that the permission actually travels ─────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/RepinTest.php220 // ── helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/PruneTest.php134 // ── what is kept ──────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/PruneTest.php226 // ── what is removed ───────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/PruneTest.php263 // ── fails closed ──────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/PruneTest.php302 // ── the deletion itself ───────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/PruneTest.php377 // ── the end-to-end promise ────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/PruneTest.php420 // ── settings and wiring ───────────────────────────────────────────────────COMMENT
MEDIUM…nsions/package-manager/tests/unit/ResumabilityTest.php183 // ── helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUM…s/package-manager/tests/unit/InProcessComposerTest.php74 // ── runner selection ────────────────────────────────────────────────COMMENT
MEDIUM…s/package-manager/tests/unit/InProcessComposerTest.php101 // ── state restoration ───────────────────────────────────────────────COMMENT
MEDIUM…s/package-manager/tests/unit/InProcessComposerTest.php175 // ── the VCS-needs-git refusal ───────────────────────────────────────COMMENT
MEDIUM…s/package-manager/tests/unit/InProcessComposerTest.php247 // ── a real in-process resolve, no network ───────────────────────────COMMENT
MEDIUM…s/package-manager/tests/unit/InProcessComposerTest.php319 // ── post-swap steps run only on fresh code ──────────────────────────COMMENT
MEDIUM…s/package-manager/tests/unit/InProcessComposerTest.php380 // ── helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUM…tensions/package-manager/tests/unit/StepRunnerTest.php254 // ── helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUM…sions/package-manager/tests/unit/UpdateCommandTest.php56 // ── what it refuses ──────────────────────────────────────────────────────COMMENT
MEDIUM…sions/package-manager/tests/unit/UpdateCommandTest.php226 // ── what it does ─────────────────────────────────────────────────────────COMMENT
MEDIUM…sions/package-manager/tests/unit/UpdateCommandTest.php423 // ── helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/ConfigTest.php53 // ── credentials ─────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/ConfigTest.php113 // ── repositories ────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/ConfigTest.php203 // ── stability ───────────────────────────────────────────────────────────COMMENT
MEDIUMextensions/package-manager/tests/unit/ConfigTest.php236 // ── the file itself ─────────────────────────────────────────────────────COMMENT
Hyper-Verbose Identifiers142 hits · 142 pts
SeverityFileLineSnippetContext
LOW…ore/js/dist-typings/common/utils/fontAwesomeIcons.d.ts33export declare function fetchUnreadableStylesheets(assetsBaseUrl: string | null | undefined): Promise<void> | null;CODE
LOW…st-typings/common/utils/setRouteWithForcedRefresh.d.ts8export default function setRouteWithForcedRefresh(route: string, params?: null, options?: Mithril.RouteOptions): void;CODE
LOW…rk/core/js/src/admin/components/PermissionDropdown.tsx17function filterByRequiredPermissions(groupIds: string[], permission: string) {CODE
LOWframework/core/js/src/forum/components/ReplyComposer.js9function minimizeComposerIfFullScreen(e) {CODE
LOW…ework/core/js/src/forum/components/EditPostComposer.js8function minimizeComposerIfFullScreen(e) {CODE
LOWframework/core/js/src/common/utils/styleSelectedText.ts119function newlinesToSurroundSelectedText(textarea: HTMLTextAreaElement): Newlines {CODE
LOW…/core/js/src/common/utils/setRouteWithForcedRefresh.ts9export default function setRouteWithForcedRefresh(route: string, params = null, options: Mithril.RouteOptions = {}) {CODE
LOWframework/core/js/src/common/utils/fontAwesomeIcons.ts247export function fetchUnreadableStylesheets(assetsBaseUrl: string | null | undefined): Promise<void> | null {CODE
LOWframework/core/js/src/common/helpers/listItems.tsx36function withoutUnnecessarySeparators(items: ModdedChildrenWithItemName[]): ModdedChildrenWithItemName[] {CODE
LOW…/unit/Foundation/ExtensionDependencyResolutionTest.php244 public function getExtensionDependencyIds()CODE
LOWframework/core/tests/unit/Queue/RoutingQueueTest.php90 public function creationTimeOfOldestPendingJob($queue = null)CODE
LOW…ork/core/tests/integration/extenders/ValidatorTest.php21 private function extendToRequireLongPassword(): voidCODE
LOW…ork/core/tests/integration/extenders/ValidatorTest.php33 private function extendToRequireLongPasswordViaInvokableClass(): voidCODE
LOW…work/core/tests/integration/forum/GlobalLogoutTest.php78 public static function canGloballyLogoutDataProvider(): arrayCODE
LOW…e/tests/integration/queue/QueueServiceProviderTest.php238 public function creationTimeOfOldestPendingJob($queue = null)CODE
LOW…sts/integration/queue/NotificationQueueRoutingTest.php204 public function creationTimeOfOldestPendingJob($queue = null)CODE
LOW…re/tests/integration/api/settings/MailSettingsTest.php35 public function smtpDriverWithWhitespaceIsInvalidated()CODE
LOW…re/tests/integration/api/settings/MailSettingsTest.php72 public function smtpDriverWithValidSettingsIsNotInvalidated()CODE
LOW…re/tests/integration/api/settings/MailSettingsTest.php96 public function mailgunDriverWithWhitespaceIsInvalidated()CODE
LOW…re/tests/integration/api/settings/MailSettingsTest.php125 public function mailgunDriverWithValidSettingsIsNotInvalidated()CODE
LOWframework/core/tests/integration/api/posts/ListTest.php48 private function forbidGuestsFromSeeingForum()CODE
LOW…/core/tests/integration/api/access_tokens/ListTest.php124 public static function canViewTokensDataProvider(): arrayCODE
LOW…/core/tests/integration/api/access_tokens/ListTest.php139 public static function cannotSeeTokenValuesDataProvider(): arrayCODE
LOW…/core/tests/integration/api/access_tokens/ListTest.php160 public static function needsPermissionToUseUserfilterDataProvider(): arrayCODE
LOW…ore/tests/integration/api/access_tokens/DeleteTest.php181 public static function canDeleteTokensDataProvider(): arrayCODE
LOW…ore/tests/integration/api/access_tokens/DeleteTest.php196 public static function cannotDeleteTokensDataProvider(): arrayCODE
LOW…tests/integration/api/access_tokens/PermissionTest.php81 public static function usersWithPermissionDataProvider(): arrayCODE
LOW…tests/integration/api/access_tokens/PermissionTest.php89 public static function usersWithoutPermissionDataProvider(): arrayCODE
LOW…k/core/tests/integration/api/users/GroupSearchTest.php223 private function createMultipleUsersAndGroups()CODE
LOWframework/core/tests/integration/api/users/ShowTest.php35 private function forbidGuestsFromSeeingForum()CODE
LOWframework/core/tests/integration/api/users/ShowTest.php40 private function forbidMembersFromSearchingUsers()CODE
LOW…mework/core/tests/integration/api/users/DeleteTest.php80 public static function unauthorizedUsersProvider()CODE
LOW…/core/tests/integration/api/notifications/ListTest.php305 protected function seedRenamedDiscussionNotifications(int $count): voidCODE
LOW…ore/tests/integration/api/notifications/DeleteTest.php67 public static function canDeleteAllNotifications(): arrayCODE
LOW…work/core/tests/integration/slugger/SlugDriverTest.php87 public static function fromUserSlugVariantsDataProvider(): arrayCODE
LOW…work/core/tests/integration/slugger/SlugDriverTest.php96 public static function slugInstancePairDataProvider(): arrayCODE
LOW…sts/integration/console/InfoCommandMemoryLimitTest.php56 protected function webServerMemoryLimitFiles(): arrayCODE
LOW…sts/integration/console/InfoCommandMemoryLimitTest.php61 protected function webServerMemoryLimitConfDirs(): arrayCODE
LOWframework/core/src/Database/Migrator.php167 protected function resolveAndRunClosureMigration(string $path, string $file, string $direction = 'up'): voidCODE
LOWframework/core/src/Database/AbstractModel.php159 public function releaseAfterSaveCallbacks(): arrayCODE
LOWframework/core/src/Database/AbstractModel.php171 public function releaseAfterDeleteCallbacks(): arrayCODE
LOWframework/core/src/Extend/Frontend.php363 private function registerDocumentAttributes(Container $container): voidCODE
LOW…work/core/src/Install/Controller/InstallController.php115 private function getConfirmedAdminPassword(array $input): stringCODE
LOWframework/core/src/Post/Post.php135 public function scopeWhereVisibleToInDiscussion(Builder $query, User $actor, Discussion $discussion): BuilderCODE
LOWframework/core/src/Extension/ExtensionManager.php576 protected function subExtensionConfsFromJson(array $package, string $packagePath): ?arrayCODE
LOWframework/core/src/Extension/Extension.php325 public function getExtensionDependencyIds(): arrayCODE
LOWframework/core/src/Frontend/Compiler/LessCompiler.php430 private function applyImportOverridesToContent(string $content): stringCODE
LOWframework/core/src/Notification/Notification.php105 public function scopeWhereSubjectVisibleTo(Builder $query, User $actor): BuilderCODE
LOWframework/core/src/Foundation/Application.php91 protected function registerBaseServiceProviders(): voidCODE
LOWframework/core/src/Foundation/Application.php211 public function registerCoreContainerAliases(): voidCODE
LOWframework/core/src/Foundation/Config.php81 public function sessionCookieExpiresOnClose(): ?boolCODE
LOW…mework/core/src/Foundation/ApplicationInfoProvider.php117 public function identifyDatabaseDriverMismatch(): ?stringCODE
LOW…mework/core/src/Foundation/ApplicationInfoProvider.php147 public function identifyDatabaseVersionStatus(): ?arrayCODE
LOW…/core/src/Foundation/Concerns/InteractsWithLaravel.php150 public function registerConfiguredProviders(): voidCODE
LOWframework/core/src/Foundation/Console/InfoCommand.php201 private function detectWebServerPhpVersion(): ?stringCODE
LOWframework/core/src/Foundation/Console/InfoCommand.php242 protected function webServerMemoryLimitFiles(): arrayCODE
LOWframework/core/src/Foundation/Console/InfoCommand.php268 protected function webServerMemoryLimitConfDirs(): arrayCODE
LOWframework/core/src/Foundation/Console/InfoCommand.php283 protected function detectWebServerMemoryLimit(): ?stringCODE
LOWframework/core/src/User/UserServiceProvider.php73 protected function registerDisplayNameDrivers(): voidCODE
LOWframework/core/src/User/User.php305 public function getHasUploadedAvatarAttribute(): boolCODE
82 more matches not shown…
Fake / Example Data32 hits · 36 pts
SeverityFileLineSnippetContext
LOW…re/js/tests/integration/common/gambits/IGambit.test.ts255 expect(gambit.toFilter(['email:foo@bar.com', 'foo@bar.com'], false)).toStrictEqual({ email: 'foo@bar.com' });CODE
LOW…re/js/tests/integration/common/gambits/IGambit.test.ts259 expect(gambit.fromFilter('foo@bar.com', false)).toBe('email:foo@bar.com');CODE
LOW…e/js/tests/integration/common/components/Input.test.ts23 expect(input).toHaveElementAttr('input', 'placeholder', 'Lorem');CODE
LOW…ore/js/dist-typings/common/components/SearchModal.d.ts53 * @example `lorem ipsum is:unread dolor` => `lorem ipsum <mark>is:unread</mark> dolor`COMMENT
LOWframework/core/js/src/common/components/SearchModal.tsx234 * @example `lorem ipsum is:unread dolor` => `lorem ipsum <mark>is:unread</mark> dolor`COMMENT
LOWframework/core/tests/unit/Locale/TranslatorTest.php37 $this->assertSame("test1 ' test1", $translator->trans('test1', ['placeholder' => "'"]));CODE
LOWframework/core/tests/unit/Locale/TranslatorTest.php38 $this->assertSame("test1 test2 ' test2 test1", $translator->trans('test1', ['placeholder' => $translator->trans(CODE
LOWframework/core/tests/unit/Locale/TranslatorTest.php62 $this->assertSame("test1 ' {placeholder} test1", $translator->trans('test3', ['placeholder' => "'"]));CODE
LOW…ore/tests/unit/Notification/NotificationMailerTest.php65 $token->token = 'fake-token';CODE
LOW…ore/tests/unit/Notification/NotificationMailerTest.php133 $user->shouldReceive('getAttribute')->with('email')->andReturn('user@example.com');CODE
LOW⚡framework/core/tests/unit/Mail/MailerTest.php84 $this->users->shouldReceive('findByEmail')->with('user@example.com')->andReturn(null);CODE
LOW⚡framework/core/tests/unit/Mail/MailerTest.php91 return $context['recipient_email'] === 'user@example.com'CODE
LOW⚡framework/core/tests/unit/Mail/MailerTest.php92 && $context['recipient_name'] === 'Jane Doe'CODE
LOW⚡framework/core/tests/unit/Mail/MailerTest.php102 ['userEmail' => 'user@example.com', 'username' => 'Jane Doe'],CODE
LOW⚡framework/core/tests/unit/Mail/MailerTest.php102 ['userEmail' => 'user@example.com', 'username' => 'Jane Doe'],CODE
LOWframework/core/tests/unit/Mail/MailerTest.php113 $this->users->shouldReceive('findByEmail')->with('user@example.com')->andReturn($user);CODE
LOWframework/core/tests/unit/Mail/MailerTest.php121 && $event->recipientEmail === 'user@example.com';CODE
LOWframework/core/tests/unit/Mail/MailerTest.php141 ['userEmail' => 'user@example.com', 'username' => 'Jane Doe'],CODE
LOWframework/core/tests/unit/Mail/MailerTest.php141 ['userEmail' => 'user@example.com', 'username' => 'Jane Doe'],CODE
LOW…mework/core/tests/unit/Forum/Auth/RegistrationTest.php29 $this->registration->provide('email', 'user@example.com');CODE
LOW…mework/core/tests/unit/Forum/Auth/RegistrationTest.php32 $this->assertEquals(['email' => 'user@example.com', 'username' => 'testuser'], $this->registration->getProvided(CODE
LOW…/tests/integration/mail/PlainTextEmailEscapingTest.php42 'userEmail' => 'admin@example.com',CODE
LOW…/tests/integration/mail/PlainTextEmailEscapingTest.php83 $view->share(['forumTitle' => 'Test Forum', 'userEmail' => 'admin@example.com', 'username' => 'Admin']);CODE
LOW…/integration/mail/AbandonedExtensionsEmailBodyTest.php42 'userEmail' => 'admin@example.com',CODE
LOWframework/core/src/Install/Console/FileDataProvider.php91 $this->adminUser['email'] ?? 'admin@example.com'CODE
LOW…sts/integration/api/RegisterWithRandomUsernameTest.php52 'nickname' => 'John Doe',CODE
LOW…sts/integration/api/RegisterWithRandomUsernameTest.php70 $this->assertEquals('John Doe', $user->nickname);CODE
LOW…sts/integration/api/RegisterWithRandomUsernameTest.php82 'nickname' => 'John Doe',CODE
LOW…/integration/api/RegisterWithoutRandomUsernameTest.php54 'nickname' => 'John Doe',CODE
LOW…/integration/api/RegisterWithoutRandomUsernameTest.php79 'nickname' => 'John Doe',CODE
LOW…/integration/api/RegisterWithoutRandomUsernameTest.php94 $this->assertEquals('John Doe', $user->nickname);CODE
LOW…ensions/nicknames/tests/integration/api/SearchTest.php32 ['id' => 2, 'username' => 'jd123', 'nickname' => 'Jane Doe', 'email' => 'jd@machine.local', 'is_email_coCODE
Over-Commented Block35 hits · 34 pts
SeverityFileLineSnippetContext
LOWframework/core/less/common/Iconography.less1// Which glyph each icon is, and how icons size, stack and spin. This names noCOMMENT
LOWframework/core/less/common/App.less381 // positioned but still descend from this element, so any non-visibleCOMMENT
LOWframework/core/less/common/App.less401 .Header-title {COMMENT
LOWframework/core/less/common/mixins/clearfix.less1// ClearfixCOMMENT
LOWframework/core/js/tsconfig.json1// NOTE:COMMENT
LOW…ore/js/tests/unit/forum/states/PostStreamState.test.ts61 return ids.map((id) => app.store.getById<Post>('posts', id)!);COMMENT
LOW…ework/core/js/tests/unit/common/ExportRegistry.test.ts181 } finally {COMMENT
LOW…re/js/tests/integration/common/gambits/IGambit.test.ts361COMMENT
LOWframework/core/js/src/forum/components/PostStream.js561 // target post out of view. During settling, a ResizeObserver watches forCOMMENT
LOW…tests/integration/mail/SafeSubstitutionRestoreTest.php121COMMENT
LOWframework/core/tests/integration/forum/LogoutTest.php81 // We need a fresh app instance that doesn't exempt the logout route, so weCOMMENT
LOWframework/core/src/Frontend/FrontendServiceProvider.php121 $fontAwesome = $container->make(FontAwesome::class);COMMENT
LOW…mework/core/src/Frontend/Compiler/RevisionCompiler.php61 // Render the output once and derive the revision from it. The revisionCOMMENT
LOWframework/core/src/Frontend/Compiler/LessCompiler.php101 // here would refuse those too.COMMENT
LOWframework/core/src/Notification/Notification.php161 $data = $attributes['data'];COMMENT
LOWframework/core/src/Mail/MailServiceProvider.php121 $views->share('logoUrl', $logoPath ? $filesystemFactory->disk('flarum-assets')->url($logoPath) : null);COMMENT
LOWframework/core/src/Forum/ValidateCustomLess.php61 // the compile still returns 422 but leaves the value stored, whereasCOMMENT
LOW…ork/core/src/Api/Endpoint/Concerns/HasEagerLoading.php201 // instead of it.COMMENT
LOWframework/core/src/Api/Resource/DiscussionResource.php241 ->get(function (Discussion $discussion, Context $context) {COMMENT
LOWframework/core/src/Api/Resource/UserResource.php401 // Whether a user is an admin, and what else they may do, isCOMMENT
LOWextensions/package-manager/less/admin.less1// The Extension Manager — adminCOMMENT
LOW…s/sticky/tests/integration/api/ListDiscussionsTest.php281 // Natural last_posted_at order — no sticky pinning on a non-tag filter.COMMENT
LOW…integration/api/discussions/SubscriptionFilterTest.php221 $this->assertEmpty($ids, 'An unrecognised subscription value should return no results, not crash');COMMENT
LOW…ts/integration/visibility/DiscussionVisibilityTest.php141COMMENT
LOWextensions/realtime/js/src/forum/extend/DialogList.ts1// Dialog list realtime integration (new messages, typing indicator) has movedCOMMENT
LOWextensions/realtime/js/src/forum/extend/Application.ts141 // updates go missing until the page is reloaded. iOS also bfcaches pagesCOMMENT
LOWextensions/realtime/js/src/forum/extend/Application.ts161 // strategy tree and a full `livesLeft`, making the recovery surviveCOMMENT
LOWextensions/realtime/js/src/forum/extend/Post.ts1// Flag realtime integration has moved to flarum/flags. That extension registersCOMMENT
LOW…ions/realtime/js/src/forum/extend/Tags/IndexTyping.tsx41 // Surface a dot on the relevant tags while someone is composing a NEW discussionCOMMENT
LOWextensions/realtime/src/Push/NotificationDriver.php21 // in core's own queued Notification\Job\SendNotificationsJob). Dispatching the broadcastCOMMENT
LOWextensions/realtime/src/Push/Payload/Generator.php101 // relationship is only usable if the record it points at isCOMMENT
LOW…sions/nicknames/tests/integration/api/EditUserTest.php181COMMENT
LOWextensions/deck/less/forum.less1// Deck lays out core's own components (DiscussionList, NotificationList,COMMENT
LOWextensions/approval/less/forum.less1// A pending post reads as de-emphasised in its entirety, as it always has. WhatCOMMENT
LOW.github/workflows/REUSABLE_backend.yml161 COMPOSER_ROOT_VERSION: dev-mainCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALextensions/mentions/js/src/forum/utils/reply.js30 if (app.composer.bodyMatches('flarum/forum/components/EditPostComposer') && app.composer.body.attrs.post.discussion() CODE
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWframework/core/js/src/common/Model.ts129 // For every relationship field, we need to check if we'veCOMMENT
LOW…/core/src/Frontend/Compiler/Source/SourceCollector.php73 // so we need to check if the $source is an instance of one of those classes/interfaces (could be a parent classCOMMENT
LOWextensions/flags/src/AuditIntegration.php46 // Because flarum/flags calls this every time a post is deleted, we need to check if there were actual flagsCOMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWframework/core/src/Foundation/Console/InfoCommand.php106 "Don't forget to turn off debug mode! It should never be turned on in a production system."CODE