Quality
Test coverage
Fifty-six PHPUnit tests cover the module's five classes: challenge composition and uniqueness of the correct answer, shape tracing, image rendering, the token life cycle — signing, tampering, expiry, replay — and the guard's three mechanisms. An integration test checks that account creation is refused when the challenge has not been solved.
The suite runs from the module root:
phpunit --bootstrap tests/bootstrap.php tests/