josharian/git-cow-worktree
drop-in copy-on-write replacement for `git worktree add`
- Repository: https://github.com/josharian/git-cow-worktree
- Commit:
0f6852cebe494a29dd5fe28eb5077bdb8fda912c - Generated: 2026-11-13T23:54:17+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 0 | none-detected | 41% | 100% |
| Code quality | 67 | adequate | 90% | 100% |
| Security | 81 | adequate | 85% | 100% |
AI provenance
No AI attribution or AI-consistent velocity signals detected.
-
Explicitly attributed share (lower bound): 0.0%
-
Unattributed share in AI-consistent velocity bursts: 0.0%
-
Estimated AI-generated share: 0.0%
-
Stylometry index: 1.16 per 1,000 lines (narrated steps 2, placeholders 0, assistant phrasing 0, emoji 0). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-05 | 1,856 | 0% |
| 2026-08 | 1,593 | 0% |
Evidence
- step-by-step narration comment: // Step 2: git worktree add --no-checkout [user flags], and, alongside (main.go:91)
- step-by-step narration comment: // Step 6: finalize. (main.go:156)
AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.
Code quality
Code quality is adequate: test-to-source ratio 0.79, no CI test run detected; 14% of function code in complex or long functions; 1% duplicated lines. Weakest area: testing.
| Area | Score |
|---|---|
| Complexity (lizard) | 65 |
| Duplication | 94 |
| Code smells (Opengrep) | 65 |
| Tests and CI | 55 |
| Documentation | 65 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 71; mean complexity 4.6, 90th percentile 10; 2 complex and 0 long functions
- Duplicated lines: 1.0% of 1,250 compared
- Tests: 1,359 test lines for 1,730 source lines (ratio 0.79); CI test commands: none detected; 100% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
Security
Security posture is adequate: no high-impact findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 78 |
| Vulnerable dependencies (OSV) | 100 |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
- Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| medium | opengrep/go.lang.security.audit.crypto.use-of-sha1: Detected SHA1 hash algorithm which is considered insecure. SHA1 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead. [confidence medium] |
index.go:47 |
| medium | opengrep/go.lang.security.audit.crypto.use-of-sha1: Detected SHA1 hash algorithm which is considered insecure. SHA1 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead. [confidence medium] |
validate.go:109 |
Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.
Repository profile
- Source lines: 1,730; test lines: 1,359
| Language | Lines |
|---|---|
| Go | 3,089 |