WFFN_REST_API_Dashboard_EndPoint D

Total Complexity 257
Dependencies 13
Dependents 2
Total lines 1,400
Lines of code 1,105
Logical lines of code 568
Comment lines 114
Methods 28
Properties 3

Methods 28

Method Rating Maintainability Complexity Lines of code
get_all_upsells()
D
28
29 125
get_total_revenue()
C
33 29 91
prepare_graph_for_response()
C
35 23 78
get_top_funnels()
B
39 24 54
get_timeline_funnels()
B
36 22 75
get_overview_data()
A
42 15 48
get_total_orders()
A
45 15 34
get_cart_upsells_for_analytics()
A
37 11 91
get_bump_items()
A
42 9 56
get_funnel_views_data()
A
48 10 28
get_graph_data()
A
48 9 31
get_all_source_data()
A
50 8 27
get_total_contacts()
S
52 7 21
get_upsell_items()
S
43 5 50
maybe_add_offer()
S
58 6 14
maybe_add_bump()
S
58 6 14
get_cart_upsell_items()
S
47 4 39
get_item_list()
S
54 5 20
register_endpoint()
S
43 1 65
get_revenue_percentage()
S
44 2 49
get_cart_upsells_count()
S
56 3 21
get_all_stats_data()
S
55 3 18
get_single_offer_value()
S
62 3 11
get_single_bump_value()
S
62 3 11
get_stats_collection()
S
55 1 22
get_instance()
S
72 2 6
get_read_api_permission_check()
S
79 1 3
__construct()
S
78 1 3