jkphl/antibot

View on GitHub
src/Antibot/Tests/Ports/HmacValidatorTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method testRequestTimingValidation has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testRequestTimingValidation(): void
    {
        $session       = md5(rand());
        $antibot       = $this->createAntibot($session);
        $hmacValidator = new HmacValidator();
Severity: Minor
Found in src/Antibot/Tests/Ports/HmacValidatorTest.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status