Total Complexity | 80 |
Dependencies | 4 |
Dependents | 4 |
Total lines | 528 |
Lines of code | 207 |
Logical lines of code | 115 |
Comment lines | 242 |
Methods | 24 |
Properties | 7 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_formatted_meta_data() | 45 | 17 | 33 | |
offsetGet() | 51 | 9 | 26 | |
__construct() | 55 | 8 | 18 | |
calculate_taxes() | 51 | 6 | 25 | |
offsetSet() | 58 | 5 | 16 | |
offsetUnset() | 60 | 5 | 14 | |
offsetExists() | 66 | 5 | 7 | |
calculate_cogs_value() | 61 | 4 | 12 | |
set_cogs_value() | 72 | 3 | 5 | |
get_cogs_value() | 76 | 3 | 3 | |
is_type() | 77 | 2 | 3 | |
calculate_cogs_value_core() | 68 | 1 | 8 | |
has_cogs() | 82 | 1 | 3 | |
get_order_id() | 79 | 1 | 3 | |
get_type() | 82 | 1 | 3 | |
get_quantity() | 82 | 1 | 3 | |
get_all_formatted_meta_data() | 79 | 1 | 3 | |
apply_changes() | 76 | 1 | 4 | |
set_name() | 79 | 1 | 3 | |
set_order_id() | 79 | 1 | 3 | |
get_order() | 80 | 1 | 3 | |
get_tax_class() | 82 | 1 | 3 | |
get_tax_status() | 82 | 1 | 3 | |
get_name() | 79 | 1 | 3 |