EPKB_AI_REST_Training_Data_Controller B

Total Complexity 77
Dependencies 12
Dependents 1
Total lines 774
Lines of code 501
Logical lines of code 209
Comment lines 157
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
add_data_to_collection()
A
43 11 50
delete_training_data_by_ids()
A
44 11 47
update_training_collection()
A
48 10 32
delete_training_collection()
A
44 8 44
add_posts_to_collection()
A
42 7 53
register_routes()
A
34 1 129
get_training_data_rows()
S
45 6 44
create_training_collection()
S
53 5 22
get_training_collections()
S
54 5 20
delete_training_data_rows()
S
55 4 18
get_sync_status()
S
53 2 22
check_admin_permission()
S
63 3 10
is_valid_date()
S
67 3 7
__construct()
S
81 1 3