Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.94ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Smart Orders Page FREE
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 47.34 ▲1.33 |
Dashboard /wp-admin | 3.33 ▼0.02 | 48.71 ▼20.47 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 53.94 ▼0.63 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.00 ▼20.53 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.08 ▼2.13 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 49 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
widget_wcsop_lookup_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Smart Orders Page FREE
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲93 | 13.20 ▼1.18 | 1.88 ▲0.21 | 44.04 ▲6.77 |
Dashboard /wp-admin | 2,232 ▲26 | 5.83 ▼0.06 | 106.30 ▼11.42 | 41.78 ▼1.74 |
Posts /wp-admin/edit.php | 2,117 ▲20 | 1.99 ▼0.02 | 41.04 ▲3.94 | 38.50 ▲2.67 |
Add New Post /wp-admin/post-new.php | 1,540 ▲9 | 23.32 ▲0.19 | 640.05 ▼30.87 | 58.49 ▼9.54 |
Media Library /wp-admin/upload.php | 1,417 ▲23 | 4.23 ▲0.02 | 102.06 ▲0.53 | 45.28 ▼2.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_wcsop_lookup_widget
- widget_recent-posts
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woo-smart-orders-page-free/include/class-wcsop.php
- > /wp-content/plugins/woo-smart-orders-page-free/woocommerce-smart-orders-page.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require(wp-content/plugins/woo-smart-orders-page-free/include/vendor/donatj/phpuseragentparser/Tools/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/woo-smart-orders-page-free/include/vendor/donatj/phpuseragentparser/Tools/user_agent_sorter.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/woo-smart-orders-page-free/include/lookup-order-widget.class.php:6
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/woo-smart-orders-page-free/include/vendor/donatj/phpuseragentparser/Tools/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/woo-smart-orders-page-free/include/vendor/donatj/phpuseragentparser/Tools/user_agent_sorter.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/woo-smart-orders-page-free/include/vendor/donatj/phpuseragentparser/Tests/UserAgentParserTest.php:5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: summary, plugin, woocommerce 3, admin, order...
woo-smart-orders-page-free/woocommerce-smart-orders-page.php 77% from 13 tests
"WooCommerce Smart Orders Page FREE" version 1.1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-smart-orders-page-free.php" instead of "woocommerce-smart-orders-page.php")
- Description: Keep the plugin description shorter than 140 characters (currently 204 characters long)
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin5,554 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 386 | 165 | 1,863 |
PHP | 20 | 376 | 414 | 1,736 |
JSON | 6 | 0 | 0 | 1,022 |
Markdown | 4 | 250 | 0 | 547 |
CSS | 3 | 64 | 13 | 357 |
YAML | 1 | 3 | 1 | 18 |
XML | 1 | 1 | 0 | 10 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 13.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 15 | 26.79% |
▷ Public methods | 51 | 91.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.93% |
Functions | 36 | |
▷ Named functions | 31 | 86.11% |
▷ Anonymous functions | 5 | 13.89% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin