Repository Analysis

HandBrake/HandBrake

HandBrake's development repository

2.3 Likely human-written View on GitHub
2.3
Adjusted Score
2.3
Raw Score
100%
Time Factor
2026-05-29
Last Push
23,271
Stars
C
Language
279,221
Lines of Code
1029
Files
569
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 6MEDIUM 18LOW 545

Pattern Findings

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

Over-Commented Block517 hits · 517 pts
SeverityFileLineSnippet
LOWtest/test.c21#include <strings.h>
LOWtest/test.c41#if defined( __APPLE_CC__ )
LOWtest/test.c2501{
LOWtest/test.c2521 #define SRT_BURN 275
LOWtest/test.c2541 #define QSV_IMPLEMENTATION 298
LOWtest/test.c2561 #define SSA_FILE 318
LOW…ake.App.Core/Exceptions/GeneralApplicationException.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…ake.App.Core/Exceptions/GeneralApplicationException.cs21 /// </summary>
LOW…ake.App.Core/Exceptions/GeneralApplicationException.cs41 /// <param name="error">
LOW…n/CS/HandBrake.App.Core/Extensions/StringExtensions.cs1// --------------------------------------------------------------------------------------------------------------------
LOWwin/CS/HandBrake.App.Core/Utilities/TimeSpanHelper.cs1// --------------------------------------------------------------------------------------------------------------------
LOWwin/CS/HandBrake.App.Core/Utilities/EnumHelper.cs21
LOWwin/CS/HandBrake.App.Core/Utilities/EnumHelper.cs81 /// <summary>
LOWwin/CS/HandBrake.App.Core/Utilities/EnumHelper.cs161 }
LOW…/CS/HandBrake.App.Core/Utilities/DirectoryUtilities.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…/CS/HandBrake.App.Core/Utilities/DirectoryUtilities.cs41 /// <summary>
LOWwin/CS/HandBrake.App.Core/Utilities/Validate.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…HandBrake.App.Core/Utilities/DelayedActionProcessor.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…HandBrake.App.Core/Utilities/DelayedActionProcessor.cs21 /// The task.
LOWwin/CS/HandBrake.App.Core/Model/DriveInformation.cs1// --------------------------------------------------------------------------------------------------------------------
LOWwin/CS/HandBrake.App.Core/Model/DriveInformation.cs21
LOWwin/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs241
LOW…n/CS/HandBrakeWPF/ViewModels/TitleSpecificViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…/CS/HandBrakeWPF/ViewModels/QueueSelectionViewModel.cs221 this.TitleList.Clear();
LOWwin/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs81 /// <summary>
LOWwin/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs561 return true;
LOWwin/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs21
LOWwin/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs41 /// </summary>
LOW…/CS/HandBrakeWPF/ViewModels/CountdownAlertViewModel.cs21 /// <summary>
LOWwin/CS/HandBrakeWPF/ViewModels/MetaDataViewModel.cs181 /// Setup the window after a scan.
LOWwin/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs261
LOW…/HandBrakeWPF/ViewModels/Interfaces/IAboutViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…/HandBrakeWPF/ViewModels/Interfaces/IVideoViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…/HandBrakeWPF/ViewModels/Interfaces/IErrorViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…andBrakeWPF/ViewModels/Interfaces/IFiltersViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…WPF/ViewModels/Interfaces/IPictureSettingsViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…akeWPF/ViewModels/Interfaces/IManagePresetViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…akeWPF/ViewModels/Interfaces/IManagePresetViewModel.cs21 /// </summary>
LOW…ndBrakeWPF/ViewModels/Interfaces/IChaptersViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…eWPF/ViewModels/Interfaces/IQueueSelectionViewModel.cs21 /// <summary>
LOW…ndBrakeWPF/ViewModels/Interfaces/IMetaDataViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…/HandBrakeWPF/ViewModels/Interfaces/IAudioViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…eWPF/ViewModels/Interfaces/ICountdownAlertViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…eWPF/ViewModels/Interfaces/ICountdownAlertViewModel.cs21 /// </summary>
LOW…dBrakeWPF/ViewModels/Interfaces/IAddPresetViewModel.cs21 {
LOW…keWPF/ViewModels/Interfaces/ITitleSpecificViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…andBrakeWPF/ViewModels/Interfaces/IOptionsViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…CS/HandBrakeWPF/ViewModels/Interfaces/ILogViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…S/HandBrakeWPF/ViewModels/Interfaces/IMainViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…S/HandBrakeWPF/ViewModels/Interfaces/IMainViewModel.cs21 public interface IMainViewModel
LOW…S/HandBrakeWPF/ViewModels/Interfaces/IMainViewModel.cs41 /// <summary>
LOW…S/HandBrakeWPF/ViewModels/Interfaces/IMainViewModel.cs61
LOW…S/HandBrakeWPF/ViewModels/Interfaces/IMainViewModel.cs81
LOW…S/HandBrakeWPF/ViewModels/Interfaces/IMainViewModel.cs101 /// A list of files to scan
LOW…S/HandBrakeWPF/ViewModels/Interfaces/IMainViewModel.cs121 /// <summary>
LOW…CS/HandBrakeWPF/ViewModels/Interfaces/ITabInterface.cs21 /// Common interface for all the main tab panels
LOW…CS/HandBrakeWPF/ViewModels/Interfaces/ITabInterface.cs41 /// </param>
LOW…/HandBrakeWPF/ViewModels/Interfaces/IQueueViewModel.cs1// --------------------------------------------------------------------------------------------------------------------
LOW…/HandBrakeWPF/ViewModels/Interfaces/IQueueViewModel.cs21 /// The action.
LOW…/HandBrakeWPF/ViewModels/Interfaces/IQueueViewModel.cs41
457 more matches not shown…
Excessive Try-Catch Wrapping24 hits · 42 pts
SeverityFileLineSnippet
LOWmake/df-fetch.py67 except Exception:
LOWmake/df-fetch.py126 except Exception as x:
LOWmake/df-fetch.py136 except Exception as x:
LOWmake/configure.py133 except Exception as x:
LOWmake/configure.py1125 except Exception as x:
LOWmake/configure.py1265 except Exception as x:
LOWmake/configure.py1268 except Exception as x:
LOWmake/configure.py1274 except Exception as x:
LOWmake/configure.py1300 except Exception as x:
LOWmake/configure.py1303 except Exception as x:
LOWmake/configure.py1309 except Exception as x:
LOWmake/configure.py1503 except Exception as x:
MEDIUMmake/configure.py608def _action( self ):
LOWmake/df-verify.py94 except Exception as x:
MEDIUMscripts/create_flatpak_manifest.py113 print("Error: only one archive source permitted")
MEDIUMscripts/create_flatpak_manifest.py149 print("Error: Invalid option")
LOWscripts/create_resources.py44 except Exception as err:
MEDIUMscripts/create_resources.py45 print("Error: %s" % str(err), file=sys.stderr)
MEDIUMscripts/create_resources.py47 print("Error: No such json file %s" % fbase, file=sys.stderr)
MEDIUMscripts/create_resources.py56 print("Error: No such plist file %s" % fbase, file=sys.stderr)
LOWscripts/create_resources.py66 except Exception as err:
MEDIUMscripts/create_resources.py67 print("Error: %s" % str(err), file=sys.stderr)
MEDIUMscripts/create_resources.py70 print("Error: No such string file %s" % fbase, file=sys.stderr)
MEDIUMscripts/create_resources.py97 print("Error: %s" % str(err), file=sys.stderr)
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippet
HIGH…/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs3// This code was generated by a tool.
HIGHwin/CS/HandBrakeWPF/Properties/Resources.Designer.cs3// This code was generated by a tool.
HIGHwin/CS/Properties/Resources.Designer.cs3// This code was generated by a tool.
Cross-Language Confusion3 hits · 18 pts
SeverityFileLineSnippet
HIGHmake/configure.py704 self.msg_end = self.mode.toString()
HIGHmake/configure.py783 help='select %s%s: %s' % (self.descr,self.what,self.toString()),
HIGHmake/configure.py1109 ## pipe and redirect stderr to dev/null; effects communicate result
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMlibhb/bd.c453 // But clips that have seamless transition are required
MEDIUMscripts/localization/translate_win.sh9# Click on the resource to delve into it
MEDIUMscripts/localization/translate_linux.sh14# Click on the resource to delve into it
MEDIUMscripts/localization/translate_mac.sh8# Click on the resource to delve into it
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMscripts/manicure.rb4# This file is part of the HandBrake source code.
MEDIUMscripts/localization/translate_win.sh34# Create a bit branch for the pull request
MEDIUMscripts/localization/translate_linux.sh40# Create a bit branch for the pull request
MEDIUMscripts/localization/translate_mac.sh34# Create a bit branch for the pull request
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippet
LOWwin/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs540 // Step 2: Check if the track list already contains this track
LOWwin/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs576 // Step 2: Check if the track list already contains this track
LOWwin/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs594 // Step 2: Check if the track list already contains this track
LOWwin/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs218 // Step 2: Check if the track list already contains this track
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippet
LOWmake/configure.py680
LOWmake/configure.py841
LOWscripts/create_flatpak_manifest.py44
LOWscripts/create_resources.py25
LOWgtk/data/version.py25
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippet
LOWscripts/tag-release.sh37 # Check if there is a valid git repo here
LOWscripts/repo-info.sh29 # Check if there is a valid git repo here
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMscripts/localization/translate_linux.sh8# If you want to remove a translator from the files if Transifex erroneously adds it, you can add:
Unused Imports2 hits · 2 pts
SeverityFileLineSnippet
LOWscripts/create_flatpak_manifest.py3
LOWscripts/create_resources.py4