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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.60ms] Passed 4 tests
A check of server-side resources used by Bazz CallBack widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 33.40 ▼4.43 |
Dashboard /wp-admin | 3.38 ▲0.04 | 43.25 ▼15.12 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 48.04 ▲1.63 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 81.37 ▼9.25 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 32.00 ▼1.58 |
Bazz CallBack Widget settings /wp-admin/options-general.php?page=bazz_menu | 3.28 | 28.69 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
bazz_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bazz CallBack widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,031 ▲245 | 13.54 ▼0.81 | 12.59 ▲10.69 | 48.72 ▲6.67 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.02 | 86.37 ▼0.64 | 36.91 ▼7.12 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.05 | 40.69 ▲3.81 | 35.96 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.00 ▼0.46 | 663.47 ▲27.98 | 56.47 ▼6.58 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.20 ▼0.00 | 95.97 ▲2.18 | 42.16 ▲0.68 |
Bazz CallBack Widget settings /wp-admin/options-general.php?page=bazz_menu | 956 | 2.03 | 29.09 | 30.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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 require attention:
- Screenshots: These screenshots do not have images: #1 (The widget looks so same), #2 (Configuration here)
bazz-callback-widget/bazz-callback-widget.php Passed 13 tests
The main PHP script in "Bazz CallBack widget" version 3.23 is automatically included on every request by WordPress
63 characters long description:
This plugin makes a simple widget for callback on your website.
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
Everything looks great! No dangerous files found in this plugin2,466 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 15 | 615 | 635 | 1,605 |
CSS | 2 | 4 | 10 | 361 |
PHP | 2 | 45 | 42 | 342 |
JavaScript | 5 | 7 | 34 | 158 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bazz-close-button.png | 1.30KB | 0.66KB | ▼ 49.44% |
images/ok.png | 1.26KB | 0.41KB | ▼ 67.31% |
images/trubka.png | 0.93KB | 0.37KB | ▼ 59.98% |
screenshot-2.png | 48.61KB | 30.44KB | ▼ 37.38% |