Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.90ms] Passed 4 tests
A check of server-side resources used by List Orders with Backorders for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.18 ▼3.35 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.09 ▼10.25 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.78 ▲1.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 97.92 ▼3.43 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.80 ▼2.56 |
Server storage [IO: ▲4.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by List Orders with Backorders for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.35 ▼0.00 | 1.71 ▼0.12 | 45.43 ▼5.09 |
Dashboard /wp-admin | 2,192 ▲12 | 5.63 ▲0.04 | 93.39 ▼4.51 | 42.39 ▼1.72 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.94 ▼0.04 | 39.85 ▲3.38 | 35.86 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 17.91 ▼4.98 | 639.82 ▼43.44 | 71.20 ▲15.38 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.19 ▼0.07 | 97.15 ▼18.05 | 44.71 ▼7.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/list-backorders-for-woocommerce/includes/list-backorder-admin-callback.php:5
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: admin functions, backorders, woocommerce
list-backorders-for-woocommerce/list-backorders-for-woocommerce.php Passed 13 tests
Analyzing the main PHP file in "List Orders with Backorders for WooCommerce" version 2.3.2
84 characters long description:
Get a list of backordered items and orders with backorders from the Woocommerce Tab.
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
No dangerous file extensions were detected1,692 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 147 | 0 | 952 |
JavaScript | 4 | 57 | 120 | 591 |
PHP | 4 | 22 | 25 | 149 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/css/DataTables-1.11.4/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
includes/css/DataTables-1.11.4/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
includes/css/DataTables-1.11.4/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
includes/css/DataTables-1.11.4/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
includes/css/DataTables-1.11.4/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |