Sensei_Import_Model A

Total Complexity 70
Dependencies 7
Dependents 2
Total lines 482
Lines of code 267
Logical lines of code 135
Comment lines 146
Methods 18
Properties 8

Methods 18

Method Rating Maintainability Complexity Lines of code
restore_from_source_array()
C
32 24 111
is_valid()
A
52 10 25
get_value()
A
54 8 21
add_thumbnail_to_post()
S
57 4 17
get_error_data()
S
59 4 16
get_existing_post_id()
S
57 3 18
from_source_array()
S
58 3 16
store_import_id()
S
69 3 6
add_warnings_to_job()
S
64 2 11
is_new()
S
82 1 3
get_default_author()
S
82 1 3
__construct()
S
91 1 2
add_line_warning()
S
71 1 6
get_post_id()
S
82 1 3
set_data()
S
81 1 3
get_data()
S
82 1 3
get_model_key()
S
100 1 0
set_post_id()
S
81 1 3