Commit Graph
5 Commits
Author SHA1 Message Date
Cursor AgentandRobert C. Martin 8118590503 Kill the Clojure site survivors instead of leaving them.
A reader quote is a quoting_lit, so '(+ 1 0) was not covered by the
(quote ...) test. The skip returned True there and the mutant survived.
A + inside a vector is not a call, a symbol True is not a boolean, and
the anchor of a Clojure site is its own line.

_clojure_text repeated its type check with a child-count clause, and
_is_head's final return never ran because the symbol is a child of its
list. Both are gone.

Proved by the Clojure site tests. mutator on src/mutator/sites.py then
scored 66 killed, 0 survived, 0 uncovered. The suite passes (119 tests,
and the SwiftPM run is skipped because swift is not installed).

Co-authored-by: Robert C. Martin <[email protected]>
2026-11-26 01:04:26 +00:00
Robert C. Martin a5a0cb803b Count multi-line statement sites as covered from their start line; skip TypeScript type positions 2026-10-21 14:33:45 -05:00
Robert C. Martin ba4065f3f1 Stop shelling generated test commands and fail closed on git and coverage.
A package path is one argument. Git status uses NUL records and returns git's status. A failed coverage command leaves reports unread, coverage keeps the longest path match, and site walks no longer recurse.
2026-10-03 17:48:32 -05:00
Robert C. Martin 1bad4b908a Mutate ?? and ?. in TypeScript and JavaScript, including Express handlers. 2026-10-03 08:49:10 -05:00
Robert C. Martin bf42bd22e7 Add a multi-language mutation tester that writes .metrics/mutate for uml-viewer. 2026-09-30 10:40:54 -05:00