Maintained continuation of Stefan Sundin's AltDrag
This report summarizes scanner evidence for RamonUnch/AltSnap, a C project with 5,353 GitHub stars. SynthScan examined 25,976 lines of code across 40 source files, recording 48 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 48 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 48 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 48 distinct pattern matches across 1 syntactic category. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | snap.c | 1 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | COMMENT |
| LOW | snap.c | 21 | #define SNMIN (1<<12) | COMMENT |
| LOW | snap.c | 241 | //static int GetRolledHeight(HWND hwnd) | COMMENT |
| LOW | snap.c | 261 | //static void SetRolledHeight(HWND hwnd, int rolledh) | COMMENT |
| LOW | snap.c | 281 | //{ | COMMENT |
| LOW | hooks.h | 1 | #ifndef ALTDRAG_RPC_H | COMMENT |
| LOW | hooks.h | 21 | // Old version of MINGW64 header or MINGW32 only! | COMMENT |
| LOW | hooks.h | 41 | #define CMD_CLOSEZONES (431) | COMMENT |
| LOW | hooks.h | 61 | #define LP_ROLLED (1<<4) | COMMENT |
| LOW | hooks.h | 81 | #define WM_TRAY (WM_USER+2) | COMMENT |
| LOW | unfuck.h | 81 | # define LOWORDPTR(ll) ((DWORD) (ll)) | COMMENT |
| LOW | unfuck.h | 101 | #endif | COMMENT |
| LOW | unfuck.h | 121 | #ifndef STACK_SIZE_PARAM_IS_A_RESERVATION | COMMENT |
| LOW | unfuck.h | 141 | #ifndef EVENT_SYSTEM_MOVESIZESTART | COMMENT |
| LOW | unfuck.h | 161 | # define GWLP_HINSTANCE (-6) | COMMENT |
| LOW | unfuck.h | 181 | # define WM_XBUTTONUP 0x020C | COMMENT |
| LOW | unfuck.h | 201 | #endif | COMMENT |
| LOW | unfuck.h | 301 | # define LOG if(0) LOGdummy | COMMENT |
| LOW | unfuck.h | 321 | #endif /* [C89 - C23[ */ | COMMENT |
| LOW | nanolibc.h | 1 | #ifndef NANOLIBC_H | COMMENT |
| LOW | nanolibc.h | 21 | #define ainline __attribute__((always_inline)) | COMMENT |
| LOW | nanolibc.h | 581 | { | COMMENT |
| LOW | nanolibc.h | 601 | #define lstrcmpiW wcsicmp | COMMENT |
| LOW | nanolibc.h | 801 | COMMENT | |
| LOW | nanolibc.h | 1021 | #define free(x) do { int sz = db_free(x, __FILE__, __LINE__); if(sz)LOG("free - %d bytes in "__FILE__":%d", (int)sz, __L | COMMENT |
| LOW | nanolibc.h | 1041 | #undef ALLOC_EPADDING | COMMENT |
| LOW | zones.c | 321 | COMMENT | |
| LOW | config.c | 401 | #define ReadOptionInt(id, section, name, def, mask) ReadOptionIntW(hwnd, id, section, name, def, mask) | COMMENT |
| LOW | config.c | 921 | {TEXT("Nothing"), L10NIDX(InputActionNothing) }, | COMMENT |
| LOW | resource.h | 1 | #ifndef AS_RESOURCE_H | COMMENT |
| LOW | resource.h | 21 | #define IDD_ABOUTPAGE 206 | COMMENT |
| LOW | resource.h | 41 | #define IDC_SCROLL_HEADER 1004 | COMMENT |
| LOW | resource.h | 61 | #define IDC_AUTOSNAP 1102 | COMMENT |
| LOW | resource.h | 81 | #define IDC_PROCESSBLACKLIST 1507 | COMMENT |
| LOW | resource.h | 101 | #define IDC_ADVANCEDBT_AC 1527 | COMMENT |
| LOW | resource.h | 121 | #define IDC_RZCENTER_BR 2018 | COMMENT |
| LOW | resource.h | 141 | #define IDC_TTBACTIONSWA 2037 | COMMENT |
| LOW | resource.h | 161 | #define IDC_AEROSPEED 2057 | COMMENT |
| LOW | resource.h | 181 | #define IDC_NORESTORE 2076 | COMMENT |
| LOW | resource.h | 201 | #define IDC_SHORTCUTS_H 2096 | COMMENT |
| LOW | hooks.c | 21 | #define SPEED_TIMER (3) | COMMENT |
| LOW | hooks.c | 1521 | // if ( cdpi && cdpi != lw->odpi ) { | COMMENT |
| LOW | hooks.c | 1621 | COMMENT | |
| LOW | hooks.c | 1641 | // UINT dpiX, dpiY; | COMMENT |
| LOW | hooks.c | 4881 | // // TODO: Handle MDI clients. | COMMENT |
| LOW | hooks.c | 6121 | // USHORT id = (UINT) LOWORD(wParam); // identifier of the menu item | COMMENT |
| LOW | hooks.c | 6681 | #endif | COMMENT |
| LOW | altsnap.c | 201 | // } else if (gui.hwndFocus) { | COMMENT |