Skip to content

v0.1.1

Latest

Choose a tag to compare

@JordanCoin JordanCoin released this 29 Jul 13:14

crap4swift v0.1.1 — a maintenance release, driven by the tool auditing itself.

crap4swift flagged its own main() at CRAP 1482 (cyclomatic complexity 38, untested). So this release extracts the CLI's argument parsing (Options.parse) and source discovery (SourceFiles.discover) into the library and unit-tests them:

  • main() drops from CC 38 → 9
  • argument parsing goes from untested → 84% covered
  • No behavior changes — same flags, same output.

Also: README now leads with the one-command --spm usage and consolidates options into tables. 73 tests.

brew upgrade crap4swift    # or: brew install JordanCoin/tap/crap4swift

Universal (arm64 + x86_64) macOS binary attached. Full list: CHANGELOG.