AI Slop Code Risk Monitor

mattermost-community/focalboard

SlopCodeMonitor badge for mattermost-community/focalboard Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for mattermost-community/focalboard, a TypeScript project with 26,533 GitHub stars. SynthScan examined 202,366 lines of code across 1254 source files, recording 179 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.0 (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.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-05-18
Last Push
26.5K
Stars
TypeScript
Language
202.4K
Lines of Code
1.3K
Files
179
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 4.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 4.6/100 · LOW

Which changes need focused human review? 179 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 0HIGH 2MEDIUM 0LOW 177

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

Over-Commented Block139 hits · 139 pts
SeverityFileLineSnippetContext
LOWwin-wpf/Focalboard/Properties/AssemblyInfo.cs21// COM, set the ComVisible attribute to true on that type.COMMENT
LOWwin-wpf/Focalboard/Properties/AssemblyInfo.cs41)]COMMENT
LOWwin-wpf/Focalboard/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWwebapp/cypress/plugins/index.js1// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.COMMENT
LOWwebapp/src/components/sidebar/sidebar.test.tsx421 </Router>COMMENT
LOWwebapp/src/components/sidebar/sidebar.test.tsx441 // {id: '3', title: 'Template 3', fields: {icon: '🚴🏻‍♂️'}},COMMENT
LOWwebapp/src/components/sidebar/sidebar.test.tsx461 // const history = createMemoryHistory()COMMENT
LOWwebapp/src/components/sidebar/sidebarBoardItem.tsx121 // the same category. Even though the server does this as well on its side,COMMENT
LOWwebapp/src/components/sidebar/sidebar.tsx121 }, [windowDimensions])COMMENT
LOW…/components/live-markdown-plugin/liveMarkdownPlugin.ts201// Maps inline styles to the provided ContentBlock's CharacterMetadata list basedCOMMENT
LOW…pp/src/components/viewHeader/viewHeaderActionsMenu.tsx21 board: BoardCOMMENT
LOW…pp/src/components/viewHeader/viewHeaderActionsMenu.tsx41// const groupByProperty = board.cardProperties.find((o) => o.id === activeView.fields.groupById)COMMENT
LOW…pp/src/components/viewHeader/viewHeaderActionsMenu.tsx61// const newCard = new Card(card)COMMENT
LOW…boardPage/backwardCompatibilityQueryParamsRedirect.tsx1// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.COMMENT
LOW…boardPage/backwardCompatibilityQueryParamsRedirect.tsx21 // if (queryCardId) {COMMENT
LOW…boardPage/backwardCompatibilityQueryParamsRedirect.tsx41 // const lastViewId = lastBoardId ? UserSettings.lastViewId[lastBoardId] : undefinedCOMMENT
LOW…boardPage/backwardCompatibilityQueryParamsRedirect.tsx61 // }COMMENT
LOWserver/auth/auth_test.go101 // ID: "testRootID",COMMENT
LOWserver/auth/auth_test.go121 // th.Store.EXPECT().GetRootID(gomock.Eq(mockContainer), "badBlock").Return("", errors.New("invalid block"))COMMENT
LOWserver/auth/auth_test.go141 // }COMMENT
LOWserver/model/compliance.go1// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.COMMENT
LOWserver/model/auth.go41 // If specified, login using emailCOMMENT
LOWserver/api/members.go21 r.HandleFunc("/boards/{boardID}/leave", a.sessionRequired(a.handleLeaveBoard)).Methods("POST")COMMENT
LOWserver/api/members.go81 // responseCOMMENT
LOWserver/api/members.go101 // - name: BodyCOMMENT
LOWserver/api/members.go201 // produces:COMMENT
LOWserver/api/members.go301 // responseCOMMENT
LOWserver/api/members.go321 // security:COMMENT
LOWserver/api/members.go381 // produces:COMMENT
LOWserver/api/members.go481 // swagger:operation DELETE /boards/{boardID}/members/{userID} deleteMemberCOMMENT
LOWserver/api/compliance.go21func (a *API) registerComplianceRoutes(r *mux.Router) {COMMENT
LOWserver/api/compliance.go41 // description: Team ID. If empty then boards across all teams are included.COMMENT
LOWserver/api/compliance.go141 }COMMENT
LOWserver/api/compliance.go161 // type: integerCOMMENT
LOWserver/api/compliance.go181 // type: integerCOMMENT
LOWserver/api/compliance.go281 if err != nil {COMMENT
LOWserver/api/compliance.go301 // in: queryCOMMENT
LOWserver/api/compliance.go321 // in: queryCOMMENT
LOWserver/api/users.go21 r.HandleFunc("/users/me/config", a.sessionRequired(a.handleGetUserPreferences)).Methods(http.MethodGet)COMMENT
LOWserver/api/users.go121 auditRec.Success()COMMENT
LOWserver/api/users.go141 // required: falseCOMMENT
LOWserver/api/users.go201 jsonBytesResponse(w, http.StatusOK, userData)COMMENT
LOWserver/api/users.go261 // - name: userIDCOMMENT
LOWserver/api/users.go321 // swagger:operation PATCH /users/{userID}/config updateUserConfigCOMMENT
LOWserver/api/users.go401 // - application/jsonCOMMENT
LOWserver/api/config.go21 // produces:COMMENT
LOWserver/api/system.go21 // ---COMMENT
LOWserver/api/files.go81}COMMENT
LOWserver/api/files.go101 // in: pathCOMMENT
LOWserver/api/files.go241 w.Header().Set("X-Frame-Options", "DENY")COMMENT
LOWserver/api/files.go261 // - name: boardIDCOMMENT
LOWserver/api/files.go321func (a *API) handleUploadFile(w http.ResponseWriter, r *http.Request) {COMMENT
LOWserver/api/files.go341 // type: stringCOMMENT
LOWserver/api/sharing.go21 r.HandleFunc("/boards/{boardID}/sharing", a.sessionRequired(a.handleGetSharing)).Methods("GET")COMMENT
LOWserver/api/sharing.go81 mlog.String("shareID", sharing.ID),COMMENT
LOWserver/api/sharing.go101 // required: trueCOMMENT
LOWserver/api/auth.go21 // personal-server specific routes. These are not needed in plugin mode.COMMENT
LOWserver/api/auth.go41 // required: trueCOMMENT
LOWserver/api/auth.go101 }COMMENT
LOWserver/api/auth.go161 // parameters:COMMENT
79 more matches not shown…
Hyper-Verbose Identifiers17 hits · 17 pts
SeverityFileLineSnippetContext
LOWexperiments/webext/src/views/OptionsApp.tsx53 function onAuthenticateButtonClicked(event: MouseEvent) {CODE
LOWwebapp/src/boardUtils.ts55export function getVisibleAndHiddenGroups(cards: Card[], visibleOptionIds: string[], hiddenOptionIds: string[], groupByPCODE
LOWwebapp/src/blocks/boardView.ts59function sortBoardViewsAlphabetically(views: BoardView[]): BoardView[] {CODE
LOWwebapp/src/blocks/board.ts200function createCardPropertiesPatches(newCardProperties: IPropertyTemplate[], oldCardProperties: IPropertyTemplate[]): BoCODE
LOWwebapp/src/blocks/board.ts288function createPatchesFromBoardsAndBlocks(updatedBoard: Board, oldBoard: Board, updatedBlockIDs: string[], updatedBlocksCODE
LOWwebapp/src/components/calendar/fullCalendar.tsx47function createDatePropertyFromCalendarDates(start: Date, end: Date): DateProperty {CODE
LOWwebapp/src/components/calendar/fullCalendar.tsx61function createDatePropertyFromCalendarDate(start: Date): DateProperty {CODE
LOW…app/src/components/cardDetail/cardDetailProperties.tsx53 function onPropertyChangeSetAndOpenConfirmationDialog(newType: PropertyType, newName: string, propertyTemplate: IProCODE
LOW…app/src/components/cardDetail/cardDetailProperties.tsx103 function onPropertyDeleteSetAndOpenConfirmationDialog(propertyTemplate: IPropertyTemplate) {CODE
LOW…rc/components/cardDetail/cardDetailProperties.test.tsx248 function openDeleteConfirmationDialog(container: HTMLElement) {CODE
LOW…rc/components/cardDetail/cardDetailProperties.test.tsx261 function onPropertyRenameNoConfirmationDialog(container: HTMLElement) {CODE
LOW…c/components/kanban/calculation/calculationOptions.tsx26export function getEquivalentPropertyType(propertyType: PropertyTypeEnum): PropertyTypeEnum {CODE
LOWwebapp/src/components/calculations/calculations.ts40function fixTimestampToMinutesAccuracy(timestamp: number) {CODE
LOWwebapp/src/components/calculations/calculations.ts268function getTimestampsFromPropertyValue(value: number | string | string[]): number[] {CODE
LOWwebapp/src/properties/date/date.tsx33export function createDatePropertyFromString(initialValue: string): DateProperty {CODE
LOWwebapp/src/properties/multiselect/multiselect.test.tsx20function buildMultiSelectPropertyTemplate(options: IPropertyOption[] = []): IPropertyTemplate {CODE
LOWimport/jira/jiraImporter.ts186function buildCardPropertyFromValues(propertyName: string, allValues: string[]) {CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHwin-wpf/Focalboard/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHwin-wpf/Focalboard/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Fake / Example Data13 hits · 13 pts
SeverityFileLineSnippetContext
LOWwebapp/cypress/integration/createBoard.ts33 cy.get('.Editable.title').invoke('attr', 'placeholder').should('contain', 'Untitled board')CODE
LOW…src/components/confirmAddUserForNotifications.test.tsx22 user={{id: 'fake-user-id', username: 'fake-username'} as IUser}CODE
LOW…src/components/confirmAddUserForNotifications.test.tsx39 user={{id: 'fake-user-id', username: 'fake-username'} as IUser}CODE
LOW…src/components/confirmAddUserForNotifications.test.tsx57 user={{id: 'fake-user-id', username: 'fake-username'} as IUser}CODE
LOWwebapp/src/components/markdownEditor.test.tsx54 placeholderText={'placeholder'}CODE
LOWwebapp/src/components/markdownEditor.test.tsx77 placeholderText={'placeholder'}CODE
LOWwebapp/src/components/markdownEditor.test.tsx100 placeholderText={'placeholder'}CODE
LOWwebapp/src/components/markdownEditor.test.tsx125 placeholderText={'placeholder'}CODE
LOW…bapp/src/components/calculations/calculations.test.tsx16 card1.fields.properties.property_text = 'lorem ipsum'CODE
LOW…bapp/src/components/calculations/calculations.test.tsx56 card4.fields.properties.property_text = 'lorem ipsum'CODE
LOWserver/services/telemetry/telemetry.go57 if !strings.Contains(rudderKey, "placeholder") && !strings.Contains(rudderDataplaneURL, "placeholder") {CODE
LOWserver/ws/server_test.go106 userID1 := "fake-user-id"CODE
LOWserver/ws/server_test.go114 userID2 := "fake-user-id2"CODE
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWwebapp/cypress/integration/manageGroups.ts58 // Step 1: Create an empty board and add a groupCOMMENT
LOWwebapp/cypress/integration/manageGroups.ts72 // Step 2: Click on the three dots next to "Group 1"COMMENT
LOW⚡webapp/cypress/integration/manageGroups.ts86 // Step 3: Click on "Hide"COMMENT
LOW⚡webapp/cypress/integration/manageGroups.ts91 // Step 4: Click "Group 1", then click "Show" in the dropdownCOMMENT
Structural Annotation Overuse4 hits · 8 pts
SeverityFileLineSnippetContext
LOWwebapp/cypress/integration/manageGroups.ts58 // Step 1: Create an empty board and add a groupCOMMENT
LOWwebapp/cypress/integration/manageGroups.ts72 // Step 2: Click on the three dots next to "Group 1"COMMENT
LOW⚡webapp/cypress/integration/manageGroups.ts86 // Step 3: Click on "Hide"COMMENT
LOW⚡webapp/cypress/integration/manageGroups.ts91 // Step 4: Click "Group 1", then click "Show" in the dropdownCOMMENT