AI Slop Code Risk Monitor

git/git

SlopCodeMonitor badge for git/git Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.

1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for git/git, a C project with 64,089 GitHub stars. SynthScan examined 827,760 lines of code across 2407 source files, recording 1109 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
64.1K
Stars
C
Language
827.8K
Lines of Code
2.4K
Files
1.1K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 7.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 991 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

Are imports declared and package/API names verified? 33 finding(s).

Agent Over-Engineering Ratio 1.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 90 finding(s).

PR Review Velocity Impact 8.9/100 · LOW

Which changes need focused human review? 1109 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 7MEDIUM 197LOW 905

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1109 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block797 hits · 778 pts
SeverityFileLineSnippetContext
LOWpack-revindex.c1#include "git-compat-util.h"COMMENT
LOWreplay.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWhttp-fetch.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWhttp-push.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWhttp-push.c21#include "packfile.h"COMMENT
LOWhttp-push.c41#define XML_STATUS_ERROR 0COMMENT
LOWhttp-push.c61#define DAV_CTX_LOCKENTRY ".multistatus.response.propstat.prop.supportedlock.lockentry"COMMENT
LOWmerge-ll.c1/*COMMENT
LOWdiff.c1/*COMMENT
LOWdiff.c21#include "hex.h"COMMENT
LOWdiff.c41#include "promisor-remote.h"COMMENT
LOWhttp-walker.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWpack-objects.h1#ifndef PACK_OBJECTS_HCOMMENT
LOWwildmatch.c21/* What character marks an inverted character class? */COMMENT
LOWwildmatch.c41#ifdef isgraphCOMMENT
LOWprotocol-caps.c1#include "git-compat-util.h"COMMENT
LOWtrailer.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWreflog.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWexec-cmd.c1#include "git-compat-util.h"COMMENT
LOWblame.h1#ifndef BLAME_HCOMMENT
LOWremote.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWadd-patch.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWrevision.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWrevision.c21#include "repository.h"COMMENT
LOWrevision.c41#include "trace2.h"COMMENT
LOWtransport.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWtransport.c21#include "url.h"COMMENT
LOWupload-pack.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWupload-pack.c21#include "connect.h"COMMENT
LOWobject.c1#define DISABLE_SIGN_COMPARE_WARNINGSCOMMENT
LOWparse-options-cb.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWnotes-merge.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWlist-objects-filter.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWbisect.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWgpg-interface.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWnotes.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWnotes.c61 struct object_id oid;COMMENT
LOWcache-tree.c1#define DISABLE_SIGN_COMPARE_WARNINGSCOMMENT
LOWbloom.c1#define DISABLE_SIGN_COMPARE_WARNINGSCOMMENT
LOWsideband.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWserve.c1#include "git-compat-util.h"COMMENT
LOWbase85.c1#include "git-compat-util.h"COMMENT
LOWpack-write.c1#include "git-compat-util.h"COMMENT
LOWcommit-reach.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWrefspec.c1#define DISABLE_SIGN_COMPARE_WARNINGSCOMMENT
LOWcredential.c1#define DISABLE_SIGN_COMPARE_WARNINGSCOMMENT
LOWarchive-zip.c1/*COMMENT
LOWmerge-ort.c21#include "merge-ort.h"COMMENT
LOWmerge-ort.c41#include "object-file.h"COMMENT
LOWrerere.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWgrep.h1#ifndef GREP_HCOMMENT
LOWref-filter.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWref-filter.c21#include "ident.h"COMMENT
LOWfsmonitor.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWname-hash.c1/*COMMENT
LOWfsck.c1#include "git-compat-util.h"COMMENT
LOWtree-walk.c1#define USE_THE_REPOSITORY_VARIABLECOMMENT
LOWgit-web--browse.sh1#!/bin/shCOMMENT
LOWbanned.h1#ifndef BANNED_HCOMMENT
LOWbanned.h21#undef strtokCOMMENT
737 more matches not shown…
Self-Referential Comments107 hits · 322 pts
SeverityFileLineSnippetContext
MEDIUMgit-request-pull.sh4# This file is licensed under the GPL v2, or a later versionCOMMENT
MEDIUMgit-web--browse.sh9# This file is heavily stolen from git-mergetool.sh, byCOMMENT
MEDIUMgit-web--browse.sh14# This file is licensed under the GPL v2, or a later versionCOMMENT
MEDIUMgit-mergetool.sh8# This file is licensed under the GPL v2, or a later versionCOMMENT
MEDIUMgit-mergetool.sh328 # Create a parent directory to handle delete/delete conflictsCOMMENT
MEDIUMgit-merge-one-file.sh140 # Create the working tree file, using "our tree" version from theCOMMENT
MEDIUMgit-filter-branch.sh11# The following functions will also be available in the commit filter:COMMENT
MEDIUMgit-sh-setup.sh265# Create a pick-script as above and feed it to sed. Stdout is suitable forCOMMENT
MEDIUMgit-p4.py2500 # Create the label - use the same view as the client spec we are usingCOMMENT
MEDIUMgit-p4.py4259 # Create a symbolic ref p4/HEAD pointing to p4/<branch> to allowCOMMENT
MEDIUMt/t7700-repack.sh679 # Create a kept pack-fileCOMMENT
MEDIUMt/t7700-repack.sh687 # Create a non-kept pack-fileCOMMENT
MEDIUMt/t9817-git-p4-exclude.sh11# Create a repo with the structure:COMMENT
MEDIUMt/t7300-clean.sh696 # This file is ignored by a .gitignore rule in the outer repoCOMMENT
MEDIUMt/t4211-line-log.sh281# Create the following linear history, where each commit does what itsCOMMENT
MEDIUMt/t1304-default-acl.sh8# Create the test repo with restrictive umaskCOMMENT
MEDIUMt/t3207-branch-submodule.sh123 # Create a new branch-b branch with start-point=branch-aCOMMENT
MEDIUMt/t1414-reflog-walk.sh122# Create a situation where the reflog and ref database disagree about the latestCOMMENT
MEDIUMt/t7426-submodule-get-default-remote.sh13 # Create a repository to be used as submoduleCOMMENT
MEDIUMt/t7426-submodule-get-default-remote.sh17 # Create main repositoryCOMMENT
MEDIUMt/t7426-submodule-get-default-remote.sh180 # Create a submodule directory manually without remotesCOMMENT
MEDIUMt/t6700-tree-depth.sh18# Create a tag <name> containing a file whose path has depth <depth>.COMMENT
MEDIUMt/t7706-repack-drop-filtered.sh172 # Create a conflicting merge so wt_status reports it.COMMENT
MEDIUMt/t7706-repack-drop-filtered.sh191 # Create a large blob, add it to the index and make it a promisor objectCOMMENT
MEDIUMt/t9803-git-p4-shell-metachars.sh60# Create a branch with a shell metachar in its nameCOMMENT
MEDIUMt/lib-submodule-update.sh1# Create a submodule layout used for all tests below.COMMENT
MEDIUMt/t7611-merge-abort.sh31 # Create the above repoCOMMENT
MEDIUMt/t5319-multi-pack-index.sh1377 # Create the bitmap via the MIDX.COMMENT
MEDIUMt/t6416-recursive-corner-cases.sh1585 # Create a and b from virtual merge base XCOMMENT
MEDIUMt/t6012-rev-list-simplify.sh21# Create a test repo with an interesting commit graph:COMMENT
MEDIUMt/t6012-rev-list-simplify.sh169# Create a new history to demonstrate the value of --show-pullsCOMMENT
MEDIUMt/t9801-git-p4-branch.sh179## Create a simple branch structure in P4 depot.COMMENT
MEDIUMt/t9801-git-p4-branch.sh242# Create a complex branch structure in P4 depot to check if they are correctlyCOMMENT
MEDIUMt/t9801-git-p4-branch.sh374# Create a branch by integrating a single fileCOMMENT
MEDIUMt/t3910-mac-os-precompose.sh29#Create a string with 255 bytes (decomposed)COMMENT
MEDIUMt/t3910-mac-os-precompose.sh34#Create a string with 254 bytes (precomposed)COMMENT
MEDIUMt/t9350-fast-export.sh976 # Create a signed SHA-256 commitCOMMENT
MEDIUMt/t9350-fast-export.sh987 # Create the corresponding SHA-1 commitCOMMENT
MEDIUMt/t8004-blame-with-conflicts.sh12 # Create the old fileCOMMENT
MEDIUMt/t6112-rev-list-filters-objects.sh312 # Create a spare repo because we will be deleting objects from this one.COMMENT
MEDIUMt/t5314-pack-cycle-detection.sh55# Create a pack containing the tree $1 and blob $1:file, withCOMMENT
MEDIUMt/t1700-split-index.sh19# Create a file named as $1 with content read from stdin.COMMENT
MEDIUMt/t7703-repack-geometric.sh328 # Create a shared repository that will serve as the alternate objectCOMMENT
MEDIUMt/t7703-repack-geometric.sh360 # Create a repository with a single packfile that acts as alternateCOMMENT
MEDIUMt/t7703-repack-geometric.sh366 # Create a second repository linked to the first one and perform aCOMMENT
MEDIUMt/t7703-repack-geometric.sh383 # Create a repository with a single packfile that acts as alternateCOMMENT
MEDIUMt/t9821-git-p4-path-variations.sh50 # This method is used instead of "test -f" to ensure the case isCOMMENT
MEDIUMt/t9821-git-p4-path-variations.sh72 # This method is used instead of "test -f" to ensure the case isCOMMENT
MEDIUMt/t5310-pack-bitmaps.sh317 # Create a state of history with these properties:COMMENT
MEDIUMt/t5310-pack-bitmaps.sh481 # Create the bitmap.COMMENT
MEDIUMt/t6600-test-reach.sh388 # Create a commit outside all saved commit-graph files so it alwaysCOMMENT
MEDIUMt/t7406-submodule-update.sh1171 # Create a commit in each repo, starting with bottomCOMMENT
MEDIUMt/t7406-submodule-update.sh1203 # Create a commit in each repo, starting with bottomCOMMENT
MEDIUMt/t7406-submodule-update.sh1232 # Create an upstream commit in each repo, starting with bottomCOMMENT
MEDIUMt/t7406-submodule-update.sh1245 # Create a downstream conflictCOMMENT
MEDIUMt/t7800-difftool.sh40# Create a file on main and change it on branchCOMMENT
MEDIUMt/t7800-difftool.sh417# Create a second file on main and a different version on branchCOMMENT
MEDIUMt/t7800-difftool.sh814 # Create a file called "file-a" with a symlink pointing to it.COMMENT
MEDIUMt/t7800-difftool.sh822 # Create a file called "file-b" and point the symlink to it.COMMENT
MEDIUMt/t9800-git-p4-basic.sh62# Create a git repo by hand. Add a commit so that HEAD is valid.COMMENT
47 more matches not shown…
Decorative Section Separators76 hits · 243 pts
SeverityFileLineSnippetContext
MEDIUMcommand-list.txt2# ---------------------------COMMENT
MEDIUMperl/FromCPAN/Mail/Address.pm138#------------COMMENT
MEDIUMperl/FromCPAN/Mail/Address.pm187#------------COMMENT
MEDIUMperl/FromCPAN/Mail/Address.pm239#------------COMMENT
MEDIUMperl/Git/SVN.pm734# -------------------------COMMENT
MEDIUMperl/Git/SVN.pm1388# --------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh18# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh54# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh104# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh136# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh215# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh278# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh325# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh380# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh403# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh428# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh457# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh505# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh520# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh548# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh571# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh593# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh652# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh691# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh700# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh736# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh762# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh793# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9500-gitweb-standalone-no-errors.sh801# ----------------------------------------------------------------------COMMENT
MEDIUMt/t5324-split-commit-graph.sh553# ------------------------COMMENT
MEDIUMt/t5324-split-commit-graph.sh599# ------------------------COMMENT
MEDIUMt/t5324-split-commit-graph.sh601# ------------------------COMMENT
MEDIUM⚡t/t5324-split-commit-graph.sh630# ------------------------COMMENT
MEDIUM⚡t/t5324-split-commit-graph.sh632# ------------------------COMMENT
MEDIUM⚡t/t5324-split-commit-graph.sh634# ------------------------COMMENT
MEDIUM⚡t/t5324-split-commit-graph.sh641# ------------------------COMMENT
MEDIUM⚡t/t5324-split-commit-graph.sh643# ------------------------COMMENT
MEDIUM⚡t/t5324-split-commit-graph.sh672# ------------------------COMMENT
MEDIUM⚡t/t5324-split-commit-graph.sh674# ------------------------COMMENT
MEDIUM⚡t/t5324-split-commit-graph.sh676# ------------------------COMMENT
MEDIUM⚡t/t5324-split-commit-graph.sh683# ------------------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh76#------------------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh78#------------------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh244#--------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh246#--------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh306#------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh308#------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh496#------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh498#------------COMMENT
MEDIUM⚡t/t9400-git-cvsserver-server.sh528#------------COMMENT
MEDIUM⚡t/t9400-git-cvsserver-server.sh530#------------COMMENT
MEDIUM⚡t/t9400-git-cvsserver-server.sh539#------------COMMENT
MEDIUM⚡t/t9400-git-cvsserver-server.sh541#------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh609#------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh611#------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh622#------------COMMENT
MEDIUMt/t9400-git-cvsserver-server.sh624#------------COMMENT
MEDIUMt/t9501-gitweb-standalone-http-status.sh25# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9501-gitweb-standalone-http-status.sh87# ----------------------------------------------------------------------COMMENT
MEDIUMt/t9501-gitweb-standalone-http-status.sh125# ----------------------------------------------------------------------COMMENT
16 more matches not shown…
AI Slop Vocabulary20 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUMcompat/vcbuild/scripts/lib.pl5# This is a wrapper to facilitate the compilation of Git with MSVCCOMMENT
MEDIUMcompat/vcbuild/scripts/clink.pl5# This is a wrapper to facilitate the compilation of Git with MSVCCOMMENT
MEDIUMt/t5303-pack-corruption-resilience.sh11# to ensure good code path coverage, and to facilitate direct alterationCOMMENT
LOWt/lib-bitmap.sh10# counterpart. You can't just use test_cmp for this, because the two produceCOMMENT
MEDIUMt/lib-gpg.sh195 # Definitely not yet valid / expired timestampsCOMMENT
LOWt/t4202-log.sh1072 # Do not just use a --format without %d here; we want toCOMMENT
MEDIUMt/t1092-sparse-checkout-compatibility.sh881# The `--ignore-skip-worktree-entries` flag must be used in conjunction withCOMMENT
LOWt/t9806-git-p4-options.sh212# XXX: should clone/sync just use the client spec exactly, ratherCOMMENT
MEDIUMt/lib-subtest.sh36 # Pretend we're not running under a test harness, whether weCOMMENT
MEDIUMt/t7527-builtin-fsmonitor.sh177# make the test a little more robust during CI testing.COMMENT
LOWt/test-lib-functions.sh23# interpreted if we just set $EDITOR directly, so do a little dance withCOMMENT
LOWt/t2020-checkout-detach.sh333 # The user can just use any kind of quoting (including none).COMMENT
LOWt/t5318-commit-graph.sh882 # wreck them all. But we cannot just set them all to 0xFFFFFFFF orCOMMENT
MEDIUMt/t0212-trace2-event.sh35# harness can contaminate our output.COMMENT
MEDIUMt/t0210-trace2-normal.sh32# because hidden git and test-tool commands run by the test harnessCOMMENT
MEDIUMt/t0000-basic.sh65# Test harnessCOMMENT
MEDIUMt/t5813-proto-disable-ssh.sh23# fake wrapper actually _can_ handle this case, but it's more robust toCOMMENT
MEDIUMt/t0211-trace2-perf.sh39# harness can contaminate our output.COMMENT
MEDIUMt/perf/p7519-fsmonitor.sh12# By default, the performance test will utilize the Watchman file systemCOMMENT
LOWcontrib/completion/git-prompt.sh420 # simply return early if the prompt should notCOMMENT
Fake / Example Data29 hits · 46 pts
SeverityFileLineSnippetContext
LOWt/t4015-diff-whitespace.sh1755 Lorem Ipsum is simply dummy text of the printing and typesetting industry.CODE
LOWt/t4015-diff-whitespace.sh1760 simply Lorem Ipsum dummy is text of the typesetting and printing industry.CODE
LOWt/for-each-ref-tests.sh1362 GIT_COMMITTER_EMAIL="user@example.com" \CODE
LOWt/t9001-send-email.sh2040 echo "alias sbd somebody@example.org" >.mailrc &&CODE
LOWt/t9001-send-email.sh2054 echo "alias sbd someone@example.org" >"$HOME/.mailrc" &&CODE
LOWt/t9001-send-email.sh2337 echo "alias sbd someone@example.org" >.mailrc &&CODE
LOWt/t9001-send-email.sh2351 echo "alias sbd someone@example.org" >.mailrc &&CODE
LOWt/t9001-send-email.sh2365 echo "alias sbd someone@example.org" >.mailrc &&CODE
LOWt/t9001-send-email.sh2381 echo "alias sbd someone@example.org" >.mailrc &&CODE
LOW⚡t/t4150-am.sh14 Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumyCODE
LOW⚡t/t4150-am.sh14 Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumyCODE
LOW⚡t/t4150-am.sh17 kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. LoremCODE
LOW⚡t/t4150-am.sh17 kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. LoremCODE
LOW⚡t/t4150-am.sh18 ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodCODE
LOWt/t4150-am.sh32 Lorem ipsum dolor sit amet,CODE
LOWt/t4150-am.sh32 Lorem ipsum dolor sit amet,CODE
LOWt/unit-tests/u-reftable-table.c226 .email = (char *) "user@example.com",CODE
LOW⚡t/t4051/appended2.c4 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,COMMENT
LOW⚡t/t4051/appended2.c4 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,COMMENT
LOW⚡t/t4051/appended2.c8 * gubergren, no sea takimata sanctus est Lorem ipsum dolorCOMMENT
LOW⚡t/t4051/appended2.c11 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,COMMENT
LOW⚡t/t4051/appended2.c11 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,COMMENT
LOW⚡t/t4051/appended2.c15 * gubergren, no sea takimata sanctus est Lorem ipsum dolorCOMMENT
LOW⚡t/t4051/appended2.c18 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,COMMENT
LOW⚡t/t4051/appended2.c18 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,COMMENT
LOW⚡t/t4051/appended2.c22 * gubergren, no sea takimata sanctus est Lorem ipsum dolorCOMMENT
LOW⚡t/t4051/appended2.c25 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,COMMENT
LOW⚡t/t4051/appended2.c25 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,COMMENT
LOW⚡t/t4051/appended2.c29 * gubergren, no sea takimata sanctus est Lorem ipsum dolorCOMMENT
Redundant / Tautological Comments20 hits · 32 pts
SeverityFileLineSnippetContext
LOWgit-mergetool--lib.sh509 # Check if a merge tool has been configuredCOMMENT
LOWgit-gui/git-gui.sh2172# Open file relative to the working tree by the default associated app.COMMENT
LOWci/print-test-failures.sh3# Print output of failing testsCOMMENT
LOWperl/Git.pm1120 # Check if $credential is valid prior to writing anythingCOMMENT
LOWperl/Git.pm1619# Check if the command id is something reasonable.COMMENT
LOWperl/Git/SVN/Editor.pm252 # Check if the pattern matches the file name.COMMENT
LOWt/t5319-multi-pack-index.sh615 # Set GIT_TEST_MULTI_PACK_INDEX to 0 to avoid writing a newCOMMENT
LOWt/lib-gpg.sh168 # Verify if at least one key and ssh-keygen works as expectedCOMMENT
LOWt/lib-gpg.sh178 # Check if ssh-keygen has a verify-time option by passing an invalid date to itCOMMENT
LOWt/t9801-git-p4-branch.sh383# Check if git p4 creates a new branch containing a single file,COMMENT
LOWt/test-lib-functions.sh1015# Check if the directory exists and is empty as expected, barf otherwise.COMMENT
LOWt/test-lib-functions.sh1027# Check if the file exists and has a size greater than zeroCOMMENT
LOWt/test-lib-functions.sh1357# Check if the file expected to be empty is indeed empty, and barfsCOMMENT
LOWt/test-lib-functions.sh1436# Print the message body of a commitCOMMENT
LOWt/test-lib-functions.sh2056# Set mtime to a fixed "magic" timestamp in mid February 2009, before weCOMMENT
LOWt/t5584-http-429-retry.sh26 # Set maxRetries to 0 (disabled)COMMENT
LOWt/t3650-replay-basics.sh401 # Set config to update but use --ref-action=printCOMMENT
LOW⚡t/lib-httpd/http-429.sh35# Check if this is the first call (no state directory exists), or ifCOMMENT
LOW⚡t/lib-httpd/http-429.sh41 # Set PATH_INFO to just the repo path (without retry-after value)COMMENT
LOWt/lib-httpd/http-429.sh77 # Check if it's a numberCOMMENT
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHgit-p4.py64except:CODE
HIGHgit-p4.py913except EOFError:CODE
HIGHgit-p4.py2141except UnicodeDecodeError:CODE
HIGHt/unit-tests/clar/generate.py190except (IOError, ValueError):CODE
HIGHt/unit-tests/clar/generate.py247except OSError:CODE
HIGHt/unit-tests/clar/generate.py249except IOError:CODE
Verbosity Indicators6 hits · 12 pts
SeverityFileLineSnippetContext
LOWdiff.c1002 * however we need to check if the indent changes of the current lineCOMMENT
LOWdir.c1974 * also true, in which case we need to check if it contains anyCOMMENT
LOW⚡t/t7102-reset.sh491 # Step 0: start with a clean indexCOMMENT
LOW⚡t/t7102-reset.sh494 # Step 1: remove file2, but only in the index (no change to worktree)COMMENT
LOW⚡t/t7102-reset.sh497 # Step 2: reset index & leave worktree unchanged from HEADCOMMENT
LOW⚡t/t7102-reset.sh500 # Step 3: verify whether the index is refreshed by checking whetherCOMMENT
Deep Nesting22 hits · 12 pts
SeverityFileLineSnippetContext
LOWgit-p4.py253CODE
LOWgit-p4.py472CODE
LOWgit-p4.py861CODE
LOWgit-p4.py948CODE
LOWgit-p4.py1180CODE
LOWgit-p4.py1216CODE
LOWgit-p4.py1284CODE
LOWgit-p4.py4565CODE
LOWgit-p4.py1873CODE
LOWgit-p4.py2009CODE
LOWgit-p4.py2115CODE
LOWgit-p4.py2149CODE
LOWgit-p4.py2453CODE
LOWgit-p4.py2526CODE
LOWgit-p4.py3032CODE
LOWgit-p4.py3064CODE
LOWgit-p4.py3448CODE
LOWgit-p4.py3568CODE
LOWgit-p4.py3647CODE
LOWgit-p4.py3806CODE
LOWgit-p4.py3951CODE
LOWgit-p4.py4046CODE
Slop Phrases5 hits · 9 pts
SeverityFileLineSnippetContext
LOWt/test-lib.sh118# make sure to not overwrite that value, and thus we save it intoCOMMENT
LOWt/t0008-ignores.sh766 # shell, and then echo to the fd. We make sure to close it atCOMMENT
LOWt/t9300-fast-import.sh3601# To make sure you're observing the side effects of checkpoint *before*COMMENT
LOWt/t0012-help.sh28# make sure to exercise these code paths, the output is a bit trickyCOMMENT
MEDIUMcontrib/completion/git-completion.bash27# If you use complex aliases of form '!f() { ... }; f', you can use the nullCOMMENT
Structural Annotation Overuse4 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡t/t7102-reset.sh491 # Step 0: start with a clean indexCOMMENT
LOW⚡t/t7102-reset.sh494 # Step 1: remove file2, but only in the index (no change to worktree)COMMENT
LOW⚡t/t7102-reset.sh497 # Step 2: reset index & leave worktree unchanged from HEADCOMMENT
LOW⚡t/t7102-reset.sh500 # Step 3: verify whether the index is refreshed by checking whetherCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHcontrib/completion/git-completion.bash1699# logic, as requested by the user.COMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWt/lib-httpd.sh5# Usage:COMMENT
LOWt/lib-git-daemon.sh4# Usage:COMMENT
LOWt/t7519-status-fsmonitor.sh424# Usage:COMMENT
Hyper-Verbose Identifiers5 hits · 4 pts
SeverityFileLineSnippetContext
LOWgit-instaweb.sh657class GitWebRequestHandler(CGIHTTPRequestHandler):CODE
LOWgit-p4.py84def format_size_human_readable(num):CODE
LOWgit-p4.py253def metadata_stream_to_writable_bytes(s):CODE
LOWgit-p4.py2845 def update_client_spec_path_cache(self, files):CODE
LOWgit-p4.py1849 def separate_jobs_from_description(self, message):STRING
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWgit-p4.py41CODE
LOWgit-p4.py43CODE
LOWgit-p4.py55CODE
LOWt/unit-tests/clar/generate.py9CODE
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWgit-p4.py273 except Exception as exc:CODE
LOWgit-p4.py2683 except Exception as e:CODE
LOWgit-p4.py3181 except Exception as e:CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWgitweb/static/js/blame_incremental.js517function processData(unprocessed, nextReadPos) {CODE