Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.21ms] Passed 4 tests
Server-side resources used by Wsify widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.35 ▼0.71 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.57 ▼5.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.03 ▼6.94 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.39 ▼19.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.76 ▲0.36 |
Server storage [IO: ▲2.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Wsify widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲169 | 14.06 ▼0.19 | 5.76 ▲3.82 | 40.94 ▼5.49 |
Dashboard /wp-admin | 2,220 ▲32 | 4.90 ▼1.00 | 97.84 ▼17.20 | 71.23 ▲27.29 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.01 ▲0.01 | 35.32 ▼1.64 | 32.74 ▼1.83 |
Add New Post /wp-admin/post-new.php | 1,524 ▲10 | 17.81 ▲0.24 | 759.20 ▲70.70 | 55.56 ▼3.63 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.13 ▼0.05 | 106.22 ▼10.57 | 50.11 ▼11.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_user_meta() in wp-content/plugins/wsify-widget/widget-admin.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wsify-widget/wsify-widget.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #6, #7 in wsify-widget/assets to your readme.txt
wsify-widget/wsify-widget.php Passed 13 tests
This is the main PHP file of "Wsify widget" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
81 characters long description:
Plugin for Whatsapp chat for users to give support to their customers on the fly.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected38,273 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 36 | 4,685 | 4,501 | 34,299 |
PHP | 2 | 85 | 56 | 1,970 |
JavaScript | 4 | 620 | 220 | 1,716 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.84 |
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 | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/widget_logo.png | 15.45KB | 0.99KB | ▼ 93.57% |
images/logo_wsify.png | 24.13KB | 5.32KB | ▼ 77.96% |
images/cross.png | 0.40KB | 0.48KB | 0.00% |
images/whatsapp.png | 25.48KB | 3.57KB | ▼ 85.97% |