-
Home
-
WP Hotelier
-
2.5.0
-
Code
-
Classes
- HTL_Formatting_Helper
Total Complexity |
53 |
Dependencies |
1 |
Dependents |
14 |
Total lines |
282 |
Lines of code |
145 |
Logical lines of code |
97 |
Comment lines |
89 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_valid_checkin_checkout() |
A |
46 |
14 |
37 |
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 |