Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼14.54MB] [CPU: ▼3,008,577.62ms] Passed 4 tests
Analyzing server-side resources used by HEADSTORE PAYCALL Button
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.33 | 48.33 ▲1.48 |
Dashboard /wp-admin | 3.68 ▼57.93 | 58.25 ▼12,034,275.91 |
Posts /wp-admin/edit.php | 3.65 ▲0.25 | 58.18 ▲3.80 |
Add New Post /wp-admin/post-new.php | 5.19 ▼0.74 | 67.41 ▼39.83 |
Media Library /wp-admin/upload.php | 3.54 ▲0.26 | 43.43 ▲5.90 |
Accounts /wp-admin/edit.php?post_type=headstore_account | 3.65 | 39.34 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 69 new files
Database: no new tables, 8 new options
New WordPress options |
---|
headstore-call-button |
widget_headstore-widget |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
HEADSTORE PAYCALL Button: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,194 ▲433 | 13.53 ▼0.84 | 9.06 ▲6.74 | 44.25 ▲1.75 |
Dashboard /wp-admin | 2,486 ▲309 | 5.69 ▲0.12 | 94.65 ▲6.92 | 42.86 ▲1.95 |
Posts /wp-admin/edit.php | 2,375 ▲272 | 2.41 ▲0.41 | 37.08 ▲0.90 | 36.94 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,691 ▲163 | 24.70 ▲1.65 | 702.01 ▲25.03 | 34.42 ▼23.04 |
Media Library /wp-admin/upload.php | 1,691 ▲288 | 4.41 ▲0.19 | 106.55 ▲5.77 | 46.86 ▼2.39 |
Accounts /wp-admin/edit.php?post_type=headstore_account | 1,376 | 2.34 | 34.72 | 30.84 |
First Account /wp-admin/headstore-call-button-admin.php | 26 | 0.42 | 0.09 | 17.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- db_upgraded
- widget_headstore-widget
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- headstore-call-button
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=headstore_account
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 12 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=headstore_account
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/headstore-call-button/public/partials/iframe_call_me.php
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/headstore-call-button/admin/widgets/call_me_button.php:3
- > PHP Notice
Undefined variable: group_or_expert_id in wp-content/plugins/headstore-call-button/public/partials/iframe_call_me.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/headstore-call-button/admin/widgets/partials/call_me_button_form.php:3
- > PHP Notice
Undefined variable: type in wp-content/plugins/headstore-call-button/public/partials/iframe_call_me.php on line 4
- > PHP Notice
Undefined variable: campaign_id in wp-content/plugins/headstore-call-button/public/partials/iframe_call_me.php on line 3
- > PHP Notice
Undefined variable: message_create in wp-content/plugins/headstore-call-button/admin/partials/meta_boxes_account.php on line 22
- > PHP Notice
Undefined variable: design in wp-content/plugins/headstore-call-button/public/partials/iframe_call_me.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/headstore-call-button/admin/partials/step_create_account.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/headstore-call-button/admin/partials/meta_boxes_account.php:26
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/headstore-call-button-admin.php
- > Network (severe)
wp-admin/headstore-call-button-admin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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:
- Tags: You are using too many tags: 36 tag instead of maximum 10
headstore-call-button/headstore-call-button.php 92% from 13 tests
This is the main PHP file of "HEADSTORE PAYCALL Button" version 0.5.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 168 characters long)
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
There were no executable files found in this plugin2,564 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 911 | 1,013 | 1,969 |
JavaScript | 10 | 151 | 34 | 392 |
PO File | 1 | 45 | 54 | 117 |
CSS | 4 | 17 | 12 | 56 |
XML | 2 | 0 | 0 | 27 |
INI | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 8.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 5 | 21.74% |
▷ Concrete classes | 18 | 78.26% |
▷ Final classes | 0 | 0.00% |
Methods | 134 | |
▷ Static methods | 4 | 2.99% |
▷ Public methods | 114 | 85.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 14.93% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 14 | 100.00% |
▷ Public constants | 14 | 100.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
2 PNG files occupy 0.10MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/headstore-icon-blue.png | 44.77KB | 0.67KB | ▼ 98.49% |
images/headstore-icon.png | 54.89KB | 3.28KB | ▼ 94.03% |