Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼13.65ms] Passed 4 tests
An overview of server-side resources used by SimplexIS Woocommerce Backordered Products
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.78 ▼5.76 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.84 ▼14.44 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.10 ▼10.17 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.78 ▼24.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 39.56 ▲1.63 |
Backordered products /wp-admin/admin.php?page=simplexis-woocommerce-backordered-products | 3.20 | 30.72 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for SimplexIS Woocommerce Backordered Products
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.28 ▲0.30 | 2.13 ▲0.44 | 46.17 ▲4.64 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▼0.04 | 85.86 ▼4.48 | 40.58 ▲2.35 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.02 | 35.73 ▼0.93 | 33.28 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.39 ▼0.16 | 697.93 ▲34.01 | 55.20 ▼1.87 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.18 ▼0.02 | 100.05 ▼1.15 | 45.97 ▼0.41 |
Backordered products /wp-admin/admin.php?page=simplexis-woocommerce-backordered-products | 790 | 2.03 | 24.76 | 28.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 add_action() in wp-content/plugins/simplexis-woocommerce-backordered-products/simplexis-woocommerce-backordered-products.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: woocommerce, backorder
simplexis-woocommerce-backordered-products/simplexis-woocommerce-backordered-products.php Passed 13 tests
The main PHP script in "SimplexIS Woocommerce Backordered Products" version 1.1 is automatically included on every request by WordPress
84 characters long description:
This plugin will create a submenu page, showing a table of all backordered products.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin64 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 6 | 8 | 57 |
Markdown | 1 | 4 | 0 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin