OctoPrint is the snappy web interface for your 3D printer!
This report summarizes scanner evidence for OctoPrint/OctoPrint, a Python project with 9,133 GitHub stars. SynthScan examined 244,187 lines of code across 633 source files, recording 1880 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 12.9 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1030 finding(s).
Are imports declared and package/API names verified? 161 finding(s).
Are wrappers, guards, and repeated structures necessary? 1367 finding(s).
Which changes need focused human review? 1880 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 1880 distinct pattern matches across 20 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 |
|---|---|---|---|---|
| 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 | 551 | self.settings.settings.plugins.gcodeviewer.skipUntilThis() | CODE |
| CRITICAL | …octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js | 686 | self.settings.settings.plugins.gcodeviewer.sizeThreshold() || | CODE |
| CRITICAL | …octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js | 689 | 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 |
|---|---|---|---|---|
| HIGH | tests/test_daemon.py | 65 | except ExpectedExit: | CODE |
| HIGH | tests/test_daemon.py | 89 | except ExpectedExit: | CODE |
| HIGH | tests/test_daemon.py | 205 | except ExpectedExit: | CODE |
| HIGH | tests/test_daemon.py | 249 | except ExpectedExit: | CODE |
| HIGH | tests/test_daemon.py | 285 | except ExpectedExit: | CODE |
| HIGH | tests/settings/test_settings.py | 335 | except octoprint.settings.NoSuchSettingsPath: | CODE |
| HIGH | tests/settings/test_settings.py | 361 | except octoprint.settings.NoSuchSettingsPath: | CODE |
| HIGH | tests/settings/test_settings.py | 451 | except octoprint.settings.NoSuchSettingsPath: | CODE |
| HIGH | tests/settings/test_settings.py | 473 | except octoprint.settings.NoSuchSettingsPath: | CODE |
| HIGH | tests/util/test_misc.py | 22 | except ImportError: | CODE |
| HIGH | tests/util/test_misc.py | 32 | except ImportError: | CODE |
| HIGH | tests/util/test_misc.py | 96 | except ValueError: | CODE |
| HIGH | tests/util/test_file_helpers.py | 184 | except RuntimeError: | CODE |
| HIGH | tests/util/test_file_helpers.py | 218 | except RuntimeError: | CODE |
| HIGH | tests/util/test_files.py | 108 | except OverflowError: | CODE |
| HIGH | tests/util/test_jinja.py | 95 | except jinja2.TemplateNotFound: | CODE |
| HIGH | tests/cli/test_dev_helpers.py | 28 | except ValueError: | CODE |
| HIGH | src/octoprint_client/__init__.py | 50 | except Exception: | CODE |
| HIGH | src/octoprint/timelapse.py | 466 | except ValueError: | CODE |
| HIGH | src/octoprint/_version.py | 399 | except OSError: | CODE |
| HIGH | src/octoprint/events.py | 273 | except ValueError: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 465 | except KeyError: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 1220 | except ValueError: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 1992 | except NoSuchSettingsPath: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 2290 | except NoSuchSettingsPath: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 314 | except KeyError: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 519 | except KeyError: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 1205 | except KeyError: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 2023 | except KeyError: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 1693 | except ValueError: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 1761 | except ValueError: | CODE |
| HIGH | src/octoprint/settings/__init__.py | 2196 | except KeyError: | CODE |
| HIGH | src/octoprint/access/users.py | 134 | except KeyError: | CODE |
| HIGH | src/octoprint/access/users.py | 140 | except KeyError: | CODE |
| HIGH | src/octoprint/access/users.py | 295 | except KeyError: | CODE |
| HIGH | src/octoprint/access/users.py | 979 | except ValueError: | CODE |
| HIGH | src/octoprint/util/plugins.py | 31 | except KeyError: | CODE |
| HIGH | src/octoprint/util/plugins.py | 50 | except KeyError: | CODE |
| HIGH | src/octoprint/util/files.py | 288 | except OSError: | CODE |
| HIGH | src/octoprint/util/gcodeInterpreter.py | 68 | except TypeError: | CODE |
| HIGH | src/octoprint/util/gcodeInterpreter.py | 74 | except AttributeError: | CODE |
| HIGH | src/octoprint/util/gcodeInterpreter.py | 86 | except TypeError: | CODE |
| HIGH | src/octoprint/util/gcodeInterpreter.py | 92 | except AttributeError: | CODE |
| HIGH | src/octoprint/util/gcodeInterpreter.py | 103 | except TypeError: | CODE |
| HIGH | src/octoprint/util/net.py | 312 | except Exception: | CODE |
| HIGH | src/octoprint/util/__init__.py | 1764 | except zlib.error: | CODE |
| HIGH | src/octoprint/util/__init__.py | 1128 | except (AttributeError, AssertionError): | CODE |
| HIGH | src/octoprint/util/__init__.py | 592 | except ValueError: | CODE |
| HIGH | src/octoprint/util/jinja.py | 123 | except TemplateNotFound: | CODE |
| HIGH | src/octoprint/util/jinja.py | 212 | except IndexError: | CODE |
| HIGH | src/octoprint/util/json/serializing.py | 38 | except KeyError: | CODE |
| HIGH | src/octoprint/util/json/encoding.py | 31 | except KeyError: | CODE |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4410 | except queue.Empty: | CODE |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 6750 | except ValueError: | CODE |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 294 | except ValueError: | CODE |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 604 | except ValueError: | CODE |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 614 | except ValueError: | CODE |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 1245 | except Exception: | CODE |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 1251 | except Exception: | CODE |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 5438 | except ValueError: | CODE |
| 92 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 |
| 595 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 |
| MEDIUM | tests/filemanager/test_localstorage.py | 198 | def test_copy_move_file_missing_source(self, operation): | CODE |
| LOW⚡ | tests/filemanager/test_localstorage.py | 831 | except Exception: | 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 | 1107 | def process(path): | CODE |
| MEDIUM | src/octoprint/settings/__init__.py | 1217 | def remove_path_update_callback(self, path, callback): | CODE |
| LOW | src/octoprint/settings/__init__.py | 742 | except Exception: | CODE |
| LOW | src/octoprint/settings/__init__.py | 779 | except Exception: | CODE |
| LOW | src/octoprint/settings/__init__.py | 820 | except Exception: | CODE |
| LOW | src/octoprint/settings/__init__.py | 954 | except Exception: | CODE |
| 468 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 | 284 | 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 | 2432 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 204 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 812 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1102 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1284 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1404 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1522 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1675 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1732 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 1963 | CODE | |
| LOW | src/octoprint/settings/__init__.py | 2255 | 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 | 76 | 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 | 55 | CODE | |
| LOW | src/octoprint/server/__init__.py | 55 | CODE | |
| LOW | src/octoprint/server/__init__.py | 1255 | 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 | # it isn't, we first copy T to Tc, then throw T away. | COMMENT |
| LOW | src/octoprint/plugins/serial_connector/serial_comm.py | 6621 | # becomes | 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 | 4362 | # we are no longer printing, return false | COMMENT |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4366 | # job is on hold, return false | COMMENT |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4379 | # end of file, return false | COMMENT |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4392 | # line from file sent, return true | COMMENT |
| HIGH | src/octoprint/plugins/serial_connector/serial_comm.py | 4408 | # 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 |
| HIGH | src/octoprint/filemanager/storage/common.py | 587 | Checks whether the provided ``data`` is considered valid as additional metadata. The default implement | STRING |
| 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 | 1677 | CODE | |
| LOW | src/octoprint/plugins/backup/__init__.py | 1004 | CODE | |
| LOW | src/octoprint/plugins/backup/__init__.py | 1228 | CODE | |
| LOW | src/octoprint/plugin/__init__.py | 42 | CODE | |
| LOW | src/octoprint/plugin/core.py | 847 | CODE | |
| LOW | src/octoprint/plugin/core.py | 1217 | CODE | |
| LOW | src/octoprint/plugin/core.py | 1311 | CODE | |
| LOW | src/octoprint/server/__init__.py | 266 | 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 | 226 | CODE |
| 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 | 6691 | # 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 | 6776 | # 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 | 900 | # we'll just use json.dumps to generate the string, and then remove the quotes and spaces | STRING |
| LOW | src/octoprint/plugins/virtual_printer/virtual.py | 906 | # we'll just use this to echo a message, to allow playing around with pause triggers | STRING |
| 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 |
|---|---|---|---|---|
| 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 | 1249 | # 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 | 405 | 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 | 1937 | 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 | 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 | 2063 | .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 |
|---|---|---|---|---|
| LOW | src/octoprint/settings/__init__.py | 429 | # 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 |
|---|---|---|---|---|
| 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 |