Repository Analysis

LizardByte/Sunshine

Self-hosted game stream host for Moonlight.

1.2 Likely human-written View on GitHub
1.2
Adjusted Score
1.2
Raw Score
100%
Time Factor
2026-05-30
Last Push
37,460
Stars
C++
Language
101,410
Lines of Code
336
Files
108
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 7LOW 101

Pattern Findings

108 matches across 4 categories. Click a row to expand file-level details.

Over-Commented Block97 hits · 97 pts
SeverityFileLineSnippet
LOWtests/tests_common.h1/**
LOWtests/tests_common.h121 } \
LOWtests/unit/test_confighttp.cpp21// lib imports
LOWtests/integration/test_locale_consistency.cpp1/**
LOWtests/integration/test_external_commands.cpp1/**
LOWtests/integration/test_config_consistency.cpp1/**
LOWsrc/nvhttp.h1/**
LOWsrc/input.cpp1/**
LOWsrc/input.cpp21
LOWsrc/confighttp.h1/**
LOWsrc/process.cpp1/**
LOWsrc/process.cpp21#include <openssl/evp.h>
LOWsrc/system_tray.cpp1/**
LOWsrc/system_tray.cpp21 #elif defined(__APPLE__) || defined(__MACH__)
LOWsrc/display_device.cpp1/**
LOWsrc/logging.cpp1/**
LOWsrc/config.h1/**
LOWsrc/entry_handler.cpp1/**
LOWsrc/audio.cpp1/**
LOWsrc/video.cpp1/**
LOWsrc/video.cpp21
LOWsrc/nvhttp.cpp1/**
LOWsrc/nvhttp.cpp21
LOWsrc/task_pool.h1/**
LOWsrc/httpcommon.cpp1/**
LOWsrc/httpcommon.cpp21// local includes
LOWsrc/thread_safe.h1/**
LOWsrc/upnp.cpp1/**
LOWsrc/rswrapper.c1/**
LOWsrc/rswrapper.c21// Append an ISA suffix to the public RS API
LOWsrc/rswrapper.c41
LOWsrc/rswrapper.c61
LOWsrc/rswrapper.c81 #if defined(__clang__)
LOWsrc/rswrapper.c101#define ISA_SUFFIX _def
LOWsrc/config.cpp1/**
LOWsrc/config.cpp21
LOWsrc/stream.cpp1/**
LOWsrc/stream.cpp21
LOWsrc/process.h1/**
LOWsrc/confighttp.cpp1/**
LOWsrc/confighttp.cpp21#include <Simple-Web-Server/crypto.hpp>
LOWsrc/utility.h1/**
LOWsrc/rtsp.cpp1/**
LOWsrc/rtsp.cpp21#include <boost/asio.hpp>
LOWsrc/main.cpp1/**
LOWsrc/platform/common.h1/**
LOWsrc/platform/macos/input.cpp1/**
LOWsrc/platform/macos/misc.mm1/**
LOWsrc/platform/macos/misc.mm21#include <pwd.h>
LOWsrc/platform/macos/misc.mm61 // CGRequestScreenCaptureAccess being unavailable before macOS 10.15, but
LOWsrc/platform/macos/display.mm1/**
LOWsrc/platform/macos/coreaudio_helpers.h1#pragma once
LOWsrc/platform/macos/av_audio.mm181 // unavailable before macOS 10.15, but we have a guard to prevent it from
LOWsrc/platform/linux/kmsgrab.cpp1/**
LOWsrc/platform/linux/kmsgrab.cpp21#include "cuda.h"
LOWsrc/platform/linux/x11grab.cpp1/**
LOWsrc/platform/linux/x11grab.cpp21#include "cuda.h"
LOWsrc/platform/linux/misc.cpp1/**
LOWsrc/platform/linux/misc.cpp21#include <ifaddrs.h>
LOWsrc/platform/linux/misc.cpp41#include <boost/process/v1.hpp>
37 more matches not shown…
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippet
MEDIUMscripts/linux_build.sh777 # Create the package
MEDIUM.github/semantic.yml2# This file is centrally managed in https://github.com/<organization>/.github/
MEDIUM.github/dependabot.yml2# This file is centrally managed in https://github.com/<organization>/.github/
MEDIUM.github/workflows/ci-windows.yml132 # Create the ignore string for pacman
MEDIUM.github/workflows/_release-notifier.yml6# Create a blog post for a new release and open a PR to the blog repo
MEDIUM.github/workflows/_top-issues.yml6# Create a top issues dashboard
MEDIUM.github/ISSUE_TEMPLATE/config.yml2# This file is centrally managed in https://github.com/<organization>/.github/
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippet
LOWscripts/linux_build.sh153 # Check if NVM is installed and source it
LOWscripts/linux_build.sh494 # Check if CUDA is already available
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippet
LOWscripts/_locale.py50
LOWscripts/update_clang_format.py26