-
Home
-
WP Hotelier
-
2.13.2
-
Code
-
Classes
- HTL_Formatting_Helper
Total Complexity |
55 |
Dependencies |
1 |
Dependents |
15 |
Total lines |
292 |
Lines of code |
152 |
Logical lines of code |
102 |
Comment lines |
90 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_valid_checkin_checkout() |
A |
43 |
16 |
44 |
sanitize_amount() |
A |
49 |
14 |
28 |
notation_to_int() |
S |
57 |
6 |
17 |
is_valid_date_range() |
S |
61 |
4 |
12 |
clean_input() |
S |
68 |
3 |
7 |
localized_amount() |
S |
62 |
2 |
12 |
is_phone() |
S |
69 |
2 |
6 |
is_valid_date() |
S |
68 |
2 |
7 |
trim_string() |
S |
69 |
2 |
6 |
sanitize_ids() |
S |
74 |
2 |
4 |
validate_phone() |
S |
75 |
1 |
4 |
sanitize_key() |
S |
72 |
1 |
5 |