Repository Analysis

ophub/amlogic-s9xxx-armbian

Supports running Armbian on Amlogic, Allwinner, and Rockchip devices. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.

20.0 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ophub/amlogic-s9xxx-armbian, a Shell project with 9,449 GitHub stars. SynthScan v2.0 examined 19,078 lines of code across 130 source files, recording 130 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 20.0 places this repository in the Moderate 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).

20.0
Adjusted Score
20.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
9.4K
Stars
Shell
Language
19.1K
Lines of Code
130
Files
130
Pattern Hits
2026-07-14
Scan Date
0.02
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 2MEDIUM 79LOW 49

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 130 distinct pattern matches across 6 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 Separators50 hits · 188 pts
SeverityFileLineSnippetContext
MEDIUMcompile-kernel/tools/script/armbian_compile_kernel.sh2#==================================================================================COMMENT
MEDIUMcompile-kernel/tools/script/armbian_compile_kernel.sh132#==================================================================================COMMENT
MEDIUM…rnel/tools/script/docker/build_armbian_docker_image.sh2#================================================================================================COMMENT
MEDIUM…rnel/tools/script/docker/build_armbian_docker_image.sh44#================================================================================================COMMENT
MEDIUM…ernel/tools/script/docker/build_armbian_rootfs_file.sh2#==========================================================================COMMENT
MEDIUM…ernel/tools/script/docker/build_armbian_rootfs_file.sh41#==========================================================================COMMENT
MEDIUM.github/workflows/compile-kernel.yml1#==========================================================================COMMENT
MEDIUM.github/workflows/compile-kernel.yml5#==========================================================================COMMENT
MEDIUM.github/workflows/build-armbian-arm64-server-image.yml1#==========================================================================COMMENT
MEDIUM.github/workflows/build-armbian-arm64-server-image.yml4#==========================================================================COMMENT
MEDIUM.github/workflows/delete-older-releases-workflows.yml1#==========================================================================COMMENT
MEDIUM.github/workflows/delete-older-releases-workflows.yml4#==========================================================================COMMENT
MEDIUM…ithub/workflows/build-armbian-using-releases-files.yml1#==========================================================================COMMENT
MEDIUM…ithub/workflows/build-armbian-using-releases-files.yml4#==========================================================================COMMENT
MEDIUM.github/workflows/build-armbian-x86-server-image.yml1#==========================================================================COMMENT
MEDIUM.github/workflows/build-armbian-x86-server-image.yml4#==========================================================================COMMENT
MEDIUM.github/workflows/build-armbian-arm64-docker-image.yml1#=====================================================================================COMMENT
MEDIUM.github/workflows/build-armbian-arm64-docker-image.yml6#=====================================================================================COMMENT
MEDIUM…ithub/workflows/build-armbian-using-official-image.yml1#==========================================================================COMMENT
MEDIUM…ithub/workflows/build-armbian-using-official-image.yml4#==========================================================================COMMENT
MEDIUMdocuments/README.cn.md1576# ===================================================================================COMMENT
MEDIUMdocuments/README.cn.md1579# ===================================================================================COMMENT
MEDIUMdocuments/README.cn.md1581# -----------------------------------------------------------------------------------COMMENT
MEDIUMdocuments/README.cn.md1591# ===================================================================================COMMENT
MEDIUMdocuments/README.md1583# ===================================================================================COMMENT
MEDIUMdocuments/README.md1586# ===================================================================================COMMENT
MEDIUMdocuments/README.md1588# -----------------------------------------------------------------------------------COMMENT
MEDIUMdocuments/README.md1598# ===================================================================================COMMENT
MEDIUMdocuments/README.ja.md1576# ===================================================================================COMMENT
MEDIUMdocuments/README.ja.md1579# ===================================================================================COMMENT
MEDIUMdocuments/README.ja.md1581# -----------------------------------------------------------------------------------COMMENT
MEDIUMdocuments/README.ja.md1591# ===================================================================================COMMENT
MEDIUM…ferent-files/a311d-oes/rootfs/usr/bin/oes_sata_leds.sh2# ==================================================================================COMMENT
MEDIUM…ferent-files/a311d-oes/rootfs/usr/bin/oes_sata_leds.sh10# ==================================================================================COMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/301-frps.sh2#============================================================================COMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/301-frps.sh43#============================================================================COMMENT
MEDIUM…es/usr/share/ophub/armbian-software/command-desktop.sh2#============================================================================COMMENT
MEDIUM…es/usr/share/ophub/armbian-software/command-desktop.sh39#============================================================================COMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/302-frpc.sh2#============================================================================COMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/302-frpc.sh43#============================================================================COMMENT
MEDIUM…es/usr/share/ophub/armbian-software/command-service.sh2#============================================================================COMMENT
MEDIUM…es/usr/share/ophub/armbian-software/command-service.sh31#============================================================================COMMENT
MEDIUM…les/usr/share/ophub/armbian-software/command-docker.sh2#============================================================================COMMENT
MEDIUM…les/usr/share/ophub/armbian-software/command-docker.sh49#============================================================================COMMENT
MEDIUM…s/usr/share/ophub/armbian-software/software-command.sh2#============================================================================COMMENT
MEDIUM…s/usr/share/ophub/armbian-software/software-command.sh64#============================================================================COMMENT
MEDIUM…re/ophub/armbian-software/201-desktop-chinese-fonts.sh2#============================================================================COMMENT
MEDIUM…re/ophub/armbian-software/201-desktop-chinese-fonts.sh36#============================================================================COMMENT
MEDIUM…files/common-files/etc/custom_service/start_service.sh2#========================================================================================COMMENT
MEDIUM…files/common-files/etc/custom_service/start_service.sh17#========================================================================================COMMENT
Self-Referential Comments29 hits · 120 pts
SeverityFileLineSnippetContext
MEDIUMcompile-kernel/tools/script/armbian_compile_kernel.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUMcompile-kernel/tools/script/armbian_compile_kernel.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUMcompile-kernel/tools/script/armbian_compile_kernel.sh587 # Create a temp directoryCOMMENT
MEDIUM…rnel/tools/script/docker/build_armbian_docker_image.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…rnel/tools/script/docker/build_armbian_docker_image.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUM…ernel/tools/script/docker/build_armbian_rootfs_file.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…ernel/tools/script/docker/build_armbian_rootfs_file.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUMcompile-kernel/tools/script/docker/docker_startup.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUMcompile-kernel/tools/script/docker/docker_startup.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/301-frps.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/301-frps.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/301-frps.sh30# Define the softwareCOMMENT
MEDIUM…es/usr/share/ophub/armbian-software/command-desktop.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…es/usr/share/ophub/armbian-software/command-desktop.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/302-frpc.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/302-frpc.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUM…mon-files/usr/share/ophub/armbian-software/302-frpc.sh30# Define the softwareCOMMENT
MEDIUM…es/usr/share/ophub/armbian-software/command-service.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…es/usr/share/ophub/armbian-software/command-service.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUM…les/usr/share/ophub/armbian-software/command-docker.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…les/usr/share/ophub/armbian-software/command-docker.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUM…les/usr/share/ophub/armbian-software/command-docker.sh632 # Create a local persistent directoryCOMMENT
MEDIUM…les/usr/share/ophub/armbian-software/command-docker.sh686 # Create a virtual network: macvlanCOMMENT
MEDIUM…s/usr/share/ophub/armbian-software/software-command.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…s/usr/share/ophub/armbian-software/software-command.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUM…re/ophub/armbian-software/201-desktop-chinese-fonts.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…re/ophub/armbian-software/201-desktop-chinese-fonts.sh8# This file is a part of the Rebuild ArmbianCOMMENT
MEDIUM…files/common-files/etc/custom_service/start_service.sh4# This file is licensed under the terms of the GNU General PublicCOMMENT
MEDIUM…files/common-files/etc/custom_service/start_service.sh8# This file is a part of the Rebuild ArmbianCOMMENT
Redundant / Tautological Comments17 hits · 31 pts
SeverityFileLineSnippetContext
LOWcompile-kernel/tools/script/armbian_compile_kernel.sh77# Set whether to use the latest kernel, options: [ true / false ]COMMENT
LOWcompile-kernel/tools/script/armbian_compile_kernel.sh79# Set whether to apply custom kernel patches, options: [ true / false ]COMMENT
LOWcompile-kernel/tools/script/armbian_compile_kernel.sh88# Set whether to clear ccache before compiling the kernel, options: [ true / false ]COMMENT
LOWcompile-kernel/tools/script/armbian_compile_kernel.sh90# Set whether to automatically delete the source code after the kernel is compiledCOMMENT
LOWcompile-kernel/tools/script/armbian_compile_kernel.sh94# Set whether to log compilation output to file, options: [ true / false ]COMMENT
LOWcompile-kernel/tools/script/armbian_compile_kernel.sh517 # Check if the kernel config file already existsCOMMENT
LOWcompile-kernel/tools/script/armbian_compile_kernel.sh1319 # Check if dtb files exist for this platform (at least 30 files)COMMENT
LOW…rnel/tools/script/docker/build_armbian_docker_image.sh54 # Check if docker command existsCOMMENT
LOW…rnel/tools/script/docker/build_armbian_docker_image.sh59 # Check if Docker daemon is runningCOMMENT
LOW…rnel/tools/script/docker/build_armbian_docker_image.sh124 # Display the output directoryCOMMENT
LOW…rent-files/easepi-r2/rootfs/usr/local/bin/sync_sort.sh43# Check if the bind mount is broken (target has 0 links - file was replaced)COMMENT
LOW…rent-files/easepi-r2/rootfs/usr/local/bin/sync_sort.sh75 # Check if the injected source file is already valid AND matches current JS versionCOMMENT
LOW…mon-files/usr/share/ophub/armbian-software/301-frps.sh142 # Set up to start automaticallyCOMMENT
LOW…mon-files/usr/share/ophub/armbian-software/301-frps.sh190 # Set up to start automaticallyCOMMENT
LOW…mon-files/usr/share/ophub/armbian-software/302-frpc.sh128 # Set up to start automaticallyCOMMENT
LOW…mon-files/usr/share/ophub/armbian-software/302-frpc.sh176 # Set up to start automaticallyCOMMENT
LOW…files/common-files/etc/custom_service/start_service.sh140 # Set MTU to 1500 for eth0 and br0COMMENT
Over-Commented Block28 hits · 28 pts
SeverityFileLineSnippetContext
LOWcompile-kernel/tools/script/armbian_compile_kernel.sh1#!/bin/bashCOMMENT
LOWcompile-kernel/tools/script/armbian_compile_kernel.sh21# error_msg : Output error message and exitCOMMENT
LOW…rnel/tools/script/docker/build_armbian_docker_image.sh1#!/bin/bashCOMMENT
LOW…ernel/tools/script/docker/build_armbian_rootfs_file.sh1#!/bin/bashCOMMENT
LOWcompile-kernel/tools/script/docker/docker_startup.sh1#!/bin/bashCOMMENT
LOWdocuments/README.cn.md1581# -----------------------------------------------------------------------------------COMMENT
LOWdocuments/README.md1581COMMENT
LOWdocuments/README.ja.md1581# -----------------------------------------------------------------------------------COMMENT
LOW…ferent-files/a311d-oes/rootfs/usr/bin/oes_sata_leds.sh1#!/bin/bashCOMMENT
LOW…rent-files/easepi-r2/rootfs/usr/local/bin/sync_sort.sh1#!/bin/bashCOMMENT
LOW…erent-files/hugsun-zm/rootfs/root/led-control/aw2028.c1#include <stdio.h>COMMENT
LOW…s/different-files/chainedbox/rootfs/usr/bin/pwm-fan.pl1#!/usr/bin/perlCOMMENT
LOW…s/different-files/chainedbox/rootfs/usr/bin/pwm-fan.pl21# 增加硬盘待机状态检测,如果硬盘待机,风扇可在cpu温度较高时停转(50度),较高温度起转(65度);如果硬盘未待机,风扇可在cpu温度较低时停转(38度),较低温度起转(55度);COMMENT
LOW…mon-files/usr/share/ophub/armbian-software/301-frps.sh1#!/bin/bashCOMMENT
LOW…mon-files/usr/share/ophub/armbian-software/301-frps.sh21#COMMENT
LOW…es/usr/share/ophub/armbian-software/command-desktop.sh1#!/bin/bashCOMMENT
LOW…es/usr/share/ophub/armbian-software/command-desktop.sh21#COMMENT
LOW…mon-files/usr/share/ophub/armbian-software/302-frpc.sh1#!/bin/bashCOMMENT
LOW…mon-files/usr/share/ophub/armbian-software/302-frpc.sh21#COMMENT
LOW…es/usr/share/ophub/armbian-software/command-service.sh1#!/bin/bashCOMMENT
LOW…es/usr/share/ophub/armbian-software/command-service.sh21#COMMENT
LOW…les/usr/share/ophub/armbian-software/command-docker.sh1#!/bin/bashCOMMENT
LOW…les/usr/share/ophub/armbian-software/command-docker.sh21#COMMENT
LOW…les/usr/share/ophub/armbian-software/command-docker.sh41# software_120 : For xunlei:2345COMMENT
LOW…s/usr/share/ophub/armbian-software/software-command.sh1#!/bin/bashCOMMENT
LOW…s/usr/share/ophub/armbian-software/software-command.sh21# software_remove : Remove specified packagesCOMMENT
LOW…re/ophub/armbian-software/201-desktop-chinese-fonts.sh1#!/bin/bashCOMMENT
LOW…files/common-files/etc/custom_service/start_service.sh1#!/bin/bashCOMMENT
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…les/usr/share/ophub/armbian-software/command-docker.sh958 [[ -n "${oak}" ]] && your_api_key="${oak}" || error_msg "OPENAI_API_KEY is invalid."CODE
HIGH…les/usr/share/ophub/armbian-software/command-docker.sh971 -e OPENAI_API_KEY=${your_api_key} \CODE
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOWdocuments/README.md509# Step 1: Update to the latest kernelCOMMENT
LOWdocuments/README.md516# Step 2: Install compilation toolsCOMMENT
LOWdocuments/README.md527# Step 3: Download and compile the driverCOMMENT
LOWdocuments/README.md547# Step 4: Install the driverCOMMENT