Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼2.28ms] Passed 4 tests
Server-side resources used by Cresta Help Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 43.49 ▲1.80 |
Dashboard /wp-admin | 3.49 ▲0.18 | 46.23 ▼4.13 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 49.33 ▲2.58 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 86.82 ▼9.38 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.84 ▲3.81 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
crestawhatsappchat_settings |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Cresta Help Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲61 | 14.22 ▼0.11 | 1.82 ▲0.26 | 38.72 ▼3.38 |
Dashboard /wp-admin | 2,199 ▲18 | 5.63 ▼0.09 | 89.48 ▼13.48 | 36.02 ▼3.48 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.00 | 40.05 ▲1.67 | 35.60 ▲3.96 |
Add New Post /wp-admin/post-new.php | 6,241 ▲4,715 | 21.21 ▼1.79 | 904.37 ▲249.36 | 62.73 ▲6.59 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.15 ▼0.13 | 98.10 ▼6.02 | 43.41 ▼0.28 |
Cresta Help Chat /wp-admin/cresta-whatsapp-chat.php | 26 | 0.41 | 0.07 | 14.26 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cresta-whatsapp-chat/uninstall.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/cresta-whatsapp-chat.php
- > Network (severe)
wp-admin/cresta-whatsapp-chat.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Cresta Help Chat Settings Page), #2 (Cresta Help Chat floating button), #3 (Cresta Help Chat open floating button), #4 (Cresta Help Chat shortcode button), #5 (Cresta Help Chat open shortcode button)
cresta-whatsapp-chat/cresta-whatsapp-chat.php 92% from 13 tests
The main file in "Cresta Help Chat" v. 1.3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 268 characters long)
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
There were no executable files found in this plugin1,576 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 30 | 1,049 |
CSS | 3 | 2 | 0 | 515 |
XML | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 18 | |
▷ Named functions | 18 | 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
PNG files should be compressed to save space and minimize bandwidth usage
12 compressed PNG files occupy 0.32MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 32.04KB | 35.19KB | 0.00% |
screenshot-3.png | 11.48KB | 11.83KB | 0.00% |
images/whatsapp-style-1.png | 6.26KB | 6.42KB | 0.00% |
images/whatsapp-style-3.png | 37.24KB | 39.63KB | 0.00% |
images/5-stars.png | 0.34KB | 0.39KB | 0.00% |