-
Home
-
AWP Classifieds
-
4.1.6
-
Code
-
Classes
- AWPCP_PaymentTerm
| Total Complexity |
50 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
282 |
| Lines of code |
164 |
| Logical lines of code |
93 |
| Comment lines |
52 |
| Methods |
22 |
| Properties |
16 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| calculate_end_date() |
A |
53 |
9 |
22 |
| validate() |
A |
54 |
9 |
19 |
| get_duration_interval_label() |
S |
57 |
5 |
17 |
| prepare_default_properties() |
S |
54 |
2 |
22 |
| sanitize() |
S |
56 |
2 |
18 |
| normalize() |
S |
68 |
3 |
7 |
| update() |
S |
71 |
3 |
5 |
| is_paid() |
S |
80 |
2 |
3 |
| requires_payment() |
S |
79 |
2 |
3 |
| __construct() |
S |
73 |
1 |
5 |
| get_duration_intervals() |
S |
69 |
1 |
8 |
| is_suitable_for_transaction() |
S |
82 |
1 |
3 |
| ad_can_be_renewed() |
S |
82 |
1 |
3 |
| ad_cannot_be_renewed_error() |
S |
82 |
1 |
3 |
| get_name() |
S |
80 |
1 |
3 |
| get_allowed_ads_count() |
S |
82 |
1 |
3 |
| get_duration_interval() |
S |
79 |
1 |
3 |
| get_duration() |
S |
72 |
1 |
5 |
| get_characters_allowed() |
S |
80 |
1 |
3 |
| get_characters_allowed_in_title() |
S |
80 |
1 |
3 |
| get_regions_allowed() |
S |
82 |
1 |
3 |
| get_dashboard_url() |
S |
81 |
1 |
3 |