Benchmarks
Plugin footprint 65% 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.72MB] [CPU: ▼35.74ms] Passed 4 tests
A check of server-side resources used by Call Now Accessibility Button
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 44.97 ▲3.67 |
Dashboard /wp-admin | 3.24 ▼0.11 | 26.74 ▼38.11 |
Posts /wp-admin/edit.php | 3.24 ▼0.12 | 24.09 ▼23.02 |
Add New Post /wp-admin/post-new.php | 3.24 ▼2.65 | 24.91 ▼69.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 24.96 ▼11.93 |
Accessiblity Button /wp-admin/options-general.php?page=aa-call | 3.24 | 24.03 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Call Now Accessibility Button
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲151 | 13.85 ▼0.58 | 8.31 ▲6.36 | 44.60 ▲0.61 |
Dashboard /wp-admin | 2,220 ▲32 | 4.88 ▼0.97 | 105.67 ▼12.10 | 43.31 ▲2.91 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.04 ▼0.01 | 36.43 ▲0.82 | 30.43 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,524 ▲4 | 23.43 ▲0.01 | 656.12 ▼13.27 | 55.59 ▲0.75 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.19 ▼0.01 | 99.33 ▼6.04 | 43.60 ▼2.68 |
Accessiblity Button /wp-admin/options-general.php?page=aa-call | 848 | 2.03 | 26.10 | 57.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=aa-call
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% 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
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/accessibility-help-button/public/partials/aa-call-public-display.php
- > /wp-content/plugins/accessibility-help-button/includes/pisol.class.form.php
- > /wp-content/plugins/accessibility-help-button/admin/partials/aa-call-admin-display.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accessibility-help-button/admin/class-aa-call-aboutus.php:132
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accessibility-help-button/admin/class-aa-call-option-advance.php:100
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accessibility-help-button/admin/class-aa-call-option.php:91
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accessibility-help-button/admin/class-aa-call-pro.php:81
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid url: "www.stpetedesign.com"
accessibility-help-button/aa508-call.php 85% from 13 tests
"Call Now Accessibility Button" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 163 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("accessibility-help-button.php" instead of "aa508-call.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,065 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 283 | 559 | 756 |
CSS | 2 | 59 | 20 | 291 |
JavaScript | 2 | 3 | 54 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 2 | 3.64% |
▷ Public methods | 50 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.09% |
Functions | 7 | |
▷ Named functions | 7 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/img2.png | 5.06KB | 2.61KB | ▼ 48.44% |