Percentage | Lines | ||
---|---|---|---|
Operation |
|
100 % | 61 |
OperationFailure |
|
100 % | 40 |
FailedRollbackException |
|
100 % | 53 |
TransactionRolledBackException |
|
100 % | 39 |
OperationFormatter |
|
100 % | 16 |
OperationFailureFormatter |
|
100 % | 54 |
ExceptionFormatter |
|
100 % | 12 |
RollbackFormatter |
|
100 % | 44 |
FailedRollbackFormatter |
|
100 % | 71 |
Transaction |
|
100 % | 150 |
CRAP Score | Lines | ||
---|---|---|---|
OperationExceptionFactory::createFromThrowable() | 4 | 27 | |
Transaction::rollback() | 3 | 31 | |
Transaction::commit() | 3 | 15 | |
Transaction::process() | 3 | 21 | |
Operation::rollback() | 2 | 4 | |
Transaction::createQueue() | 2 | 11 | |
OperationFormatter::format() | 2 | 7 | |
OperationFailureFormatter::format() | 2 | 21 | |
FailedRollbackFormatter::format() | 2 | 27 | |
OperationHandler::attachVisitor() | 2 | 4 | |