AWPCP_ListingsCollection B

Total Complexity 76
Dependencies 3
Dependents 17
Total lines 829
Lines of code 456
Logical lines of code 230
Comment lines 234
Methods 41
Properties 4

Methods 41

Method Rating Maintainability Complexity Lines of code
add_orderby_query_parameters()
D
24
26 259
get()
S
58 4 16
get_listing_with_old_id()
S
56 3 19
count_posts()
S
63 4 10
find_all_by_id()
S
68 2 7
query_posts()
S
68 2 7
__construct()
S
74 1 5
find_user_enabled_listings()
S
75 1 4
count_featured_listings()
S
75 1 4
count_flagged_listings()
S
75 1 4
count_incomplete_listings()
S
75 1 4
find_user_listings()
S
75 1 4
count_user_listings()
S
75 1 4
count_user_disabled_listings()
S
75 1 4
count_user_enabled_listings()
S
75 1 4
find_user_disabled_listings()
S
75 1 4
find_listings_awaiting_verification()
S
75 1 4
count_enabled_listings_in_category()
S
75 1 4
count_expired_listings_with_query()
S
80 1 3
count_listings_awaiting_approval_with_query()
S
80 1 3
count_valid_listings_with_query()
S
80 1 3
count_listings_awaiting_verification()
S
75 1 4
count_listings_awaiting_approval()
S
75 1 4
count_successfully_paid_listings()
S
75 1 4
find_expired_listings()
S
75 1 4
find_listings()
S
72 1 5
get_last_query()
S
82 1 3
count_listings()
S
72 1 5
find_valid_listings()
S
75 1 4
count_valid_listings()
S
75 1 4
count_new_listings()
S
75 1 4
count_expired_listings()
S
75 1 4
find_successfully_paid_listings()
S
75 1 4
find_enabled_listings()
S
75 1 4
count_enabled_listings()
S
75 1 4
find_disabled_listings()
S
75 1 4
count_disabled_listings()
S
75 1 4
find_listings_about_to_expire()
S
75 1 4
find_listings_awaiting_approval()
S
75 1 4
count_listings_with_images_awaiting_approval()
S
75 1 4
count_listings_with_query()
S
80 1 3