| Percentage | Lines | ||
|---|---|---|---|
| Bogus |
|
0 % | 57 |
| XmlClient |
|
0 % | 63 |
| InitialTransaction |
|
19 % | 82 |
| ThreedSecureAuthenticateTransaction |
|
30 % | 28 |
| TransferTransaction |
|
31 % | 57 |
| RetrieveTransaction |
|
33 % | 19 |
| Response |
|
36 % | 144 |
| GatewayFactory |
|
43 % | 49 |
| TransactionException |
|
50 % | 10 |
| ReferenceTransaction |
|
54 % | 45 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ThreedSecureAuthenticateTransaction::canCommit() | 6 | 4 | |
| GatewayFactory::register() | 6 | 6 | |
| TransferTransaction::canCommit() | 6 | 4 | |
| XmlClient::post() | 6 | 12 | |
| RestClient::authenticate() | 4 | 18 | |
| RestClient::request() | 4 | 27 | |
| Gateway::execute() | 3 | 16 | |
| GatewayFactory::create() | 3 | 15 | |
| ParamsBag::offsetGet() | 3 | 11 | |
| XmlBuilder::createAttributes() | 3 | 7 | |