AI Slop Code RIsk Monitor

MarlinFirmware/Marlin

Marlin is a firmware for RepRap 3D printers optimized for both 8 and 32 bit microcontrollers. Marlin supports all common platforms. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.

11.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for MarlinFirmware/Marlin, a C++ project with 17,617 GitHub stars. SynthScan examined 701,187 lines of code across 3223 source files, recording 8694 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 11.6 (Moderate 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.

11.6
Adjusted Signal
11.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
17.6K
Stars
C++
Language
701.2K
Lines of Code
3.2K
Files
8.7K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 42.9/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 1.4/100 · LOW

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

PR Review Velocity Impact 47.1/100 · MEDIUM

Which changes need focused human review? 8694 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 28MEDIUM 40LOW 8625

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 8694 distinct pattern matches across 17 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 Block8450 hits · 7658 pts
SeverityFileLineSnippetContext
LOWMarlin/Version.h81//#define USB_DEVICE_VENDOR_ID 0x0000COMMENT
LOWMarlin/Configuration.h121//#define RS485_SERIAL_PORT 1COMMENT
LOWMarlin/Configuration.h161//#define Z3_DRIVER_TYPE A4988COMMENT
LOWMarlin/Configuration.h201 #define AXIS5_ROTATESCOMMENT
LOWMarlin/Configuration.h221COMMENT
LOWMarlin/Configuration.h241#if ENABLED(SWITCHING_EXTRUDER)COMMENT
LOWMarlin/Configuration.h281 * https://youtu.be/Bqbcs0CU2FECOMMENT
LOWMarlin/Configuration.h341 * Supports more than 2 Toolheads. See https://youtu.be/JolbsAKTKf4COMMENT
LOWMarlin/Configuration.h361 #define SWITCHING_TOOLHEAD_RETRACT_FEEDRATE 2400 // (mm/min) Extruder retract feedrateCOMMENT
LOWMarlin/Configuration.h381 //#define GRADIENT_MIX // Support for gradient mixing with M166 and LCDCOMMENT
LOWMarlin/Configuration.h421 */COMMENT
LOWMarlin/Configuration.h441 //#define PS_ON1_EDM_PIN 9COMMENT
LOWMarlin/Configuration.h581 * 998 : Dummy Table that ALWAYS reads 25°C or the temperature defined below.COMMENT
LOWMarlin/Configuration.h601#define DUMMY_THERMISTOR_998_VALUE 25COMMENT
LOWMarlin/Configuration.h621COMMENT
LOWMarlin/Configuration.h661#define HEATER_1_MINTEMP 5COMMENT
LOWMarlin/Configuration.h721 #if ENABLED(PID_PARAMS_PER_HOTEND)COMMENT
LOWMarlin/Configuration.h741 * and PID_FAN_SCALING. Enable MPC_AUTOTUNE and use M306 T to autotune the model.COMMENT
LOWMarlin/Configuration.h761COMMENT
LOWMarlin/Configuration.h781 // 0.00522 J/K/mm for 1.75mm Nylon (0.0138 J/K/mm for 2.85mm NylonCOMMENT
LOWMarlin/Configuration.h821#if ENABLED(PIDTEMPBED)COMMENT
LOWMarlin/Configuration.h901 */COMMENT
LOWMarlin/Configuration.h961 * the heater on.COMMENT
LOWMarlin/Configuration.h981//#define COREXZCOMMENT
LOWMarlin/Configuration.h1001//#define ARTICULATED_ROBOT_ARMCOMMENT
LOWMarlin/Configuration.h1021/**COMMENT
LOWMarlin/Configuration.h1041 //#define DELTA_AUTO_CALIBRATIONCOMMENT
LOWMarlin/Configuration.h1061COMMENT
LOWMarlin/Configuration.h1101 #define SCARA_LINKAGE_1 135 // (mm)COMMENT
LOWMarlin/Configuration.h1121COMMENT
LOWMarlin/Configuration.h1141 #define TPARA_LINKAGE_1 120 // (mm)COMMENT
LOWMarlin/Configuration.h1161 // the plane of measured offset must be alligned with home position planeCOMMENT
LOWMarlin/Configuration.h1221COMMENT
LOWMarlin/Configuration.h1241 //#define ENDSTOPPULLUP_ZMINCOMMENT
LOWMarlin/Configuration.h1261//#define ENDSTOPPULLDOWNSCOMMENT
LOWMarlin/Configuration.h1281 //#define ENDSTOPPULLDOWN_WMAXCOMMENT
LOWMarlin/Configuration.h1401 * Override with M205 X Y Z . . . ECOMMENT
LOWMarlin/Configuration.h1581 *COMMENT
LOWMarlin/Configuration.h1621 #ifdef MAG_MOUNTED_PROBE_SERVO_NRCOMMENT
LOWMarlin/Configuration.h1661 // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.COMMENT
LOWMarlin/Configuration.h1721 * T | 3 | H <-- Example "3" (right+, front-)COMMENT
LOWMarlin/Configuration.h1741// Leave undefined to use the average of the current XY homing feedrate.COMMENT
LOWMarlin/Configuration.h1761/**COMMENT
LOWMarlin/Configuration.h1821// For M851 provide ranges for adjusting the X, Y, and Z probe offsetsCOMMENT
LOWMarlin/Configuration.h1841 * noise. A delay can also be added to allow noise and vibration to settle.COMMENT
LOWMarlin/Configuration.h1861COMMENT
LOWMarlin/Configuration.h1881//#define DISABLE_ZCOMMENT
LOWMarlin/Configuration.h1901//#define INVERT_J_DIR falseCOMMENT
LOWMarlin/Configuration.h1941#define Z_HOME_DIR -1COMMENT
LOWMarlin/Configuration.h1961//#define V_SAFETY_STOPCOMMENT
LOWMarlin/Configuration.h2001#if ENABLED(MIN_SOFTWARE_ENDSTOPS)COMMENT
LOWMarlin/Configuration.h2041 * 3. The heaters were turned on and PRINTJOB_TIMER_AUTOSTART is enabled.COMMENT
LOWMarlin/Configuration.h2061COMMENT
LOWMarlin/Configuration.h2081COMMENT
LOWMarlin/Configuration.h2101 // Enable this option to use an encoder disc that toggles the runout pinCOMMENT
LOWMarlin/Configuration.h2121 //#define FIL_MOTION2_PULLUPCOMMENT
LOWMarlin/Configuration.h2141 //#define FIL_MOTION7_PULLUPCOMMENT
LOWMarlin/Configuration.h2261 #if ENABLED(G26_MESH_VALIDATION)COMMENT
LOWMarlin/Configuration.h2281 // Probe along the Y axis, advancing X after each columnCOMMENT
LOWMarlin/Configuration.h2301 // Number of subdivisions between probe pointsCOMMENT
8390 more matches not shown…
Empty Error Handlers16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHbuildroot/bin/parallel-fix_host_menu_configs.py60except (IOError, ValueError):CODE
HIGHbuildroot/bin/parallel-fix_host_action_configs.py62except (IOError, ValueError):CODE
HIGHbuildroot/bin/parallel-build_and_log.py74except (IOError, ValueError):CODE
HIGHbuildroot/share/PlatformIO/scripts/configuration.py351except AttributeError:CODE
HIGHbuildroot/share/PlatformIO/scripts/configuration.py346except:CODE
HIGHbuildroot/share/PlatformIO/scripts/preflight-checks.py57except: passCODE
HIGHbuildroot/share/PlatformIO/scripts/offset_and_rename.py46except Exception:CODE
HIGHbuildroot/share/PlatformIO/scripts/preprocessor.py74except:CODE
HIGH…ldroot/share/PlatformIO/scripts/common-dependencies.py309except:CODE
HIGHbuildroot/share/PlatformIO/scripts/simulator.py152except Exception:CODE
HIGHbuildroot/share/PlatformIO/scripts/signature.py126except:CODE
HIGHbuildroot/share/PlatformIO/scripts/signature.py490except:CODE
HIGHbuildroot/share/scripts/upload.py72except:CODE
HIGHbuildroot/share/scripts/katapult_upload.py83except serial.SerialException:CODE
HIGHbuildroot/share/scripts/MarlinBinaryProtocol.py365except ReadTimeout:CODE
HIGHbuildroot/share/fonts/buildhzk.py25except KeyError:CODE
Deep Nesting61 hits · 61 pts
SeverityFileLineSnippetContext
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py27CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/img2cpp.py57CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py187CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py220CODE
LOWbuildroot/bin/parallel-fix_host_menu_configs.py115CODE
LOWbuildroot/bin/config.py102CODE
LOWbuildroot/bin/parallel-fix_host_action_configs.py102CODE
LOWbuildroot/bin/parallel-build_and_log.py123CODE
LOWbuildroot/share/PlatformIO/scripts/marlin.py44CODE
LOWbuildroot/share/PlatformIO/scripts/configuration.py20CODE
LOWbuildroot/share/PlatformIO/scripts/configuration.py106CODE
LOWbuildroot/share/PlatformIO/scripts/configuration.py247CODE
LOWbuildroot/share/PlatformIO/scripts/preflight-checks.py20CODE
LOWbuildroot/share/PlatformIO/scripts/preflight-checks.py65CODE
LOWbuildroot/share/PlatformIO/scripts/preflight-checks.py92CODE
LOWbuildroot/share/PlatformIO/scripts/preflight-checks.py105CODE
LOWbuildroot/share/PlatformIO/scripts/config.py102CODE
LOWbuildroot/share/PlatformIO/scripts/preprocessor.py61CODE
LOW…ldroot/share/PlatformIO/scripts/common-dependencies.py48CODE
LOW…ldroot/share/PlatformIO/scripts/common-dependencies.py131CODE
LOW…ldroot/share/PlatformIO/scripts/common-dependencies.py286CODE
LOWbuildroot/share/PlatformIO/scripts/mc-apply.py61CODE
LOWbuildroot/share/PlatformIO/scripts/mc-apply.py113CODE
LOWbuildroot/share/PlatformIO/scripts/mc-apply.py139CODE
LOW…/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py9CODE
LOWbuildroot/share/PlatformIO/scripts/signature.py89CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py67CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py87CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py121CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py520CODE
LOWbuildroot/share/make/validate_boards.py27CODE
LOWbuildroot/share/make/find.py7CODE
LOWbuildroot/share/scripts/languageCheck.py28CODE
LOWbuildroot/share/scripts/languageCheck.py104CODE
LOWbuildroot/share/scripts/pinsformat.py47CODE
LOWbuildroot/share/scripts/pinsformat.py113CODE
LOWbuildroot/share/scripts/upload.py10CODE
LOWbuildroot/share/scripts/image_to_tft.py28CODE
LOWbuildroot/share/scripts/visualize_memory_map.py53CODE
LOWbuildroot/share/scripts/visualize_memory_map.py158CODE
LOWbuildroot/share/scripts/visualize_memory_map.py401CODE
LOWbuildroot/share/scripts/visualize_memory_map.py414CODE
LOWbuildroot/share/scripts/visualize_memory_map.py608CODE
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py87CODE
LOWbuildroot/share/scripts/languageExport.py83CODE
LOWbuildroot/share/scripts/linesformat.py16CODE
LOWbuildroot/share/scripts/katapult_upload.py37CODE
LOWbuildroot/share/scripts/katapult_upload.py47CODE
LOWbuildroot/share/scripts/MarlinBinaryProtocol.py343CODE
LOWbuildroot/share/scripts/g29_auto.py59CODE
LOWbuildroot/share/scripts/languageUtil.py120CODE
LOWbuildroot/share/scripts/languageUtil.py134CODE
LOWbuildroot/share/scripts/languageUtil.py372CODE
LOWbuildroot/share/scripts/languageUtil.py260CODE
LOWbuildroot/share/scripts/languageImport.py86CODE
LOWbuildroot/share/scripts/rle_compress_bitmap.py11CODE
LOWbuildroot/share/scripts/rle_compress_bitmap.py69CODE
LOWbuildroot/share/scripts/rle_compress_bitmap.py73CODE
LOWbuildroot/share/fonts/genTFTfont.py247CODE
LOWbuildroot/share/fonts/genTFTfont.py149CODE
1 more matches not shown…
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHbuildroot/bin/parallel-fix_host_menu_configs.py0run build_all_examples. returns (returncode, combined_output).STRING
HIGHbuildroot/bin/parallel-fix_host_action_configs.py0run build_all_examples. returns (returncode, combined_output).STRING
HIGHbuildroot/bin/parallel-build_and_log.py0run build_all_examples. returns (returncode, combined_output).STRING
HIGHbuildroot/bin/parallel-fix_host_menu_configs.py0extract failing config directory from stat file or build output.STRING
HIGHbuildroot/bin/parallel-fix_host_action_configs.py0extract failing config directory from stat file or build output.STRING
HIGHbuildroot/bin/parallel-build_and_log.py0extract failing config directory from stat file or build output.STRING
HIGHbuildroot/bin/parallel-fix_host_menu_configs.py0stash any uncommitted changes. returns true if we stashed.STRING
HIGHbuildroot/bin/parallel-fix_host_action_configs.py0stash any uncommitted changes. returns true if we stashed.STRING
HIGHbuildroot/bin/parallel-build_and_log.py0stash any uncommitted changes. returns true if we stashed.STRING
Decorative Section Separators13 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUMbuildroot/bin/parallel-fix_host_menu_configs.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-fix_host_menu_configs.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-fix_host_action_configs.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-fix_host_action_configs.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-build_and_log.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-build_and_log.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel_build.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel_build.py40# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/share/dwin/bin/DWIN_ICO.py18#----------------------------------------------------------------COMMENT
MEDIUMbuildroot/share/dwin/bin/splitIco.py19#----------------------------------------------------------------COMMENT
MEDIUMbuildroot/share/dwin/bin/splitIco.py25#----------------COMMENT
MEDIUMbuildroot/share/dwin/bin/makeIco.py19#----------------------------------------------------------------COMMENT
MEDIUMbuildroot/share/dwin/bin/makeIco.py25#----------------COMMENT
Excessive Try-Catch Wrapping27 hits · 37 pts
SeverityFileLineSnippetContext
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py58 except Exception as e:CODE
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py68 except Exception as e:CODE
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py139 except Exception as e:CODE
MEDIUMMarlin/src/HAL/LPC1768/upload_extra_script.py27def before_upload(source, target, env):CODE
MEDIUM…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py304 print("Error popping tag off list")CODE
LOWbuildroot/bin/parallel_build.py51 except Exception:CODE
LOWbuildroot/share/dwin/bin/DWIN_ICO.py151 except Exception as e:CODE
LOWbuildroot/share/dwin/bin/splitIco.py48 except Exception as e:CODE
MEDIUMbuildroot/share/dwin/bin/splitIco.py49 print('Error: ', e)CODE
LOWbuildroot/share/dwin/bin/makeIco.py48 except Exception as e:CODE
MEDIUMbuildroot/share/dwin/bin/makeIco.py49 print('Error: ', e)CODE
LOWbuildroot/share/PlatformIO/scripts/offset_and_rename.py36 except Exception:CODE
LOWbuildroot/share/PlatformIO/scripts/offset_and_rename.py46 except Exception:CODE
LOWbuildroot/share/PlatformIO/scripts/simulator.py49 except Exception: prefix = ''CODE
LOWbuildroot/share/PlatformIO/scripts/simulator.py61 except Exception: return FalseCODE
LOWbuildroot/share/PlatformIO/scripts/simulator.py152 except Exception:CODE
LOWbuildroot/share/PlatformIO/scripts/signature.py209 except Exception as exc:CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py523 except Exception as exc:CODE
MEDIUMbuildroot/share/PlatformIO/scripts/schema.py524 print("Error: " + str(exc))CODE
MEDIUMbuildroot/share/PlatformIO/scripts/schema.py520def main():CODE
LOWbuildroot/share/scripts/upload.py332 except Exception as ex:CODE
LOWbuildroot/share/scripts/visualize_memory_map.py79 except Exception as e:CODE
MEDIUMbuildroot/share/scripts/visualize_memory_map.py169 print(f"Error: nm tool not found: {nm_tool}", file=sys.stderr)CODE
MEDIUMbuildroot/share/scripts/visualize_memory_map.py207 print(f"Error running {nm_tool} for special symbols: {e}", file=sys.stderr)CODE
MEDIUMbuildroot/share/scripts/visualize_memory_map.py289 print(f"Error running nm: {e}", file=sys.stderr)CODE
MEDIUMbuildroot/share/scripts/visualize_memory_map.py1518 print(f"Error: ELF file not found: {args.elf_file}")STRING
MEDIUMbuildroot/share/scripts/languageUtil.py477 print(f"Error: Couldn't find '{LANGHOME}'. Run from the root of the Marlin repository.")CODE
Verbosity Indicators21 hits · 37 pts
SeverityFileLineSnippetContext
LOWMarlin/src/core/serial.h52// Step 1: Find out what the first serial leaf isCOMMENT
LOWMarlin/src/core/serial.h68// Step 2: For multiserial wrap all serial ports in a singleCOMMENT
LOWMarlin/src/core/serial.cpp57// Step 2: For multiserial, handle the second serial port as wellCOMMENT
LOW⚡Marlin/src/module/ft_motion/constant_jolt_planner.cpp168 // Step 1: Standard 7-phase S-curve.COMMENT
LOW⚡Marlin/src/module/ft_motion/constant_jolt_planner.cpp177 // Step 2: Partial absorption + decel (a_entry != 0).COMMENT
LOW⚡Marlin/src/module/ft_motion/constant_jolt_planner.cpp185 // Step 3: [-j, +j] decel targeting safe exit speed.COMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp94 // Step 7: Get the Z coordinate, click goes to the next point or exitsCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp143 // Step 6: Display "Next point: 1 / 9" while waiting for move to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp156 // Step 5: Initiate a move to the next pointCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp171 // Step 4: Display "Click to Begin", wait for clickCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp189 // Step 3: Display "Homing XYZ" - Wait for homing to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp201 // Step 2: Continue Bed Leveling...COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp49// Step 9: X Axis Twist Compensation Wizard is finished.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp66// Step 8: Ask the user if he wants to update the z-offset of the probeCOMMENT
LOW⚡Marlin/src/lcd/menu/menu_x_twist.cpp82// Step 7: Set the Z-offset for this point and go to the next one.COMMENT
LOW⚡Marlin/src/lcd/menu/menu_x_twist.cpp92// Step 6: Wizard Menu. Move the nozzle down until it touches the bed.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp116// Step 5: Display "Next point: 1 / 9" while waiting for move to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp129// Step 4: Initiate a move to the next pointCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp170// Step 3: Display "Click to Begin", wait for clickCOMMENT
LOW⚡Marlin/src/lcd/menu/menu_x_twist.cpp193// Step 2: Display "Homing XYZ" - Wait for homing to finishCOMMENT
LOW⚡Marlin/src/lcd/menu/menu_x_twist.cpp202// Step 1: Prepare for the wizard...COMMENT
Structural Annotation Overuse21 hits · 36 pts
SeverityFileLineSnippetContext
LOWMarlin/src/core/serial.h52// Step 1: Find out what the first serial leaf isCOMMENT
LOWMarlin/src/core/serial.h68// Step 2: For multiserial wrap all serial ports in a singleCOMMENT
LOWMarlin/src/core/serial.cpp57// Step 2: For multiserial, handle the second serial port as wellCOMMENT
LOWMarlin/src/HAL/DUE/usb/sd_mmc_spi_mem.cpp38// NOTE: This function is defined as returning the address of the last blockCOMMENT
LOW⚡Marlin/src/module/ft_motion/constant_jolt_planner.cpp168 // Step 1: Standard 7-phase S-curve.COMMENT
LOW⚡Marlin/src/module/ft_motion/constant_jolt_planner.cpp177 // Step 2: Partial absorption + decel (a_entry != 0).COMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp94 // Step 7: Get the Z coordinate, click goes to the next point or exitsCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp143 // Step 6: Display "Next point: 1 / 9" while waiting for move to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp156 // Step 5: Initiate a move to the next pointCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp171 // Step 4: Display "Click to Begin", wait for clickCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp189 // Step 3: Display "Homing XYZ" - Wait for homing to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp201 // Step 2: Continue Bed Leveling...COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp49// Step 9: X Axis Twist Compensation Wizard is finished.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp66// Step 8: Ask the user if he wants to update the z-offset of the probeCOMMENT
LOW⚡Marlin/src/lcd/menu/menu_x_twist.cpp82// Step 7: Set the Z-offset for this point and go to the next one.COMMENT
LOW⚡Marlin/src/lcd/menu/menu_x_twist.cpp92// Step 6: Wizard Menu. Move the nozzle down until it touches the bed.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp116// Step 5: Display "Next point: 1 / 9" while waiting for move to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp129// Step 4: Initiate a move to the next pointCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp170// Step 3: Display "Click to Begin", wait for clickCOMMENT
LOW⚡Marlin/src/lcd/menu/menu_x_twist.cpp193// Step 2: Display "Homing XYZ" - Wait for homing to finishCOMMENT
LOW⚡Marlin/src/lcd/menu/menu_x_twist.cpp202// Step 1: Prepare for the wizard...COMMENT
Unused Imports36 hits · 36 pts
SeverityFileLineSnippetContext
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py7CODE
LOW…tui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/file2cpp.py18CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/img2cpp.py18CODE
LOW…tui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/font2cpp.py18CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py19CODE
LOWbuildroot/bin/parallel-build_and_log.py29CODE
LOW…oot/share/PlatformIO/scripts/fix_framework_weakness.py9CODE
LOW…ildroot/share/PlatformIO/scripts/tronxy_cxy_446_v10.py8CODE
LOWbuildroot/share/PlatformIO/scripts/preprocessor.py64CODE
LOW…oot/share/PlatformIO/scripts/generic_create_variant.py12CODE
LOW…oot/share/PlatformIO/scripts/generic_create_variant.py12CODE
LOW…oot/share/PlatformIO/scripts/SAMD51_grandcentral_m4.py7CODE
LOW…oot/share/PlatformIO/scripts/SAMD51_grandcentral_m4.py7CODE
LOW…oot/share/PlatformIO/scripts/SAMD51_grandcentral_m4.py8CODE
LOW…droot/share/PlatformIO/scripts/SAMD21_minitronics20.py7CODE
LOW…droot/share/PlatformIO/scripts/SAMD21_minitronics20.py7CODE
LOW…droot/share/PlatformIO/scripts/SAMD21_minitronics20.py8CODE
LOWbuildroot/share/PlatformIO/scripts/signature.py444CODE
LOWbuildroot/share/PlatformIO/scripts/signature.py450CODE
LOWbuildroot/share/scripts/languageCheck.py25CODE
LOWbuildroot/share/scripts/languageCheck.py26CODE
LOWbuildroot/share/scripts/upload.py1CODE
LOWbuildroot/share/scripts/upload.py184CODE
LOWbuildroot/share/scripts/upload.py190CODE
LOW…ildroot/share/scripts/rle16_compress_cpp_image_data.py8CODE
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py21CODE
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py21CODE
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py23CODE
LOWbuildroot/share/scripts/languageExport.py35CODE
LOWbuildroot/share/scripts/MarlinBinaryProtocol.py5CODE
LOWbuildroot/share/scripts/createSpeedLookupTable.py3CODE
LOWbuildroot/share/scripts/createSpeedLookupTable.py3CODE
LOWbuildroot/share/scripts/g29_auto.py8CODE
LOWbuildroot/share/scripts/languageImport.py35CODE
LOWbuildroot/share/scripts/languageImport.py37CODE
LOWbuildroot/share/scripts/rle_compress_bitmap.py9CODE
AI Slop Vocabulary11 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMMarlin/src/HAL/AVR/registers.h121// and code be rewritten to use the following more robust definitions.COMMENT
MEDIUMMarlin/src/feature/bedlevel/abl/bbl.cpp84 // Median is robust (ignores outliers).COMMENT
MEDIUMMarlin/src/feature/mmu3/mmu3.cpp433 // Failed autoretry, report an error by forcing a "printer" error into the MMU infrastructure - it is a hack to leCOMMENT
MEDIUMMarlin/src/gcode/calibrate/G28.cpp546 // print, and do_move_after_z_homing is not very nuanced.COMMENT
MEDIUMbuildroot/share/uncrustify/uncrustify.cfg3534# Whether to apply special formatting for Qt SIGNAL/SLOT macros. Essentially,COMMENT
MEDIUM…PlatformIO/variants/MARLIN_FLY_CDY_V3/PeripheralPins.c108// Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
MEDIUM…atformIO/variants/MARLIN_MKS_SKIPR_V1/PeripheralPins.c67// Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
MEDIUM…are/PlatformIO/variants/MARLIN_F4x7Vx/PeripheralPins.c108// Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
MEDIUM…are/PlatformIO/variants/MARLIN_FLY_D8/PeripheralPins.c108// Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
MEDIUM…latformIO/variants/MARLIN_PRUSA_BUDDY/PeripheralPins.c108// Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
MEDIUM…PlatformIO/variants/MARLIN_BTT_GTR_V1/PeripheralPins.c127 // Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
Self-Referential Comments5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMbuildroot/bin/parallel_build.py181 # Create a new window and send the commandCOMMENT
MEDIUMbuildroot/share/PlatformIO/scripts/configuration.py107 # Create a regex to match the option and capture parts of the lineCOMMENT
MEDIUMbuildroot/share/PlatformIO/scripts/schema.py151 conditions = [] # Create a condition stack for the current fileCODE
MEDIUMbuildroot/share/PlatformIO/scripts/schema.py388 # Create a new dictionary for the current #defineCOMMENT
MEDIUMbuildroot/share/scripts/g29_auto.py3# This file is for preprocessing G-code and the new G29 Auto bed leveling from MarlinCOMMENT
Redundant / Tautological Comments9 hits · 12 pts
SeverityFileLineSnippetContext
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py131 # Set upload_port to drive if foundCOMMENT
LOWbuildroot/share/PlatformIO/scripts/signature.py112 # Check if we can skip processingCOMMENT
LOWbuildroot/share/make/validate_boards.py42 # Open the fileCOMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py434 # Check if this is RAM or Flash by looking at items' original addressesCOMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py478 # Check if heap_start is within our RAM rangeCOMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py545 # Check if next byte is different (need delimiter)COMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py571 # Check if next byte is different (need delimiter)COMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py635 # Check if one is substring of the otherSTRING
LOWbuildroot/share/scripts/g29_auto.py192 # Check if G29 already existsCOMMENT
Cross-Language Confusion3 hits · 11 pts
SeverityFileLineSnippetContext
HIGH⚡…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py140 self.push(0xFFFF)STRING
HIGH⚡…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py142 self.push(x * 0xFFFE)STRING
HIGH⚡…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py143 self.push(y * 0xFFFE)STRING
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALbuildroot/web-ui/data/www/jquery-3.5.1.slim.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
Slop Phrases6 hits · 8 pts
SeverityFileLineSnippetContext
LOWMarlin/src/pins/mega/pins_GT2560_REV_A.h104// Don't forget to enable POWER_MONITOR_VOLTAGE in Configuration_adv.hCOMMENT
LOWMarlin/src/inc/Warnings.cpp734 #warning "Don't forget to update your TFT settings in Configuration.h."COMMENT
LOWMarlin/src/module/stepper.cpp1931 // Don't forget to finally reenable interrupts on non-AVR.COMMENT
LOW.github/ISSUE_TEMPLATE/bug_report.yml55 When pasting formatted text don't forget to put ` ``` ` (on its own line) before and after to make it readable.CODE
LOW.github/ISSUE_TEMPLATE/bug_report.yml165 label: Don't forget to includeCODE
LOW.github/ISSUE_TEMPLATE/bug_report.yml184 When pasting formatted text don't forget to put ` ``` ` (on its own line) before and after to make it readable.CODE
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py187 def process_svg_path_data_cmd(self, id, cmd, a, b):STRING
LOWbuildroot/share/PlatformIO/scripts/configuration.py159def configurations_branch_exists(branch):CODE
LOWbuildroot/share/PlatformIO/scripts/configuration.py170def default_configurations_branch():CODE
LOWbuildroot/share/scripts/visualize_memory_map.py414def generate_memory_blocks_html(items, module_colors, zoom_level=1, total_memory_size=None, special_symbols=None, arch='CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py63CODE