Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.39MB] [CPU: ▲0.45ms] Passed 4 tests
A check of server-side resources used by Import All Pages, Post types, Products, Orders, and Users as XML & CSV
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.90 ▲1.43 | 45.17 ▲0.86 |
Dashboard /wp-admin | 4.74 ▲1.39 | 57.93 ▼4.57 |
Posts /wp-admin/edit.php | 4.79 ▲1.43 | 58.08 ▲11.36 |
Add New Post /wp-admin/post-new.php | 7.26 ▲1.37 | 89.77 ▼2.31 |
Media Library /wp-admin/upload.php | 4.60 ▲1.37 | 41.55 ▲7.80 |
Manage Addons /wp-admin/admin.php?page=wp-addons-page | 4.59 | 36.95 |
Ultimate CSV Importer Free /wp-admin/admin.php?page=com.smackcoders.csvimporternew.menu | 7.67 | 79.16 |
Server storage [IO: ▲9.44MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 214 new files
Database: 11 new tables, 8 new options
New tables |
---|
wp_import_postID |
wp_cli_csv_template |
wp_ultimate_csv_importer_acf_fields |
wp_smackuci_events |
wp_ultimate_csv_importer_mappingtemplate |
wp_ultimate_csv_importer_media |
wp_ultimate_post_entries |
wp_ultimate_csv_importer_shortcode_manager |
wp_import_detail_log |
wp_smackcsv_file_events |
... |
New WordPress options |
---|
ULTIMATE_CSV_IMP_VERSION |
sm_uci_pro_settings |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Import All Pages, Post types, Products, Orders, and Users as XML & CSV: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲115 | 14.26 ▼0.38 | 2.09 ▲0.44 | 44.04 ▲1.95 |
Dashboard /wp-admin | 2,236 ▲55 | 5.57 ▼0.10 | 91.70 ▼11.26 | 73.59 ▲32.26 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 1.99 ▼0.00 | 38.25 ▼0.09 | 32.44 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,583 ▲57 | 23.37 ▲0.40 | 786.11 ▲171.83 | 69.12 ▲16.09 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.21 ▲0.03 | 105.17 ▲7.65 | 77.27 ▲33.09 |
Manage Addons /wp-admin/admin.php?page=wp-addons-page | 1,204 | 2.64 | 34.61 | 80.39 |
Ultimate CSV Importer Free /wp-admin/admin.php?page=com.smackcoders.csvimporternew.menu | 1,110 | 6.46 | 433.95 | 141.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 11 tables
- wp_ultimate_post_entries
- wp_import_log_detail
- wp_ultimate_csv_importer_media
- wp_ultimate_csv_importer_shortcode_manager
- wp_smackuci_events
- wp_smackcsv_file_events
- wp_ultimate_csv_importer_acf_fields
- wp_import_detail_log
- wp_cli_csv_template
- wp_ultimate_csv_importer_mappingtemplate
- ...
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- ULTIMATE_CSV_IMP_VERSION
- sm_uci_pro_settings
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Dashboard view of the WordPress Ultimate CSV & XML Import plugin.), #2 (Upload an XML or CSV file.), #3 (Simple Drag and Drop mapping in CSV & XML Import plugin.), #4 (Mapping view of the uploaded XML or CSV. All import fields are set up against WordPress fields.), #5 (Detailed real-time log in WordPress.), #6 (Settings with php.ini details.), #7 (Downloadable log manager for all imported events.), #8 (WordPress XML All Import Option.)
- Tags: You are using too many tags: 45 tag instead of maximum 10
wp-ultimate-csv-importer/wp-ultimate-csv-importer.php Passed 13 tests
This is the main PHP file of "Import All Pages, Post types, Products, Orders, and Users as XML & CSV" version 7.10.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
95 characters long description:
Seamlessly create posts, custom posts, pages, media, SEO and more from your CSV data with ease.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin47,813 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 113 | 2,596 | 1,594 | 24,146 |
CSS | 15 | 2,573 | 234 | 11,442 |
SVG | 4 | 0 | 0 | 9,695 |
JavaScript | 6 | 365 | 1,057 | 1,621 |
Markdown | 1 | 519 | 0 | 909 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 568)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 34.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 569.00 |
Average method complexity | 8.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 568.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 108 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 108 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 472 | |
▷ Static methods | 156 | 33.05% |
▷ Public methods | 460 | 97.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 2.54% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
51 PNG files occupy 1.73MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wp-ultimate-csv-importer.png | 1.25KB | 0.95KB | ▼ 23.53% |
assets/css/images/formula.png | 0.84KB | 1.00KB | 0.00% |
assets/images/check-circle.png | 0.87KB | 0.38KB | ▼ 55.83% |
assets/css/images/file/pdf.png | 0.58KB | 0.57KB | ▼ 1.02% |
assets/css/images/file/old/directory.png | 0.52KB | 0.68KB | 0.00% |