WC_Data C

Total Complexity 121
Dependencies 7
Dependents 8
Total lines 834
Lines of code 374
Logical lines of code 205
Comment lines 361
Methods 40
Properties 10

Methods 40

Method Rating Maintainability Complexity Lines of code
read_meta_data()
A
48 11 34
update_meta_data()
A
48 10 34
save_meta_data()
A
51 9 25
set_props()
A
53 9 20
set_date_prop()
A
49 8 27
get_meta()
S
52 7 23
is_internal_meta_key()
S
60 6 12
set_meta_data()
S
57 5 17
set_prop()
S
63 5 11
add_meta_data()
S
57 4 18
__clone()
S
63 4 11
get_prop()
S
63 4 10
save()
S
61 3 13
delete_meta_data_by_mid()
S
64 3 9
delete_meta_data()
S
65 3 9
__wakeup()
S
67 2 8
delete()
S
67 2 8
maybe_read_meta_data()
S
75 2 5
get_meta_cache_key()
S
68 2 7
prime_raw_meta_data_cache()
S
69 2 6
get_changes()
S
82 1 3
set_object_read()
S
80 1 3
apply_changes()
S
76 1 4
get_hook_prefix()
S
80 1 3
set_defaults()
S
74 1 5
set_id()
S
80 1 3
get_object_read()
S
81 1 3
__construct()
S
76 1 4
generate_meta_cache_key()
S
78 1 3
__sleep()
S
81 1 3
meta_exists()
S
72 1 5
get_meta_data()
S
75 1 4
filter_null_meta()
S
80 1 3
get_extra_data_keys()
S
80 1 3
get_data_keys()
S
80 1 3
get_data()
S
77 1 3
__toString()
S
80 1 3
get_id()
S
82 1 3
get_data_store()
S
82 1 3
error()
S
78 1 3