Repository Analysis

linuxmint/cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.

2.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of linuxmint/cinnamon, a JavaScript project with 5,513 GitHub stars. SynthScan v2.0 examined 256,138 lines of code across 696 source files, recording 521 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written 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).

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.5K
Stars
JavaScript
Language
256.1K
Lines of Code
696
Files
521
Pattern Hits
2026-07-14
Scan Date
0.02
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 11HIGH 0MEDIUM 37LOW 473

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 521 distinct pattern matches across 16 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 Wrapping95 hits · 126 pts
SeverityFileLineSnippetContext
LOWgenerate_cs_module_desktop_files.py34except Exception as detail:CODE
LOWgenerate_cs_module_desktop_files.py61 except Exception:STRING
LOWpython3/cinnamon/harvester.py363 except Exception as e:CODE
LOWpython3/cinnamon/harvester.py482 except Exception as detail:CODE
LOWpython3/cinnamon/harvester.py567 except Exception as e:CODE
LOWpython3/cinnamon/harvester.py578 except Exception:CODE
LOWpython3/cinnamon/harvester.py616 except Exception as e:CODE
LOWpython3/cinnamon/harvester.py636 except Exception as e:CODE
LOWpython3/cinnamon/harvester.py682 except Exception as e:CODE
MEDIUMpython3/cinnamon/harvester.py657def _uninstall_by_uuid(self, uuid):CODE
MEDIUMcalendar-server/cinnamon-calendar-server.py77 print(f"Error refreshing calendar '{self.source.get_display_name()}':", e.message)CODE
LOW…amon/applets/grouped-window-list@cinnamon.org/utils.py20 except Exception:CODE
MEDIUM…amon/applets/grouped-window-list@cinnamon.org/utils.py13def spawn(command):CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py81 except Exception as detail:CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py388 except Exception as detail:CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py453 except Exception as detail:CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py605 except Exception as detail:CODE
MEDIUM…mon/cinnamon-settings-users/cinnamon-settings-users.py464def __init__(self):CODE
LOW…/share/cinnamon/cinnamon-settings/cinnamon-settings.py818 except Exception as e:STRING
LOW…hare/cinnamon/cinnamon-settings/bin/TreeListWidgets.py86 except Exception as e:CODE
LOWfiles/usr/share/cinnamon/cinnamon-settings/bin/capi.py51 except Exception as e:CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py256 except Exception as e:CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py663 except Exception as msg:CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py678 except Exception as e:CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py697 except Exception as e:CODE
MEDIUM…r/share/cinnamon/cinnamon-settings/bin/InputSources.py494def _on_proxy_ready(self, obj, result, data=None):CODE
MEDIUM…re/cinnamon/cinnamon-settings/bin/AddKeyboardLayout.py140 print("Error getting list of ibus engines: %s" % e.message)CODE
LOW…les/usr/share/cinnamon/cinnamon-settings/bin/Spices.py11except Exception as error_message:CODE
LOW…les/usr/share/cinnamon/cinnamon-settings/bin/Spices.py69 except Exception as e:CODE
LOW…les/usr/share/cinnamon/cinnamon-settings/bin/Spices.py237 except Exception as e:CODE
LOW…les/usr/share/cinnamon/cinnamon-settings/bin/Spices.py297 except Exception as e:CODE
LOW…les/usr/share/cinnamon/cinnamon-settings/bin/Spices.py321 except Exception as e:CODE
LOW…les/usr/share/cinnamon/cinnamon-settings/bin/Spices.py348 except Exception as error:CODE
LOW…les/usr/share/cinnamon/cinnamon-settings/bin/Spices.py406 except Exception:CODE
MEDIUM…les/usr/share/cinnamon/cinnamon-settings/bin/Spices.py82def _on_proxy_ready(self, obj, result, data=None):CODE
MEDIUM…les/usr/share/cinnamon/cinnamon-settings/bin/Spices.py345def _uninstall(self, job):CODE
LOW…share/cinnamon/cinnamon-settings/modules/cs_actions.py74 except Exception as e:CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_power.py274 except Exception as e:CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_power.py893 except Exception as e:CODE
MEDIUM…r/share/cinnamon/cinnamon-settings/modules/cs_power.py754def on_dbus_changed(self, *args):CODE
LOW…share/cinnamon/cinnamon-settings/modules/cs_display.py43 except Exception as detail:CODE
MEDIUM…/share/cinnamon/cinnamon-settings/modules/cs_themes.py976def _on_icon_theme_selected(self, path, theme):CODE
MEDIUM…/share/cinnamon/cinnamon-settings/modules/cs_themes.py984def _on_gtk_theme_selected(self, path, theme):CODE
MEDIUM…/share/cinnamon/cinnamon-settings/modules/cs_themes.py992def _on_cursor_theme_selected(self, path, theme):CODE
MEDIUM…/share/cinnamon/cinnamon-settings/modules/cs_themes.py1002def _on_cinnamon_theme_selected(self, path, theme):CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py980 except Exception as detail:CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py988 except Exception as detail:CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py996 except Exception as detail:CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py1006 except Exception as detail:CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py156 except Exception as e:CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py344 except Exception as e:CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py466 except Exception as e:CODE
MEDIUM…e/cinnamon/cinnamon-settings/modules/cs_backgrounds.py371def get_initial_path(self):CODE
MEDIUM…e/cinnamon/cinnamon-settings/modules/cs_backgrounds.py512def splitLocaleCode(self, localeCode):CODE
MEDIUM…e/cinnamon/cinnamon-settings/modules/cs_backgrounds.py794def getFirstFileFromBackgroundXml(self, filename):CODE
LOW…e/cinnamon/cinnamon-settings/modules/cs_backgrounds.py402 except Exception as detail:CODE
LOW…e/cinnamon/cinnamon-settings/modules/cs_backgrounds.py567 except Exception as detail:CODE
LOW…e/cinnamon/cinnamon-settings/modules/cs_backgrounds.py605 except Exception as detail:CODE
LOW…e/cinnamon/cinnamon-settings/modules/cs_backgrounds.py647 except Exception as detail:CODE
LOW…e/cinnamon/cinnamon-settings/modules/cs_backgrounds.py651 except Exception as detail:CODE
35 more matches not shown…
Hallucination Indicators11 hits · 125 pts
SeverityFileLineSnippetContext
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js1863 this._devices.wired.section.actor.hide();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js1873 this._devices.wireless.section.actor.hide();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js1883 this._devices.wwan.section.actor.hide();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js1898 this._devices.vpn.section.actor.hide();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js1913 this._devices.wireguard.section.actor.hide();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js2311 this._devices.vpn.section.actor.hide();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js2315 this._devices.wireguard.section.actor.hide();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js2341 this._devices.vpn.section.actor.show();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js2344 this._devices.wireguard.section.actor.show();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js2372 this._devices.vpn.section.actor.show();CODE
CRITICAL…/share/cinnamon/applets/network@cinnamon.org/applet.js2374 this._devices.wireguard.section.actor.show();CODE
Hyper-Verbose Identifiers122 hits · 124 pts
SeverityFileLineSnippetContext
LOWpython3/cinnamon/harvester.py734 def _remove_spice_from_all_directories(self, uuid):CODE
LOWjs/misc/interfaces.js323function getDBusProxyWithOwnerAsync(which, owner, callback) {CODE
LOWjs/ui/appletManager.js428function removeAppletFromInappropriatePanel (extension, appletDefinition) {CODE
LOWjs/ui/appletManager.js815function getRunningInstancesForUuid(uuid) {CODE
LOWjs/ui/appletManager.js826function callAppletInstancesChanged(uuid, originInstance) {CODE
LOWjs/ui/searchProviderManager.js29function onEnabledSearchProvidersChanged() {CODE
LOWjs/ui/searchProviderManager.js36function initEnabledSearchProviders() {CODE
LOWjs/ui/searchProviderManager.js45function unloadRemovedSearchProviders() {CODE
LOWjs/ui/extensionSystem.js102function onEnabledExtensionsChanged() {CODE
LOWjs/ui/main.js704function createFullScreenBackground() {CODE
LOWjs/ui/main.js1275function isWindowActorDisplayedOnWorkspace(win, workspaceIndex) {CODE
LOWjs/ui/main.js1288function getWindowActorsForWorkspace(workspaceIndex) {CODE
LOWjs/ui/tweener.js348function registerSpecialPropertyModifier(name, modifyFunction, getFunction) {CODE
LOWjs/ui/tweener.js352function registerSpecialPropertySplitter(name, splitFunction, parameters) {CODE
LOWjs/ui/extension.js914function maybeAddWindowAttentionHandlerRole(meta) {CODE
LOWjs/ui/extension.js973function findExtensionSubdirectory(dir) {CODE
LOWjs/ui/screensaver/screenShield.js47function registerScreensaverWidget(widgetClass) {CODE
LOWjs/ui/screensaver/screenShield.js70function deregisterScreensaverWidget(widgetClass) {CODE
LOWdocs/applets-examples/finder@cinnamon.org/applet.js29function SearchProviderResultButton(applet, provider, result) {CODE
LOWcalendar-server/cinnamon-calendar-server.py329 def handle_new_or_modified_objects(self, view, objects, calendar):CODE
LOWcalendar-server/cinnamon-calendar-server.py433 def emit_events_added_or_updated(self, calendar, events):CODE
LOW…innamon/desklets/launcher@cinnamon.org/editorDialog.py87 def on_launcher_type_combo_box_changed(self, widget):CODE
LOW…/share/cinnamon/applets/network@cinnamon.org/applet.js192function NMWiredSectionTitleMenuItem() {CODE
LOW…/share/cinnamon/applets/network@cinnamon.org/applet.js240function NMWirelessSectionTitleMenuItem() {CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py271 def _on_new_password_icon_released(self, widget, icon_pos, event):CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py284 def _on_show_password_toggled(self, widget):CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py608 def _on_password_button_clicked(self, widget):CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py615 def _on_groups_button_clicked(self, widget):CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py652 def _on_face_browse_menuitem_activated(self, menuitem):CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py718 def _on_face_menuitem_activated(self, menuitem, path):CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py765 def on_accounts_service_loaded(self, user, param):CODE
LOW…/share/cinnamon/cinnamon-settings/cinnamon-settings.py397 def load_sidepage_as_standalone(self, args) -> bool:CODE
LOW…/share/cinnamon/cinnamon-settings/cinnamon-settings.py601 def bring_selection_into_view(self, iconview):CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py221 def _remove_declaration_from_content(declaration, content):CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py323 def sync_initial_switch_state(self):CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py406 def on_overlay_scrollbars_changed(self, settings, key, data=None):CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py485 def check_preexisting_cs_modification(self):STRING
LOW…hare/cinnamon/cinnamon-settings/bin/KeybindingTable.py632 def _on_enabled_spices_changed(self, settings, key, data=None):CODE
LOW…hare/cinnamon/cinnamon-settings/bin/KeybindingTable.py876 def update_custom_keybinding_details(self, keybinding, new_name, new_command):CODE
LOW…hare/cinnamon/cinnamon-settings/bin/KeybindingTable.py910 def _filter_duplicate_applet_keybindings(self, keybindings):CODE
LOW…hare/cinnamon/cinnamon-settings/bin/KeybindingTable.py989 def lookup_gsettings_keybinding(self, schema_id, key):CODE
LOW…hare/cinnamon/cinnamon-settings/bin/TreeListWidgets.py222 def update_button_sensitivity(self, *args):CODE
LOW…/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py315 def _settings_changed_callback(self, *args):CODE
LOW…cinnamon/cinnamon-settings/bin/ChooserButtonWidgets.py84 def increment_loading_progress(self, inc):CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py327 def is_compatible_with_cinnamon_version(self):CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py389 def scan_extension_for_danger(self, directory):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py188 def on_input_source_activated(self, listbox, row):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py206 def on_move_layout_up_clicked(self, button, data=None):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py212 def on_move_layout_down_clicked(self, button, data=None):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py312 def _get_engine_layout_display_name(self):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py368 def on_clear_override_clicked(self, button, data=None):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py371 def on_engine_settings_clicked(self, button, data=None):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py507 def _on_cinnamon_state_changed(self, proxy, pspec, data=None):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py517 def on_interface_settings_changed(self, settings, key, data=None):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py521 def on_source_layouts_changed(self, settings, key, data=None):CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py524 def refresh_input_source_list(self):CODE
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py698def get_unused_palette_indices(image):CODE
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py952def convert_save_mode_by_format(image, format):CODE
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py1057def get_reverse_transposition(transposition):CODE
LOW…hare/cinnamon/cinnamon-settings/bin/SettingsWidgets.py530 def on_kb_table_entry_changed(self, keybinding):CODE
62 more matches not shown…
Deep Nesting115 hits · 110 pts
SeverityFileLineSnippetContext
LOWpython3/cinnamon/harvester.py296CODE
LOWpython3/cinnamon/harvester.py434CODE
LOWpython3/cinnamon/harvester.py581CODE
LOWpython3/cinnamon/harvester.py657CODE
LOWpython3/cinnamon/harvester.py688CODE
LOWdocs/reference/cinnamon-js/gen_lib.py17CODE
LOWdocs/reference/cinnamon-js/gen_lib.py107CODE
LOW…amon/applets/grouped-window-list@cinnamon.org/utils.py26CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py289CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py317CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py464CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py652CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py700CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py718CODE
LOW…mon/cinnamon-settings-users/cinnamon-settings-users.py793CODE
LOW…/share/cinnamon/cinnamon-settings/cinnamon-settings.py181CODE
LOW…/share/cinnamon/cinnamon-settings/cinnamon-settings.py335CODE
LOW…/share/cinnamon/cinnamon-settings/cinnamon-settings.py658CODE
LOW…/usr/share/cinnamon/cinnamon-settings/xlet-settings.py245CODE
LOW…/usr/share/cinnamon/cinnamon-settings/xlet-settings.py343CODE
LOW…/usr/share/cinnamon/cinnamon-settings/xlet-settings.py395CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py158CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py189CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py221CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py485CODE
LOW…hare/cinnamon/cinnamon-settings/bin/KeybindingTable.py283CODE
LOW…hare/cinnamon/cinnamon-settings/bin/KeybindingTable.py636CODE
LOW…hare/cinnamon/cinnamon-settings/bin/KeybindingTable.py880CODE
LOW…hare/cinnamon/cinnamon-settings/bin/KeybindingTable.py932CODE
LOW…hare/cinnamon/cinnamon-settings/bin/TreeListWidgets.py103CODE
LOW…hare/cinnamon/cinnamon-settings/bin/TreeListWidgets.py347CODE
LOWfiles/usr/share/cinnamon/cinnamon-settings/bin/capi.py26CODE
LOW…/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py326CODE
LOW…/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py328CODE
LOWfiles/usr/share/cinnamon/cinnamon-settings/bin/util.py52CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py164CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py327CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py393CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py419CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py622CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py969CODE
LOW…/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py396CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py524CODE
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py388CODE
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py800CODE
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py952CODE
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py1070CODE
LOW…hare/cinnamon/cinnamon-settings/bin/SettingsWidgets.py305CODE
LOW…hare/cinnamon/cinnamon-settings/bin/SettingsWidgets.py210CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_panel.py21CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_panel.py303CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py490CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py616CODE
LOW…share/cinnamon/cinnamon-settings/modules/cs_actions.py40CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_power.py309CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_power.py423CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_power.py468CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_power.py567CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py105CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py177CODE
55 more matches not shown…
Unused Imports75 hits · 75 pts
SeverityFileLineSnippetContext
LOWpython3/cinnamon/__init__.py2CODE
LOWdocs/reference/cinnamon-js/gen_doc.py51CODE
LOWcalendar-server/cinnamon-calendar-server.py2CODE
LOWcalendar-server/cinnamon-calendar-server.py5CODE
LOWcalendar-server/cinnamon-calendar-server.py6CODE
LOWcalendar-server/cinnamon-calendar-server.py7CODE
LOWcalendar-server/cinnamon-calendar-server.py8CODE
LOWcalendar-server/cinnamon-calendar-server.py9CODE
LOWcalendar-server/cinnamon-calendar-server.py22CODE
LOW…/applets/settings-example@cinnamon.org/CustomWidget.py4CODE
LOW…/usr/share/cinnamon/cinnamon-settings/xlet-settings.py21CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py4CODE
LOW…/cinnamon/cinnamon-settings/bin/CinnamonGtkSettings.py13CODE
LOW…hare/cinnamon/cinnamon-settings/bin/TreeListWidgets.py6CODE
LOW…/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py4CODE
LOW…/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py5CODE
LOW…/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py5CODE
LOW…/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py5CODE
LOW…/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py5CODE
LOW…/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py8CODE
LOW…cinnamon/cinnamon-settings/bin/ChooserButtonWidgets.py4CODE
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py15CODE
LOW…re/cinnamon/cinnamon-settings/bin/AddKeyboardLayout.py4CODE
LOW…re/cinnamon/cinnamon-settings/bin/AddKeyboardLayout.py7CODE
LOW…re/cinnamon/cinnamon-settings/bin/AddKeyboardLayout.py13CODE
LOW…re/cinnamon/cinnamon-settings/bin/AddKeyboardLayout.py13CODE
LOW…re/cinnamon/cinnamon-settings/bin/AddKeyboardLayout.py15CODE
LOW…re/cinnamon/cinnamon-settings/bin/AddKeyboardLayout.py16CODE
LOW…re/cinnamon/cinnamon-settings/bin/AddKeyboardLayout.py17CODE
LOW…re/cinnamon/cinnamon-settings/bin/AddKeyboardLayout.py17CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_panel.py3CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_panel.py10CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_fonts.py8CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py4CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py5CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py6CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py8CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py13CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py16CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py17CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_keyboard.py21CODE
LOW…share/cinnamon/cinnamon-settings/modules/cs_actions.py9CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_power.py8CODE
LOW…share/cinnamon/cinnamon-settings/modules/cs_applets.py3CODE
LOW…share/cinnamon/cinnamon-settings/modules/cs_display.py4CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py5CODE
LOW…/share/cinnamon/cinnamon-settings/modules/cs_themes.py9CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_gestures.py3CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_gestures.py10CODE
LOW…e/cinnamon/cinnamon-settings/modules/cs_backgrounds.py22CODE
LOW…re/cinnamon/cinnamon-settings/modules/cs_nightlight.py4CODE
LOW…re/cinnamon/cinnamon-settings/modules/cs_nightlight.py5CODE
LOW…share/cinnamon/cinnamon-settings/modules/cs_effects.py4CODE
LOW…share/cinnamon/cinnamon-settings/modules/cs_startup.py13CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_mouse.py6CODE
LOW…r/share/cinnamon/cinnamon-settings/modules/cs_mouse.py9CODE
LOW…hare/cinnamon/cinnamon-settings/modules/cs_calendar.py5CODE
LOW…sr/share/cinnamon/cinnamon-settings/modules/cs_info.py7CODE
LOW…sr/share/cinnamon/cinnamon-settings/modules/cs_info.py16CODE
LOW…share/cinnamon/cinnamon-settings/modules/cs_windows.py10CODE
15 more matches not shown…
Over-Commented Block65 hits · 65 pts
SeverityFileLineSnippetContext
LOWjs/misc/imFramework.js1// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-COMMENT
LOWjs/misc/params.js1// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-COMMENT
LOWjs/misc/fcitxInputMethod.js1// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-COMMENT
LOWjs/ui/layout.js1021COMMENT
LOWjs/ui/keyboardManager.js681COMMENT
LOWjs/ui/notificationDaemon.js201 // If no existing source is found, a new source is created as long asCOMMENT
LOWjs/ui/main.js361COMMENT
LOWutils/cinnamon-stap-monitor/cinnamon-stap-monitor.py81COMMENT
LOWutils/cinnamon-stap-monitor/cinnamon-stap-monitor.py161 return [True, self.model.insert_before(None, None)]COMMENT
LOWdocs/reference/cinnamon-js/gen_lib.py1#!/usr/bin/python3COMMENT
LOWdocs/reference/cinnamon-js/gen_doc.py1#!/usr/bin/python3COMMENT
LOWdocs/reference/cinnamon-js/gen_doc.py21#COMMENT
LOW…/share/cinnamon/applets/network@cinnamon.org/applet.js2561 // TODO: This can be unreliable with multiple interfaces, and libnmCOMMENT
LOWfiles/usr/share/cinnamon/cinnamon-settings/bin/capi.py1#!/usr/bin/python3COMMENT
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py1#!/usr/bin/python3COMMENT
LOW…re/cinnamon/cinnamon-settings/modules/cs_workspaces.py41 switch = GSettingsSwitch(_("Always show Expo on the primary monitor"), "org.cinnamon", "workspace-expo-primaCOMMENT
LOW…namon/cinnamon-looking-glass/cinnamon-looking-glass.py1#!/usr/bin/python3COMMENT
LOW…es/usr/share/cinnamon/cinnamon-menu-editor/cme/util.py1# -*- coding: utf-8 -*-COMMENT
LOW…/share/cinnamon/cinnamon-menu-editor/cme/MainWindow.py1# -*- coding: utf-8 -*-COMMENT
LOW…/share/cinnamon/cinnamon-menu-editor/cme/MenuEditor.py1# -*- coding: utf-8 -*-COMMENT
LOWdata/cldr2json/cldr2json.py1#!/usr/bin/python3COMMENT
LOWdata/theme/cinnamon-sass/widgets/_startmenu.scss1COMMENT
LOWsrc/cinnamon-global-private.h1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/cinnamon-tray-manager.c1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/cinnamon-app-system.c1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/cinnamon-window-tracker.c1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/cinnamon-app.c1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/cinnamon-screenshot.c1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/cinnamon-screen.c21 * This is a shim class to help compatibility with older (pre-5.2)COMMENT
LOWsrc/run-js-test.c21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWsrc/cinnamon-global.h1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/cinnamon-app-system.h1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/main.c1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/main.c21#include <meta/main.h>COMMENT
LOWsrc/cinnamon-util.c1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/cinnamon-global.c1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/cinnamon-recorder.c1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */COMMENT
LOWsrc/data-to-c.pl1#!/usr/bin/env perlCOMMENT
LOWsrc/screensaver/cinnamon-screensaver-pam-helper.c21 *COMMENT
LOWsrc/screensaver/subprocs.c21#include <stdio.h>COMMENT
LOWsrc/screensaver/cs-auth-pam.c21 * 02110-1335, USA.COMMENT
LOWsrc/screensaver/backup-locker/backup-locker.c1#include "config.h"COMMENT
LOWsrc/screensaver/backup-locker/event-grabber.c21 *COMMENT
LOWsrc/tray/na-tray-manager.h21COMMENT
LOWsrc/tray/na-tray-manager.c21#include <config.h>COMMENT
LOWsrc/st/st-bin.h21#error "Only <st/st.h> can be included directly.h"COMMENT
LOWsrc/st/st-viewport.h21COMMENT
LOWsrc/st/st-group.h21#error "Only <st/st.h> can be included directly.h"COMMENT
LOWsrc/st/st-theme-node-transition.h21#ifndef __ST_THEME_NODE_TRANSITION_H__COMMENT
LOWsrc/st/st-texture-cache.h21COMMENT
LOWsrc/st/st-table-child.h21#error "Only <st/st.h> can be included directly.h"COMMENT
LOWsrc/st/st-widget.c21 * You should have received a copy of the GNU Lesser General Public LicenseCOMMENT
LOWsrc/st/st-scroll-bar.h21#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)COMMENT
LOWsrc/st/st-button.h21#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)COMMENT
LOWsrc/st/st-private.h21 */COMMENT
LOWsrc/st/st-scroll-view-fade.c21COMMENT
LOWsrc/st/st-scroll-view.h21 */COMMENT
LOWsrc/st/st-focus-manager.h21#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)COMMENT
LOWsrc/st/st-label.h21#error "Only <st/st.h> can be included directly.h"COMMENT
LOWsrc/st/st-texture-cache.c21COMMENT
5 more matches not shown…
Decorative Section Separators10 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py90 # ------------------------------------------------------------------COMMENT
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py92 # ------------------------------------------------------------------COMMENT
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py175 # ------------------------------------------------------------------COMMENT
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py177 # ------------------------------------------------------------------COMMENT
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py263 # ------------------------------------------------------------------COMMENT
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py265 # ------------------------------------------------------------------COMMENT
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py318 # ------------------------------------------------------------------COMMENT
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py320 # ------------------------------------------------------------------COMMENT
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py378 # ------------------------------------------------------------------COMMENT
MEDIUM…/usr/share/cinnamon/cinnamon-screenshot/main_window.py380 # ------------------------------------------------------------------COMMENT
Fake / Example Data10 hits · 13 pts
SeverityFileLineSnippetContext
LOWjs/ui/placeholder.js47 style_class: 'placeholder',CODE
LOW…/reference/cinnamon-tutorials/documenting-tutorial.xml101 &lt;para&gt;Lorem ipsum dolor sit amet&lt;/para&gt;CODE
LOW…/reference/cinnamon-tutorials/documenting-tutorial.xml101 &lt;para&gt;Lorem ipsum dolor sit amet&lt;/para&gt;CODE
LOW…/reference/cinnamon-tutorials/documenting-tutorial.xml110 &lt;para&gt;Lorem &lt;code&gt;ipsum&lt;/code&gt; dolor sit amet.&lt;/para&gt;</programlisting>CODE
LOW…/reference/cinnamon-tutorials/documenting-tutorial.xml113 Lorem <code>ipsum</code> dolor sit amet.CODE
LOW…/reference/cinnamon-tutorials/documenting-tutorial.xml123 &amp;lt;para&amp;gt;Lorem &amp;lt;code&amp;gt;ipsum&amp;lt;/code&amp;gt; dolor sit amet.&amp;lt;/para&amp;gt;CODE
LOW…cinnamon/cinnamon-settings/modules/cs_notifications.py12Lorem ipsum dolor sit amet, consectetur adipiscing elit. \CODE
LOW…cinnamon/cinnamon-settings/modules/cs_notifications.py12Lorem ipsum dolor sit amet, consectetur adipiscing elit. \CODE
LOW…/usr/share/cinnamon/cinnamon-screenshot/main_window.py257 self.preview_stack.set_visible_child_name('preview' if has_preview else 'placeholder')CODE
LOWdata/org.cinnamon.gschema.xml936 <key name="placeholder" type="b">CODE
Redundant / Tautological Comments7 hits · 12 pts
SeverityFileLineSnippetContext
LOW…r/share/cinnamon/cinnamon-settings/bin/InputSources.py258 # Check if this engine uses "default" layout or has a specific oneCOMMENT
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py727 # Check if it is not the transparent index, as that doesn't qualify.COMMENT
LOW…e/cinnamon/cinnamon-settings/modules/cs_thunderbolt.py254 # Check if thunderbolt is presentCOMMENT
LOW…e/cinnamon/cinnamon-settings/modules/cs_thunderbolt.py256 # Check if bolt is installed by finding 'boltctl'COMMENT
LOW…e/cinnamon/cinnamon-settings/modules/cs_thunderbolt.py258 # Check if bolt is available on DBusCOMMENT
LOW…e/cinnamon/cinnamon-settings/modules/cs_thunderbolt.py261 # Check if we've already been loadedCOMMENT
LOW…hare/cinnamon/cinnamon-slideshow/cinnamon-slideshow.py350 # Check if the starting image is in our list (we've rebooted or otherwise a new process)STRING
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…amon/applets/grouped-window-list@cinnamon.org/utils.py23CODE
LOW…hare/cinnamon/cinnamon-settings/bin/TreeListWidgets.py103CODE
LOW…es/usr/share/cinnamon/cinnamon-settings/bin/imtools.py55CODE
LOWdata/cldr2json/cldr2json.py54CODE
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcalendar-server/cinnamon-calendar-server.py460 # then just return 0. The value isn't used except for comparison, whenCOMMENT
LOW…/share/cinnamon/cinnamon-settings/cinnamon-settings.py626 # We can just add a negative here (since final_y < 0), but it's lessCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…/share/cinnamon/cinnamon-settings/cinnamon-settings.py256 # Create the UICOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…on-screensaver-command/cinnamon-screensaver-command.py113CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWjs/ui/settings.js759 // If the settings have already been installed previously we need to check if the schemaCOMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocs/reference/cinnamon-tutorials/xlet-translating.xml39 And don't forget to change the <code>const UUID</code> above to your applets UUID.CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…on-screensaver-command/cinnamon-screensaver-command.py144 def perform_action(self):CODE