Klipper is a 3d-printer firmware
This report summarizes scanner evidence for Klipper3d/klipper, a C project with 11,948 GitHub stars. SynthScan examined 1,168,173 lines of code across 2013 source files, recording 37909 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 21.5 (Elevated 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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 37690 finding(s).
Are imports declared and package/API names verified? 85 finding(s).
Are wrappers, guards, and repeated structures necessary? 218 finding(s).
Which changes need focused human review? 37909 finding(s).
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.
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.
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.
The scanner identified 37909 distinct pattern matches across 18 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/klippy/delta_calibrate.cfg | 41 | #*# <---------------------- SAVE_CONFIG ----------------------> | COMMENT |
| LOW | test/klippy/delta_calibrate.cfg | 61 | #*# | COMMENT |
| LOW | test/klippy/rotary_delta_calibrate.cfg | 41 | [delta_calibrate] | COMMENT |
| LOW | test/klippy/rotary_delta_calibrate.cfg | 61 | #*# [stepper_c] | COMMENT |
| LOW | klippy/mathutil.py | 1 | # Simple math helper functions | COMMENT |
| LOW | klippy/webhooks.py | 1 | # Klippy WebHooks registration and server connection | COMMENT |
| LOW | klippy/chelper/kin_extruder.c | 1 | // Extruder stepper pulse time generation | COMMENT |
| LOW | klippy/chelper/kin_extruder.c | 21 | // Without pressure advance, the extruder stepper position is: | COMMENT |
| LOW | klippy/chelper/serialqueue.c | 1 | // Serial port command queuing | COMMENT |
| LOW | klippy/chelper/serialqueue.c | 101 | #define SQPT_NUM 2 | COMMENT |
| LOW | klippy/chelper/steppersync.c | 1 | // Stepper step transmit synchronization | COMMENT |
| LOW | klippy/chelper/stepcompress.c | 1 | // Stepper pulse schedule compression | COMMENT |
| LOW | klippy/chelper/stepcompress.c | 21 | #include <stdlib.h> // malloc | COMMENT |
| LOW | klippy/chelper/compiler.h | 1 | #ifndef __COMPILER_H | COMMENT |
| LOW | klippy/chelper/compiler.h | 21 | #ifndef __section | COMMENT |
| LOW | klippy/chelper/kin_rotary_delta.c | 1 | // Rotary delta kinematics stepper pulse time generation | COMMENT |
| LOW | klippy/chelper/msgblock.c | 1 | // Helper code for the Klipper mcu protocol "message blocks" | COMMENT |
| LOW | klippy/chelper/kin_winch.c | 1 | // Cable winch stepper kinematics | COMMENT |
| LOW | klippy/chelper/itersolve.c | 1 | // Iterative solver for kinematic moves | COMMENT |
| LOW | klippy/chelper/kin_deltesian.c | 1 | // Deltesian kinematics stepper pulse time generation | COMMENT |
| LOW | klippy/chelper/trdispatch.c | 1 | // Trigger sync "trsync" message dispatch | COMMENT |
| LOW | klippy/chelper/kin_generic.c | 1 | // Generic cartesian kinematics stepper position calculation | COMMENT |
| LOW | klippy/chelper/kin_idex.c | 1 | // Idex dual carriage kinematics | COMMENT |
| LOW | klippy/chelper/kin_polar.c | 1 | // Polar kinematics stepper pulse time generation | COMMENT |
| LOW | klippy/chelper/kin_shaper.c | 1 | // Kinematic input shapers to minimize motion vibrations in XY plane | COMMENT |
| LOW | klippy/chelper/kin_cartesian.c | 1 | // Cartesian kinematics stepper pulse time generation | COMMENT |
| LOW | klippy/chelper/msgblock.h | 1 | #ifndef MSGBLOCK_H | COMMENT |
| LOW | klippy/chelper/pyhelper.c | 1 | // Helper functions for C / Python interface | COMMENT |
| LOW | klippy/chelper/trapq.c | 1 | // Trapezoidal velocity movement queue | COMMENT |
| LOW | klippy/chelper/pollreactor.c | 1 | // Code for dispatching timer and file descriptor events | COMMENT |
| LOW | klippy/chelper/kin_delta.c | 1 | // Delta kinematics stepper pulse time generation | COMMENT |
| LOW | klippy/kinematics/__init__.py | 1 | # Package definition for the kinematics directory | COMMENT |
| LOW | klippy/extras/gcode_arcs.py | 1 | # adds support fro ARC commands via G2/G3 | COMMENT |
| LOW | klippy/extras/htu21d.py | 1 | # HTU21D(F)/Si7013/Si7020/Si7021/SHT21 i2c based temperature sensors support | COMMENT |
| LOW | klippy/extras/aht10.py | 1 | # Support for AHTxx family I2C temperature and humidity sensors | COMMENT |
| LOW | klippy/extras/delta_calibrate.py | 1 | # Delta calibration support | COMMENT |
| LOW | klippy/extras/quad_gantry_level.py | 1 | # Mechanically conforms a moving gantry to the bed with 4 Z steppers | COMMENT |
| LOW | klippy/extras/__init__.py | 1 | # Package definition for the extras directory | COMMENT |
| LOW | klippy/extras/sht3x.py | 1 | # SHT3X i2c based temperature sensors support | COMMENT |
| LOW | klippy/extras/bulk_sensor.py | 1 | # Tools for reading bulk sensor data from the mcu | COMMENT |
| LOW | klippy/extras/bulk_sensor.py | 141 | # It is common for sensors to produce measurements at a fixed | COMMENT |
| LOW | klippy/extras/manual_probe.py | 1 | # Helper script for manual z height probing | COMMENT |
| LOW | klippy/extras/display/menu.cfg | 1 | # This file defines the default layout of the printer's menu. | COMMENT |
| LOW | klippy/extras/display/menu.cfg | 21 | # + Cancel printing | COMMENT |
| LOW | klippy/extras/display/menu.cfg | 41 | # + Move X:000.0 | COMMENT |
| LOW | klippy/extras/display/menu.cfg | 61 | # + Preheat hotbed | COMMENT |
| LOW | klippy/extras/display/menu.cfg | 81 | # + Calibration | COMMENT |
| LOW | klippy/extras/display/font8x14.py | 1 | # Fonts for connected displays | COMMENT |
| LOW | klippy/extras/display/aip31068_spi.py | 1 | # Support for YHCB2004 (20x4 text) LCD displays based on AiP31068 controller | COMMENT |
| LOW | config/generic-mks-monster8.cfg | 61 | max_temp: 260 | COMMENT |
| LOW | config/generic-mks-monster8.cfg | 121 | max_accel: 20000 | COMMENT |
| LOW | config/generic-mks-monster8.cfg | 141 | #[tmc2208 stepper_x] | COMMENT |
| LOW | config/generic-mks-monster8.cfg | 161 | #run_current: 0.8 | COMMENT |
| LOW | config/generic-mks-monster8.cfg | 181 | #hold_current: 0.5 | COMMENT |
| LOW | config/generic-mks-monster8.cfg | 201 | COMMENT | |
| LOW | config/generic-mks-monster8.cfg | 221 | #diag1_pin: PA13 | COMMENT |
| LOW | config/generic-mks-monster8.cfg | 241 | COMMENT | |
| LOW | config/generic-bigtreetech-skr-e3-dip.cfg | 1 | # This file contains common pin mappings for the BIGTREETECH SKR E3 | COMMENT |
| LOW | config/generic-bigtreetech-skr-e3-dip.cfg | 101 | #run_current: 0.580 | COMMENT |
| LOW | config/generic-bigtreetech-skr-e3-dip.cfg | 121 | # TMC2130 configuration | COMMENT |
| 37077 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | klippy/kinematics/rotary_delta.py | 167 | # Create a new calibration object from coordinate_descent params | COMMENT |
| MEDIUM | klippy/kinematics/delta.py | 198 | # Create a new calibration object from coordinate_descent params | COMMENT |
| MEDIUM | klippy/extras/thermistor.py | 71 | # Create an ADC converter with a thermistor | COMMENT |
| MEDIUM | klippy/extras/bltouch.py | 33 | # Create a pwm object to handle the control pin | COMMENT |
| MEDIUM | klippy/extras/probe_eddy_current.py | 612 | # This function is an optimized version of _build_ls_matrix() | COMMENT |
| MEDIUM | klippy/extras/display/menu.cfg | 1 | # This file defines the default layout of the printer's menu. | COMMENT |
| MEDIUM | klippy/extras/display/display.cfg | 1 | # This file defines the default layout of the printer's lcd display. | COMMENT |
| MEDIUM | klippy/extras/display/aip31068_spi.py | 10 | # This file is a modified version of hd44780_spi.py, introducing slightly | COMMENT |
| MEDIUM | config/generic-mks-monster8.cfg | 1 | # This file contains common pin mappings for MKS Monster8 | COMMENT |
| MEDIUM | config/generic-bigtreetech-skr-e3-dip.cfg | 1 | # This file contains common pin mappings for the BIGTREETECH SKR E3 | COMMENT |
| MEDIUM | config/printer-creality-sermoonD1-2021.cfg | 1 | # This file contains pin mappings for the Creality Sermoon D1 with | COMMENT |
| MEDIUM | config/example-cartesian.cfg | 1 | # This file is an example config file for cartesian style printers. | COMMENT |
| MEDIUM | config/example-rotary-delta.cfg | 1 | # This file is an example config file for rotary delta style printers. | COMMENT |
| MEDIUM | config/printer-anycubic-kossel-2016.cfg | 1 | # This file contains a configuration for the Anycubic Kossel delta | COMMENT |
| MEDIUM | config/printer-creality-cr10s-2017.cfg | 1 | # This file contains pin mappings for the 2017 Creality CR-10S. To use | COMMENT |
| MEDIUM | config/printer-biqu-bx-2021.cfg | 1 | # This file contains common pin mappings for the BigTreeTech SKR SE BX. | COMMENT |
| MEDIUM | config/printer-anet-e16-2019.cfg | 1 | # This file contains common pin mappings for Anet E16 printer from | COMMENT |
| MEDIUM | config/generic-bigtreetech-skr-mini.cfg | 1 | # This file contains common pin mappings for the BIGTREETECH SKR | COMMENT |
| MEDIUM | config/generic-replicape.cfg | 1 | # This file contains an example configuration for the Replicape rev B3 | COMMENT |
| MEDIUM | config/printer-creality-ender3-s1plus-2022.cfg | 1 | # This file contains pin mappings for the stock 2022 Creality Ender 3 | COMMENT |
| MEDIUM | config/printer-eryone-thinker-series-v2-2020.cfg | 1 | # This file contains pin mappings for the Eryone Thinker Series V2. | COMMENT |
| MEDIUM | config/printer-creality-ender5plus-2019.cfg | 1 | # This file contains pin mappings for the Creality Ender 5 Plus. | COMMENT |
| MEDIUM | config/generic-creality-v4.2.10.cfg | 1 | # This file contains pin mappings for the Creality "v4.2.10" board. To | COMMENT |
| MEDIUM | config/generic-mellow-fly-e3-v2.cfg | 1 | # This file contains common pin mappings for the Mellow Fly-E3-v2. | COMMENT |
| MEDIUM | config/example-polar.cfg | 1 | # This file is an example config file for polar style printers. One | COMMENT |
| MEDIUM | config/printer-creality-ender3-v2-neo-2022.cfg | 1 | # This file contains pin mappings for the stock 2022 Creality Ender 3 | COMMENT |
| MEDIUM | config/generic-bigtreetech-skr-mini-mz.cfg | 1 | # This file contains common pin mappings for the BIGTREETECH SKR mini | COMMENT |
| MEDIUM | config/printer-creality-ender3-s1-2021.cfg | 1 | # This file contains pin mappings for the stock 2021 Creality Ender 3 | COMMENT |
| MEDIUM | config/printer-anet-a4-2018.cfg | 1 | # This file contains common pin mappings for Anet A4 printer from | COMMENT |
| MEDIUM | config/printer-tronxy-p802e-2020.cfg | 1 | # This file contains common pin mappings for Tronxy P802E printer. To | COMMENT |
| MEDIUM | config/generic-bigtreetech-skr-cr6-v1.0.cfg | 1 | # This file contains common pin mappings for the BIGTREETECH SKR CR6 | COMMENT |
| MEDIUM | config/generic-bigtreetech-skr-e3-turbo.cfg | 1 | # This file contains common pin mappings for the BIGTREETECH SKR E3 | COMMENT |
| MEDIUM | config/example-generic-caretesian.cfg | 1 | # This file is an example config file for cartesian style printers. | COMMENT |
| MEDIUM | config/printer-creality-ender2pro-2021.cfg | 1 | # This file contains pin mappings for the stock 2021 Creality | COMMENT |
| MEDIUM | config/sample-huvud-v0.61.cfg | 1 | # This file contains common pin mappings for the Huvud V0.61 by Bondus. | COMMENT |
| MEDIUM | config/generic-rumba.cfg | 1 | # This file contains common pin mappings for RUMBA boards. To use | COMMENT |
| MEDIUM | config/printer-artillery-sidewinder-x2-2022.cfg | 1 | # This file contains pin mappings for the Artillery Sidewinder X2 (2022) | COMMENT |
| MEDIUM | config/generic-einsy-rambo.cfg | 1 | # This file contains common pin mappings for Einsy Rambo boards. To use | COMMENT |
| MEDIUM | config/generic-fysetc-spider.cfg | 1 | # This file contains common pin mappings for the Fysetc Spider board. | COMMENT |
| MEDIUM | config/generic-duet2-maestro.cfg | 1 | # This file contains common pin mappings for the Duet2 Maestro. To use | COMMENT |
| MEDIUM | config/printer-creality-cr10s-pro-v2-2020.cfg | 1 | # This file contains pin mappings for the Creality CR-10S Pro V2. To use | COMMENT |
| MEDIUM | config/generic-alligator-r3.cfg | 1 | # This file contains common pin mappings for Alligator (Rev.3) board. | COMMENT |
| MEDIUM | config/generic-alligator-r2.cfg | 1 | # This file contains common pin mappings for Alligator (Rev.2) board. | COMMENT |
| MEDIUM | config/printer-eryone-er20-2021.cfg | 1 | # This file contains common pin mappings for the Eryone ER-20 board | COMMENT |
| MEDIUM | config/printer-twotrees-sapphire-pro-sp-3-2020.cfg | 1 | # This file contains common pin mappings for the Two Trees Sapphire | COMMENT |
| MEDIUM | config/generic-fysetc-cheetah-v2.0.cfg | 1 | # This file contains common pin mappings for the Fysetc Cheetah V2.0 | COMMENT |
| MEDIUM | config/sample-corexyuv.cfg | 1 | # This file contains a configuration snippet for a CoreXYUV | COMMENT |
| MEDIUM | config/sample-bigtreetech-ebb-sb-canbus-v1.0.cfg | 1 | # This file contains common pin mappings for the BIGTREETECH EBBCan | COMMENT |
| MEDIUM | config/printer-elegoo-neptune3-pro-2023.cfg | 1 | # This file contains pin mappings for the stock Elegoo Neptune 3 Pro (ZNP Robin Nano_DW V2.2) | COMMENT |
| MEDIUM | config/printer-tronxy-x5s-2018.cfg | 1 | # This file contains pin mappings for the Tronxy X5S (circa 2017). To | COMMENT |
| MEDIUM | config/printer-creality-ender6-2020.cfg | 1 | # This file contains pin mappings for the stock 2020 Creality Ender 6. | COMMENT |
| MEDIUM | config/printer-creality-cr6se-2021.cfg | 1 | # This file contains pin mappings for the Creality CR6-SE | COMMENT |
| MEDIUM | config/generic-fysetc-s6-v2.cfg | 1 | # This file contains common pin mappings for the Fysetc S6 v2 board. To use | COMMENT |
| MEDIUM | config/printer-creality-ender2-2017.cfg | 1 | # This file contains common pin mappings for the 2017 Creality | COMMENT |
| MEDIUM | config/example-hybrid-corexz.cfg | 1 | # This file is an example config file for hybrid corexz style printers also | COMMENT |
| MEDIUM | config/printer-creality-cr6se-2020.cfg | 1 | # This file contains pin mappings for the stock 2020 Creality CR6-SE | COMMENT |
| MEDIUM | config/printer-flashforge-creator-pro-2018.cfg | 1 | # This file contains common pin mappings for the FlashForge-Creator-Pro | COMMENT |
| MEDIUM | config/printer-alfawise-u30-2018.cfg | 1 | # This file contains common pin mappings for the Alfawise U30 printer. | COMMENT |
| MEDIUM | config/generic-th3d-ezboard-v2.0.cfg | 1 | # This file contains common pin mappings for the TH3D EZBoard v2. | COMMENT |
| MEDIUM | config/generic-archim2.cfg | 1 | # This file contains common pin mappings for Ultimachine Archim2 | COMMENT |
| 159 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | klippy/console.py | 99 | except ValueError: | CODE |
| HIGH | klippy/reactor.py | 196 | except os.error: | CODE |
| HIGH | klippy/reactor.py | 202 | except os.error: | CODE |
| HIGH | klippy/reactor.py | 207 | except os.error: | CODE |
| HIGH | klippy/util.py | 30 | except termios.error: | CODE |
| HIGH | klippy/util.py | 38 | except os.error: | CODE |
| HIGH | klippy/util.py | 91 | except: | CODE |
| HIGH | klippy/webhooks.py | 230 | except socket.error: | CODE |
| HIGH | klippy/webhooks.py | 157 | except socket.error: | CODE |
| HIGH | klippy/kinematics/idex_modes.py | 255 | except ValueError: | CODE |
| HIGH | klippy/extras/palette2.py | 566 | except Empty: | CODE |
| HIGH | klippy/extras/multi_pin.py | 13 | except ppins.error: | CODE |
| HIGH | klippy/extras/load_cell.py | 17 | except ImportError: # will be Python 3.x | CODE |
| HIGH | klippy/extras/aio_executor.py | 38 | except: | CODE |
| HIGH | klippy/extras/adxl345.py | 93 | except: | CODE |
| HIGH | klippy/extras/statistics.py | 17 | except: | CODE |
| HIGH | klippy/extras/statistics.py | 44 | except: | CODE |
| HIGH | klippy/extras/lm75.py | 65 | except: | CODE |
| HIGH | klippy/extras/manual_probe.py | 192 | except self.command_error: | CODE |
| HIGH | klippy/extras/manual_probe.py | 196 | except self.command_error: | CODE |
| HIGH | scripts/flash_usb.py | 24 | except (IOError, OSError) as e: | CODE |
| HIGH | scripts/flash_usb.py | 130 | except subprocess.CalledProcessError as e: | CODE |
| HIGH | scripts/graph_mesh.py | 75 | except TimeoutError: | CODE |
| HIGH | scripts/avrsim.py | 147 | except os.error: | CODE |
| HIGH | scripts/spi_flash/spi_flash.py | 1533 | except Exception: | CODE |
| HIGH | scripts/motan/data_logger.py | 244 | except: | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 6421 | except Exception: | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 1035 | except ImportError: | CODE |
| HIGH | lib/kconfiglib/menuconfig.py | 3191 | except curses.error: | CODE |
| HIGH | lib/kconfiglib/menuconfig.py | 3222 | except curses.error: | CODE |
| HIGH | lib/kconfiglib/menuconfig.py | 3229 | except curses.error: | CODE |
| HIGH | lib/kconfiglib/menuconfig.py | 3236 | except curses.error: | CODE |
| HIGH | lib/kconfiglib/menuconfig.py | 3243 | except curses.error: | CODE |
| HIGH | lib/kconfiglib/menuconfig.py | 3250 | except curses.error: | CODE |
| HIGH | lib/kconfiglib/menuconfig.py | 610 | except curses.error: | CODE |
| HIGH | lib/kconfiglib/menuconfig.py | 3169 | except curses.error: | CODE |
| HIGH | lib/katapult/flashtool.py | 141 | except OSError: | CODE |
| HIGH | lib/katapult/flashtool.py | 402 | except asyncio.TimeoutError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 4136 | example, 'default A && B if C || D' is represented as | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 4136 | example, 'default A && B if C || D' is represented as | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 4145 | example, 'select A if B && C' is represented as (A, (AND, B, C)). If no | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 6155 | split_expr( A && B , OR ) -> [A && B] | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 6156 | split_expr( A || B , OR ) -> [A, B] | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 6157 | split_expr( A || B , AND ) -> [A || B] | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 6158 | split_expr( A || B || (C && D) , OR ) -> [A, B, C && D] | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 6158 | split_expr( A || B || (C && D) , OR ) -> [A, B, C && D] | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 6161 | split_expr( A || (B && (C || D)) , OR ) -> [A, B && (C || D)] | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 6165 | split_expr( (A || B) || C , OR ) -> [A, B, C] | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 6166 | split_expr( A || (B || C) , OR ) -> [A, B, C] | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 1554 | /dev/null). | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 1970 | which has the value y, then eval_string("y && (FOO || BAR)") returns | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 1979 | the C implementation. m is rewritten to 'm && MODULES', so | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 4026 | (A, !A, A && B, A || B). | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 4026 | (A, !A, A && B, A || B). | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 4123 | If the symbol is undefined, the location is given as "(undefined)". | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 4162 | Gotcha: 1 and 2 above will be represented as (undefined) Symbols rather | CODE |
| HIGH | lib/kconfiglib/kconfiglib.py | 5127 | example, 'default A if B && C' is represented as (A, (AND, B, C)). If | CODE |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 188 | tristate "foo" if A && B && C && D | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 189 | default y if A && B && C | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 193 | In this example, A && B && C && D (the prompt condition) needs to be non-n for | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 306 | A && B (AND, A, B) | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 307 | A && B && C (AND, A, (AND, B, C)) | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 308 | A || B (OR, A, B) | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 309 | A || (B && C && D) (OR, A, (AND, B, (AND, C, D))) | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 312 | A && B = C && D (AND, A, (AND, (EQUAL, B, C), D)) | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 329 | - The value of A && B is min(A.tri_value, B.tri_value) | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 331 | - The value of A || B is max(A.tri_value, B.tri_value) | STRING |
| HIGH⚡ | lib/kconfiglib/kconfiglib.py | 338 | For constant (as well as undefined) symbols, str_value matches the name of | STRING |
| HIGH | lib/kconfiglib/kconfiglib.py | 6438 | return "(undefined)" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | klippy/stepper.py | 78 | CODE | |
| LOW | klippy/klippy.py | 238 | CODE | |
| LOW | klippy/klippy.py | 128 | CODE | |
| LOW | klippy/console.py | 210 | CODE | |
| LOW | klippy/toolhead.py | 135 | CODE | |
| LOW | klippy/toolhead.py | 269 | CODE | |
| LOW | klippy/pins.py | 96 | CODE | |
| LOW | klippy/mcu.py | 293 | CODE | |
| LOW | klippy/msgproto.py | 138 | CODE | |
| LOW | klippy/msgproto.py | 325 | CODE | |
| LOW | klippy/webhooks.py | 487 | CODE | |
| LOW | klippy/webhooks.py | 534 | CODE | |
| LOW | klippy/kinematics/idex_modes.py | 140 | CODE | |
| LOW | klippy/kinematics/idex_modes.py | 240 | CODE | |
| LOW | klippy/kinematics/idex_modes.py | 303 | CODE | |
| LOW | klippy/kinematics/generic_cartesian.py | 120 | CODE | |
| LOW | klippy/extras/palette2.py | 330 | CODE | |
| LOW | klippy/extras/palette2.py | 533 | CODE | |
| LOW | klippy/extras/exclude_object.py | 221 | CODE | |
| LOW | klippy/extras/tmc.py | 527 | CODE | |
| LOW | klippy/extras/board_pins.py | 8 | CODE | |
| LOW | klippy/extras/htu21d.py | 159 | CODE | |
| LOW | klippy/extras/shaper_defs.py | 170 | CODE | |
| LOW | klippy/extras/gcode_move.py | 134 | CODE | |
| LOW | klippy/extras/ads1x1x.py | 289 | CODE | |
| LOW | klippy/extras/skew_correction.py | 98 | CODE | |
| LOW | klippy/extras/skew_correction.py | 118 | CODE | |
| LOW | klippy/extras/resonance_tester.py | 311 | CODE | |
| LOW | klippy/extras/trigger_analog.py | 173 | CODE | |
| LOW | klippy/extras/bme280.py | 176 | CODE | |
| LOW | klippy/extras/verify_heater.py | 47 | CODE | |
| LOW | klippy/extras/shaper_calibrate.py | 250 | CODE | |
| LOW | klippy/extras/shaper_calibrate.py | 445 | CODE | |
| LOW | klippy/extras/buttons.py | 121 | CODE | |
| LOW | klippy/extras/temperature_probe.py | 547 | CODE | |
| LOW | klippy/extras/temperature_probe.py | 557 | CODE | |
| LOW | klippy/extras/virtual_sdcard.py | 79 | CODE | |
| LOW | klippy/extras/tsl1401cl_filament_width_sensor.py | 81 | CODE | |
| LOW | klippy/extras/motion_report.py | 235 | CODE | |
| LOW | klippy/extras/statistics.py | 24 | CODE | |
| LOW | klippy/extras/homing.py | 208 | CODE | |
| LOW | klippy/extras/hall_filament_width_sensor.py | 151 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 417 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 828 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 887 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 952 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 1021 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 1054 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 1294 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 1554 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 1584 | CODE | |
| LOW | klippy/extras/bed_mesh.py | 1628 | CODE | |
| LOW | klippy/extras/probe_eddy_current.py | 402 | CODE | |
| LOW | klippy/extras/motion_queuing.py | 193 | CODE | |
| LOW | klippy/extras/display/menu.py | 129 | CODE | |
| LOW | klippy/extras/display/menu.py | 601 | CODE | |
| LOW | klippy/extras/display/menu.py | 880 | CODE | |
| LOW | klippy/extras/display/menu.py | 926 | CODE | |
| LOW | klippy/extras/display/menu.py | 1028 | CODE | |
| LOW | docs/_klipper3d/mkdocs_hooks.py | 17 | CODE | |
| 63 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | klippy/klippy.py | 154 | except Exception as e: | STRING |
| LOW | klippy/klippy.py | 166 | except Exception as e: | STRING |
| MEDIUM | klippy/klippy.py | 128 | def _connect(self, eventtime): | CODE |
| LOW | klippy/queuelogger.py | 20 | except Exception: | CODE |
| MEDIUM | klippy/queuelogger.py | 13 | def emit(self, record): | CODE |
| LOW | klippy/msgproto.py | 435 | except Exception as e: | CODE |
| MEDIUM | klippy/msgproto.py | 414 | def process_identify(self, data, decompress=True): | CODE |
| LOW | klippy/webhooks.py | 258 | except Exception: | CODE |
| LOW | klippy/webhooks.py | 271 | except Exception as e: | CODE |
| MEDIUM | klippy/webhooks.py | 141 | def _handle_accept(self, eventtime): | CODE |
| LOW | klippy/extras/gcode_macro.py | 61 | except Exception as e: | CODE |
| LOW | klippy/extras/gcode_macro.py | 71 | except Exception as e: | CODE |
| MEDIUM | klippy/extras/gcode_macro.py | 34 | def __contains__(self, val): | CODE |
| LOW | klippy/extras/htu21d.py | 221 | except Exception: | CODE |
| MEDIUM | klippy/extras/htu21d.py | 159 | def _sample_htu21d(self, eventtime): | CODE |
| LOW | klippy/extras/aht10.py | 121 | except Exception as e: | CODE |
| LOW | klippy/extras/ads1x1x.py | 249 | except Exception: | CODE |
| LOW | klippy/extras/ads1x1x.py | 302 | except Exception as e: | CODE |
| MEDIUM | klippy/extras/ads1x1x.py | 245 | def _handle_connect(self): | CODE |
| LOW | klippy/extras/heaters.py | 268 | except Exception: | CODE |
| LOW | klippy/extras/skew_correction.py | 111 | except Exception: | CODE |
| LOW | klippy/extras/temperature_host.py | 62 | except Exception: | CODE |
| LOW | klippy/extras/bme280.py | 420 | except Exception: | CODE |
| LOW | klippy/extras/bme280.py | 543 | except Exception: | CODE |
| LOW | klippy/extras/bme280.py | 587 | except Exception: | CODE |
| LOW | klippy/extras/bme280.py | 600 | except Exception: | CODE |
| LOW | klippy/extras/aio_executor.py | 48 | except Exception as e: | CODE |
| LOW | klippy/extras/output_pin.py | 151 | except Exception as e: | CODE |
| LOW | klippy/extras/filament_switch_sensor.py | 60 | except Exception: | CODE |
| MEDIUM | klippy/extras/filament_switch_sensor.py | 57 | def _exec_gcode(self, prefix, template): | CODE |
| LOW | klippy/extras/sht3x.py | 143 | except Exception: | CODE |
| MEDIUM | klippy/extras/sht3x.py | 106 | def _sample_sht3x(self, eventtime): | CODE |
| LOW | klippy/extras/delayed_gcode.py | 35 | except Exception: | CODE |
| LOW | klippy/extras/shaper_calibrate.py | 375 | except Exception as e: | CODE |
| LOW | klippy/extras/temperature_probe.py | 218 | except Exception: | CODE |
| LOW | klippy/extras/temperature_probe.py | 230 | except Exception: | CODE |
| LOW | klippy/extras/lm75.py | 72 | except Exception: | CODE |
| MEDIUM | klippy/extras/lm75.py | 68 | def _sample_lm75(self, eventtime): | CODE |
| LOW | klippy/extras/display/display.py | 121 | except Exception: | CODE |
| LOW | klippy/extras/display/menu.py | 658 | except Exception: | CODE |
| LOW | klippy/extras/display/menu.py | 957 | except Exception: | CODE |
| LOW | klippy/extras/display/menu.py | 1005 | except Exception: | CODE |
| MEDIUM | klippy/extras/display/menu.py | 283 | def _index_of(self, item): | CODE |
| LOW | scripts/flash_usb.py | 85 | except Exception: | CODE |
| MEDIUM | scripts/flash_usb.py | 13 | def enter_bootloader(device): | CODE |
| LOW | scripts/test_klippy.py | 124 | except Exception: | CODE |
| MEDIUM | scripts/test_klippy.py | 119 | def run(self): | CODE |
| LOW | scripts/graph_shaper.py | 142 | except Exception as e: | CODE |
| MEDIUM | scripts/graph_shaper.py | 137 | def plot_shaper(opts, shaper_name, shaper_freq, damping_ratio, | CODE |
| LOW | scripts/dump_mcu.py | 101 | except Exception: | CODE |
| LOW | scripts/dump_mcu.py | 195 | except Exception as e: | CODE |
| MEDIUM | scripts/spi_flash/spi_flash.py | 276 | def _fatfs_cb_initialize(self): | CODE |
| LOW | scripts/spi_flash/spi_flash.py | 279 | except Exception: | CODE |
| LOW | scripts/spi_flash/spi_flash.py | 297 | except Exception: | CODE |
| LOW | scripts/spi_flash/spi_flash.py | 319 | except Exception: | CODE |
| LOW | scripts/spi_flash/spi_flash.py | 635 | except Exception: | CODE |
| LOW | scripts/spi_flash/spi_flash.py | 986 | except Exception: | CODE |
| LOW | scripts/spi_flash/spi_flash.py | 1250 | except Exception: | STRING |
| LOW | scripts/spi_flash/spi_flash.py | 1286 | except Exception as err: | STRING |
| LOW | scripts/spi_flash/spi_flash.py | 1436 | except Exception: | STRING |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/printer-tronxy-crux1-2022.cfg | 4 | # ======================= | COMMENT |
| MEDIUM | config/printer-tronxy-crux1-2022.cfg | 6 | # ======================= | COMMENT |
| MEDIUM | config/sample-glyphs.cfg | 7 | # =============================== | COMMENT |
| MEDIUM | config/sample-glyphs.cfg | 9 | # =============================== | COMMENT |
| MEDIUM | config/sample-glyphs.cfg | 32 | # =============================== | COMMENT |
| MEDIUM | config/sample-glyphs.cfg | 34 | # =============================== | COMMENT |
| MEDIUM | config/sample-glyphs.cfg | 76 | # =============================== | COMMENT |
| MEDIUM | config/sample-glyphs.cfg | 78 | # =============================== | COMMENT |
| MEDIUM | config/sample-glyphs.cfg | 139 | # =============================== | COMMENT |
| MEDIUM | config/sample-glyphs.cfg | 141 | # =============================== | COMMENT |
| MEDIUM⚡ | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 6 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 7 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 8 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 10 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 11 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 12 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 29 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 31 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 209 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/printer-lulzbot-taz6-dual-v3-2017.cfg | 211 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/printer-lulzbot-mini1-2016.cfg | 6 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/printer-lulzbot-mini1-2016.cfg | 10 | #------------------------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | klippy/stepper.py | 70 | def setup_default_pulse_duration(self, pulse_duration, step_both_edge): | CODE |
| LOW | klippy/stepper.py | 183 | def mcu_to_commanded_position(self, mcu_pos): | CODE |
| LOW | klippy/reactor.py | 319 | def _dispatch_latency_callback(self, eventtime, prev_eventtime): | CODE |
| LOW | klippy/toolhead.py | 60 | def limit_next_junction_speed(self, speed): | CODE |
| LOW | klippy/toolhead.py | 391 | def limit_next_junction_speed(self, speed): | CODE |
| LOW | klippy/toolhead.py | 526 | def register_lookahead_callback(self, callback): | CODE |
| LOW | klippy/util.py | 116 | def setup_multiprocess_fork_method(): | CODE |
| LOW | klippy/configfile.py | 223 | def build_fileconfig_with_includes(self, data, filename): | CODE |
| LOW | klippy/configfile.py | 338 | def _disallow_include_conflicts(self, regular_fileconfig): | STRING |
| LOW | klippy/serialhdl.py | 241 | def get_default_command_queue(self): | CODE |
| LOW | klippy/mcu.py | 631 | def _old_handle_analog_in_state(self, params): | CODE |
| LOW | klippy/mcu.py | 690 | def check_restart_on_crc_mismatch(self): | CODE |
| LOW | klippy/mcu.py | 692 | def check_restart_on_send_config(self): | CODE |
| LOW | klippy/mcu.py | 1136 | def register_post_init_callback(self, cb): | CODE |
| LOW | klippy/mcu.py | 1165 | def dummy_estimated_print_time(eventtime): | CODE |
| LOW | klippy/mathutil.py | 53 | def background_coordinate_descent(printer, adj_params, params, error_func): | CODE |
| LOW | klippy/webhooks.py | 564 | def add_early_printer_objects(printer): | CODE |
| LOW | klippy/gcode.py | 40 | def get_raw_command_parameters(self): | CODE |
| LOW | klippy/gcode.py | 492 | def add_early_printer_objects(printer): | CODE |
| LOW | klippy/kinematics/idex_modes.py | 303 | def restore_dual_carriage_state(self, saved_state, move, move_speed=0.): | CODE |
| LOW | klippy/kinematics/generic_cartesian.py | 213 | def _check_carriages_references(self, report_error): | CODE |
| LOW | klippy/kinematics/rotary_delta.py | 152 | def coordinate_descent_params(self, is_extended): | CODE |
| LOW | klippy/kinematics/delta.py | 184 | def coordinate_descent_params(self, is_extended): | CODE |
| LOW | klippy/extras/gcode_macro.py | 99 | def _action_call_remote_method(self, method, **kwargs): | CODE |
| LOW | klippy/extras/exclude_object.py | 155 | def _move_into_excluded_region(self, newpos, speed): | CODE |
| LOW | klippy/extras/exclude_object.py | 159 | def _move_from_excluded_region(self, newpos, speed): | CODE |
| LOW | klippy/extras/shaper_defs.py | 105 | def _get_shaper_from_expansion_coeffs(shaper_freq, damping_ratio, t, a): | CODE |
| LOW | klippy/extras/input_shaper.py | 138 | def _get_input_shaper_stepper_kinematics(self, stepper): | CODE |
| LOW | klippy/extras/gcode_move.py | 75 | def _handle_activate_extruder(self): | CODE |
| LOW | klippy/extras/gcode_move.py | 100 | def _get_gcode_speed_override(self): | CODE |
| LOW | klippy/extras/servo.py | 61 | def _get_pwm_from_pulse_width(self, width): | CODE |
| LOW | klippy/extras/ads1x1x.py | 280 | def handle_report_time_update(self): | CODE |
| LOW | klippy/extras/axis_twist_compensation.py | 56 | def _update_z_compensation_value(self, poslist): | CODE |
| LOW | klippy/extras/axis_twist_compensation.py | 78 | def _get_interpolated_z_compensation( | CODE |
| LOW | klippy/extras/axis_twist_compensation.py | 294 | def _manual_probe_callback_factory(self, test_points, | STRING |
| LOW | klippy/extras/resonance_tester.py | 394 | def _get_max_calibration_freq(self): | CODE |
| LOW | klippy/extras/pwm_tool.py | 119 | def _gen_intermediate_updates(self, clock): | CODE |
| LOW | klippy/extras/delta_calibrate.py | 35 | def measurements_to_distances(measured_params, delta_params): | CODE |
| LOW | klippy/extras/bme280.py | 698 | def _calc_gas_heater_resistance(self, target_temp): | CODE |
| LOW | klippy/extras/bme280.py | 713 | def _calc_gas_heater_duration(self, duration_ms): | CODE |
| LOW | klippy/extras/load_cell.py | 165 | def verify_no_active_calibration(self,): | CODE |
| LOW | klippy/extras/load_cell.py | 511 | def get_reference_tare_counts(self): | CODE |
| LOW | klippy/extras/temperature_combined.py | 146 | def _temperature_update_event(self, eventtime): | CODE |
| LOW | klippy/extras/print_stats.py | 20 | def _handle_activate_extruder(self): | CODE |
| LOW | klippy/extras/shaper_calibrate.py | 195 | def process_accelerometer_data(self, name, data): | CODE |
| LOW | klippy/extras/shaper_calibrate.py | 218 | def _estimate_remaining_vibrations(self, shaper, test_damping_ratio, | CODE |
| LOW | klippy/extras/bus.py | 117 | def spi_transfer_with_preface(self, preface_data, data, | CODE |
| LOW | klippy/extras/buttons.py | 299 | def register_debounce_adc_button(self, pin, min_val, max_val, pullup | CODE |
| LOW | klippy/extras/temperature_probe.py | 535 | def note_z_calibration_finish(self): | CODE |
| LOW | klippy/extras/tsl1401cl_filament_width_sensor.py | 81 | def extrude_factor_update_event(self, eventtime): | CODE |
| LOW | klippy/extras/hall_filament_width_sensor.py | 151 | def extrude_factor_update_event(self, eventtime): | CODE |
| LOW | klippy/extras/bed_mesh.py | 1667 | def _check_incompatible_profiles(self): | CODE |
| LOW | klippy/extras/probe_eddy_current.py | 23 | def note_z_calibration_finish(self): | CODE |
| LOW | klippy/extras/probe_eddy_current.py | 51 | def note_z_calibration_finish(self): | CODE |
| LOW | klippy/extras/probe_eddy_current.py | 53 | def register_drift_compensation(self, comp): | CODE |
| LOW | klippy/extras/probe_eddy_current.py | 207 | def validate_calibration_data(self, positions): | CODE |
| LOW | klippy/extras/probe_eddy_current.py | 343 | def _analyze_main_calibration(self): | CODE |
| LOW | klippy/extras/probe_eddy_current.py | 355 | def _describe_main_calibration(self, coeffs): | CODE |
| LOW | klippy/extras/probe_eddy_current.py | 1060 | def _handle_manual_probe_via_tap(self, gcmd): | CODE |
| LOW | klippy/extras/probe_eddy_current.py | 1087 | def register_drift_compensation(self, comp): | CODE |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/printer-fokoos-odin5-f3-2021.cfg | 18 | # WARNING: The printer's Z endstop inductive sensor is not very accurate, so | COMMENT |
| LOW | scripts/install-ubuntu-18.04.sh | 9 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-ubuntu-18.04.sh | 33 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-ubuntu-18.04.sh | 45 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-ubuntu-18.04.sh | 70 | # Step 4: Start host software | COMMENT |
| LOW | scripts/install-ubuntu-22.04.sh | 9 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-ubuntu-22.04.sh | 33 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-ubuntu-22.04.sh | 45 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-ubuntu-22.04.sh | 70 | # Step 4: Start host software | COMMENT |
| LOW | scripts/install-octopi.sh | 7 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-octopi.sh | 31 | # Step 2: Create python virtual environment | COMMENT |
| LOW⚡ | scripts/install-octopi.sh | 43 | # Step 3: Install startup script | COMMENT |
| LOW⚡ | scripts/install-octopi.sh | 51 | # Step 4: Install startup script config | COMMENT |
| LOW | scripts/install-octopi.sh | 70 | # Step 5: Start host software | COMMENT |
| LOW | scripts/install-debian.sh | 10 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-debian.sh | 34 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-debian.sh | 46 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-debian.sh | 73 | # Step 4: Start host software | COMMENT |
| LOW | scripts/install-arch.sh | 10 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-arch.sh | 32 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-arch.sh | 44 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-arch.sh | 70 | # Step 4: Start host software | COMMENT |
| LOW | scripts/install-centos.sh | 8 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-centos.sh | 28 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-centos.sh | 40 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-centos.sh | 69 | # Step 5: Start host software | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 5 | # Step 1: Do main install | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 13 | # Step 2: Install additional system packages | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 29 | # Step 3: Install startup script | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 37 | # Step 4: Install pru udev rule | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 47 | # Step 5: Add user to tty group | COMMENT |
| LOW⚡ | src/stm32/sdio.c | 176 | // Step 1: Send command and argument | COMMENT |
| LOW⚡ | src/stm32/sdio.c | 183 | // Step 2: Wait until response | COMMENT |
| LOW | src/stm32/sdio.c | 197 | // Step 3: Store response_data and check for short and long responses | COMMENT |
| LOW | src/stm32/sdio.c | 238 | // Step 4: For a short response check the response cmd field, too. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/install-ubuntu-18.04.sh | 9 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-ubuntu-18.04.sh | 33 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-ubuntu-18.04.sh | 45 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-ubuntu-18.04.sh | 70 | # Step 4: Start host software | COMMENT |
| LOW | scripts/install-ubuntu-22.04.sh | 9 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-ubuntu-22.04.sh | 33 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-ubuntu-22.04.sh | 45 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-ubuntu-22.04.sh | 70 | # Step 4: Start host software | COMMENT |
| LOW | scripts/install-octopi.sh | 7 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-octopi.sh | 31 | # Step 2: Create python virtual environment | COMMENT |
| LOW⚡ | scripts/install-octopi.sh | 43 | # Step 3: Install startup script | COMMENT |
| LOW⚡ | scripts/install-octopi.sh | 51 | # Step 4: Install startup script config | COMMENT |
| LOW | scripts/install-octopi.sh | 70 | # Step 5: Start host software | COMMENT |
| LOW | scripts/install-debian.sh | 10 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-debian.sh | 34 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-debian.sh | 46 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-debian.sh | 73 | # Step 4: Start host software | COMMENT |
| LOW | scripts/install-arch.sh | 10 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-arch.sh | 32 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-arch.sh | 44 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-arch.sh | 70 | # Step 4: Start host software | COMMENT |
| LOW | scripts/install-centos.sh | 8 | # Step 1: Install system packages | COMMENT |
| LOW | scripts/install-centos.sh | 28 | # Step 2: Create python virtual environment | COMMENT |
| LOW | scripts/install-centos.sh | 40 | # Step 3: Install startup script | COMMENT |
| LOW | scripts/install-centos.sh | 69 | # Step 5: Start host software | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 5 | # Step 1: Do main install | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 13 | # Step 2: Install additional system packages | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 29 | # Step 3: Install startup script | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 37 | # Step 4: Install pru udev rule | COMMENT |
| LOW⚡ | scripts/install-beaglebone.sh | 47 | # Step 5: Add user to tty group | COMMENT |
| LOW⚡ | src/stm32/sdio.c | 176 | // Step 1: Send command and argument | COMMENT |
| LOW⚡ | src/stm32/sdio.c | 183 | // Step 2: Wait until response | COMMENT |
| LOW | src/stm32/sdio.c | 197 | // Step 3: Store response_data and check for short and long responses | COMMENT |
| LOW | src/stm32/sdio.c | 238 | // Step 4: For a short response check the response cmd field, too. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | klippy/stepper.py | 6 | CODE | |
| LOW | klippy/util.py | 7 | CODE | |
| LOW | klippy/mcu.py | 6 | CODE | |
| LOW | klippy/kinematics/polar.py | 6 | CODE | |
| LOW | klippy/kinematics/idex_modes.py | 7 | CODE | |
| LOW | klippy/kinematics/hybrid_corexz.py | 6 | CODE | |
| LOW | klippy/kinematics/corexy.py | 6 | CODE | |
| LOW | klippy/kinematics/corexy.py | 6 | CODE | |
| LOW | klippy/kinematics/generic_cartesian.py | 7 | CODE | |
| LOW | klippy/kinematics/generic_cartesian.py | 7 | CODE | |
| LOW | klippy/kinematics/generic_cartesian.py | 7 | CODE | |
| LOW | klippy/kinematics/cartesian.py | 6 | CODE | |
| LOW | klippy/kinematics/corexz.py | 6 | CODE | |
| LOW | klippy/kinematics/corexz.py | 6 | CODE | |
| LOW | klippy/kinematics/kinematic_stepper.py | 7 | CODE | |
| LOW | klippy/kinematics/hybrid_corexy.py | 6 | CODE | |
| LOW | klippy/extras/palette2.py | 8 | CODE | |
| LOW | klippy/extras/shaper_defs.py | 6 | CODE | |
| LOW | klippy/extras/pca9533.py | 6 | CODE | |
| LOW | klippy/extras/load_cell_probe.py | 6 | CODE | |
| LOW | klippy/extras/load_cell_probe.py | 7 | CODE | |
| LOW | klippy/extras/resonance_tester.py | 6 | CODE | |
| LOW | klippy/extras/delta_calibrate.py | 6 | CODE | |
| LOW | klippy/extras/homing_heaters.py | 7 | CODE | |
| LOW | klippy/extras/load_cell.py | 12 | CODE | |
| LOW | klippy/extras/extruder_stepper.py | 6 | CODE | |
| LOW | klippy/extras/tmc2240.py | 7 | CODE | |
| LOW | klippy/extras/tmc2240.py | 8 | CODE | |
| LOW | klippy/extras/shaper_calibrate.py | 6 | CODE | |
| LOW | klippy/extras/buttons.py | 6 | CODE | |
| LOW | klippy/extras/tmc2130.py | 6 | CODE | |
| LOW | klippy/extras/smart_effector.py | 7 | CODE | |
| LOW | klippy/extras/manual_stepper.py | 6 | CODE | |
| LOW | klippy/extras/tmc2208.py | 6 | CODE | |
| LOW | klippy/extras/tmc_uart.py | 6 | CODE | |
| LOW | klippy/extras/manual_probe.py | 6 | CODE | |
| LOW | klippy/extras/tmc5160.py | 6 | CODE | |
| LOW | klippy/extras/tmc5160.py | 7 | CODE | |
| LOW | klippy/extras/probe_eddy_current.py | 6 | CODE | |
| LOW | klippy/extras/filament_motion_sensor.py | 6 | CODE | |
| LOW | klippy/extras/tuning_tower.py | 6 | CODE | |
| LOW | klippy/extras/tmc2660.py | 7 | CODE | |
| LOW | klippy/extras/display/st7920.py | 6 | CODE | |
| LOW | klippy/extras/display/hd44780_spi.py | 8 | CODE | |
| LOW | klippy/extras/display/hd44780.py | 7 | CODE | |
| LOW | klippy/extras/display/uc1701.py | 7 | CODE | |
| LOW | scripts/calibrate_shaper.py | 8 | CODE | |
| LOW | scripts/flash_usb.py | 92 | CODE | |
| LOW | scripts/graph_extruder.py | 7 | CODE | |
| LOW | scripts/graph_motion.py | 8 | CODE | |
| LOW | scripts/make_version.py | 8 | CODE | |
| LOW | scripts/canbus_query.py | 7 | CODE | |
| LOW | lib/kconfiglib/menuconfig.py | 186 | CODE | |
| LOW | lib/katapult/flashtool.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | klippy/stepper.py | 82 | # Check if can enable "step on both edges" | COMMENT |
| LOW | klippy/reactor.py | 330 | # Check if can sleep | COMMENT |
| LOW | klippy/toolhead.py | 192 | # Check if enough moves have been queued to reach the target flush time. | COMMENT |
| LOW | klippy/toolhead.py | 361 | # Check if there are lots of queued moves and pause if so | COMMENT |
| LOW | klippy/clocksync.py | 102 | # Check if this is the best round-trip-time seen so far | COMMENT |
| LOW⚡ | klippy/chelper/__init__.py | 260 | # Check if the code needs to be compiled | STRING |
| LOW⚡ | klippy/chelper/__init__.py | 266 | # Check if the current gcc version supports a particular command-line option | STRING |
| LOW⚡ | klippy/chelper/__init__.py | 273 | # Check if the current gcc version supports a particular command-line option | STRING |
| LOW | klippy/chelper/__init__.py | 315 | # Check if library needs to be built, and build if so | STRING |
| LOW | klippy/kinematics/polar.py | 19 | # Check if the projected point lies on the bounded line segment | COMMENT |
| LOW | klippy/extras/tmc.py | 489 | # Check if using step on both edges optimization | COMMENT |
| LOW | klippy/extras/gcode_move.py | 164 | # Set units to inches | COMMENT |
| LOW | klippy/extras/gcode_move.py | 167 | # Set units to millimeters | COMMENT |
| LOW | klippy/extras/aht10.py | 86 | # Check if we're constantly busy. If so, send soft-reset | COMMENT |
| LOW | klippy/extras/angle.py | 532 | # Set histeresis to 0.003 degree | COMMENT |
| LOW | klippy/extras/replicape.py | 231 | # Check if need to set the pca9685 enable pin | COMMENT |
| LOW | klippy/extras/replicape.py | 240 | # Check if need to set the stepper enable lines | COMMENT |
| LOW | klippy/extras/idle_timeout.py | 80 | # Check if need to transition to "ready" state | STRING |
| LOW | klippy/extras/endstop_phase.py | 145 | # Check if stepper has an endstop_phase config section defined | COMMENT |
| LOW | klippy/extras/pid_calibrate.py | 79 | # Check if the temperature has crossed the target and | COMMENT |
| LOW | klippy/extras/pid_calibrate.py | 89 | # Check if this temperature is a peak and record it if so | COMMENT |
| LOW | klippy/extras/sx1509.py | 112 | # Set direction to output | COMMENT |
| LOW | klippy/extras/manual_stepper.py | 186 | # Check if need to limit maximum velocity and acceleration | COMMENT |
| LOW | klippy/extras/safe_z_home.py | 35 | # Check if Z axis is homed and its last known position | COMMENT |
| LOW | klippy/extras/save_variables.py | 50 | # Write file | COMMENT |
| LOW | klippy/extras/homing.py | 287 | # Check if this is actually a Z home via probe request | COMMENT |
| LOW | klippy/extras/display/uc1701.py | 177 | 0x40, # Set display to start at line 0 | CODE |
| LOW | config/printer-biqu-bx-2021.cfg | 280 | # Set LED to Purple for bed heating | COMMENT |
| LOW | config/printer-biqu-bx-2021.cfg | 297 | # Set LED to Red for nozzle heating | COMMENT |
| LOW | config/printer-biqu-bx-2021.cfg | 304 | # Set LED to white for printing | COMMENT |
| LOW | config/printer-biqu-bx-2021.cfg | 317 | G90 # Set back to Absolute mode | CODE |
| LOW | config/printer-velleman-k8200-2013.cfg | 39 | # Set position_max to 200 if you have the original Z-axis setup. | COMMENT |
| LOW | scripts/check-software-div.sh | 2 | # Check if a binary appears to have a software library divide operator | COMMENT |
| LOW | scripts/buildcommands.py | 520 | # Check if this tool looks like a binutils program | STRING |
| LOW | scripts/spi_flash/spi_flash.py | 955 | # Check if bits 15:13 have some error set | COMMENT |
| LOW | lib/kconfiglib/kconfiglib.py | 4326 | # Check if a range is in effect | STRING |
| LOW | lib/kconfiglib/kconfiglib.py | 4617 | # Check if the value is valid for our type | STRING |
| LOW | lib/kconfiglib/kconfiglib.py | 5446 | # Check if we have a default | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/printer-eryone-er20-2021.cfg | 131 | # Please make sure you set the correct values for your offsets. | COMMENT |
| MEDIUM | config/printer-longer-lk4-pro-2019.cfg | 61 | # you can use this follow values for x & y offset | COMMENT |
| MEDIUM | config/printer-geeetech-A10T-A20T-2021.cfg | 216 | # - you can add as many extruders as mixing ratios you want | COMMENT |
| MEDIUM | config/printer-geeetech-A10T-A20T-2021.cfg | 244 | # you can add as many filaments as mixing ratios you want | COMMENT |
| LOW | config/printer-fokoos-odin5-f3-2021.cfg | 140 | # 3-wire connector (make sure you connect it the right way round) and the Z+ | COMMENT |
| MEDIUM | config/printer-fokoos-odin5-f3-2021.cfg | 159 | # Optional bed mesh configuration you can use if you have a BLtouch installed. | COMMENT |
| LOW | config/printer-monoprice-select-mini-v2-2018.cfg | 15 | # Also make sure to use the following string in the low-level configuration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | klippy/toolhead.py | 118 | # Class to track a list of pending move requests and to facilitate | COMMENT |
| LOW | klippy/extras/probe_eddy_current.py | 522 | # In debugging mode - just create dummy response | COMMENT |
| LOW | config/generic-prusa-buddy.cfg | 17 | # installed, you no longer need the jumper - just use "make flash" which will | COMMENT |
| LOW | config/printer-prusa-mini-plus-2020.cfg | 18 | # installed, you no longer need the jumper - just use "make flash" which will | COMMENT |
| LOW | lib/kconfiglib/kconfiglib.py | 3451 | # EQUAL, UNEQUAL, etc., so we can just use the token directly | STRING |
| LOW | lib/kconfiglib/kconfiglib.py | 6587 | # to _check_dep_loop_sym(). We just return immediately. | STRING |
| LOW | lib/kconfiglib/menuconfig.py | 2370 | # information dialog just return, to avoid a confusing recursive invocation | STRING |
| LOW | lib/kconfiglib/menuconfig.py | 3014 | # just use whatever prompt we can find for it | STRING |
| MEDIUM | lib/pico-sdk/rp2350/hardware/regs/rp_ap.h | 650 | // manager and the switched-core. Essentially that is everythjing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | klippy/extras/htu21d.py | 243 | CODE | |
| LOW | klippy/extras/shaper_calibrate.py | 359 | CODE | |
| LOW | docs/_klipper3d/mkdocs_hooks.py | 42 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | klippy/extras/load_cell.py | 27 | # Helper for event driven webhooks and subscription based API clients | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | klippy/extras/buttons.py | 305 | def helper(eventtime, state, callback=callback): | CODE |
| LOW | klippy/extras/buttons.py | 339 | def helper(eventtime, state, callback=callback): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/checkstack.py | 9 | # Usage: | COMMENT |