Repository Analysis

asmvik/yabai

A tiling window manager for macOS based on binary space partitioning

1.5 Likely human-written View on GitHub
1.5
Adjusted Score
1.5
Raw Score
100%
Time Factor
2026-05-18
Last Push
28,973
Stars
C
Language
21,518
Lines of Code
61
Files
33
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 33

Pattern Findings

33 matches across 1 category. Click a row to expand file-level details.

Over-Commented Block33 hits · 33 pts
SeverityFileLineSnippet
LOWscripts/install.sh1#!/usr/bin/env sh
LOWsrc/workspace.m41 // :WorstApiEverMade
LOWsrc/application.h1#ifndef APPLICATION_H
LOWsrc/manifest.m1#include <objc/objc-runtime.h>
LOWsrc/manifest.m21#include <dirent.h>
LOWsrc/manifest.m41#include <pwd.h>
LOWsrc/manifest.m61#include "osax/common.h"
LOWsrc/manifest.m81#include "mission_control.c"
LOWsrc/yabai.c1#define SA_SOCKET_PATH_FMT "/tmp/yabai-sa_%s.socket"
LOWsrc/message.c21
LOWsrc/message.c41#define COMMAND_CONFIG_BOTTOM_PADDING "bottom_padding"
LOWsrc/message.c61#define ARGUMENT_CONFIG_DISPLAY_ORDER_X "horizontal"
LOWsrc/message.c81#define ARGUMENT_CONFIG_MOUSE_MOD_CTRL "ctrl"
LOWsrc/message.c101#define COMMAND_SPACE_CREATE "--create"
LOWsrc/message.c121#define ARGUMENT_SPACE_TGL_PADDING "padding"
LOWsrc/message.c141#define COMMAND_WINDOW_GRID "--grid"
LOWsrc/message.c161#define ARGUMENT_WINDOW_MOVE "%255[^:]:%f:%f"
LOWsrc/message.c181
LOWsrc/message.c201#define ARGUMENT_RULE_KEY_ROLE "role"
LOWsrc/message.c221#define COMMAND_SIGNAL_REM "--remove"
LOWsrc/message.c241#define ARGUMENT_COMMON_SEL_LAST "last"
LOWsrc/misc/service.h221 // NOTE(asmvik): Service is not bootstrapped and could be disabled.
LOWsrc/misc/timer.h141 __attribute((cleanup(END_TIME_BLOCK))) struct time_block tb_##label;\
LOWsrc/misc/timer.h161#define TIME_BODY(label, c) c
LOWsrc/misc/macros.h1#ifndef MACROS_H
LOWsrc/misc/macros.h21
LOWsrc/misc/macros.h41
LOWsrc/misc/sbuffer.h1#ifndef SBUFFER_H
LOWsrc/osax/loader.m1#include <Cocoa/Cocoa.h>
LOWsrc/osax/common.h1#ifndef SA_COMMON_H
LOWsrc/osax/payload.m1#include <Foundation/Foundation.h>
LOWsrc/osax/payload.m21
LOWsrc/osax/payload.m301 NSLog(@"[yabai-sa] (0x%llx) dppm found at address 0x%llX (0x%llx)", baseaddr, dppm_offset, dppm_offset - baseadd