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
2.9
Adjusted Score
2.9
Raw Score
100%
Time Factor
2026-05-30
Last Push
20,797
Stars
C++
Language
1,277,514
Lines of Code
6553
Files
4132
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 2HIGH 17MEDIUM 29LOW 4084

Pattern Findings

4132 matches across 17 categories. Click a row to expand file-level details.

Over-Commented Block3832 hits · 3216 pts
SeverityFileLineSnippet
LOWxbmc-xrandr.c21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
LOWtools/Linux/packaging/mk-debian-package.sh1#!/bin/bash
LOWtools/EventClients/Clients/KodiSend/kodi-send.py1#!/usr/bin/env python3
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py1#!/usr/bin/env python3
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py21# for sending input events.
LOWtools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h21 *
LOWtools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h41
LOWtools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h21#include <stdlib.h>
LOWtools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h41#define WIIMOTE_BUTTON_ONE 0x0002
LOW…ients/Clients/WiiRemote/wiiuse_v0.12/example-sdl/sdl.c21 * $Header$
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h41#ifdef _WIN32
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h61
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h81/* nunchul button codes */
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h101#define CLASSIC_CTRL_BUTTON_RIGHT 0x8000
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse.h581 *
LOW…s/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/os.h41#ifdef WIN32
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h61
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h81#define WM_RPT_WRITE 0x22
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h101#define WM_MAX_BATTERY_CODE 0xC8
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"
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h161 ********************/
LOW…s/Clients/WiiRemote/wiiuse_v0.12/src/wiiuse_internal.h181/* macro to manage states */
LOW…entClients/Clients/WiiRemote/wiiuse_v0.12/src/events.c41 #include <unistd.h>
LOW…ients/Clients/WiiRemote/wiiuse_v0.12/src/definitions.h61 #define WIIUSE_DEBUG(fmt, ...) fprintf(stderr, "[DEBUG] " __FILE__ ":%i: " fmt "\n", __LINE__, ##__VA_ARGS__)
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py1#!/usr/bin/env python3
LOWtools/EventClients/Clients/Xbox360Controller/stdafx.h1// stdafx.h : include file for standard system include files,
LOW…ols/EventClients/Clients/Xbox360Controller/targetver.h1#pragma once
LOWtools/EventClients/Clients/Xbox360Controller/stdafx.cpp1// stdafx.cpp : source file that includes just the standard includes
LOWtools/EventClients/examples/python/example_button1.py1#!/usr/bin/env python3
LOWtools/EventClients/examples/python/example_button1.py61 # at least once every 60 seconds or else the client will time out.
LOWtools/EventClients/lib/c++/xbmcclient.h21#pragma once
LOWtools/EventClients/lib/c++/xbmcclient.h41
LOWtools/EventClients/lib/c++/xbmcclient.h61#define PT_BLOB 0x08
LOWtools/EventClients/lib/python/xbmcclient.py1#!/usr/bin/env python3
LOWtools/EventClients/lib/python/__init__.py1# -*- coding: utf-8 -*-
LOWtools/EventClients/lib/python/zeroconf.py1#!/usr/bin/env python3
LOWtools/EventClients/lib/python/ps3/sixaxis.py1#!/usr/bin/env python3
LOWtools/EventClients/lib/python/ps3/keymaps.py1# -*- coding: utf-8 -*-
LOWtools/EventClients/lib/python/ps3/__init__.py1# -*- coding: utf-8 -*-
LOWtools/EventClients/lib/python/bt/hid.py1# -*- coding: utf-8 -*-
LOWtools/EventClients/lib/python/bt/__init__.py1# -*- coding: utf-8 -*-
LOWtools/EventClients/lib/python/bt/bt.py1# -*- coding: utf-8 -*-
LOWtools/depends/native/TexturePacker/src/XBTFWriter.cpp21#define __STDC_FORMAT_MACROS
LOW…ols/depends/native/TexturePacker/src/TexturePacker.cpp21#ifdef TARGET_WINDOWS
LOW…s/depends/native/TexturePacker/src/decoder/GifHelper.h21#pragma once
LOWtools/depends/native/TexturePacker/src/Win32/dirent.h21
LOW…gpg-error/lock-obj-pub.aarch64-unknown-linux-android.h21## Local Variables:
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py1# -*- coding: UTF-8 -*-
LOW…viedb.org.python/python/lib/tmdbscraper/imdbratings.py1# -*- coding: UTF-8 -*-
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py1# coding: utf-8
LOW…hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py1# -*- coding: UTF-8 -*-
LOW…sioncheck/resources/lib/version_check/distro/distro.py1# Copyright 2015,2016,2017 Nir Cohen
LOW…sioncheck/resources/lib/version_check/distro/distro.py41
LOWaddons/webinterface.default/lib/video-js/video.js2461 Component.extend = function extend(props) {
LOWaddons/webinterface.default/lib/video-js/video.js19361var COLOR_MAGENTA = ['#F0F', 'Magenta'];
LOWaddons/webinterface.default/lib/video-js/video.js22341 event = {};
LOWaddons/metadata.tvshows.themoviedb.org.python/main.py1# -*- coding: UTF-8 -*-
LOW…s/metadata.tvshows.themoviedb.org.python/libs/cache.py1# -*- coding: UTF-8 -*-
LOW…metadata.tvshows.themoviedb.org.python/libs/actions.py1# -*- coding: UTF-8 -*-
LOW…etadata.tvshows.themoviedb.org.python/libs/debugger.py1# -*- coding: UTF-8 -*-
3772 more matches not shown…
Unused Imports128 hits · 128 pts
SeverityFileLineSnippet
LOWtools/EventClients/Clients/KodiSend/kodi-send.py24
LOWtools/EventClients/Clients/KodiSend/kodi-send.py27
LOWtools/EventClients/Clients/KodiSend/kodi-send.py30
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py51
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py40
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py42
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py46
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py48
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py49
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py23
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py53
LOWtools/EventClients/examples/python/example_simple.py7
LOWtools/EventClients/examples/python/example_simple.py15
LOWtools/EventClients/examples/python/example_simple.py21
LOWtools/EventClients/examples/python/example_simple.py22
LOWtools/EventClients/examples/python/example_button2.py14
LOWtools/EventClients/examples/python/example_button2.py21
LOWtools/EventClients/examples/python/example_button2.py27
LOWtools/EventClients/examples/python/example_button2.py28
LOWtools/EventClients/examples/python/example_mouse.py10
LOWtools/EventClients/examples/python/example_mouse.py17
LOWtools/EventClients/examples/python/example_mouse.py23
LOWtools/EventClients/examples/python/example_mouse.py24
LOW…s/EventClients/examples/python/example_notification.py8
LOW…s/EventClients/examples/python/example_notification.py15
LOW…s/EventClients/examples/python/example_notification.py21
LOW…s/EventClients/examples/python/example_notification.py22
LOWtools/EventClients/examples/python/example_action.py7
LOWtools/EventClients/examples/python/example_action.py14
LOWtools/EventClients/examples/python/example_action.py20
LOWtools/EventClients/examples/python/example_action.py21
LOWtools/EventClients/examples/python/example_button1.py24
LOWtools/EventClients/examples/python/example_button1.py31
LOWtools/EventClients/examples/python/example_button1.py37
LOWtools/EventClients/examples/python/example_button1.py38
LOWtools/EventClients/lib/python/xbmcclient.py40
LOWtools/EventClients/lib/python/xbmcclient.py40
LOWtools/EventClients/lib/python/xbmcclient.py40
LOWtools/EventClients/lib/python/xbmcclient.py40
LOWtools/EventClients/lib/python/zeroconf.py30
LOWtools/EventClients/lib/python/ps3/sixaxis.py21
LOWtools/EventClients/lib/python/ps3/sixaxis.py24
LOWtools/EventClients/lib/python/ps3/sixaxis.py25
LOWtools/EventClients/lib/python/ps3/sixwatch.py6
LOWtools/EventClients/lib/python/bt/hid.py18
LOWaddons/metadata.generic.artists/lib/scraper.py9
LOWaddons/metadata.generic.artists/lib/scraper.py31
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py21
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py21
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py26
LOW…iedb.org.python/python/lib/tmdbscraper/traktratings.py26
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py20
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py20
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py40
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py40
LOW…moviedb.org.python/python/lib/tmdbscraper/api_utils.py40
LOW…hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py29
LOW…hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py29
LOWaddons/metadata.generic.albums/lib/scraper.py9
LOWaddons/metadata.generic.albums/lib/scraper.py30
68 more matches not shown…
Cross-File Repetition13 hits · 65 pts
SeverityFileLineSnippet
HIGHtools/EventClients/lib/python/xbmcclient.py0keyword arguments: loglevel -- the loglevel, follows xbmc standard. logmessage -- the message to log autoprint -- if the
HIGHtools/EventClients/lib/python/xbmcclient.py0keyword arguments: loglevel -- the loglevel, follows xbmc standard. logmessage -- the message to log autoprint -- if the
HIGHtools/EventClients/lib/python/xbmcclient.py0keyword arguments: loglevel -- the loglevel, follows xbmc standard. logmessage -- the message to log autoprint -- if the
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 se
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 se
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 se
HIGH…mc.versioncheck/resources/lib/version_check/service.py0copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is part of service.xbmc.versioncheck spdx-
HIGH…ioncheck/resources/lib/version_check/json_interface.py0copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is part of service.xbmc.versioncheck spdx-
HIGH…c.versioncheck/resources/lib/version_check/__init__.py0copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is part of service.xbmc.versioncheck spdx-
HIGH…heck/resources/lib/version_check/apt_daemon_handler.py0copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is part of service.xbmc.versioncheck spdx-
HIGH…bmc.versioncheck/resources/lib/version_check/common.py0copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is part of service.xbmc.versioncheck spdx-
HIGH…c.versioncheck/resources/lib/version_check/versions.py0copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is part of service.xbmc.versioncheck spdx-
HIGH…check/resources/lib/version_check/shell_handler_apt.py0copyright (c) 2013-2014 team-xbmc copyright (c) 2014-2019 team kodi this file is part of service.xbmc.versioncheck spdx-
Deep Nesting53 hits · 53 pts
SeverityFileLineSnippet
LOWtools/EventClients/Clients/KodiSend/kodi-send.py67
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py57
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py131
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py316
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py365
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py130
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py164
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py230
LOWtools/EventClients/lib/python/xbmcclient.py631
LOWtools/EventClients/lib/python/ps3/sixaxis.py290
LOWtools/EventClients/lib/python/ps3/sixwatch.py12
LOWtools/EventClients/lib/python/ps3/sixpair.py20
LOWtools/EventClients/lib/python/ps3/sixpair.py31
LOWaddons/metadata.generic.artists/lib/scraper.py91
LOWaddons/metadata.generic.artists/lib/scraper.py242
LOWaddons/metadata.generic.artists/lib/scraper.py357
LOWaddons/metadata.generic.artists/lib/musicbrainz.py23
LOWaddons/metadata.generic.artists/lib/allmusic.py89
LOWaddons/metadata.generic.artists/lib/theaudiodb.py3
LOWaddons/metadata.themoviedb.org.python/python/scraper.py202
LOW…a.themoviedb.org.python/python/lib/tmdbscraper/tmdb.py21
LOWaddons/metadata.generic.albums/lib/scraper.py90
LOWaddons/metadata.generic.albums/lib/scraper.py231
LOWaddons/metadata.generic.albums/lib/musicbrainz.py79
LOWaddons/metadata.generic.albums/lib/fanarttv.py3
LOW…mc.versioncheck/resources/lib/version_check/service.py72
LOW…c.versioncheck/resources/lib/version_check/versions.py66
LOW…c.versioncheck/resources/lib/version_check/versions.py109
LOW…c.versioncheck/resources/lib/version_check/versions.py147
LOW…c.versioncheck/resources/lib/version_check/versions.py183
LOW…sioncheck/resources/lib/version_check/distro/distro.py934
LOW…sioncheck/resources/lib/version_check/distro/distro.py1072
LOW…metadata.tvshows.themoviedb.org.python/libs/actions.py130
LOW…metadata.tvshows.themoviedb.org.python/libs/actions.py229
LOW…etadata.tvshows.themoviedb.org.python/libs/debugger.py62
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py162
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py208
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py239
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py370
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py423
LOW…adata.tvshows.themoviedb.org.python/libs/data_utils.py441
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py58
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py126
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py174
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py260
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py330
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py366
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py416
LOW…ns/metadata.tvshows.themoviedb.org.python/libs/tmdb.py486
LOW…odi-dev-kit/tools/doxygen-header-class-list-creator.py58
LOW…erateCMake__CMAKE_TREEDATA_COMMON_addon_dev_kit_txt.py24
LOW…CMake__XBMC_ADDONS_KODIDEVKIT_INCLUDE_KODI_allfiles.py31
LOW…ns/kodi-dev-kit/tools/code-generator/src/helper_Log.py127
Excessive Try-Catch Wrapping33 hits · 33 pts
SeverityFileLineSnippet
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py72 except Exception as e:
MEDIUMtools/EventClients/Clients/PS3BDRemote/ps3_remote.py73 print("Error performing bluetooth discovery")
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py153 except Exception as e:
LOWtools/EventClients/Clients/PS3BDRemote/ps3_remote.py181 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py37 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py56 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py144 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py148 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py173 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py194 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py227 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py259 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py325 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py378 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py385 except Exception as e:
LOWtools/EventClients/Clients/PS3SixaxisController/ps3d.py403 except Exception as e:
LOWtools/EventClients/examples/python/example_action.py39 except Exception as e:
LOWtools/EventClients/lib/python/zeroconf.py33except Exception as e:
LOWtools/EventClients/lib/python/ps3/sixwatch.py23 except Exception as e:
LOWtools/EventClients/lib/python/bt/hid.py58 except Exception as e:
MEDIUMtools/EventClients/lib/python/bt/hid.py50def listen(self):
LOW…bmc.versioncheck/resources/lib/version_check/viewer.py84 except Exception as error: # pylint: disable=broad-except
LOW…bmc.versioncheck/resources/lib/version_check/viewer.py123 except Exception as error: # pylint: disable=broad-except
LOW…bmc.versioncheck/resources/lib/version_check/viewer.py158 except Exception as err: # pylint: disable=broad-except
LOW…heck/resources/lib/version_check/apt_daemon_handler.py62 except Exception as error: # pylint: disable=broad-except
LOW…heck/resources/lib/version_check/apt_daemon_handler.py91 except Exception as error: # pylint: disable=broad-except
LOW…heck/resources/lib/version_check/apt_daemon_handler.py105 except Exception as error: # pylint: disable=broad-except
LOW…check/resources/lib/version_check/shell_handler_apt.py57 except Exception as error: # pylint: disable=broad-except
LOW…check/resources/lib/version_check/shell_handler_apt.py86 except Exception as error: # pylint: disable=broad-except
LOW…check/resources/lib/version_check/shell_handler_apt.py108 except Exception as error: # pylint: disable=broad-except
LOW…check/resources/lib/version_check/shell_handler_apt.py128 except Exception as error: # pylint: disable=broad-except
LOW…etadata.tvshows.themoviedb.org.python/libs/debugger.py91 except Exception as exc:
MEDIUM…odi-dev-kit/tools/doxygen-header-class-list-creator.py140 print('Error: %s\nSee --help for usage.' % msg)
AI Slop Vocabulary10 hits · 29 pts
SeverityFileLineSnippet
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 l
MEDIUMxbmc/platform/darwin/osx/CPUInfoOsx.cpp130 // aren't as robust in their readings
MEDIUMxbmc/platform/darwin/osx/GPUInfoMacOS.cpp26 // aren't as robust in their readings
MEDIUM…/addons/kodi-dev-kit/include/kodi/addon-instance/PVR.h613 /// utilize a server, return empty string.
MEDIUMxbmc/utils/Fanart.cpp155 // Essentially we read the colors in using the proper format, and store them in our own fixed temporary format (3 DWOR
MEDIUMxbmc/filesystem/IDirectory.h32 ALWAYS ///< Always cache this directory to memory, so that each additional fetch of this folder will utilize the cache
MEDIUMxbmc/cores/VideoPlayer/VideoPlayer.cpp4704 // seamless transitions over these boundaries
MEDIUMxbmc/cores/VideoPlayer/VideoPlayer.cpp4714 // This event is issued whenever a non-seamless operation has been executed.
MEDIUM…ideoPlayer/DVDInputStreams/DVDInputStreamNavigator.cpp638 // This event is issued whenever a non-seamless operation has been executed.
MEDIUMxbmc/interfaces/legacy/Control.h46 /// Kodi is noted as having a very flexible and robust framework for its
Hyper-Verbose Identifiers27 hits · 28 pts
SeverityFileLineSnippet
LOWtools/EventClients/lib/python/zeroconf.py128 def _service_resolved_handler( self, *args ):
LOWaddons/metadata.generic.artists/lib/musicbrainz.py23def musicbrainz_artistdetails(data):
LOWaddons/metadata.themoviedb.org.python/python/scraper.py65def _searchresult_to_listitem(movie):
LOW…etadata.themoviedb.org.python/python/scraper_config.py1def configure_scraped_details(details, settings):
LOW…etadata.themoviedb.org.python/python/scraper_config.py46def _configure_keeporiginaltitle(details, settings):
LOW…etadata.themoviedb.org.python/python/scraper_config.py56def _configure_multiple_studios(details, settings):
LOW…etadata.themoviedb.org.python/python/scraper_config.py61def _configure_default_rating(details, settings):
LOW…ata.themoviedb.org.python/python/scraper_datahelper.py16def combine_scraped_details_info_and_ratings(original_details, additional_details):
LOW…ata.themoviedb.org.python/python/scraper_datahelper.py30def combine_scraped_details_available_artwork(original_details, additional_details, language, settings):
LOW…a.themoviedb.org.python/python/lib/tmdbscraper/tmdb.py205def _build_image_list_with_fallback(imagelist, urlbases, language, language_fallback='en'):
LOW…viedb.org.python/python/lib/tmdbscraper/imdbratings.py72def _parse_imdb_rating_and_votes(input_html):
LOW…viedb.org.python/python/lib/tmdbscraper/imdbratings.py95def _parse_imdb_rating_previous(input_html):
LOW…viedb.org.python/python/lib/tmdbscraper/imdbratings.py101def _parse_imdb_votes_previous(input_html):
LOW…hemoviedb.org.python/python/lib/tmdbscraper/tmdbapi.py76def find_movie_by_external_id(external_id, language=None):
LOW…c.versioncheck/resources/lib/version_check/versions.py66def _check_for_stable_version(version_installed, stable_version):
LOW…sioncheck/resources/lib/version_check/distro/distro.py934 def _parse_os_release_content(lines):
LOW…sioncheck/resources/lib/version_check/distro/distro.py1020 def _parse_lsb_release_content(lines):
LOW…sioncheck/resources/lib/version_check/distro/distro.py1139 def _parse_distro_release_file(self, filepath):
LOW…sioncheck/resources/lib/version_check/distro/distro.py1162 def _parse_distro_release_content(line):
LOWaddons/webinterface.default/lib/video-js/video.js11138 var findFirstPassingTechSourcePair = function findFirstPassingTechSourcePair(outerArray, innerArray, tester) {
LOW…eo-js/plugins/videojs-chromecast/videojs-chromecast.js683 value: function mediaCommandSuccessCallback(information) {
LOW…s/metadata.tvshows.themoviedb.org.python/libs/cache.py64def load_show_info_from_cache(show_id):
LOWlib/libUPnP/Neptune/Source/Core/NptHttp.h593class NPT_HttpRequestHandler
LOWlib/libUPnP/Neptune/Source/Core/NptHttp.h625class NPT_HttpStaticRequestHandler : public NPT_HttpRequestHandler
LOWlib/libUPnP/Neptune/Source/Core/NptHttp.h658class NPT_HttpFileRequestHandler : public NPT_HttpRequestHandler
LOWlib/libUPnP/Platinum/Source/Core/PltHttp.h195class PLT_HttpRequestHandler : public NPT_HttpRequestHandler
LOWxbmc/network/httprequesthandler/IHTTPRequestHandler.h85class IHTTPRequestHandler
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippet
MEDIUMtools/darwin/packaging/osx/dmgmaker.sh4# This file is part of Kodi - https://kodi.tv
MEDIUMtools/EventClients/examples/python/example_simple.py29 # Create an XBMCClient object and connect
MEDIUMtools/EventClients/examples/python/example_action.py28 # Create an XBMCClient object and connect
MEDIUMtools/EventClients/lib/python/ps3/sixaxis.py208 # The following sections should set the blink frequency of
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py5# This file is part of Kodi - https://kodi.tv
MEDIUM…erateCMake__CMAKE_TREEDATA_COMMON_addon_dev_kit_txt.py4# This file is part of Kodi - https://kodi.tv
MEDIUM…kodi-dev-kit/tools/code-generator/src/commitChanges.py4# This file is part of Kodi - https://kodi.tv
MEDIUM…CMake__XBMC_ADDONS_KODIDEVKIT_INCLUDE_KODI_allfiles.py4# This file is part of Kodi - https://kodi.tv
MEDIUM…ns/kodi-dev-kit/tools/code-generator/src/helper_Log.py4# This file is part of Kodi - https://kodi.tv
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippet
HIGHxbmc/addons/kodi-dev-kit/include/kodi/General.h146/// arguments and formatted as requested.
HIGH…c/addons/kodi-dev-kit/include/kodi/tools/StringUtils.h502 /// arguments and formatted as requested.
HIGHxbmc/cores/AudioEngine/Sinks/AESinkXAudio.cpp568 // the number of channels as requested
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippet
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):f
CRITICALxbmc/test/TestUtil.cpp141 {"Movie.Some.Story.2017.2160p.BDRemux.IMAX.HDR.DV.IVA(ENG.RUS).ExKinoRay", true,
Verbosity Indicators8 hits · 15 pts
SeverityFileLineSnippet
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp326 // Step 1: Replace all $LOCALIZE[number] with the real string
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp328 // Step 2: Replace all $ADDON[id number] with the real string
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp330 // Step 3: Replace all game controller strings with the real string
LOWxbmc/guilib/guiinfo/GUIInfoLabel.cpp332 // Step 4: Find all $INFO[info,prefix,postfix] blocks
LOWxbmc/network/WebServer.cpp205 // if we got a GET request we need to check if it should be cached
LOWxbmc/interfaces/python/PythonInvoker.cpp293 // we need to check if we was asked to abort before we had inited
LOWxbmc/interfaces/json-rpc/JSONServiceDescription.cpp710 // First we need to check if this type extends another
LOWxbmc/interfaces/json-rpc/JSONServiceDescription.cpp907 // If additional properties are allowed we need to check if
Slop Phrases6 hits · 12 pts
SeverityFileLineSnippet
MEDIUMtools/EventClients/examples/python/example_button1.py64 # then you can use the PacketPING class to send a ping packet (which is
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 own
MEDIUMaddons/webinterface.default/lib/video-js/video.js24091 * A cross-browser XMLHttpRequest wrapper. Here's a simple example:
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 close
LOWxbmc/rendering/dx/DeviceResources.cpp357 // Don't forget to declare your application's minimum required feature level in its
LOWxbmc/interfaces/legacy/Window.h333 /// - Don't forget to capture `ACTION_PREVIOUS_MENU` or `ACTION_NAV_BACK`,
Decorative Section Separators4 hits · 8 pts
SeverityFileLineSnippet
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py22# ===============================================================================
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py31# ===============================================================================
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py68 ##----------------------------------------------------------------------------
MEDIUM…t/tools/code-generator/code_generator__addon_devkit.py72 ##----------------------------------------------------------------------------
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippet
HIGH…sioncheck/resources/lib/version_check/distro/distro.py580 The initialization method of this class gathers information from the available data sources, and stores
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWxbmc/utils/HttpParser.h26// Example usage:
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippet
LOWxbmc/interfaces/legacy/InfoTagGame.h44/// tag.setDeveloper('John Doe')
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWtools/EventClients/lib/python/ps3/sixaxis.py244 def process_data(self, data):