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
The following installer errors require your attention
- Install procedure had errors
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.45ms] Passed 4 tests
This is a short check of server-side resources used by Website Toolbox Chat Room
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.13 | 42.93 ▲2.10 |
Dashboard /wp-admin | 3.51 ▲0.17 | 50.96 ▼3.32 |
Posts /wp-admin/edit.php | 3.61 ▲0.21 | 50.39 ▼0.92 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.26 | 79.75 ▼9.07 |
Media Library /wp-admin/upload.php | 3.45 ▲0.18 | 35.57 ▼4.50 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wtbChatRoomPageid |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Website Toolbox Chat Room: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.36 ▲0.01 | 1.79 ▲0.12 | 42.97 ▲1.80 |
Dashboard /wp-admin | 2,189 ▲9 | 5.59 ▼0.02 | 99.92 ▲9.25 | 42.44 ▲0.34 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.03 | 35.22 ▼0.59 | 35.67 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,525 ▼3 | 22.52 ▼0.52 | 676.45 ▼19.38 | 51.17 ▼2.69 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.16 ▼0.04 | 95.71 ▼32.63 | 40.55 ▼10.66 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- wtbChatRoomPageid
- 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
The smoke test was a success, however most plugin functionality was not tested
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 items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/website-toolbox-chat-rooms/websitetoolboxChatRoom.php:467
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/website-toolbox-chat-rooms/chatHook.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
website-toolbox-chat-rooms/websitetoolboxChatRoom.php 92% from 13 tests
Analyzing the main PHP file in "Website Toolbox Chat Room" version 1.1.5
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("website-toolbox-chat-rooms.php" instead of "websitetoolboxChatRoom.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
No dangerous file extensions were detected683 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 91 | 198 | 683 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 31 | |
▷ Named functions | 31 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin