-
Home
-
affiliate-toolkit – WP Affiliate Plugin with Amazon
-
3.2.9
-
Code
-
Classes
- atkp_product_collection
Total Complexity |
138 |
Dependencies |
8 |
Dependents |
7 |
Total lines |
651 |
Lines of code |
485 |
Logical lines of code |
398 |
Comment lines |
38 |
Methods |
12 |
Properties |
2 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_main_product() |
D |
23 |
62 |
135 |
load() |
C |
33 |
22 |
96 |
sortByPrice() |
B |
42 |
22 |
51 |
get_offers() |
A |
43 |
11 |
48 |
sortByPrice_asc() |
S |
54 |
7 |
21 |
sortByPrice_desc() |
S |
54 |
7 |
21 |
get_fake_product() |
S |
36 |
1 |
92 |
__get() |
S |
73 |
2 |
5 |
__construct() |
S |
82 |
1 |
3 |
get_min_product() |
S |
72 |
1 |
5 |
get_max_product() |
S |
72 |
1 |
5 |
__set() |
S |
80 |
1 |
3 |