Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.70ms] Passed 4 tests
Server-side resources used by Roomlio - Group Chat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.45 ▼2.27 |
Dashboard /wp-admin | 3.44 ▲0.13 | 49.24 ▼0.58 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 51.10 ▲3.27 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 83.78 ▼19.20 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.67 ▲4.18 |
Roomlio Rooms /wp-admin/edit.php?post_type=roomlio_room | 3.40 | 35.68 |
Settings /wp-admin/edit.php?post_type=roomlio_room&page=roomlio-plugin-page | 3.33 | 34.65 |
Add Room /wp-admin/post-new.php?post_type=roomlio_room | 3.39 | 41.15 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Roomlio - Group Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲118 | 13.20 ▼1.38 | 4.51 ▲2.89 | 43.39 ▲3.94 |
Dashboard /wp-admin | 2,273 ▲85 | 4.96 ▲0.07 | 99.66 ▼13.37 | 90.04 ▲45.43 |
Posts /wp-admin/edit.php | 2,162 ▲70 | 2.01 ▼0.01 | 39.78 ▲4.54 | 36.62 ▲4.58 |
Add New Post /wp-admin/post-new.php | 6,246 ▲4,713 | 19.30 ▼3.87 | 830.91 ▲217.55 | 37.27 ▼18.75 |
Media Library /wp-admin/upload.php | 1,449 ▲61 | 4.15 ▼0.04 | 127.56 ▲29.97 | 43.81 ▲1.71 |
Roomlio Rooms /wp-admin/edit.php?post_type=roomlio_room | 1,128 | 1.95 | 34.97 | 31.29 |
Settings /wp-admin/edit.php?post_type=roomlio_room&page=roomlio-plugin-page | 945 | 2.07 | 25.82 | 28.57 |
Add Room /wp-admin/post-new.php?post_type=roomlio_room | 1,535 | 2.42 | 49.51 | 54.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/roomlio-group-chat/includes/rml-public-shortcode.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/roomlio-group-chat/includes/rml-admin-room-form.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/roomlio-group-chat/includes/rml-admin-functions.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/roomlio-group-chat/includes/rml-admin-settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/roomlio-group-chat/roomlio.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/roomlio-group-chat/includes/rml-public-shortcode.php:8
- > 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 on the user side
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
roomlio-group-chat/roomlio.php 85% from 13 tests
The primary PHP file in "Roomlio - Group Chat" version 1.0.5 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 141 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("roomlio-group-chat.php" instead of "roomlio.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,015 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 84 | 235 | 542 |
JavaScript | 3 | 32 | 25 | 372 |
CSS | 1 | 20 | 0 | 92 |
SVG | 3 | 0 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
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 | 34 | |
▷ Named functions | 31 | 91.18% |
▷ Anonymous functions | 3 | 8.82% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected