AI Slop Code Risk Monitor

musescore/MuseScore

SlopCodeMonitor badge for musescore/MuseScore Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!

0.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for musescore/MuseScore, a C++ project with 15,337 GitHub stars. SynthScan examined 3,807,948 lines of code across 4530 source files, recording 1217 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.4 (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.

0.4
Adjusted Signal
0.4
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
15.3K
Stars
C++
Language
3.8M
Lines of Code
4.5K
Files
1.2K
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 1.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 1.8/100 · LOW

Which changes need focused human review? 1217 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 18MEDIUM 36LOW 1163

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 1217 distinct pattern matches across 11 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 Block1128 hits · 1108 pts
SeverityFileLineSnippetContext
LOWninja_build.sh1#!/usr/bin/env bashCOMMENT
LOWCMakeLists.txt1# SPDX-License-Identifier: GPL-3.0-onlyCOMMENT
LOWCMakeLists.txt61check_compile_version("AppleClang" 21 "https://github.com/musescore/MuseScore/wiki/Set-up-developer-environment")COMMENT
LOWtools/miditools/midievent.h1//=============================================================================COMMENT
LOWtools/miditools/CMakeLists.txt1# SPDX-License-Identifier: GPL-3.0-onlyCOMMENT
LOWtools/miditools/midifile.h1//=============================================================================COMMENT
LOWtools/miditools/tempomap.h1//=============================================================================COMMENT
LOWtools/miditools/xmlreader.h1//=============================================================================COMMENT
LOWtools/miditools/xmlwriter.h1//=============================================================================COMMENT
LOWtools/miditools/midifile.cpp221{COMMENT
LOWtools/bww2mxml/CMakeLists.txt1# SPDX-License-Identifier: GPL-3.0-onlyCOMMENT
LOWtools/fonttools/smufl2sym.sh1#!/bin/shCOMMENT
LOWtools/fonttools/CMakeLists.txt1# SPDX-License-Identifier: GPL-3.0-onlyCOMMENT
LOWtools/fonttools/genft.cpp21 */COMMENT
LOWtools/fonttools/genft.cpp41#include <QStringList>COMMENT
LOWtools/fonttools/genft.cpp101// { "accidentals.sharp.slashslashslash.stemstem", "accidentals.sharp.slashslashslash.stemstem" },COMMENT
LOWtools/codestyle/cherry_pick.sh1#!/usr/bin/env bashCOMMENT
LOWtools/checkheaders/iwyu.sh1#!/usr/bin/env bashCOMMENT
LOWtools/translations/process_source_ts_files.py1#!/usr/bin/env python3COMMENT
LOWtools/translations/tx_push.sh1#!/usr/bin/env bashCOMMENT
LOWtools/translations/run_lrelease.sh1#!/usr/bin/env bashCOMMENT
LOWtools/translations/run_lupdate.sh1#!/usr/bin/env bashCOMMENT
LOWtools/translations/tx_pull.sh1#!/usr/bin/env bashCOMMENT
LOWsandbox/cpad/CMakeLists.txt1# SPDX-License-Identifier: GPL-3.0-onlyCOMMENT
LOWsandbox/web_sandbox/main.cpp1#include <QGuiApplication>COMMENT
LOWhooks/uninstall.sh1#!/usr/bin/env bashCOMMENT
LOWhooks/install.sh1#!/usr/bin/env bashCOMMENT
LOW.github/workflows/build_windows.yml381 echo "DO_PLACEHOLDER_TRANSLATIONS=$DO_PLACEHOLDER_TRANSLATIONS" | tee -a $GITHUB_ENVCOMMENT
LOW.github/workflows/build_windows.yml461 bash ./buildscripts/ci/tools/osuosl/publish.sh -s "${OSUOSL_SSH_ENCRYPT_SECRET}" --os windows -v 4 --arch x86_64COMMENT
LOW.github/workflows/build_windows.yml481 # path: ${{ github.workspace }}/.ccacheCOMMENT
LOW.github/workflows/check_visual_tests.yml241 uses: actions/upload-artifact@v7COMMENT
LOWbuildscripts/packaging/Linux+BSD/mscore.1.preview.sh1#!/bin/shCOMMENT
LOWbuildscripts/ci/tools/make_build_mode_env.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/tools/make_revision_env.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/tools/make_version_env.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/tools/make_release_channel_env.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/tools/make_branch_env.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/tools/checksum.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/tools/make_artifact_name_env.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/tools/make_build_number.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/tools/osuosl/publish.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/macos/setup_keychain.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/macos/build.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/macos/package.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/translation/s3_packandsend.sh1#!/bin/bashCOMMENT
LOWbuildscripts/ci/wasm/build.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/wasm/package.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/vtests/generate_pngs.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/vtests/build_and_pack.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/release/push_file_to_s3.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/release/make_empty_release_info_file.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/release/correct_release_info.py1#!/usr/bin/env python3COMMENT
LOWbuildscripts/ci/release/get_file_from_s3.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/release/make_previous_releases_notes.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/release/collate_release_binaries.sh1#!/usr/bin/env bashCOMMENT
LOW…ipts/ci/release/append_release_to_previous_releases.py1#!/usr/bin/env python3COMMENT
LOWbuildscripts/ci/release/make_tag_name.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/release/make_release_info_file.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/backend/setup.sh1#!/usr/bin/env bashCOMMENT
LOWbuildscripts/ci/backend/check_update_config_on_s3.sh1#!/usr/bin/env bashCOMMENT
1068 more matches not shown…
Cross-Language Confusion18 hits · 112 pts
SeverityFileLineSnippetContext
HIGHshare/instruments/update_instruments_xml.py65null='[null]' # value used in TSV when attributes or tags are to be omitted in XMLCODE
HIGHshare/instruments/update_instruments_xml.py535 if tag == null or not tag:STRING
HIGHshare/instruments/generate_tsv.py19null='[null]' # value to use in TSV when data is not specified in XMLCODE
HIGHshare/instruments/generate_tsv.py50def find_text(element, tagName, default='[null]'):CODE
HIGHshare/instruments/generate_tsv.py84 name = articulation.get('name', default='[null]')CODE
HIGH⚡share/instruments/generate_tsv.py128 staffTypePreset = stafftype.get('staffTypePreset', default=null)CODE
HIGH⚡share/instruments/generate_tsv.py131 except AttributeError: minA, maxA = (null, null)CODE
HIGH⚡share/instruments/generate_tsv.py134 except AttributeError: minP, maxP = (null, null)CODE
HIGH⚡share/instruments/generate_tsv.py138 channel_name = channel.get('name', default=null)CODE
HIGH⚡share/instruments/generate_tsv.py161 'longName_it': italian[longName] if longName in italian else null,CODE
HIGH⚡share/instruments/generate_tsv.py162 'longName_de': german[longName] if longName in german else null,CODE
HIGH⚡share/instruments/generate_tsv.py164 'shortName_it': italian[shortName] if shortName in italian else null,CODE
HIGH⚡share/instruments/generate_tsv.py165 'shortName_de': german[shortName] if shortName in german else null,CODE
HIGH⚡share/instruments/generate_tsv.py167 'trackName_it': italian[trackName] if trackName in italian else null,CODE
HIGH⚡share/instruments/generate_tsv.py168 'trackName_de': german[trackName] if trackName in german else null,CODE
HIGHshare/instruments/generate_tsv.py192 'articulations': ';'.join(articulation.get('name', default=null) for articulation in instrument.findall('ArtiCODE
HIGHshare/instruments/generate_tsv.py200 name = articulation.get('name', default=null)CODE
HIGHshare/instruments/generate_tsv.py215 pitch = drum.get('pitch', default=null)CODE
Decorative Section Separators29 hits · 87 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml14# --------------------COMMENT
MEDIUMsrc/project/tests/closeprojectscenariotests.cpp138// ─── Nothing to close ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/closeprojectscenariotests.cpp156// ─── A score with no pending changes ─────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/closeprojectscenariotests.cpp229// ─── A score with unsaved changes ────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/closeprojectscenariotests.cpp310// ─── Playback ────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/closeprojectscenariotests.cpp337// ─── One close at a time ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp349// ─── Where does the score go: ask, or save silently ──────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp566// ─── One save at a time ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp612// ─── The public entry point used by the close and quit flows ─────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp679// ─── Writing to disk ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp780// ─── Saving a score that reports problems ────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp813// ─── The score became corrupted while being written ──────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp887// ─── Saving to the cloud ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp1021// ─── Up-to-date cloud details before uploading ───────────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp1073// ─── Uploading ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp1267// ─── Whether an mp3 is generated for the cloud ───────────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp1340// ─── Giving up on a corrupted score ──────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/saveprojectscenariotests.cpp1406// ─── Publishing ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp269// ─── Which kind of thing are we being asked to open ──────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp353// ─── Deciding where the score should be opened ───────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp430// ─── Which page a score opens on ─────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp476// ─── Cloud scores ────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp543// ─── One open at a time ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp572// ─── Opening from a command ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp591// ─── Downloading a cloud score ───────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp731// ─── Opening a musescore.com link ────────────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp797// ─── A file that will not load on the first try ──────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp926// ─── Unsaved work from a previous session ────────────────────────────────────COMMENT
MEDIUMsrc/project/tests/openprojectscenariotests.cpp957// ─── Can the app open this at all ────────────────────────────────────────────COMMENT
Verbosity Indicators10 hits · 20 pts
SeverityFileLineSnippetContext
LOW…ving/automation/internal/scoreautomationcontroller.cpp523 // Step 1: segment dynamics (+ tempo/pause when relevant): populates ctx.dynamicPrioritiesCOMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp580 // Step 2: spanner points (+ gradual tempo change when relevant):COMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp587 // Step 3: resolve pending tempo resets now that noRepeatTempoCurve is fully builtCOMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp590 // Step 4: fill each voice curve with any points from the base (all-voice) curve it doesn't already haveCOMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp593 // Step 5: measure repeatsCOMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp596 // Step 6: Mirror directly-authored points to repeatsCOMMENT
LOWsrc/project/internal/notationproject.cpp679 // Step 1: check writableCOMMENT
LOWsrc/project/internal/notationproject.cpp696 // Step 2: write projectCOMMENT
LOW⚡src/project/internal/notationproject.cpp772 // Step 3: create backup if needCOMMENT
LOW⚡src/project/internal/notationproject.cpp779 // Step 4: replace to saved fileCOMMENT
Structural Annotation Overuse10 hits · 20 pts
SeverityFileLineSnippetContext
LOW…ving/automation/internal/scoreautomationcontroller.cpp523 // Step 1: segment dynamics (+ tempo/pause when relevant): populates ctx.dynamicPrioritiesCOMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp580 // Step 2: spanner points (+ gradual tempo change when relevant):COMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp587 // Step 3: resolve pending tempo resets now that noRepeatTempoCurve is fully builtCOMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp590 // Step 4: fill each voice curve with any points from the base (all-voice) curve it doesn't already haveCOMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp593 // Step 5: measure repeatsCOMMENT
LOW⚡…ving/automation/internal/scoreautomationcontroller.cpp596 // Step 6: Mirror directly-authored points to repeatsCOMMENT
LOWsrc/project/internal/notationproject.cpp679 // Step 1: check writableCOMMENT
LOWsrc/project/internal/notationproject.cpp696 // Step 2: write projectCOMMENT
LOW⚡src/project/internal/notationproject.cpp772 // Step 3: create backup if needCOMMENT
LOW⚡src/project/internal/notationproject.cpp779 // Step 4: replace to saved fileCOMMENT
AI Slop Vocabulary4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUMshare/instruments/update_instruments_xml.py139# Helper functions to facilitate building the XML treeCOMMENT
MEDIUMshare/instruments/update_instruments_xml.py388# Helper functions to facilitate writing instrumentsxml.hCOMMENT
MEDIUM…nScene/percussionpanel/percussionpanelpadlistmodel.cpp179 //! NOTE: Pitch + drum name isn't exactly the most robust identifier, but this will probably change with the newCOMMENT
MEDIUMsrc/engraving/dom/realizedharmony.cpp122 case Voicing::AUTO: //auto is close voicing for now since it is the most robustCODE
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/harmony_to_diagram/parse_mscx.py5def extract_fret_harmony_pairs(mscx_path):CODE
LOWtools/harmony_to_diagram/parse_mscx.py31def remove_barre_overlapping_dots(fret_elem, offset):CODE
LOWtools/harmony_to_diagram/parse_mscx.py47def extract_pattern_from_fretdiagram(fret_elem):CODE
LOWshare/instruments/update_instruments_xml.py68def download_google_spreadsheet(sheet):CODE
LOWshare/instruments/update_instruments_xml.py116def google_spreadsheet_to_indexed_dict(sheet, headers_row, primary_index_col, secondary_index_col=None):CODE
LOWshare/instruments/update_instruments_xml.py399def add_translatable_string_if_not_null(f: io.TextIOWrapper, context: str, text: str, disambiguation: str = '', comment:CODE
Excessive Try-Catch Wrapping3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtools/translations/process_source_ts_files.py65 eprint(f'Error in translatable string: "{message.find("source").text}"')CODE
MEDIUMshare/instruments/update_instruments_xml.py29 eprint(f"Error: Encoding is '{encoding}': Python is not running in UTF-8 mode.")CODE
MEDIUMshare/instruments/generate_tsv.py10 eprint(f"Error: Encoding is '{encoding}': Python is not running in UTF-8 mode.")CODE
Slop Phrases4 hits · 5 pts
SeverityFileLineSnippetContext
LOWbuildscripts/ci/tools/osuosl/publish.sh98 : # Do nothing. zsync file is in the right place on OSUOSL, but don't forget to upload it to GitHub ReleasesCODE
LOWbuildscripts/ci/tools/osuosl/publish.sh98 : # Do nothing. zsync file is in the right place on OSUOSL, but don't forget to upload it to GitHub ReleasesCODE
LOWsrc/notationscene/inotationcommandscontroller.h44 //! Don't forget to reset the current view controller when deleting, but only if it is the current one.COMMENT
LOWsrc/engraving/rendering/score/tlayout.cpp2549 // When changing how bbox is calculated, don't forget to update the centerX and rightX methods too.COMMENT
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/harmony_to_diagram/parse_mscx.py31CODE
LOWtools/harmony_to_diagram/parse_mscx.py47CODE
LOWtools/harmony_to_diagram/parse_mscx.py139CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/translations/run_lupdate.sh22# Usage:COMMENT
LOWsrc/engraving/api/v1/style.h38/// Usage example:COMMENT