-
Home
-
LearnPress – WordPress LMS Plugin
-
4.0.7
-
Code
-
Classes
- WP_Background_Process
| Total Complexity |
53 |
| Dependencies |
1 |
| Dependents |
0 |
| Total lines |
494 |
| Lines of code |
206 |
| Logical lines of code |
120 |
| Comment lines |
201 |
| Methods |
24 |
| Properties |
5 |
Methods 24
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| handle() |
A |
50 |
10 |
29 |
| get_memory_limit() |
S |
62 |
4 |
11 |
| is_queue_empty() |
S |
57 |
3 |
16 |
| maybe_handle() |
S |
63 |
3 |
12 |
| handle_cron_healthcheck() |
S |
65 |
3 |
11 |
| get_batch() |
S |
52 |
2 |
25 |
| schedule_cron_healthcheck() |
S |
62 |
2 |
11 |
| save() |
S |
69 |
2 |
7 |
| update() |
S |
71 |
2 |
6 |
| is_process_running() |
S |
71 |
2 |
6 |
| lock_process() |
S |
68 |
2 |
6 |
| memory_exceeded() |
S |
64 |
2 |
9 |
| time_exceeded() |
S |
66 |
2 |
8 |
| schedule_event() |
S |
73 |
2 |
5 |
| clear_scheduled_event() |
S |
71 |
2 |
6 |
| cancel_process() |
S |
69 |
2 |
7 |
| __construct() |
S |
67 |
1 |
7 |
| dispatch() |
S |
77 |
1 |
4 |
| push_to_queue() |
S |
76 |
1 |
4 |
| delete() |
S |
77 |
1 |
4 |
| generate_key() |
S |
71 |
1 |
5 |
| unlock_process() |
S |
76 |
1 |
4 |
| complete() |
S |
82 |
1 |
3 |
| task() |
S |
100 |
1 |
0 |