Percentage | Lines | ||
---|---|---|---|
PublicKey |
|
100 % | 56 |
Address |
|
100 % | 147 |
SecretKey |
|
100 % | 82 |
AbstractBase |
|
100 % | 146 |
ConverterTrait |
|
100 % | 121 |
Bech32 |
|
100 % | 206 |
ValidatorTrait |
|
100 % | 30 |
Transaction |
|
100 % | 374 |
Ed25519 |
|
100 % | 284 |
AbstractEd25519 |
|
100 % | 148 |
CRAP Score | Lines | ||
---|---|---|---|
SecretKey::fromSeed() | 12 | 18 | |
PublicKey::verifySignature() | 6 | 9 | |
Ed25519::modL() | 6 | 27 | |
SecretKey::sign() | 6 | 9 | |
AbstractBase::fnM() | 5 | 18 | |
Bech32::convert5to8() | 5 | 21 | |
ValidatorTrait::validateInt() | 5 | 8 | |
ConverterTrait::checkPrefixChars() | 4 | 5 | |
Bech32::decode() | 4 | 19 | |
Bech32::polyMod() | 4 | 16 | |