Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.80ms] Passed 4 tests
An overview of server-side resources used by Waitlist Woocommerce ( Back in stock notifier )
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.58 ▼6.10 |
Dashboard /wp-admin | 3.31 ▼0.03 | 50.39 ▼12.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.48 ▲1.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.54 ▼13.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.30 ▲3.13 |
Server storage [IO: ▲3.64MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/waitlist-woocommerce/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 117 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Waitlist Woocommerce ( Back in stock notifier )
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.65 ▼0.57 | 2.04 ▲0.33 | 41.64 ▲0.82 |
Dashboard /wp-admin | 2,224 ▲21 | 4.82 ▼1.08 | 107.95 ▲1.28 | 41.56 ▼2.52 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 41.43 ▲3.45 | 38.21 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,554 ▲9 | 23.32 ▲2.29 | 669.33 ▼21.29 | 58.84 ▼2.10 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.23 ▲0.01 | 100.89 ▼4.99 | 44.67 ▼4.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/waitlist-woocommerce/includes/xoo-framework/admin/templates/global/setting-upload.php
- > /wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/templates/scripts/field-display.php
- > /wp-content/plugins/waitlist-woocommerce/admin/views/settings/pro.php
- > /wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/templates/scripts/notice.php
- > /wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/templates/scripts/field-settings.php
- > /wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/templates/scripts/field-settings-container.php
- > /wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/templates/xoo-aff-template-scripts.php
- 90× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
include(): Failed opening 'XOO_AFF_DIR/countries/countries.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/defaults/field-setting-options.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/defaults/field-types.php:120
- > PHP Notice
Undefined variable: sy_options in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/includes/templates/xoo-aff-inline-style.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/includes/templates/xoo-aff-inline-style.php on line 7
- > PHP Warning
include(XOO_AFF_DIR/countries/countries.php): failed to open stream: No such file or directory in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/defaults/field-settings.php on line 163
- > PHP Notice
Undefined variable: tabs in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/templates/xoo-aff-page-display.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/includes/templates/xoo-aff-inline-style.php on line 4
- > PHP Warning
Use of undefined constant XOO_AFF_DIR - assumed 'XOO_AFF_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/defaults/field-settings.php on line 163
- > PHP Warning
include(XOO_AFF_DIR/admin/templates/scripts//notice.php): failed to open stream: No such file or directory in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/templates/xoo-aff-template-scripts.php on line 26
- > PHP Warning
include(XOO_AFF_DIR/countries/countries.php): failed to open stream: No such file or directory in wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/admin/defaults/field-settings.php on line 132
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #10, #5, #6, #7, #8, #9 in waitlist-woocommerce/assets to your readme.txt
waitlist-woocommerce/xoo-wl-main.php 92% from 13 tests
The principal PHP file in "Waitlist Woocommerce ( Back in stock notifier )" v. 2.5.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("waitlist-woocommerce.php" instead of "xoo-wl-main.php")
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
No dangerous file extensions were detected26,255 lines of code in 98 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 9,566 |
PHP | 69 | 2,261 | 421 | 8,581 |
JavaScript | 11 | 447 | 213 | 5,195 |
CSS | 13 | 323 | 97 | 2,897 |
XML | 1 | 5 | 0 | 16 |
PHP code Passed 2 tests
Analyzing 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.44 |
Average class complexity | 31.10 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 215.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 1 | 5.00% |
▷ Concrete classes | 19 | 95.00% |
▷ Final classes | 0 | 0.00% |
Methods | 238 | |
▷ Static methods | 9 | 3.78% |
▷ Public methods | 230 | 96.64% |
▷ Protected methods | 3 | 1.26% |
▷ Private methods | 5 | 2.10% |
Functions | 22 | |
▷ Named functions | 20 | 90.91% |
▷ Anonymous functions | 2 | 9.09% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected