Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Compile error in wp-content/plugins/lobby-chatwing/classes/DataModel.php+5
Cannot use LobbyChatwing\Object as Object because 'Object' is a special class name
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.21ms] Passed 4 tests
A check of server-side resources used by Plugin Name: chatWING Lobby - Group Chat Rooms + 1 on 1 Live Chat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.14 ▲0.09 |
Dashboard /wp-admin | 3.31 ▲0.00 | 55.69 ▲1.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.28 ▼4.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.74 ▼20.49 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.82 ▼3.53 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Plugin Name: chatWING Lobby - Group Chat Rooms + 1 on 1 Live Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.48 ▲0.21 | 1.81 ▼0.10 | 47.46 ▲2.31 |
Dashboard /wp-admin | 2,218 ▲15 | 4.86 ▼1.01 | 112.69 ▲6.02 | 43.66 ▼2.36 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.05 ▲0.02 | 36.83 ▼4.95 | 34.31 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,541 ▼5 | 18.34 ▼5.12 | 623.84 ▼81.26 | 74.86 ▲9.88 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.25 ▲0.01 | 110.70 ▼3.25 | 48.01 ▼3.44 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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
Everything seems fine, however 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Cannot use LobbyChatwing\\Object as Object because 'Object' is a special class name in wp-content/plugins/lobby-chatwing/classes/DataModel.php on line 5
- > PHP Fatal error
Cannot use LobbyChatwing\\Object as Object because 'Object' is a special class name in wp-content/plugins/lobby-chatwing/chatwing-sdk/src/LobbyChatwing/Api/Action.php on line 10
- > PHP Fatal error
Cannot use 'Object' as class name as it is reserved in wp-content/plugins/lobby-chatwing/chatwing-sdk/src/LobbyChatwing/Object.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: You should set the name of your plugin on the first line (
=== Plugin Name: chatWING Lobby - Group Chat Rooms + 1 on 1 Live Chat===
)
lobby-chatwing/lobby-chatwing.php 92% from 13 tests
The main PHP script in "Plugin Name: chatWING Lobby - Group Chat Rooms + 1 on 1 Live Chat" version 1.0.9 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 201 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,546 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 336 | 593 | 1,522 |
JSON | 1 | 0 | 0 | 22 |
CSS | 2 | 0 | 12 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 144 | |
▷ Static methods | 15 | 10.42% |
▷ Public methods | 124 | 86.11% |
▷ Protected methods | 19 | 13.19% |
▷ Private methods | 1 | 0.69% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 18 | |
▷ Global constants | 17 | 94.44% |
▷ Class constants | 1 | 5.56% |
▷ Public constants | 1 | 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
PNG images were not found in this plugin