| Total Complexity | 38 |
| Dependencies | 1 |
| Dependents | 2 |
| Total lines | 379 |
| Lines of code | 248 |
| Logical lines of code | 117 |
| Comment lines | 70 |
| Methods | 12 |
| Properties | 1 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| get_ga_purchase_transactions_data() | 43 | 6 | 54 | |
| prepare_cart_data_fb_response() | 44 | 4 | 45 | |
| prepare_cart_data_ga_response() | 50 | 5 | 29 | |
| add_facebook_pixel_tracking_code() | 52 | 4 | 29 | |
| prepare_purchase_data_fb_response() | 52 | 4 | 23 | |
| add_google_analytics_tracking_code() | 54 | 3 | 29 | |
| send_ga_data_if_enabled() | 63 | 4 | 9 | |
| send_fb_response_if_enabled() | 64 | 3 | 9 | |
| get_instance() | 71 | 2 | 6 | |
| __construct() | 79 | 1 | 3 | |
| add_tracking_code() | 78 | 1 | 4 | |
| get_required_product_data_for_ga() | 67 | 1 | 8 |