Repository Analysis

evilsocket/opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.

5.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of evilsocket/opensnitch, a Python project with 13,876 GitHub stars. SynthScan v2.0 examined 178,460 lines of code across 428 source files, recording 885 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 5.6 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).

5.6
Adjusted Score
5.6
Raw Score
100%
Time Factor
2026-07-08
Last Push
13.9K
Stars
Python
Language
178.5K
Lines of Code
428
Files
885
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 1MEDIUM 100LOW 784

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 885 distinct pattern matches across 12 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.

Excessive Try-Catch Wrapping338 hits · 400 pts
SeverityFileLineSnippetContext
MEDIUMui/tests/dialogs/test_preferences.py18def reset_settings(self):CODE
LOWui/tests/dialogs/test_preferences.py21 except Exception:CODE
MEDIUMui/opensnitch/service.py253def _on_switch_autostart(self):CODE
MEDIUMui/opensnitch/service.py282def show_systray_msg(self, title, body, icon=None, callback=None, user_args=NoneCODE
MEDIUMui/opensnitch/service.py301def _show_systray_msg_error(self):CODE
MEDIUMui/opensnitch/service.py637def _build_missed_rule_msg(self, conn, rule, node, hostname):CODE
MEDIUMui/opensnitch/service.py690def _delete_node(self, peer):CODE
MEDIUMui/opensnitch/service.py914def Ping(self, request, context):CODE
LOWui/opensnitch/service.py173 except Exception as e:CODE
LOWui/opensnitch/service.py256 except Exception as e:CODE
LOWui/opensnitch/service.py297 except Exception as e:CODE
LOWui/opensnitch/service.py323 except Exception as e:STRING
LOWui/opensnitch/service.py432 except Exception as e:STRING
LOWui/opensnitch/service.py672 except Exception as e:STRING
LOWui/opensnitch/service.py702 except Exception as e:STRING
LOWui/opensnitch/service.py757 except Exception as e:STRING
LOWui/opensnitch/service.py804 except Exception as e:STRING
LOWui/opensnitch/service.py826 except Exception as e:STRING
LOWui/opensnitch/service.py838 except Exception as e:STRING
LOWui/opensnitch/service.py933 except Exception as e:STRING
LOWui/opensnitch/service.py1021 except Exception as e:STRING
LOWui/opensnitch/service.py1114 except Exception as e:STRING
LOWui/opensnitch/service.py1136 except Exception as e:STRING
LOWui/opensnitch/config.py235 except Exception:CODE
LOWui/opensnitch/config.py268 except Exception as e:CODE
MEDIUMui/opensnitch/config.py232def getInt(self, path, default_value=0):CODE
MEDIUMui/opensnitch/config.py246def setRulesDurationFilter(self, ignore_temporary_rules=False, temp_rules=1):CODE
LOWui/opensnitch/rules.py75 except Exception as e:CODE
LOWui/opensnitch/rules.py129 except Exception as e:CODE
LOWui/opensnitch/rules.py250 except Exception as e:CODE
LOWui/opensnitch/rules.py268 except Exception as e:CODE
LOWui/opensnitch/rules.py286 except Exception as e:CODE
LOWui/opensnitch/rules.py291 except Exception as e:CODE
LOWui/opensnitch/rules.py307 except Exception as e:CODE
LOWui/opensnitch/rules.py313 except Exception as e:CODE
LOWui/opensnitch/rules.py345 except Exception as e:CODE
MEDIUMui/opensnitch/rules.py108def add_rules(self, addr, rules):CODE
MEDIUMui/opensnitch/rules.py237def rule_to_json(self, node, rule_name):CODE
MEDIUMui/opensnitch/rules.py254def _export_rule_common(self, node, records, outdir):CODE
LOWui/opensnitch/desktop_parser.py12except Exception as e:CODE
MEDIUMui/opensnitch/desktop_parser.py14 print("Error importing pyinotify:", e)CODE
LOWui/opensnitch/desktop_parser.py57 except Exception:CODE
LOWui/opensnitch/desktop_parser.py84 except Exception as e:CODE
MEDIUMui/opensnitch/desktop_parser.py53def get_locale(self):CODE
MEDIUMui/opensnitch/desktop_parser.py61def _parse_exec(self, cmd):CODE
LOWui/opensnitch/notifications.py57 except Exception:CODE
LOWui/opensnitch/notifications.py77 except Exception as e:CODE
LOWui/opensnitch/notifications.py109 except Exception as e:CODE
MEDIUMui/opensnitch/notifications.py96def show(self, title, body, icon="dialog-information", urgency=URGENCY_NORMAL, cCODE
MEDIUMui/opensnitch/nodes.py115def add_rules(self, addr, rules):CODE
MEDIUMui/opensnitch/nodes.py182def delete(self, peer):CODE
MEDIUMui/opensnitch/nodes.py209def get_node_hostname(self, addr):CODE
MEDIUMui/opensnitch/nodes.py218def get_node_config(self, addr):CODE
MEDIUMui/opensnitch/nodes.py227def get_client_config(self, client_config):CODE
MEDIUMui/opensnitch/nodes.py238def get_addr(self, peer):CODE
MEDIUMui/opensnitch/nodes.py249def is_connected(self, addr):CODE
MEDIUMui/opensnitch/nodes.py285def save_node_config(self, addr, config):CODE
MEDIUMui/opensnitch/nodes.py291def save_nodes_config(self, config):CODE
MEDIUMui/opensnitch/nodes.py323def send_notification(self, addr, notification, callback_signal=None):CODE
MEDIUMui/opensnitch/nodes.py377def reply_notification(self, addr, reply):CODE
278 more matches not shown…
Hyper-Verbose Identifiers205 hits · 216 pts
SeverityFileLineSnippetContext
LOWui/tests/conftest.py63def reset_node_before_each_test(qapp):CODE
LOWui/tests/test_nodes.py172 def test_is_local_unix_socket(self, qtbot):CODE
LOWui/tests/test_nodes.py177 def test_is_local_remote_address(self, qtbot):CODE
LOWui/tests/test_nodes.py192 def test_get_node_hostname_nonexistent(self, qtbot):CODE
LOWui/tests/test_nodes.py203 def test_get_node_config_nonexistent(self, qtbot):CODE
LOWui/tests/test_nodes.py218 def test_send_notifications_broadcast(self, qtbot):CODE
LOWui/tests/test_nodes.py285 def test_delete_rule_by_field(self, qtbot):CODE
LOWui/tests/test_nodes.py354 def test_get_node_nonexistent(self, qtbot):CODE
LOWui/tests/test_nodes.py371 def test_get_addr_various_formats(self, qtbot):CODE
LOWui/tests/test_nodes.py392 def test_get_addr_unix_empty_path(self, qtbot):CODE
LOWui/tests/test_nodes.py438 def test_firewall_enable_interception(self, qtbot):CODE
LOWui/tests/test_nodes.py446 def test_firewall_disable_interception(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py395 def test_dialog_position_center(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py403 def test_dialog_position_top_right(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py411 def test_ui_rules_combo_disabled_when_unchecked(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py435 def test_notifications_disabled(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py445 def test_target_option_process(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py455 def test_target_option_custom(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py36 def test_save_popups_settings(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py156 def test_cancel_discards_changes(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py209 def test_default_values_on_fresh_start(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py228 def test_save_screen_scaling_settings(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py242 def test_save_desktop_notifications_qt(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py256 def test_save_db_purge_settings(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py282 def test_save_advanced_popup_options(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py300 def test_timeout_spinner_boundaries(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py321 def test_settings_persistence_reopen(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py362 def test_action_reject_setting(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py373 def test_duration_option_always(self, qtbot):CODE
LOWui/tests/dialogs/test_preferences.py384 def test_duration_option_custom(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py217 def test_add_rule_name_conflict(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py254 def test_edit_and_rename_rule(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py371 def test_rule_with_process_path(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py446 def test_rule_with_source_port(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py543 def test_rule_enabled_disabled(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py596 def test_rule_with_process_regexp(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py616 def test_rule_with_cmdline_regexp(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py636 def test_rule_with_host_regexp(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py655 def test_sensitive_case_matching(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py711 def test_comma_separated_ports(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py756 def test_empty_rule_name_auto_generation(self, qtbot):CODE
LOWui/tests/dialogs/test_ruleseditor.py774 def test_checkbox_enables_field(self, qtbot):CODE
LOWui/opensnitch/service.py269 def _show_gui_if_tray_not_available(self):CODE
LOWui/opensnitch/service.py502 def _on_enable_interception_clicked(self):STRING
LOWui/opensnitch/service.py518 def _has_desktop_notifications(self):STRING
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py341 def _config_update_diff_targets(CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py361 def _apply_config_update_diff(CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py219 def _ensure_ui_log_bridge_handler(cls) -> None:CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py409 def _schedule_startup_recheck(self, *, delay: float):CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py692 def _reload_rules_for_updated_subscription(self, sub: SubscriptionSpec):CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py820 def _find_layout_containing_widget(CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py168def filename_from_content_disposition(value: str | None):CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py213def ensure_filename_type_suffix(filename: str, list_type: str):CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py225def normalized_subscription_filename(filename: str | None, list_type: str | None):CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py293def dedupe_subscription_identity(CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py29 def _expand_visible_columns_to_viewport(self, base_widths: dict[int, int]) -> None:CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py71 def on_table_view_tab_changed(self, index: int):CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py107 def apply_table_column_sizing(self, index: int | None = None):CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py185 def reset_table_column_widths_for_current_tab(self):CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py192 def reset_table_sort_for_current_tab(self):CODE
145 more matches not shown…
Deep Nesting120 hits · 115 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/service.py326CODE
LOWui/opensnitch/service.py388CODE
LOWui/opensnitch/service.py626CODE
LOWui/opensnitch/service.py842CODE
LOWui/opensnitch/service.py1029CODE
LOWui/opensnitch/rules.py319CODE
LOWui/opensnitch/desktop_parser.py61CODE
LOWui/opensnitch/desktop_parser.py181CODE
LOWui/opensnitch/desktop_parser.py186CODE
LOWui/opensnitch/database/__init__.py432CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py535CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py692CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py1084CODE
LOW…nitch/plugins/list_subscriptions/list_subscriptions.py1250CODE
LOWui/opensnitch/plugins/list_subscriptions/_utils.py168CODE
LOW…ugins/list_subscriptions/ui/workers/url_test_worker.py31CODE
LOW…/list_subscriptions/ui/workers/state_refresh_worker.py88CODE
LOW…criptions/ui/workers/attached_rules_snapshot_worker.py59CODE
LOW…criptions/ui/workers/attached_rules_snapshot_worker.py139CODE
LOW…criptions/ui/workers/attached_rules_snapshot_worker.py238CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py71CODE
LOW…ist_subscriptions/ui/controllers/runtime_controller.py123CODE
LOW…ist_subscriptions/ui/controllers/runtime_controller.py307CODE
LOW…t_subscriptions/ui/controllers/bulk_edit_controller.py31CODE
LOW…_subscriptions/ui/controllers/table_data_controller.py922CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py178CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py369CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py725CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py765CODE
LOW…t_subscriptions/ui/controllers/attached_rules_index.py12CODE
LOW…ubscriptions/ui/controllers/context_menu_controller.py15CODE
LOW…subscriptions/ui/controllers/action_file_controller.py34CODE
LOW…ins/list_subscriptions/ui/views/subscription_dialog.py133CODE
LOWui/opensnitch/plugins/list_subscriptions/io/lock.py66CODE
LOWui/opensnitch/plugins/versionchecker/versionchecker.py76CODE
LOWui/opensnitch/plugins/highlight/highlight.py140CODE
LOWui/opensnitch/plugins/highlight/highlight.py179CODE
LOWui/opensnitch/plugins/highlight/highlight.py339CODE
LOWui/opensnitch/plugins/downloader/downloader.py61CODE
LOWui/opensnitch/plugins/downloader/downloader.py188CODE
LOWui/opensnitch/plugins/virustotal/virustotal.py348CODE
LOWui/opensnitch/plugins/virustotal/_utils.py3CODE
LOWui/opensnitch/plugins/virustotal/_utils.py71CODE
LOWui/opensnitch/plugins/virustotal/_utils.py105CODE
LOWui/opensnitch/utils/__init__.py461CODE
LOWui/opensnitch/utils/xdg.py8CODE
LOWui/opensnitch/utils/network_aliases/network_aliases.py41CODE
LOWui/opensnitch/utils/themes/themes.py44CODE
LOWui/opensnitch/firewall/__init__.py71CODE
LOWui/opensnitch/firewall/__init__.py109CODE
LOWui/opensnitch/firewall/__init__.py123CODE
LOWui/opensnitch/firewall/__init__.py174CODE
LOWui/opensnitch/firewall/__init__.py212CODE
LOWui/opensnitch/firewall/rules.py54CODE
LOWui/opensnitch/firewall/rules.py84CODE
LOWui/opensnitch/firewall/rules.py111CODE
LOWui/opensnitch/firewall/rules.py146CODE
LOWui/opensnitch/firewall/rules.py160CODE
LOWui/opensnitch/firewall/rules.py194CODE
LOWui/opensnitch/actions/__init__.py167CODE
60 more matches not shown…
Unused Imports90 hits · 88 pts
SeverityFileLineSnippetContext
LOWui/tests/dialogs/test_preferences.py5CODE
LOW…/opensnitch/plugins/list_subscriptions/_annotations.py4CODE
LOW…/opensnitch/plugins/list_subscriptions/_annotations.py4CODE
LOW…/opensnitch/plugins/list_subscriptions/_annotations.py4CODE
LOWui/opensnitch/plugins/list_subscriptions/_compat.py6CODE
LOWui/opensnitch/plugins/list_subscriptions/_compat.py8CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py2CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py7CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py7CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py7CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py8CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py12CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py12CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py12CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py13CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py16CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py16CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py16CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py17CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py22CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py22CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py22CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py23CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py26CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py26CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py26CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py27CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py1CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py1CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py1CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py1CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py7CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py8CODE
LOW…_subscriptions/ui/controllers/table_view_controller.py7CODE
LOW…ist_subscriptions/ui/controllers/runtime_controller.py10CODE
LOW…subscriptions/ui/controllers/defaults_ui_controller.py13CODE
LOW…iptions/ui/controllers/subscription_edit_controller.py22CODE
LOW…t_subscriptions/ui/controllers/bulk_edit_controller.py16CODE
LOW…_subscriptions/ui/controllers/table_data_controller.py41CODE
LOW…tions/ui/controllers/subscription_dialog_controller.py15CODE
LOW…t_subscriptions/ui/controllers/inspector_controller.py10CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py20CODE
LOW…ubscriptions/ui/controllers/context_menu_controller.py6CODE
LOW…ubscriptions/ui/controllers/rules_editor_controller.py20CODE
LOW…subscriptions/ui/controllers/action_file_controller.py19CODE
LOW…t_subscriptions/ui/controllers/selection_controller.py7CODE
LOW…tions/ui/controllers/subscription_status_controller.py9CODE
LOW…plugins/list_subscriptions/ui/views/inspector_panel.py10CODE
LOWui/opensnitch/plugins/virustotal/_popups.py5CODE
LOWui/opensnitch/plugins/virustotal/_procdialog.py3CODE
LOWui/opensnitch/plugins/virustotal/_models.py10CODE
LOWui/opensnitch/utils/logger/__init__.py16CODE
LOWui/opensnitch/utils/logger/logger.py4CODE
LOWui/opensnitch/utils/logger/logger.py6CODE
LOWui/opensnitch/utils/network_aliases/__init__.py18CODE
LOWui/opensnitch/utils/themes/__init__.py18CODE
LOWui/opensnitch/firewall/chains.py1CODE
LOWui/opensnitch/firewall/__init__.py8CODE
LOWui/opensnitch/firewall/__init__.py9CODE
LOWui/opensnitch/firewall/__init__.py10CODE
30 more matches not shown…
Over-Commented Block88 hits · 87 pts
SeverityFileLineSnippetContext
LOWui/tests/dialogs/test_preferences.py101# qtbot.mouseClick(self.prefs.applyButton, QtCore.Qt.MouseButton.LeftButton)COMMENT
LOWui/opensnitch/service.py921 # do not update db here, do it on the main threadCOMMENT
LOWui/opensnitch/plugins/list_subscriptions/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/versionchecker/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/highlight/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/downloader/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/sample/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/virustotal/virustotal.py121 # - Hook Procs tab list, get the hash of each binary, upload to VT andCOMMENT
LOWui/opensnitch/plugins/virustotal/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/plugins/virustotal/_models.py101 self.headerLabels.append("SSL info")COMMENT
LOWui/opensnitch/utils/logger/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/utils/network_aliases/network_aliases.py1# Copyright (C) 2024 Nolan CarougeCOMMENT
LOWui/opensnitch/utils/network_aliases/__init__.py1# Copyright (C) 2024 Nolan CarougeCOMMENT
LOWui/opensnitch/utils/duration/duration.py1#!/usr/bin/env python3COMMENT
LOWui/opensnitch/utils/duration/__init__.py1# Copyright (C) 2018 Simone MargaritelliCOMMENT
LOWui/opensnitch/utils/themes/__init__.py1# Copyright (C) 2025COMMENT
LOWui/opensnitch/dialogs/preferences/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/preferences/sections/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/ruleseditor/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/firewall_rule/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/prompt/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/events/config.py201 self.COL_STR_HITSCOMMENT
LOWui/opensnitch/dialogs/events/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/dialogs/events/tasks/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/customwidgets/generictableview.py541 if item is None:COMMENT
LOWui/opensnitch/customwidgets/__init__.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/customwidgets/completer.py1# This file is part of OpenSnitch.COMMENT
LOWui/opensnitch/customwidgets/itemwidgetcentered.py1# This file is part of OpenSnitch.COMMENT
LOWebpf_prog/opensnitch-procs.c141 //COMMENT
LOWebpf_prog/common.h1#ifndef OPENSNITCH_COMMON_HCOMMENT
LOWebpf_prog/common_defs.h1#ifndef OPENSNITCH_COMMON_DEFS_HCOMMENT
LOWebpf_prog/opensnitch.c521COMMENT
LOWebpf_prog/opensnitch-dns.c1/* Copyright (C) 2022 calesanzCOMMENT
LOWebpf_prog/opensnitch-dns.c21#define KBUILD_MODNAME "opensnitch-dns"COMMENT
LOWebpf_prog/bpf_headers/bpf_core_read.h281#define ___last3(a, b, x) xCOMMENT
LOWebpf_prog/bpf_headers/bpf_core_read.h301COMMENT
LOWebpf_prog/bpf_headers/bpf_core_read.h321#define ___rd_last(fn, ...) \COMMENT
LOWebpf_prog/bpf_headers/bpf_helpers.h181enum libbpf_tristate {COMMENT
LOWebpf_prog/bpf_headers/bpf_helpers.h201#ifndef ___bpf_nargCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h1/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h21 #define bpf_target_loongarchCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h41#if defined(__x86_64__)COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h61 #define bpf_target_definedCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h81#if defined(__KERNEL__) || defined(__VMLINUX_H__)COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h101#define __PT_PARM1_REG eaxCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h141#define __PT_PARM1_REG gprs[2]COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h161#define __PT_RET_REG uregs[14]COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h181#define __PT_FP_REG regs[29] /* Works only with CONFIG_FRAME_POINTER */COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h201COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h221#define __PT_PARM5_REG gpr[7]COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h241/* Should this also be a bpf_target check for the sparc case? */COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h261/* riscv does not select ARCH_HAS_SYSCALL_WRAPPER. */COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h281#endifCOMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h301#define PT_REGS_IP(x) (__PT_REGS_CAST(x)->__PT_IP_REG)COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h321#define BPF_KPROBE_READ_RET_IP(ip, ctx) ({ (ip) = PT_REGS_RET(ctx); })COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h341#define PT_REGS_PARM5_SYSCALL(x) PT_REGS_PARM5(x)COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h361#define PT_REGS_FP(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h381#define PT_REGS_PARM2_SYSCALL(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; })COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h401#define PT_REGS_SYSCALL_REGS(ctx) ((struct pt_regs *)PT_REGS_PARM1(ctx))COMMENT
LOWebpf_prog/bpf_headers/bpf_tracing.h521#define ___bpf_syscall_args2(x, args...) ___bpf_syscall_args1(args), (void *)PT_REGS_PARM2_SYSCALL(regs)COMMENT
28 more matches not shown…
Self-Referential Comments24 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMui/opensnitch/plugins/list_subscriptions/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/versionchecker/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/highlight/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/downloader/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/sample/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/plugins/virustotal/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/logger/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/network_aliases/network_aliases.py3# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/network_aliases/network_aliases.py27 # Define the path to the network_aliases.json fileCOMMENT
MEDIUMui/opensnitch/utils/network_aliases/__init__.py3# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/duration/duration.py9# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/duration/__init__.py7# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/utils/themes/__init__.py3# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/preferences/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/preferences/sections/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/ruleseditor/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/firewall_rule/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/prompt/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/events/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/dialogs/events/tasks/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/customwidgets/__init__.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/customwidgets/completer.py1# This file is part of OpenSnitch.COMMENT
MEDIUMui/opensnitch/customwidgets/itemwidgetcentered.py1# This file is part of OpenSnitch.COMMENT
MEDIUMutils/packaging/daemon/deb/debian/gitlab-ci.yml14 # Create an overlay to discard writes to /srv/gopath/src after the build:COMMENT
Modern Structural Boilerplate14 hits · 16 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/plugins/list_subscriptions/_compat.py10__all__ = ["StatsDialog"]CODE
LOWui/opensnitch/plugins/list_subscriptions/ui/__init__.py32__all__ = [CODE
LOW…itch/plugins/list_subscriptions/ui/workers/__init__.py10__all__ = [CODE
LOW…tions/ui/controllers/subscription_dialog_controller.py119 def update_meta(self, meta: dict[str, str]) -> None:CODE
LOW…tions/ui/controllers/subscription_dialog_controller.py177 def set_dialog_message(self, message: str, error: bool) -> None:CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py148 def update_cached_rule_enabled(self, addr: str, rule_name: str, enabled: bool) -> None:CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py432 def _update_count_query_delay_factor(self, elapsed_ms: int) -> None:CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py436 def _update_fetch_ms_per_row(self, elapsed_ms: int, row_count: int) -> None:CODE
LOW…riptions/ui/controllers/rules_attachment_controller.py442 def _update_process_ms_per_row(self, elapsed_ms: int, row_count: int) -> None:CODE
LOW…t_subscriptions/ui/views/subscription_status_dialog.py156 def update_meta(self, meta: dict[str, str]) -> None:CODE
LOWui/opensnitch/plugins/versionchecker/versionchecker.py20logger = logging.getLogger(__name__)CODE
LOWui/opensnitch/plugins/downloader/downloader.py19logger = logging.getLogger(__name__)CODE
LOWui/opensnitch/plugins/virustotal/virustotal.py28logger = logging.getLogger(__name__)CODE
LOWui/opensnitch/plugins/virustotal/_models.py18logger = logging.getLogger(__name__)CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHui/opensnitch/plugins/virustotal/README.md70 "api_key": "<your-api-key>",CODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…/list_subscriptions/ui/widgets/toggle_switch_widget.py117CODE
LOWui/opensnitch/dialogs/events/views.py67CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/utils/network_aliases/network_aliases.py31 # Check if the file exists before attempting to load itCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/dialogs/firewall_rule/dialog.py516 # 2. if the value contains , or - just use the writtenCOMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWui/opensnitch/dialogs/preferences/utils.py112 "Hover the mouse over the texts to display the help<br><br>Don't forget to visit the wiki: <a href=\"{0}\">{CODE