Repository Analysis

kyleneideck/BackgroundMusic

Background Music, a macOS audio utility: automatically pause your music, set individual apps' volumes and record system audio.

8.8 Low AI signal View on GitHub
8.8
Adjusted Score
8.8
Raw Score
100%
Time Factor
2026-05-29
Last Push
18,993
Stars
C++
Language
52,814
Lines of Code
257
Files
393
Pattern Hits
2026-05-31
Scan Date

Score History

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

CRITICAL 0HIGH 5MEDIUM 18LOW 370

Pattern Findings

393 matches across 6 categories. Click a row to expand file-level details.

Over-Commented Block367 hits · 367 pts
SeverityFileLineSnippet
LOWuninstall.sh1#!/bin/bash
LOWbuild_and_install.sh1#!/bin/bash
LOWbuild_and_install.sh21#
LOWbuild_and_install.sh801 ${XCODEBUILD_OPTIONS} \
LOWpackage.sh1#!/bin/bash
LOWpackage.sh21#
LOWpackage.sh81
LOWBGMDriver/BGMDriver/BGM_PlugInInterface.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_PlugInInterface.cpp21// Copyright (C) 2013 Apple Inc. All Rights Reserved.
LOWBGMDriver/BGMDriver/BGM_NullDevice.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_NullDevice.cpp21//
LOWBGMDriver/BGMDriver/BGM_NullDevice.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_NullDevice.h21//
LOWBGMDriver/BGMDriver/BGM_XPCHelper.m1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_XPCHelper.m21// Copyright © 2020 Aleksey Yurkevich
LOWBGMDriver/BGMDriver/BGM_AbstractDevice.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_AbstractDevice.cpp261 CAException(kAudioHardwareBadPropertySizeError),
LOWBGMDriver/BGMDriver/BGM_WrappedAudioEngine.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_AudibleState.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_AudibleState.cpp21// Copyright © 2016 Josh Junon
LOWBGMDriver/BGMDriver/BGM_AudibleState.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_AudibleState.h21//
LOWBGMDriver/BGMDriver/BGM_Control.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_Stream.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_Stream.cpp21//
LOWBGMDriver/BGMDriver/BGM_VolumeControl.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_PlugIn.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_PlugIn.cpp21// Copyright (C) 2013 Apple Inc. All Rights Reserved.
LOWBGMDriver/BGMDriver/BGM_Object.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_Object.h21// Copyright (C) 2013 Apple Inc. All Rights Reserved.
LOWBGMDriver/BGMDriver/BGM_Object.h41// TODO: Update the large comment below to reflect what was removed from SA_Object.h? It hasn't
LOWBGMDriver/BGMDriver/BGM_Object.h61// its base class is kAudioBooleanControlClassID.
LOWBGMDriver/BGMDriver/BGM_Object.h81// object. This also means taking care to handle the Deactivation of owned objects. For example, an
LOWBGMDriver/BGMDriver/BGM_Object.h101// This class also defines methods to implement the portion of the
LOWBGMDriver/BGMDriver/BGM_WrappedAudioEngine.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_WrappedAudioEngine.h21//
LOWBGMDriver/BGMDriver/BGM_MuteControl.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_MuteControl.h21//
LOWBGMDriver/BGMDriver/BGM_Device.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_Device.cpp21// Copyright © 2017 Andrew Tonner
LOWBGMDriver/BGMDriver/BGM_Device.cpp41#include "CAException.h"
LOWBGMDriver/BGMDriver/BGM_Device.cpp661 break;
LOWBGMDriver/BGMDriver/BGM_Device.cpp1241#pragma mark IO Operations
LOWBGMDriver/BGMDriver/BGM_Device.cpp1401
LOWBGMDriver/BGMDriver/BGM_XPCHelper.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_XPCHelper.h21//
LOWBGMDriver/BGMDriver/BGM_AbstractDevice.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_TaskQueue.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_TaskQueue.cpp21//
LOWBGMDriver/BGMDriver/BGM_Object.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_Object.cpp21// Copyright (C) 2013 Apple Inc. All Rights Reserved.
LOWBGMDriver/BGMDriver/BGM_Stream.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_Stream.h21// An input or output audio stream. Each stream belongs to a device (see BGM_AbstractDevice), which
LOWBGMDriver/BGMDriver/BGM_MuteControl.cpp1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_MuteControl.cpp21//
LOWBGMDriver/BGMDriver/BGM_TaskQueue.h1// This file is part of Background Music.
LOWBGMDriver/BGMDriver/BGM_TaskQueue.h21//
LOWBGMDriver/BGMDriver/BGM_TaskQueue.h161 // a deadline (though that might change). They just have to run with real-time priority to avoid causing
LOWBGMDriver/BGMDriver/BGM_TaskQueue.h181 // recently found out about them.)
LOWBGMDriver/BGMDriver/BGM_Control.h1// This file is part of Background Music.
307 more matches not shown…
Self-Referential Comments14 hits · 42 pts
SeverityFileLineSnippet
MEDIUMuninstall.sh4# This file is part of Background Music.
MEDIUMbuild_and_install.sh4# This file is part of Background Music.
MEDIUMpackage.sh4# This file is part of Background Music.
MEDIUMBGMDriver/BGMDriver/quick_install.sh4# This file is part of Background Music.
MEDIUMBGMApp/BGMApp/_uninstall-non-interactive.sh4# This file is part of Background Music.
MEDIUMBGMApp/BGMAppTests/UITests/skip-ui-tests.py3# This file is part of Background Music.
MEDIUMBGMApp/BGMXPCHelper/post_install.sh4# This file is part of Background Music.
MEDIUMBGMApp/BGMXPCHelper/post_install.sh98# Create an unprivileged user for BGMXPCHelper to run as.
MEDIUMBGMApp/BGMXPCHelper/post_install.sh120 # Create the group.
MEDIUMBGMApp/BGMXPCHelper/post_install.sh125 # Create the user.
MEDIUMBGMApp/BGMXPCHelper/safe_install_dir.sh4# This file is part of Background Music.
MEDIUMBGMApp/BGMXPCHelper/safe_install_dir.sh150# Create the installation directory if it doesn't exist already.
MEDIUMImages/generate_icon_pngs.sh4# This file is part of Background Music.
MEDIUMSharedSource/Scripts/set-version.sh3# This file is part of Background Music.
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippet
HIGHBGMDriver/BGMDriver/BGM_Device.cpp550 // fill out the list with as many objects as requested, which is everything
HIGHBGMDriver/BGMDriver/BGM_Device.cpp699 // fill out the list with as many objects as requested
HIGHBGMDriver/BGMDriver/BGM_Device.cpp717 // fill out the list with as many objects as requested
HIGHBGMDriver/BGMDriver/BGM_Device.cpp731 // fill out the list with as many objects as requested
HIGHBGMDriver/BGMDriver/BGM_Device.cpp758 // fill out the list with as many objects as requested
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMpackage.sh55# --------------------------------------------------
MEDIUMpackage.sh140# --------------------------------------------------
MEDIUMpackage.sh153# --------------------------------------------------
MEDIUMpackage.sh220# --------------------------------------------------
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippet
LOWBGMDriver/BGMDriver/quick_install.sh91 # The path to the release build was set, so just set it as the build we're installing
LOWBGMDriver/BGMDriver/quick_install.sh94 # The path to the debug build was set, so just set it as the build we're installing
Redundant / Tautological Comments1 hit · 1 pts
SeverityFileLineSnippet
LOWbuild_and_install.sh217 exec 3<&- # Close the file descriptor.