Repository Analysis

videolan/vlc

VLC media player - plays everything, runs anywhere. Code here: https://code.videolan.org/videolan/vlc

1.5 Likely human-written View on GitHub
1.5
Adjusted Score
1.5
Raw Score
100%
Time Factor
2026-05-30
Last Push
18,552
Stars
C
Language
1,086,090
Lines of Code
3550
Files
1587
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 11LOW 1576

Pattern Findings

1587 matches across 11 categories. Click a row to expand file-level details.

Over-Commented Block1530 hits · 1519 pts
SeverityFileLineSnippet
LOWmeson_options.txt801
LOWcompat/aligned_alloc.c21#ifdef HAVE_CONFIG_H
LOWcompat/clock_nanosleep.c21 *****************************************************************************/
LOWcompat/inet_pton.c21#ifdef HAVE_CONFIG_H
LOWcompat/localtime_r.c21#if defined(__STDC_LIB_EXT1__) && (__STDC_LIB_EXT1__ >= 20112L)
LOWcompat/flockfile.c21#ifdef HAVE_CONFIG_H
LOWcompat/fsync.c21#ifdef HAVE_CONFIG_H
LOWcompat/gai_strerror.c21 * You should have received a copy of the GNU Lesser General Public License
LOWcompat/gai_strerror.c41# define EAI_FAIL -4
LOWcompat/fdopendir.c21#ifdef HAVE_CONFIG_H
LOWcompat/getpid.c21#ifdef HAVE_CONFIG_H
LOWcompat/strverscmp.c21#ifdef HAVE_CONFIG_H
LOWcompat/stdbit/stdbit.h21
LOWcompat/test/ckd.c21#ifdef HAVE_CONFIG_H
LOWcompat/test/ckd.c41# endif
LOWcompat/windows/unistd.h1// Copyright © 2023 VideoLabs, VLC authors and VideoLAN
LOWcompat/windows/dirent.h1// Copyright © 2023 VideoLabs, VLC authors and VideoLAN
LOWtest/vlc-window.c1/* licence WTFPL */
LOWtest/watchosvlc.m21 * along with this program; if not, write to the Free Software Foundation,
LOWtest/iosvlc.m21 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
LOWtest/libvlc/media_callback.c21 *****************************************************************************/
LOWtest/libvlc/media_thumbnail.c21 *****************************************************************************/
LOWtest/modules/misc/medialibrary.c21 *****************************************************************************/
LOWtest/modules/misc/tls.c21#ifdef HAVE_CONFIG_H
LOWtest/modules/keystore/test.c21#ifdef HAVE_CONFIG_H
LOWtest/modules/codec/cea708_integration.c21#ifdef HAVE_CONFIG_H
LOWtest/modules/codec/cea708_aspect_ratio.c21#ifdef HAVE_CONFIG_H
LOWtest/modules/lua/playlist_parser.c21 *****************************************************************************/
LOWtest/modules/lua/extension.c21 *****************************************************************************/
LOWtest/modules/demux/timestamps_filter.c21#ifdef HAVE_CONFIG_H
LOWtest/modules/demux/libmp4.c21# include <config.h>
LOWtest/modules/demux/playlist/m3u.c21# include "config.h"
LOWtest/modules/packetizer/hxxx.c21#ifdef HAVE_CONFIG_H
LOWtest/modules/stream_out/transcode.c21 *****************************************************************************/
LOWtest/modules/stream_out/pcr_sync.c21#ifdef HAVE_CONFIG_H
LOWtest/modules/stream_filter/httplive/traffic-shaping.sh1#!/bin/sh
LOWtest/modules/video_output/opengl/sub_renderer.c21 *****************************************************************************/
LOWtest/modules/video_output/opengl/filters.c21 *****************************************************************************/
LOWtest/src/misc/image_cvpx.c21 *****************************************************************************/
LOWtest/src/misc/chroma_probe.c21#ifdef HAVE_CONFIG_H
LOWtest/src/misc/keystore.c21#ifdef HAVE_CONFIG_H
LOWtest/src/misc/image.c21 *****************************************************************************/
LOWtest/src/interface/dialog.c21#ifdef HAVE_CONFIG_H
LOWtest/src/input/demux-run.c21 *
LOWtest/src/input/stream_fifo.c21#ifdef HAVE_CONFIG_H
LOWtest/src/input/decoder.c21 *****************************************************************************/
LOWtest/src/input/stream.c21#include "../../libvlc/test.h"
LOWtest/src/input/decoder/input_decoder_scenarios.c21 *****************************************************************************/
LOWtest/src/input/decoder/input_decoder.c21 *****************************************************************************/
LOWtest/src/video_output/video_output.c21 *****************************************************************************/
LOWtest/src/video_output/opengl.c21#ifdef HAVE_CONFIG_H
LOWtest/src/preparser/thumbnail_to_files.c21#include "../../libvlc/test.h"
LOWtest/src/clock/clock_start.c21 *****************************************************************************/
LOWtest/src/clock/clock.c21 * along with this program; if not, write to the Free Software Foundation,
LOWtest/src/player/common.h1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWbin/vlc.c21 *
LOWbin/darwinvlc.m21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
LOWbin/rootwrap.c21#ifdef HAVE_CONFIG_H
LOWbin/rootwrap.c41#include <netinet/in.h>
LOWbin/override.c21#ifdef HAVE_CONFIG_H
1470 more matches not shown…
Redundant / Tautological Comments17 hits · 26 pts
SeverityFileLineSnippet
LOWbuildsystem/dependencies.sh84 # Check if the archive is in .libs, which could signal
LOWmodules/video_chroma/i420_rgb_sse2.h76pshufd $0, %%xmm5, %%xmm5 # Set xmm5 to 00 80 ... 00 80 00 80 \n\
LOWmodules/video_chroma/i420_rgb_sse2.h85pshufd $0, %%xmm5, %%xmm5 # Set xmm5 to f3 7d ... f3 7d f3 7d \n\
LOWmodules/video_chroma/i420_rgb_sse2.h89pshufd $0, %%xmm5, %%xmm5 # Set xmm5 to e5 fc ... e5 fc e5 fc \n\
LOWmodules/video_chroma/i420_rgb_sse2.h93pshufd $0, %%xmm5, %%xmm5 # Set xmm5 to 40 93 ... 40 93 40 93 \n\
LOWmodules/video_chroma/i420_rgb_sse2.h97pshufd $0, %%xmm5, %%xmm5 # Set xmm5 to 33 12 ... 33 12 33 12 \n\
LOWmodules/video_chroma/i420_rgb_sse2.h104pshufd $0, %%xmm5, %%xmm5 # Set xmm5 to 10 10 ... 10 10 10 10 \n\
LOWextras/misc/stackhandler.py81 # Check if VLC version match
LOWextras/misc/stackhandler.py112 # Print the output
LOWextras/ci/check-url.sh6# Check if a given URL exists or not
LOWextras/package/apple/copy_plugins.sh33 # Check if entry already exists (by plugin name)
LOWextras/package/apple/build.sh156# Print message if verbose, else silent
LOWextras/package/apple/build.sh168# Check if tool exists, if not error out
LOWextras/package/apple/build.sh616# Set PKG_CONFIG_LIBDIR to an empty string to prevent
LOWextras/package/apple/build.sh712# Set flag to error on partial availability
LOWextras/package/win32/build.sh155# Check if compiling with clang
LOWextras/package/win32/build.sh166# Check if this is a UCRT toolchain
Fake / Example Data11 hits · 15 pts
SeverityFileLineSnippet
LOWcompat/test/strnstr.c30const char* haystack = "Lorem ipsum dolor sit amet";
LOWcompat/test/strnstr.c30const char* haystack = "Lorem ipsum dolor sit amet";
LOWcompat/test/strnstr.c45 test( haystack, "Lorem ipsum dolor sit amet, but bigger", 0, false );
LOWcompat/test/strnstr.c45 test( haystack, "Lorem ipsum dolor sit amet, but bigger", 0, false );
LOWmodules/gui/qt/dialogs/help/help.cpp228 // Lorem ipsum with some "Security" to see if red coloring works:
LOWmodules/gui/qt/dialogs/help/help.cpp229 "Lorem ipsum dolor sit amet, security consectetur adipiscing elit. Sed vitae ante lobortis," \
LOWmodules/gui/qt/dialogs/help/help.cpp229 "Lorem ipsum dolor sit amet, security consectetur adipiscing elit. Sed vitae ante lobortis," \
LOWmodules/gui/qt/dialogs/help/help.cpp236 "Lorem ipsum dolor sit amet, security consectetur adipiscing elit. Sed vitae ante lobortis," \
LOWmodules/gui/qt/dialogs/help/help.cpp236 "Lorem ipsum dolor sit amet, security consectetur adipiscing elit. Sed vitae ante lobortis," \
LOWmodules/gui/qt/dialogs/help/help.cpp243 "Lorem ipsum dolor sit amet, security consectetur adipiscing elit. Sed vitae ante lobortis," \
LOWmodules/gui/qt/dialogs/help/help.cpp243 "Lorem ipsum dolor sit amet, security consectetur adipiscing elit. Sed vitae ante lobortis," \
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippet
MEDIUMcontrib/src/pkg-rewrite-absolute.py117 # Create main parser
MEDIUMcontrib/src/pkg-static.sh3# This file is distributed under the same license as the vlc package.
MEDIUMextras/misc/stackhandler.py199 # Create the gdb batchfile
MEDIUMextras/misc/authors_list.sh168# This file contains VideoLAN as a contributor.
MEDIUMextras/package/wasm-emscripten/build.sh4# This file is under the same license as the vlc package.
Decorative Section Separators3 hits · 14 pts
SeverityFileLineSnippet
MEDIUMtest/modules/stream_filter/httplive/traffic-shaping.sh4#----------------------------------------------------------------------------
MEDIUMtest/modules/stream_filter/httplive/traffic-shaping.sh6#----------------------------------------------------------------------------
MEDIUMtest/modules/stream_filter/httplive/traffic-shaping.sh8#----------------------------------------------------------------------------
Slop Phrases6 hits · 14 pts
SeverityFileLineSnippet
MEDIUMinclude/vlc_executor.h97 * Here is a simple example:
LOWinclude/vlc_pgpkey.h9 * Don't forget to upload the key to http://download.videolan.org/pub/keys/
MEDIUMmodules/audio_output/file.c90#define WAV_LONGTEXT N_("Instead of writing a raw file, you can add a WAV " \
MEDIUMextras/misc/authors_list.sh32# Only if the script is not modified (wrt finding translators) you can use the current AUTHORS
LOWextras/package/macosx/dmg/dmg_settings.py9# This is python, so make sure to write valid python,
LOWextras/package/snap/snapcraft.yaml387 # kf6-core24 already ships vlc, make sure to not delete our own files
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippet
LOWbuildsystem/check_qml_module.py61
LOWbuildsystem/check_qml_module.py80
LOWextras/breakpad/symb_upload.py22
LOWextras/breakpad/symb_upload.py88
LOWextras/package/win32/msi/msi-heat.py52
Unused Imports5 hits · 5 pts
SeverityFileLineSnippet
LOWbuildsystem/gen-vlc-about.py2
LOWmodules/gui/qt/scripts/genqmldir.py3
LOWmodules/gui/qt/scripts/genqrc.py2
LOWmodules/gui/qt/scripts/genqrc.py3
LOWextras/package/macosx/dmg/dmg_settings.py2
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWmodules/gui/qt/util/kirigamiwheelhandler.cpp230 // We need to check if the parent inherits QQuickScrollView in case the
LOWshare/lua/http/js/jquery.jstree.js1413 // this variable stores the path to the themes folder - if left as false - it will be autodetected
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippet
LOWcontrib/src/gen-cmake-toolchain.py21def _add_environ_val_not_empty(meson_key, env_key):
LOWcontrib/src/gen-cmake-toolchain.py26def _add_environ_cached_val_not_empty(meson_key: str, env_key: str):
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippet
LOWextras/misc/stackhandler.py307 except Exception as ex: