-
Home
-
The Events Calendar
-
6.5.1
-
Code
-
Classes
- Tribe__Cost_Utils
Total Complexity |
77 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
532 |
Lines of code |
261 |
Logical lines of code |
160 |
Comment lines |
194 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
merge_cost_ranges() |
B |
39 |
18 |
64 |
parse_cost_range() |
A |
45 |
11 |
41 |
parse_currency_position() |
A |
53 |
9 |
22 |
get_cost_by_func() |
A |
51 |
8 |
28 |
parse_currency_symbol() |
A |
53 |
8 |
22 |
parse_separators() |
S |
52 |
5 |
24 |
maybe_format_with_currency() |
S |
63 |
4 |
10 |
maybe_replace_cost_with_free() |
S |
63 |
3 |
10 |
numerize_numbers() |
S |
71 |
2 |
5 |
instance() |
S |
70 |
2 |
7 |
get_maximum_cost() |
S |
79 |
1 |
3 |
is_valid_cost() |
S |
79 |
1 |
3 |
get_minimum_cost() |
S |
79 |
1 |
3 |
convert_decimal_separator() |
S |
77 |
1 |
3 |
restore_original_decimal_separator() |
S |
79 |
1 |
3 |
get_separators() |
S |
75 |
1 |
4 |
get_cost_regex() |
S |
65 |
1 |
9 |