OctoPrint is the snappy web interface for your 3D printer!
This report presents the forensic synthetic code analysis of OctoPrint/OctoPrint, a Python project with 9,037 GitHub stars. SynthScan v2.0 examined 242,896 lines of code across 632 source files, recording 1701 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 10.0 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1701 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …elloworld/octoprint_helloworld/static/js/helloworld.js | 23 | self.newUrl(self.settings.settings.plugins.helloworld.url()); | CODE |
| CRITICAL | …toprint/plugins/achievements/static/js/achievements.js | 317 | !self.settings.settings.plugins.achievements.timezone() && | CODE |
| CRITICAL⚡ | …toprint/plugins/achievements/static/js/achievements.js | 394 | self.timezoneSetting(self.settings.settings.plugins.achievements.timezone()); | CODE |
| CRITICAL⚡ | …toprint/plugins/achievements/static/js/achievements.js | 399 | self.settings.settings.plugins.achievements.timezone() !== | CODE |
| CRITICAL⚡ | …toprint/plugins/achievements/static/js/achievements.js | 403 | self.settings.settings.plugins.achievements.timezone() | CODE |
| CRITICAL⚡ | …toprint/plugins/achievements/static/js/achievements.js | 411 | self.settings.settings.plugins.achievements.timezone() !== | CODE |
| CRITICAL | …plugins/serial_connector/static/js/serial_connector.js | 15 | self.settings.settings.plugins.serial_connector.log() | CODE |
| CRITICAL | …plugins/serial_connector/static/js/serial_connector.js | 51 | self.settings.settings.plugins.serial_connector.ignoreEmptyPorts() | CODE |
| CRITICAL | src/octoprint/plugins/eventmanager/static/js/events.js | 41 | self.settingsViewModel.settings.plugins.eventmanager.subscriptions.push( | CODE |
| CRITICAL | src/octoprint/plugins/eventmanager/static/js/events.js | 53 | self.settingsViewModel.settings.plugins.eventmanager.subscriptions.remove( | CODE |
| CRITICAL | …print/plugins/announcements/static/js/announcements.js | 304 | self.settings.settings.plugins.announcements.display_limit(); | CODE |
| CRITICAL | …print/plugins/announcements/static/js/announcements.js | 305 | var maxLength = self.settings.settings.plugins.announcements.summary_limit(); | CODE |
| CRITICAL | …int/plugins/softwareupdate/static/js/softwareupdate.js | 36 | self.settings.settings.plugins.softwareupdate.octoprint_type() === | CODE |
| CRITICAL | …int/plugins/softwareupdate/static/js/softwareupdate.js | 42 | self.settings.settings.plugins.softwareupdate.octoprint_type() === | CODE |
| CRITICAL | …int/plugins/softwareupdate/static/js/softwareupdate.js | 183 | !self.settings.settings.plugins.softwareupdate.ignore_throttled() | CODE |
| CRITICAL | …int/plugins/softwareupdate/static/js/softwareupdate.js | 307 | self.settings.settings.plugins.softwareupdate.queued_updates() | CODE |
| CRITICAL | …int/plugins/softwareupdate/static/js/softwareupdate.js | 321 | self.settings.settings.plugins.softwareupdate.octoprint_branch_mappings(), | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 332 | self.settings.settings.plugins.softwareupdate.cache_ttl() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 335 | self.settings.settings.plugins.softwareupdate.notify_users() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 339 | self.settings.settings.plugins.softwareupdate.octoprint_type() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 342 | self.settings.settings.plugins.softwareupdate.octoprint_release_channel() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 345 | self.settings.settings.plugins.softwareupdate.octoprint_checkout_folder() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 348 | self.settings.settings.plugins.softwareupdate.octoprint_tracked_branch() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 351 | self.settings.settings.plugins.softwareupdate.octoprint_pip_target() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 355 | self.settings.settings.plugins.softwareupdate.pip_enable_check() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 359 | self.settings.settings.plugins.softwareupdate.minimum_free_storage() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 363 | self.settings.settings.plugins.softwareupdate.credentials.github_set() | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 368 | self.settings.settings.plugins.softwareupdate.octoprint_checkout_folder( | CODE |
| CRITICAL⚡ | …int/plugins/softwareupdate/static/js/softwareupdate.js | 371 | self.settings.settings.plugins.softwareupdate.octoprint_type( | CODE |
| CRITICAL | …int/plugins/softwareupdate/static/js/softwareupdate.js | 485 | !self.settings.settings.plugins.softwareupdate.notify_users() | CODE |
| CRITICAL | …print/plugins/pluginmanager/static/js/pluginmanager.js | 392 | !self.settingsViewModel.settings.plugins.pluginmanager.ignore_throttled() | CODE |
| CRITICAL | …print/plugins/pluginmanager/static/js/pluginmanager.js | 993 | self.settingsViewModel.settings.plugins.pluginmanager.confirm_disable() | CODE |
| CRITICAL | …print/plugins/pluginmanager/static/js/pluginmanager.js | 1180 | self.settingsViewModel.settings.plugins.pluginmanager.repository_restricted() | CODE |
| CRITICAL | …print/plugins/pluginmanager/static/js/pluginmanager.js | 1190 | self.settingsViewModel.settings.plugins.pluginmanager.repository_restricted( | CODE |
| CRITICAL⚡ | …print/plugins/pluginmanager/static/js/pluginmanager.js | 1639 | self.settingsViewModel.settings.plugins.pluginmanager.repository() | CODE |
| CRITICAL⚡ | …print/plugins/pluginmanager/static/js/pluginmanager.js | 1642 | self.settingsViewModel.settings.plugins.pluginmanager.repository_ttl() | CODE |
| CRITICAL⚡ | …print/plugins/pluginmanager/static/js/pluginmanager.js | 1645 | self.settingsViewModel.settings.plugins.pluginmanager.notices() | CODE |
| CRITICAL⚡ | …print/plugins/pluginmanager/static/js/pluginmanager.js | 1648 | self.settingsViewModel.settings.plugins.pluginmanager.notices_ttl() | CODE |
| CRITICAL⚡ | …print/plugins/pluginmanager/static/js/pluginmanager.js | 1651 | self.settingsViewModel.settings.plugins.pluginmanager.pip_args() | CODE |
| CRITICAL⚡ | …print/plugins/pluginmanager/static/js/pluginmanager.js | 1654 | self.settingsViewModel.settings.plugins.pluginmanager.pip_force_user() | CODE |
| CRITICAL⚡ | …print/plugins/pluginmanager/static/js/pluginmanager.js | 1657 | self.settingsViewModel.settings.plugins.pluginmanager.confirm_disable() | CODE |
| CRITICAL | …octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js | 127 | self.settings.settings.plugins.gcodeviewer.alwaysCompress(), | CODE |
| CRITICAL | …octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js | 129 | self.settings.settings.plugins.gcodeviewer.compressionSizeThreshold(), | CODE |
| CRITICAL | …octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js | 405 | self.settings.settings.plugins.gcodeviewer.alwaysCompress.subscribe( | CODE |
| CRITICAL | …octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js | 408 | self.settings.settings.plugins.gcodeviewer.compressionSizeThreshold.subscribe( | CODE |
| CRITICAL | …octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js | 541 | self.settings.settings.plugins.gcodeviewer.skipUntilThis() | CODE |
| CRITICAL | …octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js | 676 | self.settings.settings.plugins.gcodeviewer.sizeThreshold() || | CODE |
| CRITICAL | …octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js | 679 | self.settings.settings.plugins.gcodeviewer.mobileSizeThreshold()) | CODE |
| CRITICAL | …_notification/static/js/action_command_notification.js | 18 | self.settings.settings.plugins.action_command_notification.filter() | CODE |
| CRITICAL | …_notification/static/js/action_command_notification.js | 87 | self.settings.settings.plugins.action_command_notification.enable_popups() | CODE |
| CRITICAL | src/octoprint/plugins/tracking/static/js/usage.js | 23 | self.settingsViewModel.settings.plugins.tracking.enabled(true); | CODE |
| CRITICAL | src/octoprint/plugins/tracking/static/js/usage.js | 29 | self.settingsViewModel.settings.plugins.tracking.enabled(false); | CODE |
| CRITICAL | src/octoprint/plugins/tracking/static/js/usage.js | 78 | self.settingsViewModel.settings.plugins.tracking.enabled() | CODE |
| CRITICAL | src/octoprint/plugins/backup/static/js/backup.js | 146 | self.config_path(self.settings.settings.plugins.backup.path()); | CODE |
| CRITICAL | …print/plugins/errortracking/static/js/errortracking.js | 13 | if (self.settings.settings.plugins.errortracking.enabled()) return; | CODE |
| CRITICAL | …print/plugins/errortracking/static/js/errortracking.js | 17 | self.settings.settings.plugins.softwareupdate.octoprint_release_channel(); | CODE |
| CRITICAL | …print/plugins/errortracking/static/js/errortracking.js | 118 | self.settings.settings.plugins.softwareupdate.octoprint_release_channel.subscribe( | CODE |
| CRITICAL | src/octoprint/plugins/logging/static/js/logging.js | 31 | self.settings.settings.plugins.logging.plugintimings_log_warning() | CODE |
| CRITICAL | src/octoprint/plugins/health_check/__init__.py | 216 | if not octoprint.access.permissions.Permissions.PLUGIN_HEALTH_CHECK_CHECK.can(): | CODE |
| CRITICAL | …toprint/plugins/health_check/static/js/health_check.js | 298 | self.settings.settings.plugins.health_check.checks.filesystem_storage.warning_threshold(); | CODE |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 6 | def copy_files_build_py_factory(files, baseclass): | CODE |
| LOW | tests/test_daemon.py | 56 | def test_double_fork_failed_first(self, mock_exit, mock_fork): | CODE |
| LOW | tests/test_daemon.py | 78 | def test_double_fork_failed_second( | CODE |
| LOW | tests/test_daemon.py | 258 | def test_stop_not_running_no_error(self, mock_exit): | CODE |
| LOW | tests/test_daemon.py | 344 | def test_is_running_false_no_pid(self): | CODE |
| LOW | tests/test_daemon.py | 356 | def test_is_running_false_pidfile_removed(self, mock_kill): | CODE |
| LOW | tests/test_daemon.py | 376 | def test_is_running_false_pidfile_error(self, mock_kill): | CODE |
| LOW | tests/test_daemon.py | 465 | def test_remove_pidfile_exists(self, mock_remove, mock_isfile): | CODE |
| LOW | tests/test_daemon.py | 478 | def test_remove_pidfile_doesnt_exist(self, mock_remove, mock_isfile): | CODE |
| LOW | tests/test_events.py | 42 | def test_escape_system_commands(params, shell, expected): | CODE |
| LOW | tests/test_events.py | 69 | def test_handle_system_commands(mocked_printer, param, shell, expected_call): | CODE |
| LOW⚡ | tests/settings/test_settings.py | 147 | def test_should_have_regex_filters(self): | CODE |
| LOW⚡ | tests/settings/test_settings.py | 156 | def test_should_have_suppress_temperature_regex(self): | CODE |
| LOW⚡ | tests/settings/test_settings.py | 1262 | def test_prefix_caching_has_populates(self): | CODE |
| LOW⚡ | tests/settings/test_settings.py | 1270 | def test_prefix_caching_get_populates(self): | CODE |
| LOW⚡ | tests/settings/test_settings.py | 1278 | def test_prefix_caching_scalars_ignored(self): | CODE |
| LOW⚡ | tests/settings/test_settings.py | 1285 | def test_prefix_caching_set_invalidates(self): | CODE |
| LOW | tests/settings/test_settings.py | 57 | def test_basedir_initialization(self): | CODE |
| LOW | tests/settings/test_settings.py | 69 | def test_basedir_folder_creation(self): | CODE |
| LOW | tests/settings/test_settings.py | 92 | def test_basedir_initialization_with_custom_basedir(self): | CODE |
| LOW | tests/settings/test_settings.py | 116 | def test_basedir_initialization_with_custom_config(self): | CODE |
| LOW | tests/settings/test_settings.py | 170 | def test_temperature_regex_should_not_match(self): | CODE |
| LOW | tests/settings/test_settings.py | 199 | def test_temperature_regex_matches(self): | CODE |
| LOW | tests/settings/test_settings.py | 397 | def test_set_boolean_convert_string_true(self, value): | CODE |
| LOW | tests/settings/test_settings.py | 408 | def test_set_boolean_convert_any_false(self, value): | CODE |
| LOW | tests/settings/test_settings.py | 535 | def test_get_preprocessor_parent_path(self): | CODE |
| LOW | tests/settings/test_settings.py | 566 | def test_set_preprocessor_parent_path(self): | CODE |
| LOW | tests/settings/test_settings.py | 582 | def test_set_external_modification(self): | CODE |
| LOW | tests/settings/test_settings.py | 605 | def test_update_callback_change( | CODE |
| LOW | tests/settings/test_settings.py | 618 | def test_update_callback_reset_to_default(self): | CODE |
| LOW | tests/settings/test_settings.py | 629 | def test_update_callback_wrong_path(self): | CODE |
| LOW | tests/settings/test_settings.py | 640 | def test_update_callback_removal(self): | CODE |
| LOW | tests/settings/test_settings.py | 660 | def test_update_callback_child_write(self): | CODE |
| LOW | tests/settings/test_settings.py | 673 | def test_overlay_add_and_remove(self): | CODE |
| LOW | tests/settings/test_settings.py | 688 | def test_overlay_add_and_remove_deprecated(self): | CODE |
| LOW | tests/settings/test_settings.py | 730 | def test_serial_compat_overlay(self, serial_key, expected): | CODE |
| LOW | tests/settings/test_settings.py | 741 | def test_serial_compat_overlay_updates(self, source_path, new_value, serial_key): | CODE |
| LOW | tests/settings/test_settings.py | 753 | def test_blocklist_compat_overlay(self, settings_key, expected): | CODE |
| LOW | tests/settings/test_settings.py | 758 | def test_webcam_compat_overlay(self): | CODE |
| LOW | tests/settings/test_settings.py | 866 | def test_migrate_trusted_proxies(self, config, expected_config, expected_return): | CODE |
| LOW | tests/settings/test_settings.py | 938 | def test_migrate_terminal_filters(self, filters, expected_filters, expected_return): | CODE |
| LOW | tests/settings/test_settings.py | 945 | def test_migrate_terminal_filters_no_key(self): | CODE |
| LOW | tests/settings/test_settings.py | 1031 | def blocklist_compat_settings(self): | CODE |
| LOW | tests/settings/test_settings.py | 1198 | def test_del_by_path_with_subtree(self): | CODE |
| LOW | tests/settings/test_settings.py | 1306 | def test_prefix_caching_del_invalidates(self): | CODE |
| LOW | tests/settings/test_settings.py | 1325 | def test_prefix_caching_custom_defaults(self): | CODE |
| LOW | tests/access/groups/test_groupmanager.py | 21 | def group_manager_with_temp_file(): | CODE |
| LOW | tests/access/groups/test_groupmanager.py | 49 | def test_cyclic_subgroup_self_reference(self): | CODE |
| LOW | tests/access/groups/test_groupmanager.py | 62 | def test_cyclic_subgroup_indirect(self): | CODE |
| LOW | tests/access/users/test_users.py | 33 | def test_settings_change_propagates(self): | CODE |
| LOW | tests/access/users/test_usermanager.py | 38 | def test_nologin_user_check_password_always_false(password): | CODE |
| LOW⚡ | tests/util/test_version.py | 21 | def test_get_comparable_version(self, version, cut, expected): | CODE |
| LOW⚡ | tests/util/test_version.py | 34 | def test_get_comparable_version_base(self): | CODE |
| LOW | tests/util/test_net.py | 17 | def patched_ifaddr_get_adapters(): | CODE |
| LOW | tests/util/test_net.py | 117 | def test_get_netmask_broken_address(): | CODE |
| LOW | tests/util/test_net.py | 240 | def test_usable_trusted_proxies(proxies, add_localhost, expected): | CODE |
| LOW | tests/util/test_net.py | 244 | def test_usable_trusted_proxies_from_settings(): | CODE |
| LOW | tests/util/test_net.py | 281 | def test_get_forwarded_for_addresses(forwarded_for, expected): | CODE |
| LOW | tests/util/test_net.py | 346 | def test_get_trusted_forwarded_for_addresses(forwarded_for, trusted_proxies, expected): | CODE |
| LOW | tests/util/test_net.py | 402 | def test_contains_trusted_source(trusted, forwarded_for, trusted_proxies, expected): | CODE |
| 577 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/settings/test_settings.py | 143 | except Exception: | CODE |
| LOW | tests/settings/test_settings.py | 113 | except Exception: | CODE |
| LOW | tests/settings/test_settings.py | 967 | except Exception: | CODE |
| LOW⚡ | tests/util/test_version.py | 26 | except Exception as exc: | CODE |
| LOW | docs/sphinxext/pydanticext.py | 31 | except Exception: | CODE |
| LOW | src/octoprint_client/__init__.py | 50 | except Exception: | CODE |
| MEDIUM | src/octoprint/timelapse.py | 463 | def unregister_callback(callback): | CODE |
| MEDIUM | src/octoprint/timelapse.py | 1290 | def _try_generate_thumbnail(cls, ffmpeg, movie_path): | CODE |
| LOW | src/octoprint/timelapse.py | 129 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 176 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 315 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 381 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 487 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 874 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 884 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 905 | except Exception as e: | CODE |
| LOW | src/octoprint/timelapse.py | 919 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 1256 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 1263 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 1281 | except Exception: | CODE |
| LOW | src/octoprint/timelapse.py | 1314 | except Exception as ex: | CODE |
| LOW | src/octoprint/_version.py | 207 | except Exception: | STRING |
| LOW | src/octoprint/_version.py | 235 | except Exception: | STRING |
| LOW | src/octoprint/events.py | 200 | except Exception: | CODE |
| LOW | src/octoprint/events.py | 213 | except Exception: | CODE |
| LOW | src/octoprint/events.py | 473 | except Exception: | CODE |
| LOW | src/octoprint/events.py | 568 | except Exception: | CODE |
| MEDIUM | src/octoprint/events.py | 182 | def _work(self): | CODE |
| MEDIUM | src/octoprint/events.py | 543 | def process(): | CODE |
| LOW⚡ | src/octoprint/__init__.py | 143 | except Exception as ex: | CODE |
| LOW⚡ | src/octoprint/__init__.py | 152 | except Exception as ex: | CODE |
| LOW⚡ | src/octoprint/__init__.py | 161 | except Exception as ex: | CODE |
| LOW | src/octoprint/__init__.py | 97 | except Exception as ex: | CODE |
| LOW | src/octoprint/__init__.py | 115 | except Exception as ex: | CODE |
| LOW | src/octoprint/__init__.py | 177 | except Exception as ex: | CODE |
| LOW | src/octoprint/__init__.py | 186 | except Exception as ex: | CODE |
| LOW | src/octoprint/__init__.py | 543 | except Exception: | CODE |
| LOW | src/octoprint/__init__.py | 729 | except Exception: | CODE |
| LOW | src/octoprint/__init__.py | 1001 | except Exception as e: | CODE |
| LOW | src/octoprint/__init__.py | 1006 | except Exception as e: | CODE |
| LOW | src/octoprint/__init__.py | 1040 | except Exception: | CODE |
| LOW | src/octoprint/environment.py | 32 | except Exception: | CODE |
| LOW | src/octoprint/environment.py | 64 | except Exception: | CODE |
| LOW⚡ | src/octoprint/environment.py | 83 | except Exception: | CODE |
| LOW⚡ | src/octoprint/environment.py | 93 | except Exception: | CODE |
| LOW⚡ | src/octoprint/environment.py | 103 | except Exception: | CODE |
| LOW | src/octoprint/environment.py | 121 | except Exception: | CODE |
| LOW | src/octoprint/environment.py | 138 | except Exception: | CODE |
| LOW | src/octoprint/environment.py | 160 | except Exception: | CODE |
| LOW | src/octoprint/environment.py | 187 | except Exception: | CODE |
| MEDIUM | src/octoprint/environment.py | 46 | def run_detection(self, notify_plugins=True): | CODE |
| LOW | src/octoprint/daemon.py | 146 | except Exception: | CODE |
| MEDIUM | src/octoprint/settings/__init__.py | 1106 | def process(path): | CODE |
| MEDIUM | src/octoprint/settings/__init__.py | 1216 | def remove_path_update_callback(self, path, callback): | CODE |
| LOW | src/octoprint/settings/__init__.py | 741 | except Exception: | CODE |
| LOW | src/octoprint/settings/__init__.py | 778 | except Exception: | CODE |
| LOW | src/octoprint/settings/__init__.py | 819 | except Exception: | CODE |
| LOW | src/octoprint/settings/__init__.py | 953 | except Exception: | CODE |
| LOW | src/octoprint/settings/__init__.py | 1111 | except Exception: | CODE |
| LOW | src/octoprint/settings/__init__.py | 1133 | except Exception: | CODE |
| 460 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 6 | CODE | |
| LOW | setup.py | 10 | CODE | |
| LOW | tools/scan-deps.py | 53 | CODE | |
| LOW | tests/plugins/serial_connector/test_serial_comm.py | 295 | CODE | |
| LOW | …plugins/serial_connector/test_serial_baudrate_lists.py | 101 | CODE | |
| LOW | …plugins/serial_connector/test_serial_baudrate_lists.py | 167 | CODE | |
| LOW | …plugins/serial_connector/test_serial_baudrate_lists.py | 269 | CODE | |
| LOW | …plugins/serial_connector/test_serial_baudrate_lists.py | 302 | CODE | |
| LOW | …plugins/serial_connector/test_serial_baudrate_lists.py | 110 | CODE | |
| LOW | …plugins/serial_connector/test_serial_baudrate_lists.py | 277 | CODE | |
| LOW | …plugins/serial_connector/test_serial_baudrate_lists.py | 305 | CODE | |
| LOW | …ts/plugins/serial_connector/test_settings_migration.py | 20 | CODE | |
| LOW | tests/http_api/test_settings_api.py | 7 | CODE | |
| LOW | tests/server/util/test_util.py | 159 | CODE | |
| LOW | tests/server/util/test_flask.py | 521 | CODE | |
| LOW | docs/sphinxext/pydanticext.py | 286 | CODE | |
| LOW | docs/sphinxext/codeblockext.py | 116 | CODE | |
| LOW | src/octoprint_setuptools/__init__.py | 47 | CODE | |
| LOW | src/octoprint_setuptools/__init__.py | 124 | CODE | |
| LOW | src/octoprint/timelapse.py | 78 | CODE | |
| LOW | src/octoprint/timelapse.py | 162 | CODE | |
| LOW | src/octoprint/timelapse.py | 304 | CODE | |
| LOW | src/octoprint/timelapse.py | 355 | CODE | |
| LOW | src/octoprint/timelapse.py | 494 | CODE | |
| LOW | src/octoprint/timelapse.py | 109 | CODE | |
| LOW | src/octoprint/timelapse.py | 855 | CODE | |
| LOW | src/octoprint/timelapse.py | 879 | CODE | |
| LOW | src/octoprint/timelapse.py | 1139 | CODE | |
| LOW | src/octoprint/timelapse.py | 1269 | CODE | |
| LOW | src/octoprint/_version.py | 247 | CODE | |
| LOW | src/octoprint/events.py | 182 | CODE | |
| LOW | src/octoprint/__init__.py | 704 | CODE | |
| LOW | src/octoprint/__init__.py | 777 | CODE | |
| LOW | src/octoprint/__init__.py | 912 | CODE | |
| LOW | src/octoprint/__init__.py | 865 | CODE | |
| LOW | src/octoprint/__init__.py | 934 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 2431 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 203 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 811 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1101 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1283 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1403 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1521 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1674 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1731 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1962 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 2254 | CODE | |
| LOW | src/octoprint/access/users.py | 279 | CODE | |
| LOW | src/octoprint/access/users.py | 345 | CODE | |
| LOW | src/octoprint/access/users.py | 429 | CODE | |
| LOW | src/octoprint/access/users.py | 812 | CODE | |
| LOW | src/octoprint/access/groups.py | 224 | CODE | |
| LOW | src/octoprint/access/permissions.py | 25 | CODE | |
| LOW | src/octoprint/util/plugins.py | 57 | CODE | |
| LOW | src/octoprint/util/connectivity.py | 198 | CODE | |
| LOW | src/octoprint/util/gcodeInterpreter.py | 331 | CODE | |
| LOW | src/octoprint/util/net.py | 74 | CODE | |
| LOW | src/octoprint/util/__init__.py | 109 | CODE | |
| LOW | src/octoprint/util/__init__.py | 518 | CODE | |
| LOW | src/octoprint/util/__init__.py | 640 | CODE | |
| 191 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/sphinxext/codeblockext.py | 1 | CODE | |
| LOW | src/octoprint_setuptools/__init__.py | 3 | CODE | |
| LOW | src/octoprint_setuptools/__init__.py | 3 | CODE | |
| LOW | src/octoprint_setuptools/__init__.py | 3 | CODE | |
| LOW | src/octoprint_setuptools/__init__.py | 3 | CODE | |
| LOW | src/octoprint/util/comm.py | 9 | CODE | |
| LOW | src/octoprint/util/__init__.py | 28 | CODE | |
| LOW | src/octoprint/util/__init__.py | 29 | CODE | |
| LOW | src/octoprint/util/__init__.py | 35 | CODE | |
| LOW | src/octoprint/util/__init__.py | 36 | CODE | |
| LOW | src/octoprint/util/__init__.py | 36 | CODE | |
| LOW | src/octoprint/util/__init__.py | 41 | CODE | |
| LOW | src/octoprint/util/__init__.py | 41 | CODE | |
| LOW | src/octoprint/util/__init__.py | 41 | CODE | |
| LOW | src/octoprint/util/json/__init__.py | 4 | CODE | |
| LOW | src/octoprint/util/json/__init__.py | 5 | CODE | |
| LOW | src/octoprint/util/json/__init__.py | 5 | CODE | |
| LOW | src/octoprint/util/json/__init__.py | 5 | CODE | |
| LOW | src/octoprint/plugins/serial_connector/connector.py | 32 | CODE | |
| LOW | src/octoprint/plugins/serial_connector/connector.py | 33 | CODE | |
| LOW | src/octoprint/plugins/serial_connector/connector.py | 34 | CODE | |
| LOW | src/octoprint/plugins/serial_connector/connector.py | 34 | CODE | |
| LOW | …/octoprint/plugins/softwareupdate/updaters/__init__.py | 5 | CODE | |
| LOW | …/octoprint/plugins/softwareupdate/updaters/__init__.py | 5 | CODE | |
| LOW | …/octoprint/plugins/softwareupdate/updaters/__init__.py | 5 | CODE | |
| LOW | …/octoprint/plugins/softwareupdate/updaters/__init__.py | 5 | CODE | |
| LOW | …/octoprint/plugins/softwareupdate/updaters/__init__.py | 5 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | …rint/plugins/softwareupdate/version_checks/__init__.py | 6 | CODE | |
| LOW | src/octoprint/plugins/errortracking/__init__.py | 14 | CODE | |
| LOW | …/octoprint/plugins/health_check/checks/gtt_unusable.py | 11 | CODE | |
| LOW | src/octoprint/plugin/__init__.py | 22 | CODE | |
| LOW | src/octoprint/plugin/__init__.py | 22 | CODE | |
| LOW | src/octoprint/plugin/__init__.py | 23 | CODE | |
| LOW | src/octoprint/server/__init__.py | 17 | CODE | |
| LOW | src/octoprint/server/__init__.py | 21 | CODE | |
| LOW | src/octoprint/server/__init__.py | 21 | CODE | |
| LOW | src/octoprint/server/__init__.py | 21 | CODE | |
| LOW | src/octoprint/server/__init__.py | 33 | CODE | |
| LOW | src/octoprint/server/__init__.py | 33 | CODE | |
| LOW | src/octoprint/server/__init__.py | 34 | CODE | |
| LOW | src/octoprint/server/__init__.py | 54 | CODE | |
| LOW | src/octoprint/server/__init__.py | 54 | CODE | |
| LOW | src/octoprint/server/__init__.py | 1254 | CODE | |
| LOW | src/octoprint/server/views.py | 30 | CODE | |
| LOW | src/octoprint/server/util/__init__.py | 29 | CODE | |
| LOW | src/octoprint/server/util/__init__.py | 29 | CODE | |
| LOW | src/octoprint/server/util/__init__.py | 29 | CODE | |
| LOW | src/octoprint/server/api/__init__.py | 57 | CODE | |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 1 | ### | COMMENT |
| LOW | .github/workflows/build.yml | 301 | COMMENT | |
| LOW | src/octoprint/__init__.py | 1101 | COMMENT | |
| LOW | src/octoprint/util/pip.py | 341 | "to be used by OctoPrint. Please upgrade your pip version." | COMMENT |
| LOW | src/octoprint/util/pip.py | 521 | COMMENT | |
| LOW | …stomcontrolmanager/static/css/customcontrolmanager.css | 1 | #settings_plugin_customcontrolmanager .customcontrolmananger-add-buttons{text-align:center}#settings_plugin_customcontro | COMMENT |
| LOW | src/octoprint/plugins/serial_connector/serial_comm.py | 2701 | ): | COMMENT |
| LOW | src/octoprint/plugins/serial_connector/serial_comm.py | 2961 | if firmware_name is None: | COMMENT |
| LOW | src/octoprint/plugins/serial_connector/serial_comm.py | 6601 | # If it is, we just throw away T (it's redundant). It | COMMENT |
| LOW | src/octoprint/plugins/serial_connector/serial_comm.py | 6621 | # | COMMENT |
| LOW | …t/plugins/softwareupdate/static/css/softwareupdate.css | 1 | #settings_plugin_softwareupdate_updatelist{display:block;width:auto;overflow-x:hidden;padding-right:2px;margin-bottom:1e | COMMENT |
| LOW | …t/plugins/softwareupdate/version_checks/commandline.py | 21 | if not online and not check.get("offline", False): | COMMENT |
| LOW | …int/plugins/pluginmanager/static/css/pluginmanager.css | 1 | #settings_plugin_pluginmanager_pluginlist{height:calc(100vh - 450px);display:block;width:auto;overflow-x:hidden;padding- | COMMENT |
| LOW | …toprint/plugins/gcodeviewer/static/css/gcodeviewer.css | 1 | #gcode .progress{width:588px}#gcode .progress .bar{-webkit-transition:width 0s linear;-moz-transition:width 0s linear;-o | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 21 | // | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 1481 | dist--; | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 1541 | // including commercial applications, and to alter it and redistribute it | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 1581 | // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 1681 | // | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 1741 | COMMENT | |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 2221 | // let init = 0; | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 4221 | COMMENT | |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 4661 | constants: constants$1 | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 4921 | COMMENT | |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 5101 | // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 5521 | /* set return parameters */ | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 7261 | copy = state.offset - copy; | COMMENT |
| LOW | src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js | 7581 | inflate: inflate_2$1, | COMMENT |
| LOW | src/octoprint/plugins/appkeys/static/css/appkeys.css | 1 | #settings_plugin_appkeys_allkeys_table .settings_plugin_appkeys_actions,#settings_plugin_appkeys_userkeys_table .setting | COMMENT |
| LOW | src/octoprint/plugins/backup/static/css/backup.css | 1 | #settings_plugin_backup_backup_table .settings_plugin_backup_actions{width:75px;text-align:center}#settings_plugin_backu | COMMENT |
| LOW | src/octoprint/server/util/sockjs.py | 641 | COMMENT | |
| LOW | src/octoprint/static/css/recovery.css | 1 | #workdialog .pre-output span{display:block}#workdialog .pre-output .message{font-weight:700}#workdialog .pre-output .err | COMMENT |
| LOW | src/octoprint/static/less/octoprint.less | 1501 | } | COMMENT |
| LOW | …rint/static/less/bootstrap/responsive-768px-979px.less | 1 | // | COMMENT |
| LOW | src/octoprint/static/less/bootstrap/sprites.less | 1 | // | COMMENT |
| LOW | src/octoprint/static/js/lib/hls.js | 121 | */ | COMMENT |
| LOW | src/octoprint/static/js/lib/hls.js | 541 | // slash), then the embedded URL inherits the base URL path | COMMENT |
| LOW | src/octoprint/static/js/lib/hls.js | 15301 | // frag[Ø] : [0,10] | COMMENT |
| LOW | src/octoprint/static/js/lib/hls.js | 16901 | 0x5f: 0xf3, | COMMENT |
| LOW | src/octoprint/static/js/lib/hls.js | 16941 | // lowercase a, circumflex accent | COMMENT |
| LOW | src/octoprint/static/js/lib/hls.js | 17001 | // uppercase I, with diaresis | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 2441 | sel.push(new Selector(elements)); | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 3181 | }, | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 3621 | this.setParent(this.rules, this); | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 6461 | }); | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 6481 | // for example, if a value doesn't hold any variables, operations | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 6701 | // color: #fff; | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 6721 | // | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 7221 | // | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 7441 | // ... | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 7541 | // | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 9081 | // // Return which of `color1` and `color2` has the greatest contrast with `color` | COMMENT |
| LOW | src/octoprint/static/js/lib/less.js | 9101 | // if (luma > luma1) { | COMMENT |
| LOW | src/octoprint/static/js/lib/jquery/jquery.fileupload.js | 81 | } | COMMENT |
| LOW | src/octoprint/static/js/lib/jquery/jquery.fileupload.js | 101 | // of the widget element on plugin initialization. | COMMENT |
| LOW | src/octoprint/static/js/lib/jquery/jquery.fileupload.js | 121 | // The following option limits the number of files uploaded with one | COMMENT |
| LOW | src/octoprint/static/js/lib/jquery/jquery.fileupload.js | 141 | // data and set to 'redirect' if this option is empty: | COMMENT |
| LOW | src/octoprint/static/js/lib/jquery/jquery.fileupload.js | 161 | // By default, failed (abort or error) file uploads are removed from the | COMMENT |
| LOW | src/octoprint/static/js/lib/jquery/jquery.fileupload.js | 201 | // using this option, which accepts an array of objects with name and | COMMENT |
| LOW | src/octoprint/static/js/lib/jquery/jquery.fileupload.js | 241 | COMMENT | |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | src/octoprint/plugins/serial_connector/serial_comm.py | 3664 | # nothing sent but also no job active, so we can just return false | COMMENT |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4363 | # we are no longer printing, return false | COMMENT |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4367 | # job is on hold, return false | COMMENT |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4380 | # end of file, return false | COMMENT |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4393 | # line from file sent, return true | COMMENT |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4409 | # line from script sent, return true | COMMENT |
| HIGH | src/octoprint/server/util/flask.py | 219 | flask_ctx.push() | CODE |
| HIGH | src/octoprint/server/util/webassets.py | 174 | log.error("Error in JS assets for plugin {plugin}:", `${{error.message}}\n${{error.stack || error}}`); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/octoprint/util/files.py | 83 | Converts the provided input filename to a 8.3 DOS compatible filename. If ``existing_filenames`` is provided, the | STRING |
| HIGH | src/octoprint/util/files.py | 162 | Tries to find a collision free translation of "<filename>.<extension>" to the 8.3 DOS compatible format, preven | STRING |
| HIGH | src/octoprint/util/version.py | 181 | Args: version_string: The version string for which to create a comparable version instance cut: opt | STRING |
| HIGH | src/octoprint/util/commandline.py | 130 | Calls a command and raises an error if it doesn't return with return code 0 Args: command | STRING |
| HIGH | src/octoprint/util/text.py | 22 | Sanitizes text by running it through slugify and optionally emoji translating. Examples: >>> sanitize("He | STRING |
| HIGH | src/octoprint/server/util/flask.py | 1429 | Compares the provided lastmodified value with the value of the If-Modified-Since header. If ``lastmodified`` is an | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/octoprint_client/__init__.py | 59 | # now, normally we could just use functools.partial for something like | COMMENT |
| LOW⚡ | src/octoprint/plugins/serial_connector/serial_comm.py | 3664 | # nothing sent but also no job active, so we can just return false | COMMENT |
| LOW | src/octoprint/plugins/serial_connector/serial_comm.py | 6692 | # whatever that was, it was not an integer, so we'll just use the whole line as filename and set size/timest | COMMENT |
| LOW | src/octoprint/plugins/serial_connector/serial_comm.py | 6777 | # Good job Malyan. Why use a : when you can also just use a ., right? Let's revert that. | COMMENT |
| MEDIUM | src/octoprint/plugins/serial_connector/config_schema.py | 176 | """Command to send in order to initiate a handshake with the printer.""" | STRING |
| LOW | src/octoprint/plugins/softwareupdate/__init__.py | 2114 | # if there was an unignorable error, we just return error | COMMENT |
| LOW | src/octoprint/plugins/virtual_printer/virtual.py | 810 | # we'll just use json.dumps to generate the string, and then remove the quotes and spaces | COMMENT |
| LOW | src/octoprint/plugins/virtual_printer/virtual.py | 816 | # we'll just use this to echo a message, to allow playing around with pause triggers | COMMENT |
| MEDIUM | src/octoprint/static/js/lib/less.js | 10936 | // TODO - could do with adding more robust error handling | COMMENT |
| MEDIUM | src/octoprint/static/js/lib/jquery/jquery.js | 10821 | // understands anonymous AMD modules. A named AMD is safest and most robust | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/util/test_repeated_timer.py | 33 | CODE | |
| LOW | src/octoprint_client/__init__.py | 257 | CODE | |
| LOW | src/octoprint_setuptools/__init__.py | 524 | CODE | |
| LOW | src/octoprint_setuptools/__init__.py | 573 | CODE | |
| LOW | src/octoprint/timelapse.py | 1090 | CODE | |
| LOW | src/octoprint/__init__.py | 60 | CODE | |
| LOW | src/octoprint/__init__.py | 254 | CODE | |
| LOW | src/octoprint/util/__init__.py | 1249 | CODE | |
| LOW | src/octoprint/plugins/pluginmanager/__init__.py | 939 | CODE | |
| LOW | src/octoprint/plugins/pluginmanager/__init__.py | 1053 | CODE | |
| LOW | src/octoprint/plugins/virtual_printer/virtual.py | 1666 | CODE | |
| LOW | src/octoprint/plugins/backup/__init__.py | 976 | CODE | |
| LOW | src/octoprint/plugins/backup/__init__.py | 1200 | CODE | |
| LOW | src/octoprint/plugin/__init__.py | 42 | CODE | |
| LOW | src/octoprint/plugin/core.py | 846 | CODE | |
| LOW | src/octoprint/plugin/core.py | 1216 | CODE | |
| LOW | src/octoprint/plugin/core.py | 1310 | CODE | |
| LOW | src/octoprint/server/__init__.py | 265 | CODE | |
| LOW | src/octoprint/server/util/flask.py | 262 | CODE | |
| LOW | src/octoprint/server/util/flask.py | 1410 | CODE | |
| LOW | src/octoprint/server/util/tornado.py | 1323 | CODE | |
| LOW | src/octoprint/cli/client.py | 26 | CODE | |
| LOW | src/octoprint/slicing/__init__.py | 225 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 307 | Code or documentation that is initially generated by AI and subsequently edited will still be considered AI-generated. A | CODE |
| HIGH | .github/workflows/issue_automation.yml | 84 | It looks like you didn't upload a [system info bundle](https://community.octoprint.org/t/29887) as requested | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/util/test_fast_deepcopy.py | 18 | def test_function(self): | CODE |
| LOW | tests/util/test_resettable_timer.py | 16 | def test_function(self): | CODE |
| LOW | src/octoprint/plugins/appkeys/__init__.py | 184 | def handle_request(self): | CODE |
| LOW | src/octoprint/server/util/tornado.py | 897 | async def handle_request(self, request, body=None, future=None): | CODE |
| LOW | src/octoprint/static/js/lib/jquery/jquery.flot.js | 1083 | function processData() { | CODE |
| LOW | src/octoprint/static/js/lib/jquery/jquery.js | 4401 | function getData( data ) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/plugins/examples/read_m115_response.py | 10 | # Create a dict with all the keys/values returned by the M115 request | COMMENT |
| MEDIUM | src/octoprint/plugin/core.py | 1248 | # Create a simple dummy entry first ... | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/octoprint/timelapse.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/octoprint/settings/__init__.py | 404 | def set_by_path(self, path: list[str], value: Any) -> None: | CODE |
| LOW | src/octoprint/util/__init__.py | 47 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/octoprint/plugins/virtual_printer/virtual.py | 1926 | def _setPosition(self, line: str) -> None: | STRING |
| LOW | src/octoprint/plugins/health_check/checks/__init__.py | 44 | def update_settings(self, settings: dict = None) -> None: | CODE |
| LOW | src/octoprint/printer/connection.py | 275 | def set_job(self, job: PrintJob, *args, **kwargs) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/octoprint/settings/__init__.py | 428 | # make sure to clear anything below the path (e.g. switching from dict | COMMENT |
| LOW | src/octoprint/plugins/serial_connector/serial_comm.py | 1538 | # make sure to ignore the "file selected" later on, otherwise we'll reset our progress data | COMMENT |
| LOW | src/octoprint/server/util/flask.py | 369 | # without stripping original scheme header first, make sure to only use | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/playwright/specs/login.spec.js | 155 | await page.getByTestId("mfa-dummy-token").fill(mfaCredentials.token); | CODE |
| LOW | tests/playwright/specs/login.spec.js | 163 | await page.getByTestId("mfa-dummy-token").fill("bzzt, wrong"); | CODE |
| LOW | src/octoprint/static/js/app/helpers.js | 1065 | textInput.attr("placeholder", placeholder); | CODE |
| LOW | src/octoprint/static/js/app/viewmodels/files.js | 2061 | .prop("placeholder", response.suggestion || ""); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/octoprint/filemanager/storage/common.py | 171 | CODE | |
| MEDIUM | src/octoprint/filemanager/storage/common.py | 177 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/octoprint/_version.py | 69 | # --------------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/octoprint/static/js/lib/less.js | 10705 | // TODO: Add tests for browser @plugin | COMMENT |