Repository Analysis

versity/versitygw

A simple to deploy but feature rich S3 object storage server for your filesystem

8.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of versity/versitygw, a Go project with 2,594 GitHub stars. SynthScan v2.0 examined 171,339 lines of code across 680 source files, recording 887 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 8.2 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).

8.2
Adjusted Score
8.2
Raw Score
100%
Time Factor
2026-07-13
Last Push
2.6K
Stars
Go
Language
171.3K
Lines of Code
680
Files
887
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 260LOW 627

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 887 distinct pattern matches across 9 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.

Self-Referential Comments250 hits · 750 pts
SeverityFileLineSnippetContext
MEDIUMchart/values.yaml299 # Create a cert-manager Certificate resource to automatically provision TLS.COMMENT
MEDIUMtests/setup.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3cmd_file_count.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_retention.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_list_multipart_uploads.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_put_bucket_policy.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3api_multipart.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_list_buckets.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_acl.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/versity.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3api_policy_object.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_delete_objects.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_file.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_user_aws.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_list_parts.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_setup_remove_static.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3api_policy_bucket.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_put_bucket_versioning.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_delete_bucket.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_list_objects.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_head_bucket.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_bucket.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_put_object_tagging.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_delete_object.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_mc.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_user_s3cmd.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_head_object.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/run_all.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_common_acl.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_get_object_legal_hold.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_put_object_lock_config.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_put_object_legal_hold.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_get_bucket_policy_status.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/report.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_attributes.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/run.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/remove_static.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3api_policy.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/setup_unit.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_common.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_put_bucket_tagging.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_get_object.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_command.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/setup_mc.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_mc_file_count.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_multipart.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_not_implemented.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_create_bucket.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3_file_count.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3api_root_inner.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3cmd.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_xml.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/env.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_delete_bucket_ownership_controls.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_s3api_bucket.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_copy_object.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_delete_bucket_tagging.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/setup_static.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
MEDIUMtests/test_rest_put_object.sh4# This file is licensed under the Apache License, Version 2.0COMMENT
190 more matches not shown…
Over-Commented Block611 hits · 611 pts
SeverityFileLineSnippetContext
LOWruntests.sh201COMMENT
LOWruntests.sh221#COMMENT
LOWruntests.sh241# -i=/tmp/covdata,/tmp/https.covdata,/tmp/versioning.covdata,/tmp/versioning.https.covdata,/tmp/noacl.covdata \COMMENT
LOWs3api/admin-router.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/server.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/router_test.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/router_cors_test.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/admin-server.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/server_test.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/router.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/apply-default-cors-preflight_test.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/checksum.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/apply-default-cors.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/apply-default-cors-preflight.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/body-reader.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/logger.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/rate-limiter.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/apply-default-cors_test.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/request-ids_test.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/apply-bucket-cors-preflight_test.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/apply-bucket-cors.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/public-bucket.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/md5_test.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/url-decoder.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/bucket-object-name-validator.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/object-post-auth_test.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/router-utilities.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/apply-bucket-cors-preflight.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/apply-bucket-cors-preflight.go21 "github.com/versity/versitygw/backend"COMMENT
LOWs3api/middlewares/authentication.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/host-style-parser.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/admin.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/request-ids.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/set-default-keys.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/object-post-auth.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/middlewares/presign-auth.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/middlewares/acl-parser.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/utils/csum-reader.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/utils/presign-auth-reader.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/utils/utils_test.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/utils/request_ids.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/utils/auth_test.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/utils/crc.go1// Copyright (C) 1995-2017 Jean-loup Gailly and Mark AdlerCOMMENT
LOWs3api/utils/chunk-reader_test.go1// Copyright 2024 Versity SoftwareCOMMENT
LOWs3api/utils/presign-auth-reader_test.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/utils/path_test.go1// Copyright 2025 Versity SoftwareCOMMENT
LOWs3api/utils/multi_listener.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/utils/multi_listener.go281 SocketPerm os.FileModeCOMMENT
LOWs3api/utils/unsigned-chunk-reader_test.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/utils/crc_test.go1// Copyright 2025 Versity SoftwareCOMMENT
LOWs3api/utils/utils.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/utils/signed_headers_test.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/utils/precondition.go1// Copyright 2023 Versity SoftwareCOMMENT
LOWs3api/utils/request_ids_test.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/utils/chunk-reader.go1// Copyright 2024 Versity SoftwareCOMMENT
LOWs3api/utils/unsigned-chunk-reader.go1// Copyright 2024 Versity SoftwareCOMMENT
LOWs3api/utils/unsigned-chunk-reader.go61 chunkDataLeft int64COMMENT
LOWs3api/utils/csum-reader_test.go1// Copyright 2025 Versity SoftwareCOMMENT
LOWs3api/utils/multipart_reader.go1// Copyright 2026 Versity SoftwareCOMMENT
LOWs3api/utils/multi_listener_test.go1// Copyright 2026 Versity SoftwareCOMMENT
551 more matches not shown…
Decorative Section Separators9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMruntests.sh207# -----------------------------------------------------------------------------COMMENT
MEDIUMruntests.sh217# -----------------------------------------------------------------------------COMMENT
MEDIUMruntests.sh235# -----------------------------------------------------------------------------COMMENT
MEDIUMruntests.sh251# -----------------------------------------------------------------------------COMMENT
MEDIUMbackend/walk_bench_test.go293// ── Small (5 k files) ─────────────────────────────────────────────────────────COMMENT
MEDIUMbackend/walk_bench_test.go401// ── Large (100 k files) ──────────────────────────────────────────COMMENT
MEDIUMbackend/walk_bench_test.go497// ── Huge (500 k files) ────────────────────────────────────────────COMMENT
MEDIUMbackend/walk_bench_test.go522// ── Timing sanity check ───────────────────────────────────────────────────────COMMENT
MEDIUMdebuglogger/logger.go177// e.g ┌────────────────[ RESPONSE HEADERS ]────────────────┐COMMENT
Hyper-Verbose Identifiers12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/tags/get_test_info.py12def print_file_test_info_matching(path: str, mode: str, want: list[str]):CODE
LOWtests/tags/list_tags.py79def list_all_tag_descriptions(data: dict) -> None:CODE
LOWwebui/web/index.html402 function populateAdminEndpointDropdown() {CODE
LOWwebui/web/explorer.html1477 function addInputBucketToFavorites() {CODE
LOWwebui/web/explorer.html2434 function updateObjectMetadataValue(index, value) {CODE
LOWwebui/web/explorer.html3124 async function confirmDeleteBucketAction() {CODE
LOWwebui/web/explorer.html3673 async function openVersioningModalForBucket(bucketName) {CODE
LOWwebui/web/explorer.html3795 async function openObjectLockModalForBucket(bucketName) {CODE
LOWwebui/web/explorer.html4334 async function openMultipartUploadsModalForBucket(bucketName) {CODE
LOWwebui/web/explorer.html4348 async function openMultipartUploadsModal() {CODE
LOWwebui/web/buckets.html400 function populateOwnerFilterDropdown(owners) {CODE
LOWwebui/web/buckets.html453 function populateBucketOwnerDropdown(users) {CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql.yml63 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.goreleaser.yaml37 # Set this to true if you want all files in the archive to be in a single directory.COMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWauth/object_lock.go180 // first we need to check if user has 's3:BypassGovernanceRetention'COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWchart/values.yaml264 # TODO: implement other IAM backendCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwebui/web/assets/js/tailwind.js27`),v=y.length-1,v>0?(k=a+v,S=w-y[v].length):(k=a,S=s),T=D.comment,a=k,p=k,d=w-S):c===D.slash?(w=o,T=c,p=a,d=o-s,l=w+1):(CODE