Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▲0.41ms] Passed 4 tests
This is a short check of server-side resources used by ZVI CallBack widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 43.21 ▲4.59 |
Dashboard /wp-admin | 3.41 ▲0.10 | 54.54 ▲3.62 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 52.06 ▲1.69 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 92.17 ▼4.49 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.33 ▲0.83 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 71 new files
Database: no new tables, 18 new options
New WordPress options |
---|
zvi_callback_email |
zvi_callback_subtitle |
zvi_callback_title |
zvi_callback_color_hover |
theysaidso_admin_options |
zvi_callback_left |
zvi_callback_telegram_send |
widget_recent-posts |
zvi_callback_telegram_token |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ZVI CallBack widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,006 ▲245 | 13.80 ▼0.41 | 10.74 ▲8.91 | 65.54 ▲17.86 |
Dashboard /wp-admin | 2,221 ▲44 | 5.59 ▼0.10 | 91.35 ▼4.05 | 36.81 ▼3.80 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.03 ▲0.00 | 41.55 ▲0.98 | 35.14 ▼4.74 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 23.34 ▲0.45 | 636.13 ▼3.54 | 53.30 ▼2.23 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.26 ▲0.09 | 104.91 ▼3.70 | 47.54 ▲3.46 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/zvi-callback-widget/zvi-callback-widget.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/zvi-callback-widget/uninstall.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #2 (Configuration here) image required
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
zvi-callback-widget/zvi-callback-widget.php Passed 13 tests
"ZVI CallBack widget" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
107 characters long description:
ZVI CallBack widget WordPress. Customize CallBack widget WordPress (+ Support Contact Form 7 +Bot Telegram)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected4,258 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 19 | 1,007 | 1,026 | 2,978 |
JavaScript | 2 | 10 | 17 | 748 |
PHP | 3 | 42 | 26 | 453 |
CSS | 2 | 15 | 0 | 79 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
22 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/14.png | 1.08KB | 1.13KB | 0.00% |
img/telegram.png | 1.83KB | 1.59KB | ▼ 12.83% |
img/10.png | 1.36KB | 1.43KB | 0.00% |
img/facebook.png | 1.36KB | 1.28KB | ▼ 5.67% |
img/8.png | 1.15KB | 1.20KB | 0.00% |