Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.03ms] Passed 4 tests
Server-side resources used by RumbleTalk Live Group Chat - HTML5
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.07 ▼3.45 |
Dashboard /wp-admin | 3.33 ▼0.02 | 50.56 ▼10.22 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 66.73 ▲18.14 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.67 ▼1.36 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.05 ▼1.07 |
RumbleTalk Chat /wp-admin/options-general.php?page=rumbletalk-chat | 3.26 | 31.29 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 10 new options
New WordPress options |
---|
rumbletalk_chat_chats |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
rumbletalk_chat_token_secret |
rumbletalk_chat_token_key |
rumbletalk_accesstoken |
Browser metrics 75% from 4 tests
RumbleTalk Live Group Chat - HTML5: an overview of browser usage
Please improve the following
- Script duration: Try to keep JavaScript execution under 1,500.00ms (currently 1,501.52ms on /wp-admin/options-general.php?page=rumbletalk-chat)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.27 ▼0.46 | 1.86 ▲0.24 | 45.17 ▲1.70 |
Dashboard /wp-admin | 2,196 ▲29 | 5.62 ▼0.01 | 95.82 ▼14.43 | 42.70 ▼3.70 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▲0.01 | 47.09 ▲9.51 | 37.66 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,531 ▼149 | 23.23 ▲1.50 | 693.74 ▲80.12 | 57.76 ▼15.04 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.19 ▼0.01 | 95.70 ▼0.30 | 43.11 ▲2.55 |
RumbleTalk Chat /wp-admin/options-general.php?page=rumbletalk-chat | 4,915 | 50.94 | 1,501.52 | 90.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/rumbletalk-chat-a-chat-with-themes/admin/partials/rumbletalk-admin-sidebar-display.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rumbletalk-chat-a-chat-with-themes/admin/ajax-rumbletalk-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rumbletalk-chat-a-chat-with-themes/admin/class-rumbletalk-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/rumbletalk-chat-a-chat-with-themes/admin/partials/rumbletalk-admin-display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/rumbletalk-chat-a-chat-with-themes/admin/partials/rumbletalk-admin-info-display.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rumbletalk-chat-a-chat-with-themes/includes/class-rumbletalk-activator.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
rumbletalk-chat-a-chat-with-themes/rumbletalk.php 92% from 13 tests
This is the main PHP file of "RumbleTalk Live Group Chat - HTML5" version 6.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rumbletalk-chat-a-chat-with-themes.php" instead of "rumbletalk.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected2,571 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 321 | 635 | 1,392 |
JavaScript | 3 | 144 | 204 | 693 |
CSS | 2 | 102 | 11 | 481 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 18.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 12 | 17.91% |
▷ Public methods | 49 | 73.13% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 26.87% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 1 | 12.50% |
▷ Class constants | 7 | 87.50% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.15MB with 0.10MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/embed-option-floating.png | 74.54KB | 26.09KB | ▼ 65.01% |
admin/images/rumbletalk-logo.png | 8.04KB | 3.85KB | ▼ 52.16% |
admin/images/expand.png | 9.30KB | 1.44KB | ▼ 84.55% |
admin/images/embed-option.png | 60.36KB | 21.09KB | ▼ 65.05% |