CMDCodeMDSample data · Acme Commerce

Repository overview

A complete, read-only example of a CodeMD analysis.

main · analyzed 8 minutes ago
Release readiness86%↑ 7% this sprint
Features mapped18 / 2090% mapped to code
Tests passing342 / 35197.4% pass rate
Open ship blockers2Needs attention

Repository health

Combined signal from tests, feature coverage, static analysis, and security.

86Healthy
Test confidence94%
Feature coverage90%
Security posture78%

30-day activity

Commits linked to product features

73 commits · 11 contributors · 16 features advanced

Recent commits

Every change connected to the feature it advances.

CommitFeatureAuthorImpactChecks
a72d9f1 Add retry policy to checkoutCheckout reliabilityMaya C.Medium14 passed
6e94b30 Cache product availabilityCatalog performanceJon B.Low9 passed
2c801be Validate promotion stackingDiscount enginePriya S.High22 passed
d1f593a Add order export filtersOrder reportingLeo R.Low7 passed
89bb2cd Rotate webhook signing keyPartner webhooksNina K.Medium18 passed

Change impact path

Selected commit: a72d9f1

checkout()→create_order()→reserve_stock()→publish_event()

4 functions changed

Medium risk

Two public call paths and one asynchronous event consumer are affected.

3 product features affected

Mapped

Checkout reliability, Inventory reservation, and Customer notifications.

Downstream callers

Reachable code that may observe this change.

api.routes.checkout.submit_order

Direct caller · 2 relevant tests

workers.recovery.retry_checkout

Indirect caller · 3 relevant tests

events.order_created.notify_customer

Event consumer · 1 contract test

Tests executed351Across 42 suites
Passed34297.4% pass rate
Coverage confirmed31890.6% reached target
Generated tests2711 merged this sprint

Latest test runs

Website and VS Code plugin results in one view.

SuiteTarget featureDurationCoverageResult
test_checkout_retry.pyCheckout reliability4.2sConfirmed12 passed
discount_contract.spec.tsDiscount engine8.7sConfirmed1 failed
inventory_reservation_test.goInventory2.1sConfirmed18 passed
webhook_signature_test.pyPartner webhooks3.6sPartial1 skipped

Open defects

Reproducible failures recorded from genuine test runs.

Stacked promotion exceeds order ceiling

Critical

When a percentage and fixed promotion are combined, the final discount can exceed the configured 60% maximum.

discount_contract.spec.ts · opened 2 hours ago

Webhook retry duplicates delivery receipt

High

A timeout after provider acceptance creates a second delivery receipt on retry.

webhook_delivery_test.py · opened yesterday

CSV export drops UTC offset

Medium

Order export converts timestamps to local time without preserving the original offset.

order_export_test.py · opened 3 days ago

Defect trend

Last four sprints

12 fixed · 3 open · median resolution 1.8 days

Static findings

High-confidence issues found without executing the application.

FindingLocationSeverityConfidence
Resource opened without guaranteed closeexports/csv_writer.py:88High96%
Promise rejection not handledwebhooks/delivery.ts:141High92%
Unreachable branch after returnpricing/rules.py:206Medium99%
Unused function legacy_tax_roundingtax/legacy.py:31Review88%

Feature implementation map

Product capabilities connected to their code, tests, and recent work.

Checkout reliability12 files · 38 functions
14 testsReady
Discount engine9 files · 27 functions
22 testsAt risk
Inventory reservation14 files · 44 functions
18 testsReady
Partner webhooks7 files · 21 functions
11 testsReview
Order reporting11 files · 30 functions
9 testsReady
Overall readiness86%On track
Scope complete17 / 203 in progress
Quality gates8 / 102 outstanding
Target releaseNov 1418 days remaining

Release gates

Evidence required before the release can ship.

Critical feature tests

Passed

168 of 168 critical-path tests pass.

Security ship blockers

2 open

One reachable secret leak and one vulnerable dependency require action.

Feature-to-code mapping

90%

18 of 20 planned features are connected to implementation evidence.

Sprint progress

Feature completion by week

Projected readiness: 94% by release date

Security ship blockers

Reachable findings that can affect production.

Attack surface — 41 dangerous functions, 12 reachable from outside input.

Service token logged in webhook failure path

Critical

The exception serializer includes an authorization header. Reachable from POST /webhooks/delivery.

CWE-532 · secrets.py:74 · fix available

Vulnerable multipart parser

High

Installed parser version is affected by a denial-of-service advisory and is used by the catalog import endpoint.

CVE-2026-1842 · dependency upgrade available

Security posture

Latest review completed today

78Review
Critical1
High1
Medium4
Resolved this sprint7

Product vision validation

How closely implementation evidence matches the planned product.

Planned features20From Feature MD
Mapped to code1890% validated

Customer self-service returns

Missing

No implementation evidence found. Planned for the next quarter.

Regional tax preview

Partial

UI labels exist, but no complete backend call path or dedicated test was found.

Unmapped code capabilities

Implemented behavior not represented in Feature MD.

Admin price override

Detected in 5 functions and 3 UI controls. Add it to the product plan or retire it.

Legacy invoice XML export

Detected in 4 functions with no calls in the last 90 days.