Code

Rating   Name Duplication Size Complexity
C ynote.*RefundTransactionStatus.IsFailed 0 5 9
B ynote.*RefundService.Refund 0 30 6
B ynote.*Client.do 0 14 6
A ynote.*RefundService.Status 0 17 5
A ynote.TestRefundService_Refund 0 29 1
A ynote.TestRefundService_RefundWithInvalidClient 0 25 1
A ynote.TestClient_Token 0 23 1
A ynote.*RefundTransactionStatus.IsPending 0 3 5
A ynote.TestRefundService_Status 0 18 1
A ynote.TestRefundService_StatusWithFailure 0 18 1
A ynote.TestRefundService_StatusWithMaxTransactionExceeded 0 17 1
A ynote.*Client.AccessToken 0 16 4
A ynote.*Client.newRequest 0 16 4
A ynote.New 0 16 2
A helpers.MakeRequestCapturingTestServer 0 15 4