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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.12ms] Passed 4 tests
Analyzing server-side resources used by Call Now, Email, Messaging, Sharing Buttons for Mobile
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.74 ▼5.28 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.39 ▲4.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.66 ▼2.94 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 87.13 ▼22.11 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.19 ▲1.84 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 14 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
ztb_email |
widget_recent-comments |
widget_recent-posts |
ztb_id |
ztb_source |
ztb_status_disconnect |
ztb_access_key |
access_key |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Call Now, Email, Messaging, Sharing Buttons for Mobile
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.39 ▼0.01 | 1.81 ▲0.05 | 49.04 ▲6.36 |
Dashboard /wp-admin | 2,199 ▲19 | 5.56 ▼0.09 | 88.01 ▼2.22 | 86.86 ▲42.45 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.01 ▲0.06 | 36.95 ▼4.13 | 36.37 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.56 ▲0.75 | 669.67 ▼10.51 | 166.60 ▲109.99 |
Media Library /wp-admin/upload.php | 1,422 ▲19 | 4.22 ▲0.02 | 100.01 ▼1.43 | 64.67 ▲19.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 14 options in the database
- widget_theysaidso_widget
- ztb_id
- widget_recent-posts
- ztb_email
- ztb_access_key
- access_key
- ztb_status_message
- ztb_source
- theysaidso_admin_options
- can_compress_scripts
- ...
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/social-mobile-messaging-bar/social-mobile-messaging-bar.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: You are using too many tags: 24 tag instead of maximum 10
social-mobile-messaging-bar/social-mobile-messaging-bar.php 92% from 13 tests
"Call Now, Email, Messaging, Sharing Buttons for Mobile" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected501 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 3 | 4 | 273 |
PHP | 1 | 19 | 15 | 188 |
JavaScript | 1 | 4 | 0 | 40 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo-zotabox.png | 5.45KB | 2.43KB | ▼ 55.35% |
assets/images/check.png | 2.96KB | 0.37KB | ▼ 87.47% |
zotabox.png | 3.19KB | 0.44KB | ▼ 86.31% |
assets/images/bg_body.png | 22.84KB | 9.83KB | ▼ 56.98% |