-
Home
-
Clerk
-
4.1.3
-
Code
-
Classes
- Clerk_Product_Sync
Total Complexity |
179 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
842 |
Lines of code |
605 |
Logical lines of code |
417 |
Comment lines |
123 |
Methods |
16 |
Properties |
2 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_product() |
D |
11 |
85 |
300 |
save_product() |
B |
37 |
22 |
76 |
query_custom_fields() |
B |
42 |
16 |
51 |
remove_product() |
A |
53 |
8 |
22 |
resolve_attribute_product() |
A |
54 |
8 |
20 |
format_attribute() |
S |
57 |
8 |
15 |
resolve_unit_measure() |
S |
53 |
7 |
21 |
trim_whitespace_in_attribute() |
S |
56 |
5 |
18 |
get_additional_fields_raw() |
S |
57 |
4 |
17 |
pre_save_product() |
S |
62 |
4 |
12 |
pre_save_post() |
S |
61 |
4 |
12 |
get_additional_fields() |
S |
60 |
3 |
13 |
includes() |
S |
67 |
2 |
8 |
__construct() |
S |
71 |
1 |
6 |
init_hooks() |
S |
69 |
1 |
6 |
clerk_friendly_attributes() |
S |
66 |
1 |
8 |