Topirank_Batch_Processor A

Total Complexity 56
Dependencies 3
Dependents 4
Total lines 396
Lines of code 307
Logical lines of code 149
Comment lines 2
Methods 20
Properties 9

Methods 20

Method Rating Maintainability Complexity Lines of code
process_next_batch()
A
43 9 48
get_progress()
A
47 8 39
init_batch()
S
47 5 36
handle_existing_post()
S
47 4 41
is_batch_active()
S
62 4 11
check_and_clear_stale_batch()
S
66 4 8
handle_new_post()
S
54 2 23
clear_batch_data()
S
58 2 16
get_file_content()
S
63 3 10
update_batch_data()
S
58 1 16
get_instance()
S
71 2 6
should_skip_file()
S
74 2 4
clean_memory()
S
75 2 5
is_batch_complete()
S
74 2 4
handle_batch_completion()
S
60 1 14
get_progress_data()
S
66 1 9
resolve_conflicts()
S
80 1 3
get_conflicts()
S
81 1 3
__construct()
S
80 1 3
load_batch_data()
S
66 1 8