Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.43ms] Passed 4 tests
Server-side resources used by Call From Web - Simple Click to Call Button for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.29 ▼2.23 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.27 ▼7.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.10 ▲1.92 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.29 ▼12.48 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 32.19 ▲0.16 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
cfw_secret_key |
cfw_pairing_token |
widget_theysaidso_widget |
theysaidso_admin_options |
cfw_pairing_callback_token |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Call From Web - Simple Click to Call Button for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲236 | 18.68 ▲4.02 | 92.63 ▲90.54 | 45.63 ▼0.02 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▲0.78 | 105.69 ▼3.04 | 36.23 ▼5.24 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.05 | 36.52 ▼3.19 | 36.44 ▲1.16 |
Add New Post /wp-admin/post-new.php | 1,519 ▼16 | 23.40 ▲0.12 | 645.61 ▼19.09 | 54.76 ▲4.91 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.30 ▲0.14 | 94.37 ▼5.29 | 39.45 ▼7.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- db_upgraded
- cfw_pairing_callback_token
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- cfw_secret_key
- widget_recent-comments
- cfw_pairing_token
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please fix the following
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/call-from-web/trunk/public/partials/call-from-web-public-display.php
- > /wp-content/plugins/call-from-web/admin/partials/call-from-web-admin-display.php
- > /wp-content/plugins/call-from-web/trunk/admin/partials/call-from-web-admin-display.php
- > /wp-content/plugins/call-from-web/public/partials/call-from-web-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
call-from-web/call-from-web.php Passed 13 tests
The principal PHP file in "Call From Web - Simple Click to Call Button for WordPress" v. 4.0.1 is loaded by WordPress automatically on each request
45 characters long description:
Let your visitors call you by phone for free.
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
Everything looks great! No dangerous files found in this plugin360 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 173 | 675 | 354 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 4 | 6.45% |
▷ Public methods | 50 | 80.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 19.35% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
PNG images were not found in this plugin