Tribe__Events__Aggregator__Record__Abstract D

Total Complexity 406
Dependencies 21
Dependents 10
Total lines 2,806
Lines of code 1,417
Logical lines of code 841
Comment lines 844
Methods 65
Properties 16

Methods 65

Method Rating Maintainability Complexity Lines of code
insert_posts()
D
2
124 402
queue_import()
D
30 30 113
is_schedule_time()
B
41 16 55
process_posts()
A
50 11 26
preserve_event_option_fields()
A
54 11 20
create_schedule_record()
A
43 9 48
import_event_image()
A
53 9 22
prep_post_args()
A
48 8 33
create_child_record()
A
45 7 41
get_last_import_status()
A
52 8 23
set_status()
S
52 7 26
setup_meta()
S
53 7 21
get_last_child_post()
S
56 7 17
get_default_user_id()
S
56 7 17
get_source_info()
S
52 6 22
get_existing_ids_from_import_data()
S
54 6 21
filter_data_by_selected()
S
55 6 21
prep_import_data()
S
56 6 18
get_event_count()
S
56 6 18
load()
S
53 5 22
import_and_attach_image_to()
S
56 5 19
get_data_hash()
S
50 4 30
import_image()
S
59 5 14
create()
S
50 4 28
save()
S
52 4 23
get_unique_field()
S
58 4 17
get_child_record_by_status()
S
58 4 15
get_retry_time()
S
58 4 15
has_passed_retention_time()
S
59 4 15
maybe_cast_to_error()
S
58 4 14
update_source_name()
S
61 4 14
get_import_data()
S
56 3 18
set_post_thumbnail()
S
63 4 10
import_aggregator_image()
S
62 3 11
log_error()
S
53 2 24
last_child()
S
70 3 6
should_queue_import()
S
67 3 7
import_organizer_image()
S
64 3 10
get_retry_interval()
S
63 3 10
maybe_add_meta_via_pre_wp_44_method()
S
66 3 8
set_status_as_failed()
S
69 3 7
import_venue_image()
S
64 3 10
failed_before()
S
63 3 10
delete()
S
69 2 6
activity()
S
68 2 7
is_polling()
S
73 2 4
has_import_policy_for()
S
77 2 3
update_meta()
S
66 2 8
set_post()
S
71 2 6
has_own_last_import_status()
S
79 1 3
__construct()
S
76 1 4
db_errors_happened()
S
76 1 4
watch_for_db_errors()
S
77 1 4
finalize()
S
75 1 4
has_queue()
S
79 1 3
get_label()
S
100 1 0
get_errors()
S
67 1 8
query_child_records()
S
70 1 6
set_status_as_success()
S
80 1 3
set_status_as_pending()
S
80 1 3
generate_title()
S
74 1 4
dont_change_post_modified()
S
70 1 6
save_activity()
S
80 1 3
delete_meta()
S
74 1 4
generate_next_batch_hash()
S
79 1 3