CRAP Score | Lines | ||
---|---|---|---|
PromptPay::generatePayload() | 30 | 25 | |
ScbQr::getqrcode() | 6 | 41 | |
PromptPay::f() | 2 | 3 | |
PromptPay::generateQrCode() | 2 | 8 | |
PromptPay::serialize() | 2 | 3 | |
PromptPay::crc16() | 2 | 9 | |
PromptPay::formatTarget() | 2 | 12 | |
ScbQr::CRC16HexDigest() | 2 | 3 | |
ScbQr::crc16() | 2 | 9 | |
PromptPay::formatAmount() | 1 | 3 | |