Repository Analysis

siddharthvaddem/openscreen

Create stunning demos for free. Open-source, no subscriptions, no watermarks, and free for commercial use. An alternative to Screen Studio.

4.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of siddharthvaddem/openscreen, a TypeScript project with 39,344 GitHub stars. SynthScan v2.0 examined 73,231 lines of code across 345 source files, recording 184 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 4.5 places this repository in the Likely human-written 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).

4.5
Adjusted Score
4.5
Raw Score
100%
Time Factor
2026-06-17
Last Push
39.3K
Stars
TypeScript
Language
73.2K
Lines of Code
345
Files
184
Pattern Hits
2026-07-14
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 54LOW 130

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 184 distinct pattern matches across 4 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.

Decorative Section Separators53 hits · 195 pts
SeverityFileLineSnippetContext
MEDIUMscripts/build_macos.sh11# ── Load .env ─────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh25# ── Config ────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh31# ── Colors ────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh44# ── Preflight ─────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh92# ── Clean ─────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh99# ── Install Dependencies ─────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh104# ── Build Vite + Electron ────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh109# ── Package, Sign, Notarize per Architecture ─────────────────────────COMMENT
MEDIUMscripts/build_macos.sh116 # ── Package with electron-builder ─────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh136 # ── Verify codesign on .app ───────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh141 # ── Create DMG ────────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh167 # ── Sign DMG ──────────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh172 # ── Notarize DMG ──────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh179 # ── Staple ────────────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh184 # ── Validate ──────────────────────────────────────────────────COMMENT
MEDIUMscripts/build_macos.sh191# ── Clean up unpacked dirs (keep only DMGs) ───────────────────────────COMMENT
MEDIUMscripts/build_macos.sh196# ── Done ──────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml59 # ─── Checkout ─────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml63 # ─── Setup Node.js ────────────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml70 # ─── Setup Python (needed by some native deps) ────────────COMMENT
MEDIUM.github/workflows/build.yml76 # ─── Install Dependencies ─────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml80 # ─── Ensure sharp prebuilt binary (+ bundled libvips) ─────COMMENT
MEDIUM.github/workflows/build.yml89 # ─── Cache caption assets ─────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml97 # ─── Import Code Signing Certificate ──────────────────────COMMENT
MEDIUM.github/workflows/build.yml150 # ─── Package with electron-builder ────────────────────────COMMENT
MEDIUM.github/workflows/build.yml160 # ─── Read version from package.json ───────────────────────COMMENT
MEDIUM.github/workflows/build.yml165 # ─── Locate the .app bundle ───────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml233 # ─── Staple ───────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml237 # ─── Validate ─────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml243 # ─── Upload Artifact ──────────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml251 # ─── Cleanup Keychain ─────────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml135 # ─── Build Vite + Electron ────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml139 # ─── Build native macOS helpers ───────────────────────────COMMENT
MEDIUM.github/workflows/build.yml181 # ─── Verify .app signature ────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml185 # ─── Create DMG ───────────────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml213 # ─── Sign DMG ─────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/build.yml221 # ─── Notarize DMG ────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp18// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp20// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp36// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp38// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp87// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp89// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp105// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp107// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp139// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp141// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp176// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp184// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp312// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp314// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp409// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMelectron/native/wgc-capture/src/cursor-sampler.cpp411// ─────────────────────────────────────────────────────────────────────────────COMMENT
Hyper-Verbose Identifiers123 hits · 122 pts
SeverityFileLineSnippetContext
LOWelectron/main.ts367function createEditorWindowWrapper() {CODE
LOWelectron/main.ts410function createSourceSelectorWindowWrapper() {CODE
LOWelectron/main.ts418function createCountdownOverlayWindowWrapper() {CODE
LOWelectron/windows.ts231export function createSourceSelectorWindow(): BrowserWindow {CODE
LOWelectron/windows.ts275export function createCountdownOverlayWindow(): BrowserWindow {CODE
LOWelectron/globalShortcut.ts64export async function loadAndRegisterGlobalShortcut(onTrigger: () => void): Promise<void> {CODE
LOWelectron/globalShortcut.ts75export function unregisterAllGlobalShortcuts(): void {CODE
LOWelectron/native-bridge/cursor/recording/factory.ts16export function createCursorRecordingSession(CODE
LOW…ge/cursor/recording/macNativeCursorRecordingSession.ts82export async function requestMacCursorAccessibilityAccess() {CODE
LOW…idge/cursor/recording/windowsNativeRecordingSession.ts18function getCursorSamplerCandidates(): string[] {CODE
LOWelectron/ipc/recordingStream.ts95export function registerRecordingStreamHandlers(CODE
LOWelectron/ipc/handlers.ts1032function tryParseNativeHelperEvent(line: string) {CODE
LOWelectron/ipc/handlers.ts1041function inspectNativeMacCaptureOutput() {CODE
LOWelectron/ipc/handlers.ts1050function attachNativeMacCaptureOutputDrain(proc: ChildProcessWithoutNullStreams) {CODE
LOWelectron/ipc/handlers.ts1183function setCurrentRecordingSessionState(session: RecordingSession | null) {CODE
LOWelectron/ipc/handlers.ts1188function getSessionManifestPathForVideo(videoPath: string) {CODE
LOWelectron/ipc/handlers.ts1196async function loadRecordedSessionForVideoPath(CODE
LOWelectron/ipc/handlers.ts113function hasAllowedImportVideoExtension(filePath: string): boolean {CODE
LOWelectron/ipc/handlers.ts136function parseAfinfoAudioTrackBitrates(output: string): number[] {CODE
LOWelectron/ipc/handlers.ts146async function prepareSupplementalPreviewAudioTrack(videoPath: string) {CODE
LOWelectron/ipc/handlers.ts253function resolveRecordingOutputPath(fileName: string): string {CODE
LOWelectron/ipc/handlers.ts295async function getApprovedProjectSession(CODE
LOWelectron/ipc/handlers.ts605function resolvePackagedResourcePath(...segments: string[]) {CODE
LOWelectron/ipc/handlers.ts613function getNativeWindowsCaptureHelperCandidates() {CODE
LOWelectron/ipc/handlers.ts632async function findNativeWindowsCaptureHelperPath() {CODE
LOWelectron/ipc/handlers.ts649function getNativeMacCaptureHelperCandidates() {CODE
LOWelectron/ipc/handlers.ts661async function findNativeMacCaptureHelperPath() {CODE
LOWelectron/ipc/handlers.ts678function isWindowsGraphicsCaptureOsSupported() {CODE
LOWelectron/ipc/handlers.ts687function normalizeNativeDeviceName(value: string) {CODE
LOWelectron/ipc/handlers.ts721function queryDirectShowVideoInputRegistry() {CODE
LOWelectron/ipc/handlers.ts739async function resolveDirectShowWebcamClsid(deviceName?: string) {CODE
LOWelectron/ipc/handlers.ts824async function writePendingCursorTelemetry(videoPath: string) {CODE
LOWelectron/ipc/handlers.ts832function shiftPendingCursorTelemetry(offsetMs: number) {CODE
LOWelectron/ipc/handlers.ts848function compactPendingCursorTelemetryPauseRanges(CODE
LOWelectron/ipc/handlers.ts892function completeNativeMacCursorPauseRange(endMs = Date.now()) {CODE
LOWelectron/ipc/handlers.ts904function completeNativeWindowsCursorPauseRange(endMs = Date.now()) {CODE
LOWelectron/ipc/handlers.ts916function waitForNativeWindowsCaptureStart(proc: ChildProcessWithoutNullStreams) {CODE
LOWelectron/ipc/handlers.ts958function waitForNativeWindowsCaptureStop(proc: ChildProcessWithoutNullStreams) {CODE
LOWelectron/ipc/handlers.ts1013function readNativeWindowsWebcamFormat(output: string) {CODE
LOWelectron/ipc/handlers.ts1078function waitForNativeMacCaptureStart(proc: ChildProcessWithoutNullStreams) {CODE
LOWelectron/ipc/handlers.ts1125function waitForNativeMacCaptureStop(proc: ChildProcessWithoutNullStreams) {CODE
LOWelectron/ipc/handlers.ts2216 async function storeRecordedSessionFiles(payload: StoreRecordedSessionInput) {CODE
LOWelectron/ipc/handlers.ts2820 function getCurrentVideoPathResult(): ProjectPathResult {CODE
LOWelectron/ipc/nativeBridge.ts92export function registerNativeBridgeHandlers(context: NativeBridgeContext) {CODE
LOWsrc/utils/aspectRatioUtils.ts45export function getNativeAspectRatioValue(CODE
LOWsrc/components/launch/openSourceSelectorFlow.ts24function shouldRetryAfterPermissionPrompt(result: OpenSourceSelectorResult): boolean {CODE
LOWsrc/components/launch/openSourceSelectorFlow.ts32export async function openSourceSelectorWithPermissionRetry({CODE
LOWsrc/components/video-editor/VideoPlayback.tsx207function enableAllPreviewAudioTracks(video: HTMLVideoElement) {CODE
LOWsrc/components/video-editor/VideoEditor.tsx141function getFileNameForDiagnostics(filePath?: string | null) {CODE
LOWsrc/components/video-editor/VideoEditor.tsx156function buildExportDiagnosticMessage(diagnostics: ExportDiagnostics) {CODE
LOWsrc/components/video-editor/VideoEditor.tsx173function buildSaveDiagnosticMessage(formatLabel: "GIF" | "Video", reason?: string) {CODE
LOWsrc/components/video-editor/backgroundImageUpload.ts6export function isSupportedBackgroundImageType(type: string, fileName: string): boolean {CODE
LOWsrc/components/video-editor/customPlaybackSpeed.ts14export function parseCustomPlaybackSpeedInput(rawValue: string): CustomPlaybackSpeedInputResult {CODE
LOWsrc/components/video-editor/projectPersistence.ts108function computeNormalizedWebcamLayoutPreset(CODE
LOW…omponents/video-editor/videoPlayback/cursorRenderer.ts274export function interpolateCursorPosition(CODE
LOW…omponents/video-editor/videoPlayback/cursorRenderer.ts328function findLatestInteractionSample(samples: CursorTelemetryPoint[], timeMs: number) {CODE
LOW…omponents/video-editor/videoPlayback/cursorRenderer.ts348function findLatestStableCursorType(samples: CursorTelemetryPoint[], timeMs: number) {CODE
LOW…onents/video-editor/videoPlayback/cursorFollowUtils.ts89export function timeCorrectedFollowFactor(CODE
LOWsrc/components/video-editor/videoPlayback/mathUtils.ts10function sampleCubicBezierDerivative(a1: number, a2: number, t: number) {CODE
LOW…mponents/video-editor/videoPlayback/zoomRegionUtils.ts201function getConnectedRegionTransition(CODE
63 more matches not shown…
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWelectron/native/wgc-capture/src/cursor-sampler.cpp1#include <windows.h>COMMENT
LOWelectron/native/wgc-capture/src/webcam_capture.h1#pragma onceCOMMENT
LOW…ctron/native/wgc-capture/src/wasapi_loopback_capture.h1#pragma onceCOMMENT
LOW…ectron/native/wgc-capture/src/dshow_webcam_capture.cpp1#include "dshow_webcam_capture.h"COMMENT
LOWelectron/native/wgc-capture/src/main.cpp1#include "audio_sample_utils.h"COMMENT
LOWelectron/native/wgc-capture/src/wgc_session.h1#pragma onceCOMMENT
LOWsrc/vite-env.d.ts1/// <reference types="vite/client" />COMMENT
Self-Referential Comments1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/build.yml106 # Create a temporary keychainCOMMENT