wpl_units A

Total Complexity 62
Dependencies 3
Dependents 14
Total lines 391
Lines of code 167
Logical lines of code 123
Comment lines 144
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
currency_converter()
B
43 17 41
update_exchange_rates()
S
53 7 21
get_units()
S
58 5 14
update()
S
60 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