AI Slop Code Risk Monitor

xbmc/xbmc

SlopCodeMonitor badge for xbmc/xbmc Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS, tvOS and Windows.

2.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for xbmc/xbmc, a C++ project with 21,406 GitHub stars. SynthScan examined 1,415,240 lines of code across 7095 source files, recording 4359 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 2.8 (Low 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.

2.8
Adjusted Signal
2.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
21.4K
Stars
C++
Language
1.4M
Lines of Code
7.1K
Files
4.4K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 12.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 4203 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

Are imports declared and package/API names verified? 74 finding(s).

Agent Over-Engineering Ratio 0.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 113 finding(s).

PR Review Velocity Impact 15.2/100 · LOW

Which changes need focused human review? 4359 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 2HIGH 40MEDIUM 39LOW 4278

Directory Score Breakdown

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.

Pattern Findings

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

Over-Commented Block4074 hits · 3422 pts
SeverityFileLineSnippetContext
LOWxbmc-xrandr.c21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCECOMMENT
LOWtools/Linux/packaging/mk-debian-package.sh1#!/bin/bashCOMMENT
LOWtools/EventClients/Clients/KodiSend/kodi-send.py1#!/usr/bin/env python3COMMENT
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py1#!/usr/bin/env python3COMMENT
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py21# for sending input events.COMMENT
LOWtools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h21 *COMMENT
LOWtools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h41COMMENT
LOWtools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h21#include <stdlib.h>COMMENT
LOWtools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h41#define WIIMOTE_BUTTON_ONE 0x0002COMMENT
LOW…ients/Clients/WiiRemote/wiiuse_v0.12/example-sdl/sdl.c21 * $Header$COMMENT
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h41#ifdef _WIN32COMMENT
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h61COMMENT
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h81/* nunchul button codes */COMMENT
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h101#define CLASSIC_CTRL_BUTTON_RIGHT 0x8000COMMENT
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h581 *COMMENT
LOW…s/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/os.h41#ifdef WIN32COMMENT
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h61COMMENT
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h81#define WM_RPT_WRITE 0x22COMMENT
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h101#define WM_MAX_BATTERY_CODE 0xC8COMMENT
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h121#define WM_IR_BLOCK1_LEVEL4 "\x02\x00\x00\x71\x01\x00\xc8\x00\x36"COMMENT
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h161 ********************/COMMENT
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h181/* macro to manage states */COMMENT
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/events.c41 #include <unistd.h>COMMENT
LOW…ients/Clients/WiiRemote/wiiuse_v0.12/src/definitions.h61 #define WIIUSE_DEBUG(fmt, ...) fprintf(stderr, "[DEBUG] " __FILE__ ":%i: " fmt "\n", __LINE__, ##__VA_ARGS__)COMMENT
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py1#!/usr/bin/env python3COMMENT
LOWtools/EventClients/Clients/Xbox360Controller/stdafx.h1// stdafx.h : include file for standard system include files,COMMENT
LOW…ols/EventClients/Clients/Xbox360Controller/targetver.h1#pragma onceCOMMENT
LOWtools/EventClients/Clients/Xbox360Controller/stdafx.cpp1// stdafx.cpp : source file that includes just the standard includesCOMMENT
LOWtools/EventClients/examples/python/example_button1.py1#!/usr/bin/env python3COMMENT
LOWtools/EventClients/examples/python/example_button1.py61 # at least once every 60 seconds or else the client will time out.COMMENT
LOWtools/EventClients/lib/c++/xbmcclient.h21#pragma onceCOMMENT
LOWtools/EventClients/lib/c++/xbmcclient.h41COMMENT
LOWtools/EventClients/lib/c++/xbmcclient.h61#define PT_BLOB 0x08COMMENT
LOWtools/EventClients/lib/python/xbmcclient.py1#!/usr/bin/env python3COMMENT
LOWtools/EventClients/lib/python/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/EventClients/lib/python/zeroconf.py1#!/usr/bin/env python3COMMENT
LOWtools/EventClients/lib/python/ps3/sixaxis.py1#!/usr/bin/env python3COMMENT
LOWtools/EventClients/lib/python/ps3/keymaps.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/EventClients/lib/python/ps3/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/EventClients/lib/python/bt/hid.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/EventClients/lib/python/bt/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/EventClients/lib/python/bt/bt.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/depends/native/TexturePacker/src/XBTFWriter.cpp21#define __STDC_FORMAT_MACROSCOMMENT
LOW…ols/depends/native/TexturePacker/src/TexturePacker.cpp21#ifdef TARGET_WINDOWSCOMMENT
LOW…s/depends/native/TexturePacker/src/decoder/GifHelper.h21#pragma onceCOMMENT
LOWtools/depends/native/TexturePacker/src/Win32/dirent.h21COMMENT
LOW…gpg-error/lock-obj-pub.aarch64-unknown-linux-android.h21## Local Variables:COMMENT
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py1# -*- coding: UTF-8 -*-COMMENT
LOW…viedb.org.python/python/lib/tmdbscraper/imdbratings.py1# -*- coding: UTF-8 -*-COMMENT
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py1# coding: utf-8COMMENT
LOW…hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py1# -*- coding: UTF-8 -*-COMMENT
LOW…sioncheck/resources/lib/version_check/distro/distro.py1# Copyright 2015,2016,2017 Nir CohenCOMMENT
LOW…sioncheck/resources/lib/version_check/distro/distro.py41COMMENT
LOWaddons/webinterface.default/lib/video-js/video.js2461 Component.extend = function extend(props) {COMMENT
LOWaddons/webinterface.default/lib/video-js/video.js19361var COLOR_MAGENTA = ['#F0F', 'Magenta'];COMMENT
LOWaddons/webinterface.default/lib/video-js/video.js22341 event = {};COMMENT
LOWdocs/CODE_GUIDELINES.md461#include "network/Network.h"COMMENT
LOWlib/libUPnP/Neptune/Source/Core/NptTypes.h81#endifCOMMENT
LOWlib/libUPnP/Neptune/Source/Core/NptTypes.h101#if !defined(NPT_LONG_MAX)COMMENT
LOWlib/libUPnP/Neptune/Source/Core/NptTypes.h121#if !defined(NPT_UINT32_MAX)COMMENT
4014 more matches not shown…
Empty Error Handlers25 hits · 125 pts
SeverityFileLineSnippetContext
HIGHtools/wasm/serve.py123except (BrokenPipeError, ConnectionResetError):CODE
HIGHtools/wasm/serve.py177except (BrokenPipeError, ConnectionResetError):CODE
HIGHtools/EventClients/Clients/PS3BDRemote/ps3_remote.py195except:CODE
HIGHtools/EventClients/Clients/PS3SixaxisController/ps3d.py385except Exception as e:CODE
HIGHtools/EventClients/Clients/PS3SixaxisController/ps3d.py292except:CODE
HIGHtools/EventClients/Clients/PS3SixaxisController/ps3d.py95except:CODE
HIGHtools/EventClients/Clients/PS3SixaxisController/ps3d.py101except:CODE
HIGHtools/EventClients/Clients/PS3SixaxisController/ps3d.py245except:CODE
HIGHtools/EventClients/lib/python/zeroconf.py140except:CODE
HIGHtools/EventClients/lib/python/zeroconf.py124except:CODE
HIGHtools/EventClients/lib/python/ps3/sixpair.py52except usb.USBError:CODE
HIGHtools/EventClients/lib/python/ps3/sixpair.py69except usb.USBError:CODE
HIGH…iedb.org.python/python/lib/tmdbscraper/traktratings.py28except ImportError:CODE
HIGH…moviedb.org.python/python/lib/tmdbscraper/api_utils.py42except ImportError:CODE
HIGH…hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py31except ImportError:CODE
HIGH…bmc.versioncheck/resources/lib/version_check/common.py24except AttributeError:CODE
HIGH…bmc.versioncheck/resources/lib/version_check/common.py58except: # pylint: disable=bare-exceptCODE
HIGH…bmc.versioncheck/resources/lib/version_check/common.py73except: # pylint: disable=bare-exceptCODE
HIGH…/metadata.tvshows.themoviedb.org.python/lib/scraper.py663except AttributeError:CODE
HIGH…/metadata.tvshows.themoviedb.org.python/lib/scraper.py422except ValueError:CODE
HIGH…/metadata.tvshows.themoviedb.org.python/lib/scraper.py492except (ValueError, TypeError):CODE
HIGH…/metadata.tvshows.themoviedb.org.python/lib/scraper.py474except (ValueError, TypeError):CODE
HIGH…metadata.tvshows.themoviedb.org.python/lib/api/imdb.py46except sqlite3.Error:CODE
HIGH…metadata.tvshows.themoviedb.org.python/lib/api/imdb.py204except OSError:CODE
HIGH…ns/kodi-dev-kit/tools/code-generator/src/helper_Log.py47except:CODE
Unused Imports71 hits · 71 pts
SeverityFileLineSnippetContext
LOWtools/EventClients/Clients/KodiSend/kodi-send.py24CODE
LOWtools/EventClients/Clients/KodiSend/kodi-send.py27CODE
LOWtools/EventClients/Clients/KodiSend/kodi-send.py30CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py51CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py40CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py42CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py46CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py48CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py49CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py23CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py53CODE
LOWtools/EventClients/examples/python/example_simple.py7CODE
LOWtools/EventClients/examples/python/example_simple.py15CODE
LOWtools/EventClients/examples/python/example_simple.py21CODE
LOWtools/EventClients/examples/python/example_simple.py22CODE
LOWtools/EventClients/examples/python/example_button2.py14CODE
LOWtools/EventClients/examples/python/example_button2.py21CODE
LOWtools/EventClients/examples/python/example_button2.py27CODE
LOWtools/EventClients/examples/python/example_button2.py28CODE
LOWtools/EventClients/examples/python/example_mouse.py10CODE
LOWtools/EventClients/examples/python/example_mouse.py17CODE
LOWtools/EventClients/examples/python/example_mouse.py23CODE
LOWtools/EventClients/examples/python/example_mouse.py24CODE
LOW…s/EventClients/examples/python/example_notification.py8CODE
LOW…s/EventClients/examples/python/example_notification.py15CODE
LOW…s/EventClients/examples/python/example_notification.py21CODE
LOW…s/EventClients/examples/python/example_notification.py22CODE
LOWtools/EventClients/examples/python/example_action.py7CODE
LOWtools/EventClients/examples/python/example_action.py14CODE
LOWtools/EventClients/examples/python/example_action.py20CODE
LOWtools/EventClients/examples/python/example_action.py21CODE
LOWtools/EventClients/examples/python/example_button1.py24CODE
LOWtools/EventClients/examples/python/example_button1.py31CODE
LOWtools/EventClients/examples/python/example_button1.py37CODE
LOWtools/EventClients/examples/python/example_button1.py38CODE
LOWtools/EventClients/lib/python/xbmcclient.py40CODE
LOWtools/EventClients/lib/python/xbmcclient.py40CODE
LOWtools/EventClients/lib/python/xbmcclient.py40CODE
LOWtools/EventClients/lib/python/xbmcclient.py40CODE
LOWtools/EventClients/lib/python/zeroconf.py30CODE
LOWtools/EventClients/lib/python/ps3/sixaxis.py21CODE
LOWtools/EventClients/lib/python/ps3/sixaxis.py24CODE
LOWtools/EventClients/lib/python/ps3/sixaxis.py25CODE
LOWtools/EventClients/lib/python/ps3/sixwatch.py6CODE
LOWtools/EventClients/lib/python/bt/hid.py18CODE
LOWaddons/metadata.generic.artists/lib/scraper.py9CODE
LOWaddons/metadata.generic.artists/lib/scraper.py31CODE
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py21CODE
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py21CODE
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py26CODE
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py26CODE
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py20CODE
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py20CODE
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py40CODE
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py40CODE
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py40CODE
LOW…hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py29CODE
LOW…hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py29CODE
LOWaddons/metadata.generic.albums/lib/scraper.py9CODE
LOWaddons/metadata.generic.albums/lib/scraper.py30CODE
11 more matches not shown…
Cross-File Repetition11 hits · 55 pts
SeverityFileLineSnippetContext
HIGH…dons/service.xbmc.versioncheck/resources/lib/runner.py0copyright (c) 2019 team kodi this file is part of service.xbmc.versioncheck spdx-license-identifier: gpl-3.0-or-later seSTRING
HIGH…ns/service.xbmc.versioncheck/resources/lib/__init__.py0copyright (c) 2019 team kodi this file is part of service.xbmc.versioncheck spdx-license-identifier: gpl-3.0-or-later seSTRING
HIGH…mc.versioncheck/resources/lib/version_check/handler.py0copyright (c) 2019 team kodi this file is part of service.xbmc.versioncheck spdx-license-identifier: gpl-3.0-or-later seSTRING
HIGH…mc.versioncheck/resources/lib/version_check/service.py0copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file isSTRING
HIGH…ioncheck/resources/lib/version_check/json_interface.py0copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file isSTRING
HIGH…c.versioncheck/resources/lib/version_check/__init__.py0copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file isSTRING
HIGH…heck/resources/lib/version_check/apt_daemon_handler.py0copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file isSTRING
HIGH…bmc.versioncheck/resources/lib/version_check/common.py0copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file isSTRING
HIGH…c.versioncheck/resources/lib/version_check/versions.py0copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file isSTRING
HIGH…check/resources/lib/version_check/shell_handler_apt.py0copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file isSTRING
HIGH…bmc.versioncheck/resources/lib/version_check/viewer.py0copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file isSTRING
AI Slop Vocabulary18 hits · 53 pts
SeverityFileLineSnippetContext
MEDIUMaddons/webinterface.default/lib/video-js/video.js13245 // On HTML5 browsers scrubbing is really smooth, but some flash players are slow, so we might want to utilize this lCOMMENT
MEDIUMxbmc/video/VideoDatabase.cpp8359 //! @todo figure out a more efficient and robust wayCOMMENT
MEDIUMxbmc/video/geometry/ContentBarDetector.cpp97//! \brief The robust statistics a line is judged dark-and-flat by.COMMENT
MEDIUMxbmc/video/geometry/test/TestContentBarDetector.cpp90// --- robust flatness ------------------------------------------------------------------COMMENT
MEDIUMxbmc/platform/darwin/osx/CPUInfoOsx.cpp130 // aren't as robust in their readingsCOMMENT
MEDIUMxbmc/platform/darwin/osx/GPUInfoMacOS.cpp26 // aren't as robust in their readingsCOMMENT
MEDIUM…/addons/kodi-dev-kit/include/kodi/addon-instance/PVR.h615 /// utilize a server, return empty string.COMMENT
MEDIUMxbmc/utils/Fanart.cpp155 // Essentially we read the colors in using the proper format, and store them in our own fixed temporary format (3 DWORCOMMENT
MEDIUMxbmc/filesystem/IDirectory.h39 ALWAYS ///< Always cache this directory to memory, so that each additional fetch of this folder will utilize the cacheCODE
MEDIUMxbmc/cores/VideoPlayer/VideoPlayer.cpp5038 // seamless transitions over these boundariesCOMMENT
MEDIUMxbmc/cores/VideoPlayer/VideoPlayer.cpp5048 // This event is issued whenever a non-seamless operation has been executed.COMMENT
MEDIUM…ideoPlayer/DVDInputStreams/DVDInputStreamNavigator.cpp652 // This event is issued whenever a non-seamless operation has been executed.COMMENT
MEDIUMxbmc/cores/AudioEngine/Utils/PackerMAT.cpp62// header is present, the output timing counter used for seamless-branchCOMMENT
MEDIUMxbmc/cores/AudioEngine/Utils/PackerMAT.cpp167 // timing counter, which is needed to detect seamless branch points.COMMENT
MEDIUMxbmc/cores/AudioEngine/Utils/PackerMAT.cpp176 // seamless-branch detection) instead of being dropped.COMMENT
MEDIUMxbmc/cores/AudioEngine/Utils/PackerMAT.cpp190 // match, treat it as a seamless branch point: carry the padding forwardCOMMENT
MEDIUMxbmc/cores/AudioEngine/Utils/PackerMAT.h50 // present) or inferred by advancing a counter. Used to detect a seamlessCOMMENT
MEDIUMxbmc/interfaces/legacy/Control.h46 /// Kodi is noted as having a very flexible and robust framework for itsCOMMENT
Deep Nesting44 hits · 44 pts
SeverityFileLineSnippetContext
LOWtools/wasm/serve.py85CODE
LOWtools/wasm/serve.py133CODE
LOWtools/EventClients/Clients/KodiSend/kodi-send.py67CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py57CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py131CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py316CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py365CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py130CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py164CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py230CODE
LOWtools/EventClients/lib/python/xbmcclient.py631CODE
LOWtools/EventClients/lib/python/ps3/sixaxis.py290CODE
LOWtools/EventClients/lib/python/ps3/sixwatch.py12CODE
LOWtools/EventClients/lib/python/ps3/sixpair.py20CODE
LOWtools/EventClients/lib/python/ps3/sixpair.py31CODE
LOWaddons/metadata.generic.artists/lib/scraper.py91CODE
LOWaddons/metadata.generic.artists/lib/scraper.py242CODE
LOWaddons/metadata.generic.artists/lib/scraper.py357CODE
LOWaddons/metadata.generic.artists/lib/musicbrainz.py23CODE
LOWaddons/metadata.generic.artists/lib/allmusic.py89CODE
LOWaddons/metadata.generic.artists/lib/theaudiodb.py3CODE
LOWaddons/metadata.themoviedb.org.python/python/scraper.py202CODE
LOW…a.themoviedb.org.python/python/lib/tmdbscraper/tmdb.py21CODE
LOWaddons/metadata.generic.albums/lib/scraper.py90CODE
LOWaddons/metadata.generic.albums/lib/scraper.py231CODE
LOWaddons/metadata.generic.albums/lib/musicbrainz.py79CODE
LOWaddons/metadata.generic.albums/lib/fanarttv.py3CODE
LOW…mc.versioncheck/resources/lib/version_check/service.py72CODE
LOW…c.versioncheck/resources/lib/version_check/versions.py66CODE
LOW…c.versioncheck/resources/lib/version_check/versions.py109CODE
LOW…c.versioncheck/resources/lib/version_check/versions.py147CODE
LOW…c.versioncheck/resources/lib/version_check/versions.py183CODE
LOW…sioncheck/resources/lib/version_check/distro/distro.py934CODE
LOW…sioncheck/resources/lib/version_check/distro/distro.py1072CODE
LOW…/metadata.tvshows.themoviedb.org.python/lib/scraper.py462CODE
LOW…/metadata.tvshows.themoviedb.org.python/lib/scraper.py503CODE
LOW…metadata.tvshows.themoviedb.org.python/lib/api/imdb.py146CODE
LOW…metadata.tvshows.themoviedb.org.python/lib/api/tmdb.py244CODE
LOW…metadata.tvshows.themoviedb.org.python/lib/api/tmdb.py301CODE
LOW…data.tvshows.themoviedb.org.python/lib/api/fanarttv.py13CODE
LOW…odi-dev-kit/tools/doxygen-header-class-list-creator.py58CODE
LOW…erateCMake__CMAKE_TREEDATA_COMMON_addon_dev_kit_txt.py24CODE
LOW…CMake__XBMC_ADDONS_KODIDEVKIT_INCLUDE_KODI_allfiles.py31CODE
LOW…ns/kodi-dev-kit/tools/code-generator/src/helper_Log.py127CODE
Excessive Try-Catch Wrapping39 hits · 38 pts
SeverityFileLineSnippetContext
LOWtools/wasm/serve.py161 except Exception as exc:CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py72 except Exception as e:CODE
MEDIUMtools/EventClients/Clients/PS3BDRemote/ps3_remote.py73 print("Error performing bluetooth discovery")CODE
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py153 except Exception as e:STRING
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py181 except Exception as e:STRING
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py37 except Exception as e:CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py56 except Exception as e:CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py144 except Exception as e:CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py148 except Exception as e:CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py173 except Exception as e:CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py194 except Exception as e:CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py227 except Exception as e:CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py259 except Exception as e:CODE
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py325 except Exception as e:STRING
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py378 except Exception as e:STRING
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py385 except Exception as e:STRING
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py403 except Exception as e:STRING
LOWtools/EventClients/examples/python/example_action.py39 except Exception as e:CODE
LOWtools/EventClients/lib/python/zeroconf.py33except Exception as e:CODE
LOWtools/EventClients/lib/python/ps3/sixwatch.py23 except Exception as e:CODE
LOWtools/EventClients/lib/python/bt/hid.py58 except Exception as e:CODE
MEDIUMtools/EventClients/lib/python/bt/hid.py50def listen(self):CODE
LOW…bmc.versioncheck/resources/lib/version_check/viewer.py84 except Exception as error: # pylint: disable=broad-exceptCODE
LOW…bmc.versioncheck/resources/lib/version_check/viewer.py123 except Exception as error: # pylint: disable=broad-exceptCODE
LOW…bmc.versioncheck/resources/lib/version_check/viewer.py158 except Exception as err: # pylint: disable=broad-exceptCODE
LOW…heck/resources/lib/version_check/apt_daemon_handler.py62 except Exception as error: # pylint: disable=broad-exceptCODE
LOW…heck/resources/lib/version_check/apt_daemon_handler.py91 except Exception as error: # pylint: disable=broad-exceptCODE
LOW…heck/resources/lib/version_check/apt_daemon_handler.py105 except Exception as error: # pylint: disable=broad-exceptCODE
LOW…check/resources/lib/version_check/shell_handler_apt.py57 except Exception as error: # pylint: disable=broad-exceptCODE
LOW…check/resources/lib/version_check/shell_handler_apt.py86 except Exception as error: # pylint: disable=broad-exceptCODE
LOW…check/resources/lib/version_check/shell_handler_apt.py108 except Exception as error: # pylint: disable=broad-exceptCODE
LOW…check/resources/lib/version_check/shell_handler_apt.py128 except Exception as error: # pylint: disable=broad-exceptCODE
LOW…etadata.tvshows.themoviedb.org.python/lib/api/trakt.py105 except Exception as exc:CODE
LOW…metadata.tvshows.themoviedb.org.python/lib/api/imdb.py115 except Exception as exc:CODE
LOW…metadata.tvshows.themoviedb.org.python/lib/api/imdb.py217 except Exception as exc:CODE
LOW…metadata.tvshows.themoviedb.org.python/lib/api/tmdb.py50 except Exception:CODE
LOW…metadata.tvshows.themoviedb.org.python/lib/api/tmdb.py369 except Exception as exc:CODE
LOW…data.tvshows.themoviedb.org.python/lib/api/fanarttv.py107 except Exception as exc:CODE
MEDIUM…odi-dev-kit/tools/doxygen-header-class-list-creator.py140 print('Error: %s\nSee --help for usage.' % msg)CODE
Self-Referential Comments11 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMtools/testdata/mkmka.py4# This file is part of Kodi - https://kodi.tvCOMMENT
MEDIUMtools/testdata/mkmp2.py4# This file is part of Kodi - https://kodi.tvCOMMENT
MEDIUMtools/darwin/packaging/osx/dmgmaker.sh4# This file is part of Kodi - https://kodi.tvCOMMENT
MEDIUMtools/EventClients/examples/python/example_simple.py29 # Create an XBMCClient object and connectCOMMENT
MEDIUMtools/EventClients/examples/python/example_action.py28 # Create an XBMCClient object and connectCOMMENT
MEDIUMtools/EventClients/lib/python/ps3/sixaxis.py208 # The following sections should set the blink frequency ofCOMMENT
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py5# This file is part of Kodi - https://kodi.tvCOMMENT
MEDIUM…erateCMake__CMAKE_TREEDATA_COMMON_addon_dev_kit_txt.py4# This file is part of Kodi - https://kodi.tvCOMMENT
MEDIUM…kodi-dev-kit/tools/code-generator/src/commitChanges.py4# This file is part of Kodi - https://kodi.tvCOMMENT
MEDIUM…CMake__XBMC_ADDONS_KODIDEVKIT_INCLUDE_KODI_allfiles.py4# This file is part of Kodi - https://kodi.tvCOMMENT
MEDIUM…ns/kodi-dev-kit/tools/code-generator/src/helper_Log.py4# This file is part of Kodi - https://kodi.tvCOMMENT
Hyper-Verbose Identifiers27 hits · 28 pts
SeverityFileLineSnippetContext
LOWtools/EventClients/lib/python/zeroconf.py128 def _service_resolved_handler( self, *args ):CODE
LOWaddons/metadata.generic.artists/lib/musicbrainz.py23def musicbrainz_artistdetails(data):CODE
LOWaddons/metadata.themoviedb.org.python/python/scraper.py65def _searchresult_to_listitem(movie):CODE
LOW…etadata.themoviedb.org.python/python/scraper_config.py1def configure_scraped_details(details, settings):CODE
LOW⚡…etadata.themoviedb.org.python/python/scraper_config.py56def _configure_keeporiginaltitle(details, settings):CODE
LOW⚡…etadata.themoviedb.org.python/python/scraper_config.py66def _configure_multiple_studios(details, settings):CODE
LOW⚡…etadata.themoviedb.org.python/python/scraper_config.py71def _configure_default_rating(details, settings):CODE
LOW…ata.themoviedb.org.python/python/scraper_datahelper.py16def combine_scraped_details_info_and_ratings(original_details, additional_details):CODE
LOW…ata.themoviedb.org.python/python/scraper_datahelper.py30def combine_scraped_details_available_artwork(original_details, additional_details, language, settings):CODE
LOW…a.themoviedb.org.python/python/lib/tmdbscraper/tmdb.py218def _build_image_list_with_fallback(imagelist, urlbases, language, language_fallback='en'):CODE
LOW…a.themoviedb.org.python/python/lib/tmdbscraper/tmdb.py231def _build_list_without_titles(imagelist, urlbases):CODE
LOW…viedb.org.python/python/lib/tmdbscraper/imdbratings.py72def _parse_imdb_rating_and_votes(input_html):CODE
LOW…viedb.org.python/python/lib/tmdbscraper/imdbratings.py95def _parse_imdb_rating_previous(input_html):CODE
LOW…viedb.org.python/python/lib/tmdbscraper/imdbratings.py101def _parse_imdb_votes_previous(input_html):CODE
LOW…hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py76def find_movie_by_external_id(external_id, language=None):CODE
LOW…c.versioncheck/resources/lib/version_check/versions.py66def _check_for_stable_version(version_installed, stable_version):CODE
LOW…sioncheck/resources/lib/version_check/distro/distro.py934 def _parse_os_release_content(lines):CODE
LOW…sioncheck/resources/lib/version_check/distro/distro.py1020 def _parse_lsb_release_content(lines):CODE
LOW…sioncheck/resources/lib/version_check/distro/distro.py1139 def _parse_distro_release_file(self, filepath):CODE
LOW…sioncheck/resources/lib/version_check/distro/distro.py1162 def _parse_distro_release_content(line):CODE
LOWaddons/webinterface.default/lib/video-js/video.js11138 var findFirstPassingTechSourcePair = function findFirstPassingTechSourcePair(outerArray, innerArray, tester) {CODE
LOW…eo-js/plugins/videojs-chromecast/videojs-chromecast.js683 value: function mediaCommandSuccessCallback(information) {CODE
LOWlib/libUPnP/Neptune/Source/Core/NptHttp.h593class NPT_HttpRequestHandlerCODE
LOWlib/libUPnP/Neptune/Source/Core/NptHttp.h625class NPT_HttpStaticRequestHandler : public NPT_HttpRequestHandlerCODE
LOWlib/libUPnP/Neptune/Source/Core/NptHttp.h658class NPT_HttpFileRequestHandler : public NPT_HttpRequestHandlerCODE
LOWlib/libUPnP/Platinum/Source/Core/PltHttp.h195class PLT_HttpRequestHandler : public NPT_HttpRequestHandlerCODE
LOWxbmc/network/httprequesthandler/IHTTPRequestHandler.h85class IHTTPRequestHandlerCODE
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHxbmc/addons/kodi-dev-kit/include/kodi/General.h146/// arguments and formatted as requested.COMMENT
HIGH…c/addons/kodi-dev-kit/include/kodi/tools/StringUtils.h502 /// arguments and formatted as requested.COMMENT
HIGHxbmc/cores/AudioEngine/Sinks/AESinkXAudio.cpp645 // the number of channels as requestedCOMMENT
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICAL…ns/webinterface.default/lib/jquery/jquery-3.5.1.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALxbmc/test/TestUtil.cpp191 {"Movie.Some.Story.2017.2160p.BDRemux.IMAX.HDR.DV.IVA(ENG.RUS).ExKinoRay", true,CODE
Verbosity Indicators8 hits · 15 pts
SeverityFileLineSnippetContext
LOW⚡xbmc/guilib/guiinfo/GUIInfoLabel.cpp331 // Step 1: Replace all $LOCALIZE[number] with the real stringCOMMENT
LOW⚡xbmc/guilib/guiinfo/GUIInfoLabel.cpp333 // Step 2: Replace all $ADDON[id number] with the real stringCOMMENT
LOW⚡xbmc/guilib/guiinfo/GUIInfoLabel.cpp335 // Step 3: Replace all game controller strings with the real stringCOMMENT
LOW⚡xbmc/guilib/guiinfo/GUIInfoLabel.cpp337 // Step 4: Find all $INFO[info,prefix,postfix], $VAR[name] and $MAP[map,infolabel] blocksCOMMENT
LOWxbmc/network/WebServer.cpp205 // if we got a GET request we need to check if it should be cachedCOMMENT
LOWxbmc/interfaces/python/PythonInvoker.cpp297 // we need to check if we was asked to abort before we had initedCOMMENT
LOWxbmc/interfaces/json-rpc/JSONServiceDescription.cpp718 // First we need to check if this type extends anotherCOMMENT
LOWxbmc/interfaces/json-rpc/JSONServiceDescription.cpp915 // If additional properties are allowed we need to check ifCOMMENT
Slop Phrases6 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtools/EventClients/examples/python/example_button1.py64 # then you can use the PacketPING class to send a ping packet (which isCOMMENT
MEDIUMaddons/webinterface.default/lang/en/addons.html9<p>If you wish to search content provided by an add-on that isn&#39;t included with Chorus, you can add your ownCODE
MEDIUMaddons/webinterface.default/lib/video-js/video.js24091 * A cross-browser XMLHttpRequest wrapper. Here's a simple example:COMMENT
LOWxbmc/addons/kodi-dev-kit/include/kodi/gui/Window.h703 /// - Don't forget to capture @ref ADDON_ACTION_PREVIOUS_MENU or @ref ADDON_ACTION_NAV_BACK, else the user can't closeCOMMENT
LOWxbmc/rendering/dx/DeviceResources.cpp362 // Don't forget to declare your application's minimum required feature level in itsCOMMENT
LOWxbmc/interfaces/legacy/Window.h333 /// - Don't forget to capture `ACTION_PREVIOUS_MENU` or `ACTION_NAV_BACK`,COMMENT
Structural Annotation Overuse5 hits · 10 pts
SeverityFileLineSnippetContext
LOWxbmc/settings/MediaSourceSettings.cpp171// NOTE: This function does NOT save the sources.xml file - you need to call SaveSources() separately.COMMENT
LOW⚡xbmc/guilib/guiinfo/GUIInfoLabel.cpp331 // Step 1: Replace all $LOCALIZE[number] with the real stringCOMMENT
LOW⚡xbmc/guilib/guiinfo/GUIInfoLabel.cpp333 // Step 2: Replace all $ADDON[id number] with the real stringCOMMENT
LOW⚡xbmc/guilib/guiinfo/GUIInfoLabel.cpp335 // Step 3: Replace all game controller strings with the real stringCOMMENT
LOW⚡xbmc/guilib/guiinfo/GUIInfoLabel.cpp337 // Step 4: Find all $INFO[info,prefix,postfix], $VAR[name] and $MAP[map,infolabel] blocksCOMMENT
Decorative Section Separators4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py22# ===============================================================================COMMENT
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py31# ===============================================================================COMMENT
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py68 ##----------------------------------------------------------------------------STRING
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py72 ##----------------------------------------------------------------------------STRING
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…sioncheck/resources/lib/version_check/distro/distro.py580 The initialization method of this class gathers information from the available data sources, and storesSTRING
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/testdata/mkmka.py125CODE
LOWtools/EventClients/lib/python/xbmcclient.py319CODE
LOWaddons/metadata.generic.artists/lib/scraper.py431CODE
LOWaddons/metadata.generic.albums/lib/scraper.py390CODE
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…ns/service.xbmc.versioncheck/resources/lib/__init__.py14__all__ = ['runner', 'version_check']CODE
LOW…c.versioncheck/resources/lib/version_check/__init__.py15__all__ = ['apt_daemon_handler', 'common', 'handler', 'json_interface', 'service',CODE
LOW…oncheck/resources/lib/version_check/distro/__init__.py10__all__ = ['distro']CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWxbmc/utils/HttpParser.h26// Example usage:COMMENT
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippetContext
LOWxbmc/interfaces/legacy/InfoTagGame.h44/// tag.setDeveloper('John Doe')COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/EventClients/lib/python/ps3/sixaxis.py244 def process_data(self, data):CODE