Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.75ms] Passed 4 tests
A check of server-side resources used by RD Order Modifier for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.24 ▼6.75 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.57 ▼8.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.46 ▲1.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.21 ▼6.89 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.91 ▼5.14 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by RD Order Modifier for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲65 | 14.32 ▼0.39 | 1.88 ▲0.01 | 40.72 ▼2.23 |
Dashboard /wp-admin | 2,195 ▲15 | 5.66 ▲0.04 | 84.25 ▼8.33 | 39.80 ▼1.30 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.01 | 39.45 ▼0.21 | 36.85 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.69 ▼1.50 | 600.38 ▼40.81 | 65.73 ▲0.44 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.23 ▲0.03 | 101.25 ▼6.47 | 43.76 ▲0.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: vat, tax, admin dashboard, admin order, woocommerce...
rd-wc-order-modifier/rd-wc-order-modifier.php 77% from 13 tests
The primary PHP file in "RD Order Modifier for WooCommerce" version 1.0.12 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.2" instead of "7.0")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "4.7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin783 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 82 | 35 | 667 |
JavaScript | 1 | 15 | 5 | 93 |
CSS | 1 | 3 | 0 | 23 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 92.00 |
▷ Minimum class complexity | 92.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 34 | 100.00% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/robotdwarf-mascot.png | 29.48KB | 4.84KB | ▼ 83.57% |