MM_WPFS_PriceCalculator S

Total Complexity 42
Dependencies 8
Dependents 2
Total lines 276
Lines of code 167
Logical lines of code 85
Comment lines 60
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
prepareStripeInvoiceParams()
A
47 10 38
filterApplicableTaxRatesStatic()
A
50 10 28
getProductPricesFromStripe()
S
47 6 36
getApplicableInlineTaxRatesStatic()
S
59 3 15
determineTaxLabel()
S
54 2 20
extractCurrencyFromProducts()
S
69 2 7
__construct()
S
66 1 8
getFormFromDatabase()
S
100 1 0
getApplicableTaxRates()
S
100 1 0
getProductBuckets()
S
100 1 0
extractPaymentDetailsFromInvoiceLineItems()
S
100 1 0
selectApplicableTaxRates()
S
78 1 3
extractCurrencyFromForm()
S
82 1 3
generateTaxIdStripeErrorMessage()
S
75 1 4
getProductPrices()
S
73 1 5