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
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.41ms] Passed 4 tests
This is a short check of server-side resources used by Quick Call Button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 37.75 ▼4.17 |
Dashboard /wp-admin | 3.39 ▲0.05 | 47.07 ▼14.50 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 51.81 ▲6.45 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 91.53 ▼8.35 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 31.08 ▼2.60 |
Quick Call Button /wp-admin/options-general.php?page=lv_quick_call_button | 3.26 | 27.76 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Quick Call Button
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲165 | 14.28 ▼0.27 | 20.35 ▲18.60 | 43.10 ▼0.18 |
Dashboard /wp-admin | 2,196 ▲19 | 5.62 ▼0.05 | 82.31 ▼16.12 | 38.66 ▼7.89 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.00 | 37.40 ▼0.87 | 33.13 ▼1.82 |
Add New Post /wp-admin/post-new.php | 6,243 ▲4,717 | 25.92 ▲2.20 | 857.16 ▲180.36 | 54.31 ▼2.22 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.15 ▲0.05 | 93.08 ▼29.46 | 43.50 ▼4.65 |
Quick Call Button /wp-admin/options-general.php?page=lv_quick_call_button | 1,513 | 2.39 | 59.04 | 23.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=lv_quick_call_button
- > Notice in wp-content/plugins/quick-call-button/quick-call-button.php+241
Undefined index: call_image
SRP 50% 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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/quick-call-button/form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/quick-call-button/quick-call-button.php:15
- > 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 on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
10 plugin tags: call now button, call, contact, mobile, phone...
quick-call-button/quick-call-button.php 92% from 13 tests
The main PHP script in "Quick Call Button" version 1.2.9 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin515 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 79 | 376 |
PO File | 1 | 42 | 42 | 118 |
JavaScript | 4 | 2 | 11 | 17 |
CSS | 2 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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 | 3 | |
▷ Global constants | 3 | 100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/quick-call-button-phone.png | 0.43KB | 0.43KB | 0.00% |
images/quick-call-button.png | 0.62KB | 0.63KB | 0.00% |