| Class | Coverage | Complexity | CRAP |
|---|---|---|---|
| Imports\Utils\FileRestorer | 25.8% | 56 | 1335 |
| Imports\Backup_Import_Manager | 40.9% | 61 | 828 |
| Imports\Playground_DB_Importer | 84.5% | 77 | 99 |
| Imports\Utils\FileExtractor | 35.7% | 16 | 84 |
| Imports\SQL_Postprocessor | 79.6% | 51 | 73 |
| Imports\Playground_Importer | 50.0% | 11 | 26 |
| Imports\Playground_Clean_Up | 37.5% | 8 | 23 |
| Imports\Utils\Logger\FileLogger | 42.9% | 7 | 16 |
| Imports\Playground_Site_Integrity_Check | 0.0% | 3 | 12 |
| Imports\Backup_Import_Action | 80.0% | 4 | 4 |
| Method | Coverage |
|---|---|
| bump_import_stats | 0% |
| determine_importer_type | 0% |
| get_importer | 0% |
| process_files | 0% |
| recreate_database | 0% |
| postprocess_database | 0% |
| clean_up | 0% |
| verify_site_integrity | 0% |
| check | 0% |
| check_active_theme | 0% |
| extract_zip | 0% |
| extract_tar | 0% |
| enqueue_files | 0% |
| restore_files | 0% |
| get_symlinked_dirs | 0% |
| should_enqueue_file | 0% |
| create_file_info_array | 0% |
| is_in_symlinked_directory | 0% |
| get_extension_slug_from_path | 0% |
| get_file_type | 0% |
| is_theme_file | 0% |
| is_plugin_file | 0% |
| is_plugin_symlinked | 0% |
| install_default_themes | 0% |
| install_theme | 0% |
| run_command | 0% |
| log | 0% |
| remove_folder | 16% |
| import | 26% |
| replace_users | 33% |
| postprocess | 44% |
| reset_import_status | 46% |
| log | 50% |
| ensure_dir_exists | 50% |
| __construct | 50% |
| should_bail_out | 54% |
| output | 62% |
| get_dump | 66% |
| run_command | 66% |
| replace_urls | 70% |
| check_and_clear_file | 71% |
| extract | 72% |
| parse_database | 73% |
| is_file_excluded | 75% |
| generate_sql | 78% |
| generate_inserts | 80% |
| start | 81% |
| get_table_types_map | 81% |
| sqlite_type_to_format | 81% |
| Method | Coverage | Complexity | CRAP |
|---|---|---|---|
| import | 27.0% | 30 | 380 |
| restore_files | 0.0% | 10 | 110 |
| get_symlinked_dirs | 0.0% | 10 | 110 |
| bump_import_stats | 0.0% | 5 | 30 |
| enqueue_files | 0.0% | 5 | 30 |
| remove_folder | 16.7% | 6 | 26 |
| postprocess | 44.0% | 9 | 23 |
| parse_database | 73.2% | 17 | 22 |
| is_in_symlinked_directory | 0.0% | 4 | 20 |
| install_default_themes | 0.0% | 4 | 20 |
| get_table_types_map | 81.7% | 18 | 19 |
| determine_importer_type | 0.0% | 3 | 12 |
| get_importer | 0.0% | 3 | 12 |
| process_files | 0.0% | 3 | 12 |
| replace_users | 33.3% | 5 | 12 |
| extract_zip | 0.0% | 3 | 12 |
| get_extension_slug_from_path | 0.0% | 3 | 12 |
| get_file_type | 0.0% | 3 | 12 |
| generate_sql | 78.1% | 9 | 9 |
| extract | 72.7% | 8 | 9 |
| replace_urls | 70.8% | 7 | 8 |
| should_bail_out | 54.5% | 5 | 7 |
| sqlite_type_to_format | 81.8% | 7 | 7 |
| start | 81.4% | 7 | 7 |
| reset_import_status | 46.2% | 4 | 6 |
| check_active_theme | 0.0% | 2 | 6 |
| output | 62.5% | 5 | 6 |
| extract_tar | 0.0% | 2 | 6 |
| should_enqueue_file | 0.0% | 2 | 6 |
| is_theme_file | 0.0% | 2 | 6 |
| is_plugin_file | 0.0% | 2 | 6 |
| is_plugin_symlinked | 0.0% | 2 | 6 |
| run_command | 0.0% | 2 | 6 |
| log | 0.0% | 2 | 6 |
| ensure_dir_exists | 50.0% | 3 | 4 |
| generate_inserts | 80.0% | 3 | 3 |
| is_file_excluded | 75.0% | 3 | 3 |
| check_and_clear_file | 71.4% | 3 | 3 |
| log | 50.0% | 2 | 2 |
| get_dump | 66.7% | 2 | 2 |
| run_command | 66.7% | 2 | 2 |
| __construct | 50.0% | 2 | 2 |