Total Complexity | 30 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 227 |
Lines of code | 92 |
Logical lines of code | 51 |
Comment lines | 87 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update() | 55 | 5 | 18 | |
install() | 61 | 3 | 13 | |
get_instance() | 73 | 3 | 4 | |
check_version() | 69 | 3 | 6 | |
needs_db_update() | 73 | 2 | 4 | |
update_db_version() | 72 | 2 | 5 | |
maybe_update_db_version() | 75 | 2 | 5 | |
run_update_callback() | 66 | 2 | 8 | |
run_update_callback_start() | 75 | 2 | 5 | |
run_update_callback_end() | 67 | 2 | 8 | |
__construct() | 75 | 1 | 4 | |
get_db_update_callbacks() | 82 | 1 | 3 | |
update_version() | 76 | 1 | 4 | |
get_greatest_db_version_in_updates() | 72 | 1 | 5 |