Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.31ms] Passed 4 tests
This is a short check of server-side resources used by Call Response - Turn visitors into phone-leads. Get direct calls from your site
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.40 ▲1.73 |
Dashboard /wp-admin | 3.41 ▲0.10 | 50.28 ▼0.72 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.23 ▼3.15 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 88.36 ▼4.47 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.70 ▼0.89 |
Server storage [IO: ▲17.70MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 1,685 new files
Database: 1 new table, 26 new options
New tables |
---|
wp_cll_response_records |
New WordPress options |
---|
cllrspwpyour-email |
cllrspwpsubmit-color |
cllrspwpavatar |
widget_theysaidso_widget |
cllrspwpsubmit-text-color |
cllrspwpbgcolor |
cllrspwpnumber |
cllrspwptext-color |
cllrspwpto |
cllrspwpshortcode-button-text-color |
... |
Browser metrics Passed 4 tests
Call Response - Turn visitors into phone-leads. Get direct calls from your site: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,396 ▲635 | 13.47 ▼0.92 | 9.59 ▲7.57 | 54.29 ▲4.60 |
Dashboard /wp-admin | 2,214 ▲37 | 5.64 ▼0.05 | 86.31 ▼5.84 | 43.60 ▼0.53 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 2.02 ▼0.00 | 39.45 ▼1.47 | 35.36 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,561 ▲29 | 23.11 ▲0.01 | 674.52 ▼19.72 | 69.63 ▲0.97 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.20 ▼0.02 | 102.10 ▼15.00 | 41.54 ▼11.86 |
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
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_cll_response_records
- This plugin did not uninstall successfully, leaving 26 options in the database
- cllrspwpbtn-txt
- widget_theysaidso_widget
- theysaidso_admin_options
- cllrspwpto
- cllrspwpbgcolor
- cllrspwpsubmit-text-color
- cllrspwpmsg
- cllrspwpscode-txt
- cllrspwpshortcode-button-text-color
- cllrspwpemail-notification
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/wp-call-response/callresponse.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-call-response/flash/form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-call-response/settings.php:81
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-call-response/response-sequence/user_not_verified.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-call-response/response-sequence/user_not_verified_bonus.php:19
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in wp-call-response/assets to your readme.txt
wp-call-response/index.php 92% from 13 tests
The entry point to "Call Response - Turn visitors into phone-leads. Get direct calls from your site" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-call-response.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected147,034 lines of code in 1,647 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 58,323 |
YAML | 4 | 0 | 0 | 24,272 |
CSS | 24 | 5,010 | 133 | 21,438 |
JavaScript | 20 | 2,939 | 2,062 | 16,548 |
SVG | 1,551 | 0 | 24 | 15,436 |
Sass | 18 | 505 | 34 | 4,649 |
LESS | 18 | 502 | 55 | 4,607 |
PHP | 10 | 163 | 68 | 1,761 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 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 | 15 | |
▷ Named functions | 15 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) response-sequence/asset/img/blue-icon-security.png | 13.74KB | 0.00KB | ▼ 100.00% |