Total Complexity | 50 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 377 |
Lines of code | 204 |
Logical lines of code | 130 |
Comment lines | 116 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
init() | 36 | 15 | 79 | |
add_new_button_to_gutenberg() | 54 | 6 | 27 | |
polylang_compatibility() | 55 | 5 | 18 | |
clear_3rd_party_cache() | 61 | 5 | 12 | |
on_wp_import_post_meta() | 61 | 4 | 12 | |
document_post_deprecated_hooks() | 58 | 3 | 14 | |
register_actions() | 59 | 3 | 13 | |
is_wp_importer_before_0_7() | 63 | 3 | 10 | |
on_wxr_importer_pre_process_post_meta() | 65 | 3 | 9 | |
save_polylang_meta() | 71 | 2 | 6 | |
filter_library_post_type() | 76 | 1 | 4 |