Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/swrei-review-exim/simple_review_exportimport.php+269
Non-static method SWREI_wc_export_review::SWREI_instance() should not be called statically
Server metrics [RAM: ▼0.00MB] [CPU: ▼141.73ms] Passed 4 tests
Analyzing server-side resources used by Woocommerce Product Review Export/Import
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 31.53 ▼0.83 |
Dashboard /wp-admin | 3.06 ▲0.00 | 42.08 ▲4.95 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 37.18 ▼8.79 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 88.24 ▼558.96 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 32.07 ▲1.66 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Woocommerce Product Review Export/Import
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.93 ▲0.48 | 9.02 ▼0.46 | 42.60 ▼6.70 |
Dashboard /wp-admin | 2,970 ▲39 | 6.07 ▲0.14 | 133.91 ▼9.09 | 111.96 ▲2.35 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.02 | 65.61 ▼9.06 | 94.73 ▲2.91 |
Add New Post /wp-admin/post-new.php | 1,872 ▲190 | 19.21 ▲0.33 | 361.33 ▼29.67 | 106.15 ▼3.80 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.00 ▲0.00 | 156.48 ▲7.47 | 120.18 ▲4.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_url() in wp-content/plugins/swrei-review-exim/template/template_product_im_ex.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/swrei-review-exim/template/template_review_export.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: A description for screenshot #1 is missing in swrei-review-exim/assets to your readme.txt
swrei-review-exim/simple_review_exportimport.php 85% from 13 tests
The main PHP file in "Woocommerce Product Review Export/Import" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.1" instead of "4.4")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("swrei-review-exim.php" instead of "simple_review_exportimport.php")
Code Analysis Passed 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 plugin562 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 150 | 26 | 354 |
CSS | 1 | 7 | 0 | 116 |
JavaScript | 1 | 28 | 1 | 92 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 4 | 18.18% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin