-
Home
-
Laterpay
-
2.9.7 (latest)
-
Code
-
Classes
- LaterPay_Helper_Post
Total Complexity |
71 |
Dependencies |
9 |
Dependents |
9 |
Total lines |
467 |
Lines of code |
250 |
Logical lines of code |
140 |
Comment lines |
140 |
Methods |
14 |
Properties |
1 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
has_access_to_post() |
B |
43 |
18 |
41 |
get_the_content() |
A |
46 |
12 |
37 |
get_laterpay_purchase_link() |
A |
41 |
10 |
54 |
has_purchased_gift_card() |
S |
53 |
6 |
22 |
get_back_url_extra_params() |
S |
57 |
6 |
15 |
add_teaser_to_the_post() |
S |
55 |
4 |
19 |
is_content_purchasable() |
S |
68 |
4 |
6 |
the_purchase_button_args() |
S |
58 |
2 |
15 |
is_enabled_type() |
S |
67 |
3 |
7 |
get_page_by_title() |
S |
67 |
2 |
8 |
get_identity_purchase_url() |
S |
61 |
1 |
13 |
set_access_state() |
S |
79 |
1 |
3 |
get_access_state() |
S |
80 |
1 |
3 |
get_content_ids() |
S |
68 |
1 |
7 |