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.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 4203 finding(s).
Are imports declared and package/API names verified? 74 finding(s).
Are wrappers, guards, and repeated structures necessary? 113 finding(s).
Which changes need focused human review? 4359 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | xbmc-xrandr.c | 21 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE | COMMENT |
| LOW | tools/Linux/packaging/mk-debian-package.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/EventClients/Clients/KodiSend/kodi-send.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 21 | # for sending input events. | COMMENT |
| LOW | tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h | 21 | * | COMMENT |
| LOW | tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h | 41 | COMMENT | |
| LOW | tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h | 21 | #include <stdlib.h> | COMMENT |
| LOW | tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h | 41 | #define WIIMOTE_BUTTON_ONE 0x0002 | COMMENT |
| LOW | …ients/Clients/WiiRemote/wiiuse_v0.12/example-sdl/sdl.c | 21 | * $Header$ | COMMENT |
| LOW | …entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h | 41 | #ifdef _WIN32 | COMMENT |
| LOW | …entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h | 61 | COMMENT | |
| LOW | …entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h | 81 | /* nunchul button codes */ | COMMENT |
| LOW | …entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h | 101 | #define CLASSIC_CTRL_BUTTON_RIGHT 0x8000 | COMMENT |
| LOW | …entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h | 581 | * | COMMENT |
| LOW | …s/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/os.h | 41 | #ifdef WIN32 | COMMENT |
| LOW | …s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h | 61 | COMMENT | |
| LOW | …s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h | 81 | #define WM_RPT_WRITE 0x22 | COMMENT |
| LOW | …s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h | 101 | #define WM_MAX_BATTERY_CODE 0xC8 | COMMENT |
| LOW | …s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h | 121 | #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.h | 161 | ********************/ | COMMENT |
| LOW | …s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h | 181 | /* macro to manage states */ | COMMENT |
| LOW | …entClients/Clients/WiiRemote/wiiuse_v0.12/src/events.c | 41 | #include <unistd.h> | COMMENT |
| LOW | …ients/Clients/WiiRemote/wiiuse_v0.12/src/definitions.h | 61 | #define WIIUSE_DEBUG(fmt, ...) fprintf(stderr, "[DEBUG] " __FILE__ ":%i: " fmt "\n", __LINE__, ##__VA_ARGS__) | COMMENT |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/EventClients/Clients/Xbox360Controller/stdafx.h | 1 | // stdafx.h : include file for standard system include files, | COMMENT |
| LOW | …ols/EventClients/Clients/Xbox360Controller/targetver.h | 1 | #pragma once | COMMENT |
| LOW | tools/EventClients/Clients/Xbox360Controller/stdafx.cpp | 1 | // stdafx.cpp : source file that includes just the standard includes | COMMENT |
| LOW | tools/EventClients/examples/python/example_button1.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/EventClients/examples/python/example_button1.py | 61 | # at least once every 60 seconds or else the client will time out. | COMMENT |
| LOW | tools/EventClients/lib/c++/xbmcclient.h | 21 | #pragma once | COMMENT |
| LOW | tools/EventClients/lib/c++/xbmcclient.h | 41 | COMMENT | |
| LOW | tools/EventClients/lib/c++/xbmcclient.h | 61 | #define PT_BLOB 0x08 | COMMENT |
| LOW | tools/EventClients/lib/python/xbmcclient.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/EventClients/lib/python/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/EventClients/lib/python/zeroconf.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/EventClients/lib/python/ps3/sixaxis.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/EventClients/lib/python/ps3/keymaps.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/EventClients/lib/python/ps3/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/EventClients/lib/python/bt/hid.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/EventClients/lib/python/bt/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/EventClients/lib/python/bt/bt.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/depends/native/TexturePacker/src/XBTFWriter.cpp | 21 | #define __STDC_FORMAT_MACROS | COMMENT |
| LOW | …ols/depends/native/TexturePacker/src/TexturePacker.cpp | 21 | #ifdef TARGET_WINDOWS | COMMENT |
| LOW | …s/depends/native/TexturePacker/src/decoder/GifHelper.h | 21 | #pragma once | COMMENT |
| LOW | tools/depends/native/TexturePacker/src/Win32/dirent.h | 21 | COMMENT | |
| LOW | …gpg-error/lock-obj-pub.aarch64-unknown-linux-android.h | 21 | ## Local Variables: | COMMENT |
| LOW | …iedb.org.python/python/lib/tmdbscraper/traktratings.py | 1 | # -*- coding: UTF-8 -*- | COMMENT |
| LOW | …viedb.org.python/python/lib/tmdbscraper/imdbratings.py | 1 | # -*- coding: UTF-8 -*- | COMMENT |
| LOW | …moviedb.org.python/python/lib/tmdbscraper/api_utils.py | 1 | # coding: utf-8 | COMMENT |
| LOW | …hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py | 1 | # -*- coding: UTF-8 -*- | COMMENT |
| LOW | …sioncheck/resources/lib/version_check/distro/distro.py | 1 | # Copyright 2015,2016,2017 Nir Cohen | COMMENT |
| LOW | …sioncheck/resources/lib/version_check/distro/distro.py | 41 | COMMENT | |
| LOW | addons/webinterface.default/lib/video-js/video.js | 2461 | Component.extend = function extend(props) { | COMMENT |
| LOW | addons/webinterface.default/lib/video-js/video.js | 19361 | var COLOR_MAGENTA = ['#F0F', 'Magenta']; | COMMENT |
| LOW | addons/webinterface.default/lib/video-js/video.js | 22341 | event = {}; | COMMENT |
| LOW | docs/CODE_GUIDELINES.md | 461 | #include "network/Network.h" | COMMENT |
| LOW | lib/libUPnP/Neptune/Source/Core/NptTypes.h | 81 | #endif | COMMENT |
| LOW | lib/libUPnP/Neptune/Source/Core/NptTypes.h | 101 | #if !defined(NPT_LONG_MAX) | COMMENT |
| LOW | lib/libUPnP/Neptune/Source/Core/NptTypes.h | 121 | #if !defined(NPT_UINT32_MAX) | COMMENT |
| 4014 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/wasm/serve.py | 123 | except (BrokenPipeError, ConnectionResetError): | CODE |
| HIGH | tools/wasm/serve.py | 177 | except (BrokenPipeError, ConnectionResetError): | CODE |
| HIGH | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 195 | except: | CODE |
| HIGH | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 385 | except Exception as e: | CODE |
| HIGH | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 292 | except: | CODE |
| HIGH | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 95 | except: | CODE |
| HIGH | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 101 | except: | CODE |
| HIGH | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 245 | except: | CODE |
| HIGH | tools/EventClients/lib/python/zeroconf.py | 140 | except: | CODE |
| HIGH | tools/EventClients/lib/python/zeroconf.py | 124 | except: | CODE |
| HIGH | tools/EventClients/lib/python/ps3/sixpair.py | 52 | except usb.USBError: | CODE |
| HIGH | tools/EventClients/lib/python/ps3/sixpair.py | 69 | except usb.USBError: | CODE |
| HIGH | …iedb.org.python/python/lib/tmdbscraper/traktratings.py | 28 | except ImportError: | CODE |
| HIGH | …moviedb.org.python/python/lib/tmdbscraper/api_utils.py | 42 | except ImportError: | CODE |
| HIGH | …hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py | 31 | except ImportError: | CODE |
| HIGH | …bmc.versioncheck/resources/lib/version_check/common.py | 24 | except AttributeError: | CODE |
| HIGH | …bmc.versioncheck/resources/lib/version_check/common.py | 58 | except: # pylint: disable=bare-except | CODE |
| HIGH | …bmc.versioncheck/resources/lib/version_check/common.py | 73 | except: # pylint: disable=bare-except | CODE |
| HIGH | …/metadata.tvshows.themoviedb.org.python/lib/scraper.py | 663 | except AttributeError: | CODE |
| HIGH | …/metadata.tvshows.themoviedb.org.python/lib/scraper.py | 422 | except ValueError: | CODE |
| HIGH | …/metadata.tvshows.themoviedb.org.python/lib/scraper.py | 492 | except (ValueError, TypeError): | CODE |
| HIGH | …/metadata.tvshows.themoviedb.org.python/lib/scraper.py | 474 | except (ValueError, TypeError): | CODE |
| HIGH | …metadata.tvshows.themoviedb.org.python/lib/api/imdb.py | 46 | except sqlite3.Error: | CODE |
| HIGH | …metadata.tvshows.themoviedb.org.python/lib/api/imdb.py | 204 | except OSError: | CODE |
| HIGH | …ns/kodi-dev-kit/tools/code-generator/src/helper_Log.py | 47 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/EventClients/Clients/KodiSend/kodi-send.py | 24 | CODE | |
| LOW | tools/EventClients/Clients/KodiSend/kodi-send.py | 27 | CODE | |
| LOW | tools/EventClients/Clients/KodiSend/kodi-send.py | 30 | CODE | |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 51 | CODE | |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 40 | CODE | |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 42 | CODE | |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 46 | CODE | |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 48 | CODE | |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 49 | CODE | |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 23 | CODE | |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 53 | CODE | |
| LOW | tools/EventClients/examples/python/example_simple.py | 7 | CODE | |
| LOW | tools/EventClients/examples/python/example_simple.py | 15 | CODE | |
| LOW | tools/EventClients/examples/python/example_simple.py | 21 | CODE | |
| LOW | tools/EventClients/examples/python/example_simple.py | 22 | CODE | |
| LOW | tools/EventClients/examples/python/example_button2.py | 14 | CODE | |
| LOW | tools/EventClients/examples/python/example_button2.py | 21 | CODE | |
| LOW | tools/EventClients/examples/python/example_button2.py | 27 | CODE | |
| LOW | tools/EventClients/examples/python/example_button2.py | 28 | CODE | |
| LOW | tools/EventClients/examples/python/example_mouse.py | 10 | CODE | |
| LOW | tools/EventClients/examples/python/example_mouse.py | 17 | CODE | |
| LOW | tools/EventClients/examples/python/example_mouse.py | 23 | CODE | |
| LOW | tools/EventClients/examples/python/example_mouse.py | 24 | CODE | |
| LOW | …s/EventClients/examples/python/example_notification.py | 8 | CODE | |
| LOW | …s/EventClients/examples/python/example_notification.py | 15 | CODE | |
| LOW | …s/EventClients/examples/python/example_notification.py | 21 | CODE | |
| LOW | …s/EventClients/examples/python/example_notification.py | 22 | CODE | |
| LOW | tools/EventClients/examples/python/example_action.py | 7 | CODE | |
| LOW | tools/EventClients/examples/python/example_action.py | 14 | CODE | |
| LOW | tools/EventClients/examples/python/example_action.py | 20 | CODE | |
| LOW | tools/EventClients/examples/python/example_action.py | 21 | CODE | |
| LOW | tools/EventClients/examples/python/example_button1.py | 24 | CODE | |
| LOW | tools/EventClients/examples/python/example_button1.py | 31 | CODE | |
| LOW | tools/EventClients/examples/python/example_button1.py | 37 | CODE | |
| LOW | tools/EventClients/examples/python/example_button1.py | 38 | CODE | |
| LOW | tools/EventClients/lib/python/xbmcclient.py | 40 | CODE | |
| LOW | tools/EventClients/lib/python/xbmcclient.py | 40 | CODE | |
| LOW | tools/EventClients/lib/python/xbmcclient.py | 40 | CODE | |
| LOW | tools/EventClients/lib/python/xbmcclient.py | 40 | CODE | |
| LOW | tools/EventClients/lib/python/zeroconf.py | 30 | CODE | |
| LOW | tools/EventClients/lib/python/ps3/sixaxis.py | 21 | CODE | |
| LOW | tools/EventClients/lib/python/ps3/sixaxis.py | 24 | CODE | |
| LOW | tools/EventClients/lib/python/ps3/sixaxis.py | 25 | CODE | |
| LOW | tools/EventClients/lib/python/ps3/sixwatch.py | 6 | CODE | |
| LOW | tools/EventClients/lib/python/bt/hid.py | 18 | CODE | |
| LOW | addons/metadata.generic.artists/lib/scraper.py | 9 | CODE | |
| LOW | addons/metadata.generic.artists/lib/scraper.py | 31 | CODE | |
| LOW | …iedb.org.python/python/lib/tmdbscraper/traktratings.py | 21 | CODE | |
| LOW | …iedb.org.python/python/lib/tmdbscraper/traktratings.py | 21 | CODE | |
| LOW | …iedb.org.python/python/lib/tmdbscraper/traktratings.py | 26 | CODE | |
| LOW | …iedb.org.python/python/lib/tmdbscraper/traktratings.py | 26 | CODE | |
| LOW | …moviedb.org.python/python/lib/tmdbscraper/api_utils.py | 20 | CODE | |
| LOW | …moviedb.org.python/python/lib/tmdbscraper/api_utils.py | 20 | CODE | |
| LOW | …moviedb.org.python/python/lib/tmdbscraper/api_utils.py | 40 | CODE | |
| LOW | …moviedb.org.python/python/lib/tmdbscraper/api_utils.py | 40 | CODE | |
| LOW | …moviedb.org.python/python/lib/tmdbscraper/api_utils.py | 40 | CODE | |
| LOW | …hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py | 29 | CODE | |
| LOW | …hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py | 29 | CODE | |
| LOW | addons/metadata.generic.albums/lib/scraper.py | 9 | CODE | |
| LOW | addons/metadata.generic.albums/lib/scraper.py | 30 | CODE | |
| 11 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …dons/service.xbmc.versioncheck/resources/lib/runner.py | 0 | copyright (c) 2019 team kodi this file is part of service.xbmc.versioncheck spdx-license-identifier: gpl-3.0-or-later se | STRING |
| HIGH | …ns/service.xbmc.versioncheck/resources/lib/__init__.py | 0 | copyright (c) 2019 team kodi this file is part of service.xbmc.versioncheck spdx-license-identifier: gpl-3.0-or-later se | STRING |
| HIGH | …mc.versioncheck/resources/lib/version_check/handler.py | 0 | copyright (c) 2019 team kodi this file is part of service.xbmc.versioncheck spdx-license-identifier: gpl-3.0-or-later se | STRING |
| HIGH | …mc.versioncheck/resources/lib/version_check/service.py | 0 | copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is | STRING |
| HIGH | …ioncheck/resources/lib/version_check/json_interface.py | 0 | copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is | STRING |
| HIGH | …c.versioncheck/resources/lib/version_check/__init__.py | 0 | copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is | STRING |
| HIGH | …heck/resources/lib/version_check/apt_daemon_handler.py | 0 | copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is | STRING |
| HIGH | …bmc.versioncheck/resources/lib/version_check/common.py | 0 | copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is | STRING |
| HIGH | …c.versioncheck/resources/lib/version_check/versions.py | 0 | copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is | STRING |
| HIGH | …check/resources/lib/version_check/shell_handler_apt.py | 0 | copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is | STRING |
| HIGH | …bmc.versioncheck/resources/lib/version_check/viewer.py | 0 | copyright (c) 2011-2013 martijn kaijser copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | addons/webinterface.default/lib/video-js/video.js | 13245 | // On HTML5 browsers scrubbing is really smooth, but some flash players are slow, so we might want to utilize this l | COMMENT |
| MEDIUM | xbmc/video/VideoDatabase.cpp | 8359 | //! @todo figure out a more efficient and robust way | COMMENT |
| MEDIUM | xbmc/video/geometry/ContentBarDetector.cpp | 97 | //! \brief The robust statistics a line is judged dark-and-flat by. | COMMENT |
| MEDIUM | xbmc/video/geometry/test/TestContentBarDetector.cpp | 90 | // --- robust flatness ------------------------------------------------------------------ | COMMENT |
| MEDIUM | xbmc/platform/darwin/osx/CPUInfoOsx.cpp | 130 | // aren't as robust in their readings | COMMENT |
| MEDIUM | xbmc/platform/darwin/osx/GPUInfoMacOS.cpp | 26 | // aren't as robust in their readings | COMMENT |
| MEDIUM | …/addons/kodi-dev-kit/include/kodi/addon-instance/PVR.h | 615 | /// utilize a server, return empty string. | COMMENT |
| MEDIUM | xbmc/utils/Fanart.cpp | 155 | // Essentially we read the colors in using the proper format, and store them in our own fixed temporary format (3 DWOR | COMMENT |
| MEDIUM | xbmc/filesystem/IDirectory.h | 39 | ALWAYS ///< Always cache this directory to memory, so that each additional fetch of this folder will utilize the cache | CODE |
| MEDIUM | xbmc/cores/VideoPlayer/VideoPlayer.cpp | 5038 | // seamless transitions over these boundaries | COMMENT |
| MEDIUM | xbmc/cores/VideoPlayer/VideoPlayer.cpp | 5048 | // This event is issued whenever a non-seamless operation has been executed. | COMMENT |
| MEDIUM | …ideoPlayer/DVDInputStreams/DVDInputStreamNavigator.cpp | 652 | // This event is issued whenever a non-seamless operation has been executed. | COMMENT |
| MEDIUM | xbmc/cores/AudioEngine/Utils/PackerMAT.cpp | 62 | // header is present, the output timing counter used for seamless-branch | COMMENT |
| MEDIUM | xbmc/cores/AudioEngine/Utils/PackerMAT.cpp | 167 | // timing counter, which is needed to detect seamless branch points. | COMMENT |
| MEDIUM | xbmc/cores/AudioEngine/Utils/PackerMAT.cpp | 176 | // seamless-branch detection) instead of being dropped. | COMMENT |
| MEDIUM | xbmc/cores/AudioEngine/Utils/PackerMAT.cpp | 190 | // match, treat it as a seamless branch point: carry the padding forward | COMMENT |
| MEDIUM | xbmc/cores/AudioEngine/Utils/PackerMAT.h | 50 | // present) or inferred by advancing a counter. Used to detect a seamless | COMMENT |
| MEDIUM | xbmc/interfaces/legacy/Control.h | 46 | /// Kodi is noted as having a very flexible and robust framework for its | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/wasm/serve.py | 85 | CODE | |
| LOW | tools/wasm/serve.py | 133 | CODE | |
| LOW | tools/EventClients/Clients/KodiSend/kodi-send.py | 67 | CODE | |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 57 | CODE | |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 131 | CODE | |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 316 | CODE | |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 365 | CODE | |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 130 | CODE | |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 164 | CODE | |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 230 | CODE | |
| LOW | tools/EventClients/lib/python/xbmcclient.py | 631 | CODE | |
| LOW | tools/EventClients/lib/python/ps3/sixaxis.py | 290 | CODE | |
| LOW | tools/EventClients/lib/python/ps3/sixwatch.py | 12 | CODE | |
| LOW | tools/EventClients/lib/python/ps3/sixpair.py | 20 | CODE | |
| LOW | tools/EventClients/lib/python/ps3/sixpair.py | 31 | CODE | |
| LOW | addons/metadata.generic.artists/lib/scraper.py | 91 | CODE | |
| LOW | addons/metadata.generic.artists/lib/scraper.py | 242 | CODE | |
| LOW | addons/metadata.generic.artists/lib/scraper.py | 357 | CODE | |
| LOW | addons/metadata.generic.artists/lib/musicbrainz.py | 23 | CODE | |
| LOW | addons/metadata.generic.artists/lib/allmusic.py | 89 | CODE | |
| LOW | addons/metadata.generic.artists/lib/theaudiodb.py | 3 | CODE | |
| LOW | addons/metadata.themoviedb.org.python/python/scraper.py | 202 | CODE | |
| LOW | …a.themoviedb.org.python/python/lib/tmdbscraper/tmdb.py | 21 | CODE | |
| LOW | addons/metadata.generic.albums/lib/scraper.py | 90 | CODE | |
| LOW | addons/metadata.generic.albums/lib/scraper.py | 231 | CODE | |
| LOW | addons/metadata.generic.albums/lib/musicbrainz.py | 79 | CODE | |
| LOW | addons/metadata.generic.albums/lib/fanarttv.py | 3 | CODE | |
| LOW | …mc.versioncheck/resources/lib/version_check/service.py | 72 | CODE | |
| LOW | …c.versioncheck/resources/lib/version_check/versions.py | 66 | CODE | |
| LOW | …c.versioncheck/resources/lib/version_check/versions.py | 109 | CODE | |
| LOW | …c.versioncheck/resources/lib/version_check/versions.py | 147 | CODE | |
| LOW | …c.versioncheck/resources/lib/version_check/versions.py | 183 | CODE | |
| LOW | …sioncheck/resources/lib/version_check/distro/distro.py | 934 | CODE | |
| LOW | …sioncheck/resources/lib/version_check/distro/distro.py | 1072 | CODE | |
| LOW | …/metadata.tvshows.themoviedb.org.python/lib/scraper.py | 462 | CODE | |
| LOW | …/metadata.tvshows.themoviedb.org.python/lib/scraper.py | 503 | CODE | |
| LOW | …metadata.tvshows.themoviedb.org.python/lib/api/imdb.py | 146 | CODE | |
| LOW | …metadata.tvshows.themoviedb.org.python/lib/api/tmdb.py | 244 | CODE | |
| LOW | …metadata.tvshows.themoviedb.org.python/lib/api/tmdb.py | 301 | CODE | |
| LOW | …data.tvshows.themoviedb.org.python/lib/api/fanarttv.py | 13 | CODE | |
| LOW | …odi-dev-kit/tools/doxygen-header-class-list-creator.py | 58 | CODE | |
| LOW | …erateCMake__CMAKE_TREEDATA_COMMON_addon_dev_kit_txt.py | 24 | CODE | |
| LOW | …CMake__XBMC_ADDONS_KODIDEVKIT_INCLUDE_KODI_allfiles.py | 31 | CODE | |
| LOW | …ns/kodi-dev-kit/tools/code-generator/src/helper_Log.py | 127 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/wasm/serve.py | 161 | except Exception as exc: | CODE |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 72 | except Exception as e: | CODE |
| MEDIUM | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 73 | print("Error performing bluetooth discovery") | CODE |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 153 | except Exception as e: | STRING |
| LOW | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 181 | except Exception as e: | STRING |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 37 | except Exception as e: | CODE |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 56 | except Exception as e: | CODE |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 144 | except Exception as e: | CODE |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 148 | except Exception as e: | CODE |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 173 | except Exception as e: | CODE |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 194 | except Exception as e: | CODE |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 227 | except Exception as e: | CODE |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 259 | except Exception as e: | CODE |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 325 | except Exception as e: | STRING |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 378 | except Exception as e: | STRING |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 385 | except Exception as e: | STRING |
| LOW | tools/EventClients/Clients/PS3SixaxisController/ps3d.py | 403 | except Exception as e: | STRING |
| LOW | tools/EventClients/examples/python/example_action.py | 39 | except Exception as e: | CODE |
| LOW | tools/EventClients/lib/python/zeroconf.py | 33 | except Exception as e: | CODE |
| LOW | tools/EventClients/lib/python/ps3/sixwatch.py | 23 | except Exception as e: | CODE |
| LOW | tools/EventClients/lib/python/bt/hid.py | 58 | except Exception as e: | CODE |
| MEDIUM | tools/EventClients/lib/python/bt/hid.py | 50 | def listen(self): | CODE |
| LOW | …bmc.versioncheck/resources/lib/version_check/viewer.py | 84 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | …bmc.versioncheck/resources/lib/version_check/viewer.py | 123 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | …bmc.versioncheck/resources/lib/version_check/viewer.py | 158 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | …heck/resources/lib/version_check/apt_daemon_handler.py | 62 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | …heck/resources/lib/version_check/apt_daemon_handler.py | 91 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | …heck/resources/lib/version_check/apt_daemon_handler.py | 105 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | …check/resources/lib/version_check/shell_handler_apt.py | 57 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | …check/resources/lib/version_check/shell_handler_apt.py | 86 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | …check/resources/lib/version_check/shell_handler_apt.py | 108 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | …check/resources/lib/version_check/shell_handler_apt.py | 128 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | …etadata.tvshows.themoviedb.org.python/lib/api/trakt.py | 105 | except Exception as exc: | CODE |
| LOW | …metadata.tvshows.themoviedb.org.python/lib/api/imdb.py | 115 | except Exception as exc: | CODE |
| LOW | …metadata.tvshows.themoviedb.org.python/lib/api/imdb.py | 217 | except Exception as exc: | CODE |
| LOW | …metadata.tvshows.themoviedb.org.python/lib/api/tmdb.py | 50 | except Exception: | CODE |
| LOW | …metadata.tvshows.themoviedb.org.python/lib/api/tmdb.py | 369 | except Exception as exc: | CODE |
| LOW | …data.tvshows.themoviedb.org.python/lib/api/fanarttv.py | 107 | except Exception as exc: | CODE |
| MEDIUM | …odi-dev-kit/tools/doxygen-header-class-list-creator.py | 140 | print('Error: %s\nSee --help for usage.' % msg) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/testdata/mkmka.py | 4 | # This file is part of Kodi - https://kodi.tv | COMMENT |
| MEDIUM | tools/testdata/mkmp2.py | 4 | # This file is part of Kodi - https://kodi.tv | COMMENT |
| MEDIUM | tools/darwin/packaging/osx/dmgmaker.sh | 4 | # This file is part of Kodi - https://kodi.tv | COMMENT |
| MEDIUM | tools/EventClients/examples/python/example_simple.py | 29 | # Create an XBMCClient object and connect | COMMENT |
| MEDIUM | tools/EventClients/examples/python/example_action.py | 28 | # Create an XBMCClient object and connect | COMMENT |
| MEDIUM | tools/EventClients/lib/python/ps3/sixaxis.py | 208 | # The following sections should set the blink frequency of | COMMENT |
| MEDIUM | …t/tools/code-generator/code_generator__addon_devkit.py | 5 | # This file is part of Kodi - https://kodi.tv | COMMENT |
| MEDIUM | …erateCMake__CMAKE_TREEDATA_COMMON_addon_dev_kit_txt.py | 4 | # This file is part of Kodi - https://kodi.tv | COMMENT |
| MEDIUM | …kodi-dev-kit/tools/code-generator/src/commitChanges.py | 4 | # This file is part of Kodi - https://kodi.tv | COMMENT |
| MEDIUM | …CMake__XBMC_ADDONS_KODIDEVKIT_INCLUDE_KODI_allfiles.py | 4 | # This file is part of Kodi - https://kodi.tv | COMMENT |
| MEDIUM | …ns/kodi-dev-kit/tools/code-generator/src/helper_Log.py | 4 | # This file is part of Kodi - https://kodi.tv | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/EventClients/lib/python/zeroconf.py | 128 | def _service_resolved_handler( self, *args ): | CODE |
| LOW | addons/metadata.generic.artists/lib/musicbrainz.py | 23 | def musicbrainz_artistdetails(data): | CODE |
| LOW | addons/metadata.themoviedb.org.python/python/scraper.py | 65 | def _searchresult_to_listitem(movie): | CODE |
| LOW | …etadata.themoviedb.org.python/python/scraper_config.py | 1 | def configure_scraped_details(details, settings): | CODE |
| LOW⚡ | …etadata.themoviedb.org.python/python/scraper_config.py | 56 | def _configure_keeporiginaltitle(details, settings): | CODE |
| LOW⚡ | …etadata.themoviedb.org.python/python/scraper_config.py | 66 | def _configure_multiple_studios(details, settings): | CODE |
| LOW⚡ | …etadata.themoviedb.org.python/python/scraper_config.py | 71 | def _configure_default_rating(details, settings): | CODE |
| LOW | …ata.themoviedb.org.python/python/scraper_datahelper.py | 16 | def combine_scraped_details_info_and_ratings(original_details, additional_details): | CODE |
| LOW | …ata.themoviedb.org.python/python/scraper_datahelper.py | 30 | def combine_scraped_details_available_artwork(original_details, additional_details, language, settings): | CODE |
| LOW | …a.themoviedb.org.python/python/lib/tmdbscraper/tmdb.py | 218 | def _build_image_list_with_fallback(imagelist, urlbases, language, language_fallback='en'): | CODE |
| LOW | …a.themoviedb.org.python/python/lib/tmdbscraper/tmdb.py | 231 | def _build_list_without_titles(imagelist, urlbases): | CODE |
| LOW | …viedb.org.python/python/lib/tmdbscraper/imdbratings.py | 72 | def _parse_imdb_rating_and_votes(input_html): | CODE |
| LOW | …viedb.org.python/python/lib/tmdbscraper/imdbratings.py | 95 | def _parse_imdb_rating_previous(input_html): | CODE |
| LOW | …viedb.org.python/python/lib/tmdbscraper/imdbratings.py | 101 | def _parse_imdb_votes_previous(input_html): | CODE |
| LOW | …hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py | 76 | def find_movie_by_external_id(external_id, language=None): | CODE |
| LOW | …c.versioncheck/resources/lib/version_check/versions.py | 66 | def _check_for_stable_version(version_installed, stable_version): | CODE |
| LOW | …sioncheck/resources/lib/version_check/distro/distro.py | 934 | def _parse_os_release_content(lines): | CODE |
| LOW | …sioncheck/resources/lib/version_check/distro/distro.py | 1020 | def _parse_lsb_release_content(lines): | CODE |
| LOW | …sioncheck/resources/lib/version_check/distro/distro.py | 1139 | def _parse_distro_release_file(self, filepath): | CODE |
| LOW | …sioncheck/resources/lib/version_check/distro/distro.py | 1162 | def _parse_distro_release_content(line): | CODE |
| LOW | addons/webinterface.default/lib/video-js/video.js | 11138 | var findFirstPassingTechSourcePair = function findFirstPassingTechSourcePair(outerArray, innerArray, tester) { | CODE |
| LOW | …eo-js/plugins/videojs-chromecast/videojs-chromecast.js | 683 | value: function mediaCommandSuccessCallback(information) { | CODE |
| LOW | lib/libUPnP/Neptune/Source/Core/NptHttp.h | 593 | class NPT_HttpRequestHandler | CODE |
| LOW | lib/libUPnP/Neptune/Source/Core/NptHttp.h | 625 | class NPT_HttpStaticRequestHandler : public NPT_HttpRequestHandler | CODE |
| LOW | lib/libUPnP/Neptune/Source/Core/NptHttp.h | 658 | class NPT_HttpFileRequestHandler : public NPT_HttpRequestHandler | CODE |
| LOW | lib/libUPnP/Platinum/Source/Core/PltHttp.h | 195 | class PLT_HttpRequestHandler : public NPT_HttpRequestHandler | CODE |
| LOW | xbmc/network/httprequesthandler/IHTTPRequestHandler.h | 85 | class IHTTPRequestHandler | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | xbmc/addons/kodi-dev-kit/include/kodi/General.h | 146 | /// arguments and formatted as requested. | COMMENT |
| HIGH | …c/addons/kodi-dev-kit/include/kodi/tools/StringUtils.h | 502 | /// arguments and formatted as requested. | COMMENT |
| HIGH | xbmc/cores/AudioEngine/Sinks/AESinkXAudio.cpp | 645 | // the number of channels as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ns/webinterface.default/lib/jquery/jquery-3.5.1.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| CRITICAL | xbmc/test/TestUtil.cpp | 191 | {"Movie.Some.Story.2017.2160p.BDRemux.IMAX.HDR.DV.IVA(ENG.RUS).ExKinoRay", true, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | xbmc/guilib/guiinfo/GUIInfoLabel.cpp | 331 | // Step 1: Replace all $LOCALIZE[number] with the real string | COMMENT |
| LOW⚡ | xbmc/guilib/guiinfo/GUIInfoLabel.cpp | 333 | // Step 2: Replace all $ADDON[id number] with the real string | COMMENT |
| LOW⚡ | xbmc/guilib/guiinfo/GUIInfoLabel.cpp | 335 | // Step 3: Replace all game controller strings with the real string | COMMENT |
| LOW⚡ | xbmc/guilib/guiinfo/GUIInfoLabel.cpp | 337 | // Step 4: Find all $INFO[info,prefix,postfix], $VAR[name] and $MAP[map,infolabel] blocks | COMMENT |
| LOW | xbmc/network/WebServer.cpp | 205 | // if we got a GET request we need to check if it should be cached | COMMENT |
| LOW | xbmc/interfaces/python/PythonInvoker.cpp | 297 | // we need to check if we was asked to abort before we had inited | COMMENT |
| LOW | xbmc/interfaces/json-rpc/JSONServiceDescription.cpp | 718 | // First we need to check if this type extends another | COMMENT |
| LOW | xbmc/interfaces/json-rpc/JSONServiceDescription.cpp | 915 | // If additional properties are allowed we need to check if | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/EventClients/examples/python/example_button1.py | 64 | # then you can use the PacketPING class to send a ping packet (which is | COMMENT |
| MEDIUM | addons/webinterface.default/lang/en/addons.html | 9 | <p>If you wish to search content provided by an add-on that isn't included with Chorus, you can add your own | CODE |
| MEDIUM | addons/webinterface.default/lib/video-js/video.js | 24091 | * A cross-browser XMLHttpRequest wrapper. Here's a simple example: | COMMENT |
| LOW | xbmc/addons/kodi-dev-kit/include/kodi/gui/Window.h | 703 | /// - Don't forget to capture @ref ADDON_ACTION_PREVIOUS_MENU or @ref ADDON_ACTION_NAV_BACK, else the user can't close | COMMENT |
| LOW | xbmc/rendering/dx/DeviceResources.cpp | 362 | // Don't forget to declare your application's minimum required feature level in its | COMMENT |
| LOW | xbmc/interfaces/legacy/Window.h | 333 | /// - Don't forget to capture `ACTION_PREVIOUS_MENU` or `ACTION_NAV_BACK`, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | xbmc/settings/MediaSourceSettings.cpp | 171 | // NOTE: This function does NOT save the sources.xml file - you need to call SaveSources() separately. | COMMENT |
| LOW⚡ | xbmc/guilib/guiinfo/GUIInfoLabel.cpp | 331 | // Step 1: Replace all $LOCALIZE[number] with the real string | COMMENT |
| LOW⚡ | xbmc/guilib/guiinfo/GUIInfoLabel.cpp | 333 | // Step 2: Replace all $ADDON[id number] with the real string | COMMENT |
| LOW⚡ | xbmc/guilib/guiinfo/GUIInfoLabel.cpp | 335 | // Step 3: Replace all game controller strings with the real string | COMMENT |
| LOW⚡ | xbmc/guilib/guiinfo/GUIInfoLabel.cpp | 337 | // Step 4: Find all $INFO[info,prefix,postfix], $VAR[name] and $MAP[map,infolabel] blocks | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …t/tools/code-generator/code_generator__addon_devkit.py | 22 | # =============================================================================== | COMMENT |
| MEDIUM | …t/tools/code-generator/code_generator__addon_devkit.py | 31 | # =============================================================================== | COMMENT |
| MEDIUM | …t/tools/code-generator/code_generator__addon_devkit.py | 68 | ##---------------------------------------------------------------------------- | STRING |
| MEDIUM | …t/tools/code-generator/code_generator__addon_devkit.py | 72 | ##---------------------------------------------------------------------------- | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …sioncheck/resources/lib/version_check/distro/distro.py | 580 | The initialization method of this class gathers information from the available data sources, and stores | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/testdata/mkmka.py | 125 | CODE | |
| LOW | tools/EventClients/lib/python/xbmcclient.py | 319 | CODE | |
| LOW | addons/metadata.generic.artists/lib/scraper.py | 431 | CODE | |
| LOW | addons/metadata.generic.albums/lib/scraper.py | 390 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ns/service.xbmc.versioncheck/resources/lib/__init__.py | 14 | __all__ = ['runner', 'version_check'] | CODE |
| LOW | …c.versioncheck/resources/lib/version_check/__init__.py | 15 | __all__ = ['apt_daemon_handler', 'common', 'handler', 'json_interface', 'service', | CODE |
| LOW | …oncheck/resources/lib/version_check/distro/__init__.py | 10 | __all__ = ['distro'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | xbmc/utils/HttpParser.h | 26 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | xbmc/interfaces/legacy/InfoTagGame.h | 44 | /// tag.setDeveloper('John Doe') | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/EventClients/lib/python/ps3/sixaxis.py | 244 | def process_data(self, data): | CODE |