Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▲1.15ms] Passed 4 tests
Analyzing server-side resources used by Callback Tracker - Click to call widget offering callbacks, live chats, email, and SMS messaging for streamlined customer interactions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.59 ▲1.52 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.16 ▲1.33 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.19 ▲5.08 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 89.93 ▼3.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.09 ▲7.42 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Callback Tracker - Click to call widget offering callbacks, live chats, email, and SMS messaging for streamlined customer interactions
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.32 ▼0.94 | 1.82 ▲0.23 | 45.15 ▲8.12 |
Dashboard /wp-admin | 2,240 ▲51 | 4.88 ▼0.06 | 104.00 ▼40.38 | 83.94 ▲40.92 |
Posts /wp-admin/edit.php | 2,122 ▲30 | 2.03 ▼0.02 | 41.32 ▼0.57 | 38.32 ▲2.44 |
Add New Post /wp-admin/post-new.php | 1,699 ▲179 | 22.28 ▼0.68 | 715.46 ▲106.61 | 62.19 ▲8.14 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.14 ▼0.18 | 106.29 ▲8.98 | 49.24 ▲6.02 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
These attributes need your attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
callback-tracker-intellectual-click-to-call-widget/callbacktracker.php 92% from 13 tests
Analyzing the main PHP file in "Callback Tracker - Click to call widget offering callbacks, live chats, email, and SMS messaging for streamlined customer interactions" version 1.2.0
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("callback-tracker-intellectual-click-to-call-widget.php" instead of "callbacktracker.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 detected280 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 55 | 36 | 240 |
CSS | 4 | 6 | 10 | 39 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 1 | 7.14% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.97MB with 0.70MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo-cbt-16x16.png | 1.35KB | 0.30KB | ▼ 77.51% |
screenshot-3.png | 495.36KB | 147.99KB | ▼ 70.12% |
screenshot-1.png | 495.36KB | 147.99KB | ▼ 70.12% |