Repository Analysis

XayahSuSuSu/Android-DataBackup

DataBackup for Android 7.0+

4.2 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of XayahSuSuSu/Android-DataBackup, a Kotlin project with 7,139 GitHub stars. SynthScan v2.0 examined 221,119 lines of code across 1056 source files, recording 1021 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 4.2 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.2
Adjusted Score
4.2
Raw Score
100%
Time Factor
2026-07-31
Last Push
7.1K
Stars
Kotlin
Language
221.1K
Lines of Code
1.1K
Files
1.0K
Pattern Hits
2026-08-02
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 5HIGH 0MEDIUM 3LOW 1013

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 1021 distinct pattern matches across 5 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 Block1007 hits · 859 pts
SeverityFileLineSnippetContext
LOW…/main/kotlin/com/xayah/core/ui/component/ModalPopup.kt201// override fun internalOnMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {COMMENT
LOW…kotlin/com/xayah/core/ui/material3/util/MathHelpers.kt141 //COMMENT
LOW…kotlin/com/xayah/core/ui/material3/util/MathHelpers.kt161 // Where:COMMENT
LOW…kotlin/com/xayah/core/ui/material3/util/MathHelpers.kt181 //COMMENT
LOW…kotlin/com/xayah/core/ui/material3/util/MathHelpers.kt201 //COMMENT
LOW…kotlin/com/xayah/core/ui/material3/util/MathHelpers.kt221 // more rounds don't improve the results significantly given our use cases.COMMENT
LOW…ain/kotlin/com/xayah/core/ui/material3/window/Popup.kt421 override fun Content() {COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2021# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2041# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2321/* #undef UNLINK_PARENT_BUG */COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2361# define _OPENBSD_SOURCE 1COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2381# define __STDC_WANT_IEC_60559_BFP_EXT__ 1COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2401# define __STDC_WANT_LIB_EXT2__ 1COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2581 : 5 <= __clang_major__)))COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2601# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2641/* Applies to: function, pointer to function, function types. */COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2681# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2741# ifndef _GL_BRACKET_BEFORE_ATTRIBUTECOMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2761#if !(defined _GL_ATTRIBUTE_ERROR && defined _GL_ATTRIBUTE_WARNING)COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2781# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLECOMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2841# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2881# if __has_c_attribute (__maybe_unused__)COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2901# ifndef _GL_BRACKET_BEFORE_ATTRIBUTECOMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2941#ifndef _GL_ATTRIBUTE_NONNULLCOMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h2981# if _GL_HAS_ATTRIBUTE (packed)COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h3021# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h3041/* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;'COMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h3281# undef/**/_AlignofCOMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h3341# endifCOMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h3361# elseCOMMENT
LOW…e/native/src/main/jni/external/tar/tar-config/config.h3381 #undef/**/__ASSERT_H__COMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h141 # elseCOMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h501 _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared");COMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h521 __attribute__ ((__warning__ (message)))COMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h561 __attribute__ ((__diagnose_if__ (1, msg, "warning")))COMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h581#endifCOMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h641# if GNULIB_PORTCHECKCOMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h701# elseCOMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h721_GL_CXXALIAS_RPL (tzset, void, (void));COMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h741_GL_CXXALIAS_MDA (tzset, void, (void));COMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h821# define localtime rpl_localtimeCOMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h981# endifCOMMENT
LOW…tive/src/main/jni/external/tar/tar-gnu-embedded/time.h1001# endifCOMMENT
LOW…ive/src/main/jni/external/tar/tar-gnu-embedded/error.h81 #if @GNULIB_FOO@COMMENT
LOW…ive/src/main/jni/external/tar/tar-gnu-embedded/error.h121 _GL_CXXALIAS_RPL (foo, ...);COMMENT
LOW…ive/src/main/jni/external/tar/tar-gnu-embedded/error.h461 return error (__status, __errnum, __format, __builtin_va_arg_pack ());COMMENT
LOW…ive/src/main/jni/external/tar/tar-gnu-embedded/utime.h121COMMENT
LOW…ive/src/main/jni/external/tar/tar-gnu-embedded/utime.h541# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)COMMENT
LOW…ive/src/main/jni/external/tar/tar-gnu-embedded/utime.h581COMMENT
LOW…ive/src/main/jni/external/tar/tar-gnu-embedded/utime.h601_GL_CXXALIAS_SYS (utime, int, (const char *filename, const struct utimbuf *ts));COMMENT
LOW…ive/src/main/jni/external/tar/tar-gnu-embedded/utime.h621# endifCOMMENT
LOW…e/src/main/jni/external/tar/tar-gnu-embedded/unicase.h21#include "unitypes.h"COMMENT
LOW…/src/main/jni/external/tar/tar-gnu-embedded/inttypes.h41# include_next <inttypes.h>COMMENT
LOW…/src/main/jni/external/tar/tar-gnu-embedded/inttypes.h581#ifndef _GL_WARN_EXTERN_CCOMMENT
LOW…/src/main/jni/external/tar/tar-gnu-embedded/inttypes.h601# define PRId8 "d"COMMENT
LOW…/src/main/jni/external/tar/tar-gnu-embedded/inttypes.h621# define PRIx8 "x"COMMENT
LOW…/src/main/jni/external/tar/tar-gnu-embedded/inttypes.h641# define PRIo16 "o"COMMENT
LOW…/src/main/jni/external/tar/tar-gnu-embedded/inttypes.h661# define PRId32 "d"COMMENT
LOW…/src/main/jni/external/tar/tar-gnu-embedded/inttypes.h681# define PRIx32 "x"COMMENT
LOW…/src/main/jni/external/tar/tar-gnu-embedded/inttypes.h701# define PRIi64 _PRI64_PREFIX "i"COMMENT
947 more matches not shown…
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICAL…/src/main/kotlin/com/xayah/core/ui/component/Common.kt171 com.xayah.core.ui.material3.Surface(onClick = onClick) {CODE
CRITICAL…/src/main/kotlin/com/xayah/core/ui/component/Common.kt261 com.xayah.core.ui.material3.Surface(onClick = onClick) {CODE
CRITICAL…ui/src/main/kotlin/com/xayah/core/ui/component/Chip.kt432 com.xayah.core.ui.material3.Surface(CODE
CRITICAL…otlin/com/xayah/core/ui/component/ProgressIndicator.kt149 com.xayah.core.ui.component.LinearProgressIndicator(CODE
CRITICAL…otlin/com/xayah/core/ui/component/ProgressIndicator.kt157 com.xayah.core.ui.component.LinearProgressIndicator(CODE
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…material3/pullrefresh/PullRefreshIndicatorTransform.kt49 // Essentially we only want to clip the at the top, so the indicator will not appear whenCOMMENT
MEDIUM…n/com/xayah/core/ui/theme/ThemedDynamicTonalPalette.kt186 // SDKs 31-33 return Chroma4 values for neutral palette, we instead leverage neutralCOMMENT
MEDIUM…n/com/xayah/core/ui/theme/ThemedDynamicTonalPalette.kt208 // SDKs 31-33 return Chroma4 values for neutral palette, we instead leverage neutralCOMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…/main/kotlin/com/xayah/core/ui/component/ModalPopup.kt567 // e.g. the soft keyboard changes visibility. For that reason, we need to check if we've movedCOMMENT
LOW…ain/kotlin/com/xayah/core/ui/material3/window/Popup.kt250 // e.g. the soft keyboard changes visibility. For that reason, we need to check if we've movedCOMMENT
LOW…n/java/com/xayah/databackup/ui/material3/ModalPopup.kt371 // e.g. the soft keyboard changes visibility. For that reason, we need to check if we've movedCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…n/src/main/kotlin/ApplicationCommonConventionPlugin.kt17 storeFile = file(System.getenv("STORE_FILE") ?: "placeholder")CODE
LOW…eature/main/settings/src/main/res/raw/translators.json454 "full_name": "John Doe",CODE
LOW…yah/databackup/ui/material3/placeholder/Placeholder.kt118 name = "placeholder"CODE