Percentage | Lines | ||
---|---|---|---|
HashCalculator |
|
100 % | 11 |
HeaderValidator |
|
100 % | 25 |
RequestSerializer |
|
100 % | 57 |
HeaderNameNormalizer |
|
100 % | 20 |
Verifier |
|
100 % | 41 |
HmacMiddleware |
|
100 % | 66 |
Signer |
|
100 % | 43 |
CRAP Score | Lines | ||
---|---|---|---|
HmacMiddleware::process() | 4 | 15 | |
HeaderValidator::conforms() | 3 | 11 | |
RequestSerializer::headers() | 3 | 19 | |
HeaderNameNormalizer::normalize() | 3 | 13 | |
Verifier::withoutUnsignedHeaders() | 3 | 11 | |
Signer::withSignedHeadersHeader() | 3 | 19 | |
RequestSerializer::fixTarget() | 2 | 11 | |
Verifier::verify() | 2 | 14 | |
HashCalculator::hmac() | 1 | 3 | |
Signer::sign() | 1 | 9 | |