Total Complexity | 30 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 184 |
Lines of code | 114 |
Logical lines of code | 58 |
Comment lines | 42 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validateMinimumPaymentAmount() | 55 | 6 | 17 | |
isMinimumAmountValidationRequired() | 71 | 4 | 5 | |
getMinimumProductAmount() | 66 | 3 | 9 | |
validateProducts() | 63 | 3 | 10 | |
validateProductSelectorStyle() | 62 | 2 | 12 | |
validatePaymentType() | 63 | 2 | 11 | |
validateChargeType() | 63 | 2 | 11 | |
validateCurrency() | 66 | 2 | 8 | |
validateShowCouponField() | 66 | 2 | 8 | |
validateGenerateInvoice() | 66 | 2 | 8 | |
validate() | 62 | 1 | 12 | |
__construct() | 80 | 1 | 3 |