PUM_Abstract_Repository_Posts S

Total Complexity 47
Dependencies 7
Dependents 0
Total lines 416
Lines of code 166
Logical lines of code 82
Comment lines 173
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
update_item()
S
51 7 28
get_model()
S
57 7 15
get_items()
S
59 3 14
create_item()
S
53 2 25
get_item_by()
S
64 3 8
delete_item()
S
79 2 3
cached_model_exists()
S
76 2 3
get_item()
S
69 2 6
get_post_type()
S
82 1 3
untrash_item()
S
80 1 3
is_item_trashed()
S
79 1 3
get_post_hash()
S
80 1 3
assert_data()
S
100 1 0
get_last_query()
S
82 1 3
get_args_hash()
S
80 1 3
count_items()
S
68 1 7
init()
S
77 1 4
has_item()
S
79 1 3
build_wp_query_args()
S
82 1 3
_build_wp_query_args()
S
72 1 5
reset_strict_query_args()
S
77 1 4
set_strict_query_arg()
S
80 1 3
get_strict_query_args()
S
82 1 3
default_strict_query_args()
S
74 1 5
default_query_args()
S
82 1 3
__construct()
S
82 1 3
force_delete_item()
S
79 1 3