wpl_units A

Total Complexity 55
Dependencies 3
Dependents 15
Total lines 364
Lines of code 147
Logical lines of code 111
Comment lines 142
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
currency_converter()
A
51 10 22
update_exchange_rates()
S
54 7 20
get_units()
S
58 5 14
update()
S
59 5 13
update_a_exchange_rate()
S
62 4 11
get_default_unit()
S
62 4 10
update_price_si()
S
70 4 5
get_unit()
S
70 3 5
get_base_currency()
S
66 3 9
sort_units()
S
65 2 9
convert()
S
65 2 8
auto_update_rates()
S
72 2 5
get_unit_types()
S
75 1 4
get_si_unit_types()
S
78 1 3
id()
S
73 1 4
update_exchange_rate()
S
72 1 5