Repository Analysis

JSQLParser/JSqlParser

JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern

9.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of JSQLParser/JSqlParser, a Java project with 5,952 GitHub stars. SynthScan v2.0 examined 113,258 lines of code across 1059 source files, recording 129 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 9.6 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).

9.6
Adjusted Score
9.6
Raw Score
100%
Time Factor
2026-07-30
Last Push
6.0K
Stars
Java
Language
113.3K
Lines of Code
1.1K
Files
129
Pattern Hits
2026-08-02
Scan Date
0.10
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 110HIGH 0MEDIUM 2LOW 17

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 129 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.

Hallucination Indicators110 hits · 1068 pts
SeverityFileLineSnippetContext
CRITICAL…net/sf/jsqlparser/benchmark/LatestClasspathRunner.java24 return net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatements(sql, executorService,CODE
CRITICAL…/sf/jsqlparser/statement/select/SpecialOracleTest.java147 net.sf.jsqlparser.parser.ParseException.class.getCanonicalName())) {CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java175 // new net.sf.jsqlparser.statement.select.AllTableColumns(new Table()),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java185 // new net.sf.jsqlparser.statement.select.LateralSubSelect("LATERAL"),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java186 // new net.sf.jsqlparser.statement.select.Limit(),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java191 // new net.sf.jsqlparser.statement.select.ParenthesisFromItem().getFromItem(),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java193 // new net.sf.jsqlparser.statement.select.PivotXml(),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java194 // new net.sf.jsqlparser.statement.select.PlainSelect(),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java195 // new net.sf.jsqlparser.statement.select.Select(),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java197 // new net.sf.jsqlparser.statement.select.SetOperationList(),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java199 // new net.sf.jsqlparser.statement.select.ParenthesedSelect(),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java200 // new net.sf.jsqlparser.statement.select.TableFunction("LATERAL", new Function()),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java205 // new net.sf.jsqlparser.statement.select.WithItem(),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java209 // new net.sf.jsqlparser.statement.select.ValuesStatement(),COMMENT
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java88 new net.sf.jsqlparser.expression.operators.arithmetic.Addition(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java89 new net.sf.jsqlparser.expression.operators.arithmetic.BitwiseAnd(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java90 new net.sf.jsqlparser.expression.operators.arithmetic.BitwiseLeftShift(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java91 new net.sf.jsqlparser.expression.operators.arithmetic.BitwiseOr(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java92 new net.sf.jsqlparser.expression.operators.arithmetic.BitwiseRightShift(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java93 new net.sf.jsqlparser.expression.operators.arithmetic.BitwiseXor(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java94 new net.sf.jsqlparser.expression.operators.arithmetic.Concat(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java95 new net.sf.jsqlparser.expression.operators.arithmetic.Division(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java96 new net.sf.jsqlparser.expression.operators.arithmetic.IntegerDivision(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java97 new net.sf.jsqlparser.expression.operators.arithmetic.Modulo(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java98 new net.sf.jsqlparser.expression.operators.arithmetic.Multiplication(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java99 new net.sf.jsqlparser.expression.operators.arithmetic.Subtraction(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java100 new net.sf.jsqlparser.expression.operators.conditional.AndExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java101 new net.sf.jsqlparser.expression.operators.conditional.OrExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java102 new net.sf.jsqlparser.expression.operators.conditional.XorExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java103 new net.sf.jsqlparser.expression.operators.relational.Between(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java104 new net.sf.jsqlparser.expression.operators.relational.EqualsTo(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java105 new net.sf.jsqlparser.expression.operators.relational.ExistsExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java107 new net.sf.jsqlparser.expression.operators.relational.FullTextSearch(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java108 new net.sf.jsqlparser.expression.operators.relational.GreaterThan(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java109 new net.sf.jsqlparser.expression.operators.relational.GreaterThanEquals(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java110 new net.sf.jsqlparser.expression.operators.relational.InExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java111 new net.sf.jsqlparser.expression.operators.relational.IsBooleanExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java112 new net.sf.jsqlparser.expression.operators.relational.IsNullExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java113 new net.sf.jsqlparser.expression.operators.relational.IsUnknownExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java114 new net.sf.jsqlparser.expression.operators.relational.JsonOperator("@>"),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java115 new net.sf.jsqlparser.expression.operators.relational.LikeExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java116 new net.sf.jsqlparser.expression.operators.relational.Matches(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java117 new net.sf.jsqlparser.expression.operators.relational.MinorThan(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java118 new net.sf.jsqlparser.expression.operators.relational.MinorThanEquals(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java119 new net.sf.jsqlparser.expression.operators.relational.NotEqualsTo(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java120 new net.sf.jsqlparser.expression.operators.relational.RegExpMatchOperator(CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java122 new net.sf.jsqlparser.expression.operators.relational.SimilarToExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java125 new net.sf.jsqlparser.schema.Sequence.Parameter(ParameterType.KEEP),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java131 new net.sf.jsqlparser.statement.ExplainStatement.Option(OptionType.COSTS),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java134 new net.sf.jsqlparser.statement.show.ShowIndexStatement(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java135 new net.sf.jsqlparser.statement.refresh.RefreshMaterializedViewStatement(CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java140 new net.sf.jsqlparser.statement.alter.Alter(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java141 new net.sf.jsqlparser.statement.alter.AlterExpression(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java142 new net.sf.jsqlparser.statement.alter.AlterExpression.ColumnDataType(false),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java143 new net.sf.jsqlparser.statement.alter.AlterExpression.ColumnDropNotNull("name"),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java144 new net.sf.jsqlparser.statement.merge.MergeInsert(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java145 new net.sf.jsqlparser.statement.alter.DeferrableConstraint(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java146 new net.sf.jsqlparser.statement.alter.EnableConstraint(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java147 new net.sf.jsqlparser.statement.alter.ValidateConstraint(),CODE
CRITICAL…/jsqlparser/statement/builder/ReflectionModelTest.java148 new net.sf.jsqlparser.statement.alter.sequence.AlterSequence(),CODE
50 more matches not shown…
Over-Commented Block12 hits · 12 pts
SeverityFileLineSnippetContext
LOWsrc/test/resources/RUBiS-select-requests.txt1// ---------------------------------------------------------------------------------------------------------------------COMMENT
LOWsrc/test/resources/RUBiS-create-requests.txt1// ---------------------------------------------------------------------------------------------------------------------COMMENT
LOWsrc/test/resources/RUBiS-create-requests.txt401Syntax error in this CREATE statement: 'create table foo id int4, name text)'COMMENT
LOWsrc/test/resources/RUBiS-create-requests.txt421//#beginCOMMENT
LOW…rces/net/sf/jsqlparser/util/complex-merge-requests.txt1// ---------------------------------------------------------------------------------------------------------------------COMMENT
LOW…ces/net/sf/jsqlparser/util/complex-select-requests.txt1// ---------------------------------------------------------------------------------------------------------------------COMMENT
LOW…sf/jsqlparser/util/deparser/StatementDeParserTest.java141 // withItem2.setSelect(mock(ParenthesedSelect.class));COMMENT
LOW…sf/jsqlparser/util/deparser/StatementDeParserTest.java261 then(expression).should().accept(expressionDeParser, null);COMMENT
LOW…/net/sf/jsqlparser/statement/select/SelectASTTest.java61 }COMMENT
LOW…ava/net/sf/jsqlparser/statement/select/SelectTest.java3121 COMMENT
LOW…ava/net/sf/jsqlparser/statement/select/SelectTest.java3921 // fkcolumn_name, i::int2 as key_seq, case ref.confupdtype when 'c' then 0::int2 when 'n' thenCOMMENT
LOW…/net/sf/jsqlparser/util/cnfexpression/CloneHelper.java141 // result = new AndExpression(left, right);COMMENT
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…c/main/java/net/sf/jsqlparser/expression/Function.java297 // ── Generic keyword argument support ───────────────────────────────COMMENT
MEDIUM…c/main/java/net/sf/jsqlparser/expression/Function.java532 // ── KeywordArgument inner class ────────────────────────────────────COMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…c/test/java/net/sf/jsqlparser/test/HowToUseSample.java73 // Step 1: generate the Java Object Hierarchy forCOMMENT
LOW…ava/net/sf/jsqlparser/statement/select/SelectTest.java5046 // Step 1: generate the Java Object Hierarchy forCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…c/test/java/net/sf/jsqlparser/test/HowToUseSample.java73 // Step 1: generate the Java Object Hierarchy forCOMMENT
LOW…ava/net/sf/jsqlparser/statement/select/SelectTest.java5046 // Step 1: generate the Java Object Hierarchy forCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…st/java/net/sf/jsqlparser/expression/FunctionTest.java79 " ['foo@example.com', 'bar@example.org', 'www.example.net']\n" +CODE