Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼5.00ms] Passed 4 tests
Server-side resources used by WordPress Comments Import & Export
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.19 ▲1.97 |
Dashboard /wp-admin | 3.59 ▲0.24 | 50.37 ▼15.26 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 52.41 ▼0.42 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 95.87 ▼4.66 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 40.11 ▲0.36 |
All Comments /wp-admin/edit-comments.php | 3.52 | 42.99 |
Comments Im-Ex /wp-admin/edit-comments.php?page=hw_cmt_csv_im_ex | 3.54 | 41.43 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 85 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
wtcmtie_start_date |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Comments Import & Export
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲61 | 14.27 ▲0.12 | 1.68 ▼0.02 | 39.56 ▼4.25 |
Dashboard /wp-admin | 2,213 ▲39 | 5.60 ▼0.05 | 92.87 ▼6.37 | 41.21 ▼6.62 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.96 ▲0.02 | 38.74 ▼1.03 | 34.22 ▼3.23 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 22.98 ▼0.46 | 576.43 ▼7.55 | 54.21 ▼0.19 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.18 ▼0.07 | 96.41 ▼2.20 | 42.01 ▼2.52 |
All Comments /wp-admin/edit-comments.php | 1,848 | 2.27 | 40.21 | 33.73 |
Comments Im-Ex /wp-admin/edit-comments.php?page=hw_cmt_csv_im_ex | 1,626 | 2.41 | 40.77 | 48.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- wtcmtie_start_date
- cmt_ex_im_option
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comments-import-export-woocommerce/includes/class-wf-cmt_impexp-plugin-uninstall-feedback.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/comments-import-export-woocommerce/includes/views/settings/html-hf-settings-products.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/comments-import-export-woocommerce/includes/views/export/html-hf-export-WordPress-Comments-normal.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/comments-import-export-woocommerce/includes/views/html-hf-getting-started.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/comments-import-export-woocommerce/includes/views/html-hf-admin-screen.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/comments-import-export-woocommerce/includes/importer/views/html-hf-import-greeting.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/comments-import-export-woocommerce/includes/importer/views/html-hf-import-options.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/comments-import-export-woocommerce/includes/views/export/html-hf-export-WordPress-Comments.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/comments-import-export-woocommerce/includes/views/import/html-hf-import-product-comments.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: woodiscuz, export, import, comments, wpdiscuz...
comments-import-export-woocommerce/hf-comments-import-export.php 92% from 13 tests
"WordPress Comments Import & Export" version 2.3.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("comments-import-export-woocommerce.php" instead of "hf-comments-import-export.php")
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
Good job! No executable or dangerous file extensions detected6,111 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 640 | 520 | 3,971 |
PO File | 1 | 464 | 591 | 1,329 |
CSS | 3 | 59 | 60 | 728 |
JavaScript | 2 | 1 | 6 | 51 |
SVG | 3 | 0 | 0 | 32 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 38.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 190.00 |
Average method complexity | 6.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 18 | 17.82% |
▷ Public methods | 93 | 92.08% |
▷ Protected methods | 1 | 0.99% |
▷ Private methods | 7 | 6.93% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
40 PNG files occupy 0.39MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/other_solutions/order-import-export-plugin.png | 25.15KB | 24.77KB | ▼ 1.50% |
images/other_solutions/smart-coupons-plugin.png | 5.73KB | 5.74KB | 0.00% |
images/ui-icons_777777_256x240.png | 3.67KB | 4.17KB | 0.00% |
images/ui-icons_555555_256x240.png | 3.67KB | 4.17KB | 0.00% |
images/wf-failed.png | 3.30KB | 0.54KB | ▼ 83.61% |