Repository Analysis

TinyCC/tinycc

Unofficial mirror of mob development branch

6.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of TinyCC/tinycc, a C project with 3,001 GitHub stars. SynthScan v2.0 examined 131,609 lines of code across 351 source files, recording 1201 pattern matches distributed across 3 syntactic categories. The overall adjusted score of 6.7 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.7
Adjusted Score
6.7
Raw Score
100%
Time Factor
2026-08-09
Last Push
3.0K
Stars
C
Language
131.6K
Lines of Code
351
Files
1.2K
Pattern Hits
2026-08-09
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

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

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 0MEDIUM 1LOW 1200

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1201 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block1196 hits · 875 pts
SeverityFileLineSnippetContext
LOWi386-link.c1#ifdef TARGET_DEFS_ONLYCOMMENT
LOWi386-asm.c21COMMENT
LOWi386-asm.c41#define OPC_FARITH 0x40 /* FPU arithmetic opcodes */COMMENT
LOWi386-asm.c101 OPT_DISP, /* Like OPT_ADDR, but emitted as displacement (for jumps) */COMMENT
LOWi386-asm.c121#define OP_EAX (1 << OPT_EAX)COMMENT
LOWi386-asm.c141COMMENT
LOWi386-asm.c221 0x3e, /* ds */COMMENT
LOWi386-asm.c241#endifCOMMENT
LOWarm64-link.c1#ifdef TARGET_DEFS_ONLYCOMMENT
LOWi386-tok.h301 DEF_BWLX(slod)COMMENT
LOWi386-tok.h321COMMENT
LOWi386-gen.c21#ifdef TARGET_DEFS_ONLYCOMMENT
LOWtcctok.h441#include "riscv64-tok.h"COMMENT
LOWtexi2pod.pl1#! /usr/bin/perl -wCOMMENT
LOWarm-link.c1#ifdef TARGET_DEFS_ONLYCOMMENT
LOWconftest.c181/* Define architecture */COMMENT
LOWconftest.c201#elif defined(__NetBSD__)COMMENT
LOWconftest.c221# if defined (__ARM_PCS_VFP)COMMENT
LOWarm-gen.c21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USACOMMENT
LOWarm-gen.c41/* a register can belong to several classes. The classes must beCOMMENT
LOWarm-gen.c81#endifCOMMENT
LOWarm-gen.c121#ifdef TCC_ARM_EABICOMMENT
LOWarm-gen.c201// XXX: Works on OpenBSDCOMMENT
LOWlibtcc.c21#ifndef ONE_SOURCECOMMENT
LOWlibtcc.c41#include "arm64-gen.c"COMMENT
LOWdwarf.h1041 as 0xffffff00 whereas in fact it should be 0xfffffff0. */COMMENT
LOWc67-gen.c21#ifdef TARGET_DEFS_ONLYCOMMENT
LOWc67-gen.c41#define RC_C67_B5 0x00000800COMMENT
LOWelf.h121#define ELFMAG1 'E' /* Magic number byte 1 */COMMENT
LOWelf.h141#define ELFDATA2LSB 1 /* 2's complement, little endian */COMMENT
LOWelf.h161#define ELFOSABI_OPENBSD 12 /* OpenBSD. */COMMENT
LOWelf.h181#define ET_CORE 4 /* Core file */COMMENT
LOWelf.h201#define EM_PARISC 15 /* HPPA */COMMENT
LOWelf.h221#define EM_H8S 48 /* Hitachi H8S */COMMENT
LOWelf.h241#define EM_68HC16 69 /* Motorola MC68HC16 microcontroller */COMMENT
LOWelf.h261#define EM_MN10300 89 /* Matsushita MN10300 */COMMENT
LOWelf.h321#define SHN_BEFORE 0xff00 /* Order section before all othersCOMMENT
LOWelf.h341#define SHT_DYNAMIC 6 /* Dynamic linking information */COMMENT
LOWelf.h361#define SHT_SUNW_syminfo 0x6ffffffcCOMMENT
LOWelf.h441#define SYMINFO_FLG_COPY 0x0004 /* Symbol is a copy-reloc */COMMENT
LOWelf.h461/* Legal values for ST_BIND subfield of st_info (symbol binding). */COMMENT
LOWelf.h581COMMENT
LOWelf.h601#define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */COMMENT
LOWelf.h621#define NT_PRSTATUS 1 /* Contains copy of prstatus struct */COMMENT
LOWelf.h641#define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */COMMENT
LOWelf.h681 } d_un;COMMENT
LOWelf.h701#define DT_RPATH 15 /* Library search path (deprecated) */COMMENT
LOWelf.h721#define DT_LOOS 0x6000000d /* Start of OS-specific */COMMENT
LOWelf.h741#define DT_SYMINSZ 0x6ffffdfe /* Size of syminfo table (in bytes) */COMMENT
LOWelf.h761#define DT_PLTPAD 0x6ffffefd /* PLT padding. */COMMENT
LOWelf.h781 versions */COMMENT
LOWelf.h801 entry in the dynamic section. */COMMENT
LOWelf.h821#define DF_1_NOKSYMS 0x00080000COMMENT
LOWelf.h981 uint64_t a_val; /* Integer value */COMMENT
LOWelf.h1001#define AT_UID 11 /* Real uid */COMMENT
LOWelf.h1141COMMENT
LOWelf.h1161#define R_68K_PLT16 14 /* 16 bit PC relative PLT address */COMMENT
LOWelf.h1181#define R_68K_TLS_IE8 36 /* 8 bit GOT offset for IE */COMMENT
LOWelf.h1201#define R_386_GOT32 3 /* 32 bit GOT entry */COMMENT
LOWelf.h1221 in LE code */COMMENT
1136 more matches not shown…
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/abitest.c293typedef reg_pack_longlong_test_type (*reg_pack_longlong_test_function_type) (reg_pack_longlong_test_type);CODE
LOWtests/abitest.c326typedef reg_pack_longlong_test_type (*ret_6plus2longlong_test_function_type) (long long, long long, long long, long longCODE
LOWtests/abitest.c379typedef one_member_union_test_type (*one_member_union_test_function_type) (one_member_union_test_type);CODE
LOWtests/abitest.c406typedef two_member_union_test_type (*two_member_union_test_function_type) (two_member_union_test_type);CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtexi2pod.pl5# This file is part of GNU CC.COMMENT