Commit Graph
5 Commits
Author SHA1 Message Date
Cursor AgentandRobert C. Martin 4cef42357f Cover the mutation sites the report left uncovered.
A file outside the project root is not source. That branch returned
false with no test, so the mutant was uncovered. check=False now sits
on the git call coverage records, and a failing git is still reported
as GitStatusError.

Proved by test_a_file_outside_the_project_root_is_not_source. mutator
on cli.py killed 64 of 64, with nothing survived and nothing uncovered.

Co-authored-by: Robert C. Martin <[email protected]>
2026-11-25 23:57:02 +00:00
Cursor AgentandRobert C. Martin 1bb1936ad5 Document Swift as a supported language.
The scan already reports Swift pairs in the text report and in
.metrics/dry.edn. The help text, the language table, and the project
description still listed the previous six languages.

Proved: test_help_does_not_scan failed until the help named
Swift (.swift) and *Tests.swift, then passed. test_swift_report_writes_the_same_snapshot
checks the text lines and :language \"swift\" in dry.edn. The shared
language tests now include Swift. 92 tests passed.

Co-authored-by: Robert C. Martin <[email protected]>
2026-11-25 23:35:40 +00:00
Robert C. Martin 2be6acadf5 Fail closed on git status and walk deep forms without recursion.
Status records are NUL-terminated, and a git failure returns git's status. .test.cts and .spec.cts are tests. Help lists every skipped directory.
2026-10-03 17:48:35 -05:00
Robert C. Martin 6892667b34 Extract helpers and test the behavior mutation testing was missing.
The switches stay intact. The new tests pin option parsing, file selection, normalization, and which forms each language compares, so the survivors that remain are equivalent mutants.
2026-09-30 17:25:34 -05:00
Robert C. Martin fcf865759d Add a multi-language duplicate finder that writes .metrics/dry.edn. 2026-09-30 14:37:25 -05:00