Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.88MB] [CPU: ▼34.22ms] Passed 4 tests
This is a short check of server-side resources used by Plugin Name:Woo Quick Order Table View
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 23.49 ▼19.18 |
Dashboard /wp-admin | 3.06 ▼0.24 | 23.84 ▼30.20 |
Posts /wp-admin/edit.php | 3.06 ▼0.30 | 24.57 ▼23.14 |
Add New Post /wp-admin/post-new.php | 3.06 ▼2.83 | 24.17 ▼64.35 |
Media Library /wp-admin/upload.php | 3.06 ▼0.17 | 23.77 ▼9.78 |
Quick Order Table View Settings /wp-admin/options-general.php?page=quick-order-settings | 3.06 | 23.65 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
woqtb_option_name |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Plugin Name:Woo Quick Order Table View
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,471 ▼286 | 13.23 ▼1.17 | 0.49 ▼1.64 | 16.40 ▼34.05 |
Dashboard /wp-admin | 2,209 ▲24 | 5.83 ▲0.84 | 100.23 ▼14.73 | 39.23 ▼4.46 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.05 | 38.25 ▼1.97 | 33.55 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.14 ▲0.59 | 611.84 ▼63.26 | 61.43 ▲4.62 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.23 ▲0.02 | 94.51 ▼1.90 | 42.28 ▼2.36 |
Quick Order Table View Settings /wp-admin/options-general.php?page=quick-order-settings | 957 | 2.02 | 25.44 | 36.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- woqtb_option_name
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=quick-order-settings
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 50% 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-quick-order-table-view/includes/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-quick-order-table-view/quick-order.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-quick-order-table-view/includes/shortcode.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=quick-order-settings
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=quick-order-settings 165 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please a description for screenshot #4 in woo-quick-order-table-view/assets to your readme.txt
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin Name:Woo Quick Order Table View===
)
woo-quick-order-table-view/quick-order.php 85% from 13 tests
The main file in "Plugin Name:Woo Quick Order Table View" v. 2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-quick-order-table-view.php" instead of "quick-order.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 266 characters long)
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
Everything looks great! No dangerous files found in this plugin15,326 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 2,526 | 1,911 | 13,835 |
CSS | 7 | 122 | 130 | 1,134 |
PHP | 4 | 94 | 34 | 357 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 compressed PNG files occupy 0.25MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/images/pro-banner.png | 251.28KB | 137.41KB | ▼ 45.31% |