Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.21ms] Passed 4 tests
A check of server-side resources used by Smartwaiver Waiver Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.44 ▲1.24 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.25 ▲1.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.98 ▲0.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.54 ▼7.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.22 ▲3.62 |
Smartwaiver /wp-admin/options-general.php?page=smartwaiver_settings | 3.23 | 32.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smartwaiver Waiver Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲15 | 13.17 ▲0.02 | 1.82 ▲0.02 | 43.01 ▲0.52 |
Dashboard /wp-admin | 2,213 ▲7 | 4.86 ▲0.01 | 113.04 ▼1.65 | 42.58 ▲0.53 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.01 ▼0.02 | 34.76 ▲1.08 | 34.96 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,539 ▲20 | 23.25 ▼0.07 | 635.71 ▲24.06 | 66.29 ▲22.12 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.41 ▲0.21 | 103.59 ▲2.54 | 45.76 ▲0.28 |
Smartwaiver /wp-admin/options-general.php?page=smartwaiver_settings | 866 | 2.02 | 27.10 | 33.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=smartwaiver_settings
- > Notice in wp-content/plugins/smartwaiver-waiver-widget/smartwaiver_config_page.php+55
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/smartwaiver-waiver-widget/smartwaiver_config_page.php:16
- > 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 96% from 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: smartwaiver, digital waiver, waiver
smartwaiver-waiver-widget/smartwaiver_wp_plugin.php 92% from 13 tests
The primary PHP file in "Smartwaiver Waiver Widget" version 2.0.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("smartwaiver-waiver-widget.php" instead of "smartwaiver_wp_plugin.php")
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
Good job! No executable or dangerous file extensions detected103 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 19 | 103 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin