Benchmarks
Plugin footprint 83% 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: ▲0.03MB] [CPU: ▼5.32ms] Passed 4 tests
This is a short check of server-side resources used by CSV Mass Importer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.15 ▼8.93 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.59 ▼2.90 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 48.18 ▼7.18 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.05 ▼2.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.15 ▲3.98 |
CSV Mass Importer /wp-admin/tools.php?page=cmi-tool | 3.22 | 32.59 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
CSV Mass Importer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.38 ▼0.18 | 1.88 ▼0.07 | 39.13 ▼7.76 |
Dashboard /wp-admin | 2,199 ▲25 | 5.66 ▼0.04 | 88.55 ▼0.03 | 39.30 ▼0.91 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.00 ▲0.03 | 36.05 ▼2.21 | 31.82 ▼5.02 |
Add New Post /wp-admin/post-new.php | 1,558 ▲13 | 18.37 ▼4.69 | 644.43 ▲1.54 | 55.92 ▲2.45 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.25 ▲0.02 | 99.57 ▼7.32 | 40.65 ▼4.62 |
CSV Mass Importer /wp-admin/tools.php?page=cmi-tool | 1,134 | 1.99 | 27.85 | 35.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'CMI_Helper' not found in wp-content/plugins/csv-mass-importer/helpers-html.php:3
- > PHP Fatal error
Uncaught Error: Class 'CMI_Action' not found in wp-content/plugins/csv-mass-importer/admin.php:3
- > PHP Fatal error
Uncaught Error: Class 'CMI_Helper_Html' not found in wp-content/plugins/csv-mass-importer/admin-actions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/csv-mass-importer/csv-mass-importer.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: update, wpml compatible, multilingual, excel, csv...
csv-mass-importer/csv-mass-importer.php Passed 13 tests
The primary PHP file in "CSV Mass Importer" version 1.2 is used by WordPress to initiate all plugin functionality
44 characters long description:
Imports and updates post data from CSV file.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,256 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 170 | 28 | 1,136 |
JavaScript | 1 | 8 | 7 | 107 |
CSS | 4 | 3 | 11 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 70.25 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 5.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 18.33% |
▷ Protected methods | 49 | 81.67% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
13 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon_export.png | 2.88KB | 0.20KB | ▼ 93.01% |
addons/jquery-datepicker/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
addons/jquery-datepicker/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
addons/jquery-datepicker/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
addons/jquery-datepicker/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |