Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.56ms] Passed 4 tests
An overview of server-side resources used by CallbackKiller service widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.22 ▲4.19 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.06 ▼10.52 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 43.96 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.86 ▼13.45 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.55 ▲1.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 10 new options
New WordPress options |
---|
cbk_site_id |
widget_recent-comments |
cbk_api_loginhash |
cbk_is_login |
theysaidso_admin_options |
db_upgraded |
cbk_domain |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CallbackKiller service widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.36 ▲0.01 | 1.75 ▲0.15 | 44.02 ▲6.03 |
Dashboard /wp-admin | 2,210 ▲32 | 5.51 ▼0.14 | 93.66 ▼4.47 | 83.06 ▲39.63 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.99 ▼0.01 | 36.09 ▼2.09 | 33.14 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,725 ▲197 | 25.33 ▲2.58 | 612.25 ▼44.10 | 56.49 ▼0.74 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.14 ▲0.02 | 94.21 ▼9.83 | 75.19 ▲26.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 10 options in the database
- can_compress_scripts
- cbk_is_login
- widget_recent-posts
- cbk_site_id
- cbk_domain
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- cbk_api_loginhash
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/callbackkiller-service-widget/callbackkiller-settings-page.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: is_login in wp-content/plugins/callbackkiller-service-widget/callbackkiller-settings-page.php on line 45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/callbackkiller-service-widget/callbackkiller-widget.php:17
- > PHP Notice
Undefined variable: is_login in wp-content/plugins/callbackkiller-service-widget/callbackkiller-settings-page.php on line 3
- > PHP Notice
Undefined variable: country_list in wp-content/plugins/callbackkiller-service-widget/callbackkiller-settings-page.php on line 26
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: widget, livechat, conversion, callback, chat
callbackkiller-service-widget/callbackkiller-widget.php 92% from 13 tests
The main PHP file in "CallbackKiller service widget" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("callbackkiller-service-widget.php" instead of "callbackkiller-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin370 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 8 | 180 |
JavaScript | 1 | 5 | 0 | 108 |
CSS | 1 | 1 | 0 | 82 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and 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 |
images/menulogo.png | 0.72KB | 0.72KB | 0.00% |