Repository Analysis

xbmc/xbmc

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.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of xbmc/xbmc, a C++ project with 20,969 GitHub stars. SynthScan v2.0 examined 1,285,013 lines of code across 6564 source files, recording 4169 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 2.9 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.9
Adjusted Score
2.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
21.0K
Stars
C++
Language
1.3M
Lines of Code
6.6K
Files
4.2K
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 2HIGH 15MEDIUM 34LOW 4118

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 4169 distinct pattern matches across 20 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.

Over-Commented Block3855 hits · 3234 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
LOWaddons/metadata.tvshows.themoviedb.org.python/main.py1# -*- coding: UTF-8 -*-COMMENT
LOW…s/metadata.tvshows.themoviedb.org.python/libs/cache.py1# -*- coding: UTF-8 -*-COMMENT
LOW…metadata.tvshows.themoviedb.org.python/libs/actions.py1# -*- coding: UTF-8 -*-COMMENT
LOW…etadata.tvshows.themoviedb.org.python/libs/debugger.py1# -*- coding: UTF-8 -*-COMMENT
3795 more matches not shown…
Unused Imports128 hits · 128 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
68 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
Deep Nesting53 hits · 53 pts
SeverityFileLineSnippetContext
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/libs/actions.py130CODE
LOW…metadata.tvshows.themoviedb.org.python/libs/actions.py229CODE
LOW…etadata.tvshows.themoviedb.org.python/libs/debugger.py62CODE
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py162CODE
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py208CODE
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py239CODE
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py370CODE
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py423CODE
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py441CODE
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py58CODE
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py126CODE
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py174CODE
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py260CODE
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py330CODE
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py366CODE
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py416CODE
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py486CODE
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
AI Slop Vocabulary15 hits · 44 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/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.h613 /// 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.h32 ALWAYS ///< Always cache this directory to memory, so that each additional fetch of this folder will utilize the cacheCODE
MEDIUMxbmc/cores/VideoPlayer/VideoPlayer.cpp4746 // seamless transitions over these boundariesCOMMENT
MEDIUMxbmc/cores/VideoPlayer/VideoPlayer.cpp4756 // This event is issued whenever a non-seamless operation has been executed.COMMENT
MEDIUM…ideoPlayer/DVDInputStreams/DVDInputStreamNavigator.cpp638 // 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
Excessive Try-Catch Wrapping33 hits · 33 pts
SeverityFileLineSnippetContext
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/libs/debugger.py91 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
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.py46def _configure_keeporiginaltitle(details, settings):CODE
LOW…etadata.themoviedb.org.python/python/scraper_config.py56def _configure_multiple_studios(details, settings):CODE
LOW…etadata.themoviedb.org.python/python/scraper_config.py61def _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.py205def _build_image_list_with_fallback(imagelist, urlbases, language, language_fallback='en'):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
LOW…s/metadata.tvshows.themoviedb.org.python/libs/cache.py64def load_show_info_from_cache(show_id):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
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippetContext
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
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.cpp568 // 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.cpp156 {"Movie.Some.Story.2017.2160p.BDRemux.IMAX.HDR.DV.IVA(ENG.RUS).ExKinoRay", true,CODE
Verbosity Indicators8 hits · 15 pts
SeverityFileLineSnippetContext
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp326 // Step 1: Replace all $LOCALIZE[number] with the real stringCOMMENT
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp328 // Step 2: Replace all $ADDON[id number] with the real stringCOMMENT
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp330 // Step 3: Replace all game controller strings with the real stringCOMMENT
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp332 // Step 4: Find all $INFO[info,prefix,postfix] blocksCOMMENT
LOWxbmc/network/WebServer.cpp205 // if we got a GET request we need to check if it should be cachedCOMMENT
LOWxbmc/interfaces/python/PythonInvoker.cpp290 // we need to check if we was asked to abort before we had initedCOMMENT
LOWxbmc/interfaces/json-rpc/JSONServiceDescription.cpp710 // First we need to check if this type extends anotherCOMMENT
LOWxbmc/interfaces/json-rpc/JSONServiceDescription.cpp907 // 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.cpp357 // 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.cpp192// NOTE: This function does NOT save the sources.xml file - you need to call SaveSources() separately.COMMENT
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp326 // Step 1: Replace all $LOCALIZE[number] with the real stringCOMMENT
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp328 // Step 2: Replace all $ADDON[id number] with the real stringCOMMENT
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp330 // Step 3: Replace all game controller strings with the real stringCOMMENT
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp332 // Step 4: Find all $INFO[info,prefix,postfix] 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 Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
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