Repository Analysis

hyprwm/Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.

1.4 Likely human-written View on GitHub
1.4
Adjusted Score
1.4
Raw Score
100%
Time Factor
2026-05-30
Last Push
36,102
Stars
C++
Language
142,716
Lines of Code
825
Files
203
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 203

Pattern Findings

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

Over-Commented Block197 hits · 197 pts
SeverityFileLineSnippet
LOWtests/config/lua/LuaConfigUtils.cpp1#include <config/lua/types/LuaConfigUtils.hpp>
LOWtests/config/lua/ConfigValueTypes.cpp1#include <config/lua/types/LuaConfigBool.hpp>
LOWstart/src/core/Instance.cpp1#include "Instance.hpp"
LOWhyprpm/src/core/PluginManager.cpp1#include "PluginManager.hpp"
LOWhyprpm/src/progress/CProgressBar.cpp1#include "CProgressBar.hpp"
LOWhyprpm/src/helpers/Sys.cpp1#include "Sys.hpp"
LOW.github/workflows/clang-format-check.sh1#!/usr/bin/env bash
LOWhyprctl/src/main.cpp1#include <re2/re2.h>
LOWhyprctl/src/main.cpp21#include <iostream>
LOWhyprctl/src/helpers/Memory.hpp1#pragma once
LOWhyprtester/clients/pointer-scroll.cpp1#include <cstring>
LOWhyprtester/clients/shortcut-inhibitor.cpp1#include <sys/poll.h>
LOWhyprtester/clients/keyboard-modifiers.cpp1#include <cstring>
LOWhyprtester/clients/child-window.cpp1#include <print>
LOWhyprtester/clients/pointer-warp.cpp1#include <cstring>
LOWhyprtester/plugin/src/main.cpp1#include <unistd.h>
LOWhyprtester/src/hyprctlCompat.cpp1#include "hyprctlCompat.hpp"
LOWhyprtester/src/main.cpp1
LOWhyprtester/src/main.cpp21#include "tests/clients/tests.hpp"
LOWhyprtester/src/tests/shared.cpp1#include "shared.hpp"
LOWhyprtester/src/tests/clients/pointer-scroll.cpp1#include "../../hyprctlCompat.hpp"
LOWhyprtester/src/tests/clients/shortcut-inhibitor.cpp1#include "../../hyprctlCompat.hpp"
LOWhyprtester/src/tests/clients/keyboard-modifiers.cpp1#include "../../hyprctlCompat.hpp"
LOWhyprtester/src/tests/clients/child-window.cpp1#include "../../hyprctlCompat.hpp"
LOWhyprtester/src/tests/clients/pointer-warp.cpp1#include "../../hyprctlCompat.hpp"
LOWhyprtester/src/tests/main/groups.cpp1#include "tests.hpp"
LOWhyprtester/src/tests/main/hyprctl.cpp1#include "tests.hpp"
LOWhyprtester/src/tests/main/gestures.cpp1#include "tests.hpp"
LOWhyprtester/src/tests/main/misc.cpp1#include "tests.hpp"
LOWhyprtester/src/tests/main/misc.cpp21// NLog::log("{}Testing ANR dialogs", Colors::YELLOW);
LOWhyprtester/src/tests/main/misc.cpp41//
LOWhyprtester/src/tests/main/misc.cpp61// NLog::log("{}ANR dialog: named workspaces", Colors::YELLOW);
LOWhyprtester/src/tests/main/misc.cpp81//
LOWhyprtester/src/tests/main/misc.cpp101//
LOWhyprtester/src/tests/main/misc.cpp121// }
LOWhyprtester/src/tests/main/window.cpp1#include <unistd.h>
LOWhyprtester/src/tests/main/solitary.cpp1#include "tests.hpp"
LOWhyprtester/src/tests/main/solitary.cpp41
LOWhyprtester/src/tests/main/solitary.cpp61 // ASSERT_CONTAINS(str, "solitaryBlockedBy: null");
LOWhyprtester/src/tests/main/exec.cpp1#include "tests.hpp"
LOWhyprtester/src/tests/main/moveintoorcreategroup.cpp1#include "tests.hpp"
LOWhyprtester/src/tests/main/workspaces.cpp1#include "tests.hpp"
LOWhyprtester/src/tests/main/persistent.cpp1#include "tests.hpp"
LOWsrc/defines.hpp1#pragma once
LOWsrc/Compositor.hpp1#pragma once
LOWsrc/macros.hpp1#pragma once
LOWsrc/macros.hpp21#define SPECIAL_WORKSPACE_START (-99)
LOWsrc/includes.hpp1#pragma once
LOWsrc/includes.hpp21#include <GLES3/gl32.h>
LOWsrc/main.cpp1#include "defines.hpp"
LOWsrc/Compositor.cpp1#include <ranges>
LOWsrc/Compositor.cpp21#include "managers/SeatManager.hpp"
LOWsrc/Compositor.cpp41#ifdef USES_SYSTEMD
LOWsrc/Compositor.cpp61
LOWsrc/Compositor.cpp81#include "i18n/Engine.hpp"
LOWsrc/pch/pch.hpp1#include <algorithm>
LOWsrc/pch/pch.hpp21#include <string>
LOWsrc/config/ConfigValue.hpp1#pragma once
LOWsrc/config/ConfigValue.hpp21 public:
LOWsrc/config/values/ConfigValues.hpp1#pragma once
137 more matches not shown…
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippet
LOWmeta/generateLuaStubs.py30
LOWmeta/generateLuaStubs.py89
LOWmeta/generateLuaStubs.py156
LOWmeta/generateLuaStubs.py375
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippet
LOWmeta/generateLuaStubs.py238def lua_type_from_config_ctor(ctor: str) -> str:
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWmeta/generateLuaStubs.py3