Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.59MB] [CPU: ▼4.08ms] Passed 4 tests
An overview of server-side resources used by Joinchat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 42.95 ▲1.05 |
Dashboard /wp-admin | 3.99 ▲0.65 | 50.48 ▼12.01 |
Posts /wp-admin/edit.php | 4.05 ▲0.69 | 50.15 ▲6.25 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 86.09 ▼9.72 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 38.54 ▲4.35 |
Welcome to Joinchat /wp-admin/admin.php?page=joinchat-onboard | 3.83 | 34.96 |
Joinchat /wp-admin/admin.php?page=joinchat | 3.80 | 32.95 |
Server storage [IO: ▲1.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 74 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Joinchat: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲36 | 14.01 ▼0.27 | 1.72 ▼0.33 | 43.70 ▼0.03 |
Dashboard /wp-admin | 2,222 ▲45 | 5.53 ▼0.15 | 89.40 ▼26.00 | 39.94 ▼12.79 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 1.98 ▲0.04 | 38.70 ▲1.00 | 33.80 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,688 ▲153 | 23.70 ▼1.65 | 628.60 ▼29.86 | 48.58 ▼20.47 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.22 ▲0.02 | 101.38 ▲2.02 | 42.02 ▼1.13 |
Welcome to Joinchat /wp-admin/admin.php?page=joinchat-onboard | 888 | 1.94 | 37.26 | 55.70 |
Joinchat /wp-admin/admin.php?page=joinchat | 888 | 1.87 | 37.14 | 28.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\Common\\Modules\\Finder\\Base_Category' not found in wp-content/plugins/creame-whatsapp-me/includes/class-joinchat-elementor-finder.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
creame-whatsapp-me/joinchat.php 92% from 13 tests
The main PHP file in "Joinchat" ver. 5.0.15 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("creame-whatsapp-me.php" instead of "joinchat.php")
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 plugin9,230 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 332 | 10 | 3,121 |
PHP | 28 | 1,106 | 2,051 | 3,118 |
JavaScript | 15 | 216 | 489 | 2,896 |
JSON | 1 | 0 | 0 | 94 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short 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 | 0.40 |
Average class complexity | 24.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 188 | |
▷ Static methods | 38 | 20.21% |
▷ Public methods | 170 | 90.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 9.57% |
Functions | 10 | |
▷ Named functions | 2 | 20.00% |
▷ Anonymous functions | 8 | 80.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 compressed PNG files occupy 0.33MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/onboard-01.png | 9.52KB | 10.63KB | 0.00% |
admin/img/onboard-02.png | 31.92KB | 33.67KB | 0.00% |
admin/img/onboard-04.png | 12.21KB | 12.20KB | 0.07% |
admin/img/qr.png | 3.52KB | 3.49KB | ▼ 1.00% |
admin/img/onboard-05.png | 11.46KB | 11.44KB | 0.17% |