Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/request-call-back/request-callback.php+183
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.91MB] [CPU: ▼61.61ms] Passed 4 tests
An overview of server-side resources used by Request Call Back
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 5.83 ▼34.72 |
Dashboard /wp-admin | 2.11 ▼1.23 | 7.04 ▼62.16 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 7.45 ▼45.83 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 8.31 ▼103.71 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 6.56 ▼30.59 |
Request Call Back /wp-admin/options-general.php?page=wpcallback | 2.11 | 6.78 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Request Call Back: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲196 | 13.60 ▼0.35 | 9.34 ▲7.62 | 41.62 ▲0.57 |
Dashboard /wp-admin | 2,210 ▲36 | 5.56 ▼0.11 | 101.85 ▲14.45 | 41.29 ▼1.56 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.03 ▲0.01 | 40.40 ▼1.83 | 37.00 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 23.30 ▲0.00 | 637.67 ▼45.76 | 45.72 ▼8.10 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.25 ▲0.08 | 100.21 ▼12.64 | 46.17 ▼2.91 |
Request Call Back /wp-admin/options-general.php?page=wpcallback | 2,058 | 1.68 | 25.26 | 38.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/request-call-back/request-callback.php+183
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 144 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wpcallback
- > Notice in wp-content/plugins/request-call-back/request-callback-admin.php+381
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 fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/request-call-back/request-callback.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/request-call-back/request-callback-admin.php:410
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
6 plugin tags: callback form, request call back, call back button, call back form, callback button...
request-call-back/request-callback.php 85% from 13 tests
The main PHP file in "Request Call Back" ver. 1.4.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("request-call-back.php" instead of "request-callback.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 213 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,240 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 125 | 20 | 643 |
CSS | 3 | 68 | 22 | 522 |
JavaScript | 3 | 17 | 5 | 75 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 22 | |
▷ Named functions | 22 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
colorbox/images/controls.png | 1.59KB | 1.67KB | 0.00% |