Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method tinychat_class::hook_activation() should not be called statically
Server metrics [RAM: ▼0.87MB] [CPU: ▼38.96ms] Passed 4 tests
A check of server-side resources used by Tinychat Shortcode
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 34.61 ▼1.38 |
Dashboard /wp-admin | 3.09 ▼0.26 | 22.80 ▼44.10 |
Posts /wp-admin/edit.php | 3.09 ▼0.27 | 24.24 ▼22.16 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.80 | 24.32 ▼76.49 |
Media Library /wp-admin/upload.php | 3.09 ▼0.14 | 23.83 ▼13.07 |
Tinychat /wp-admin/admin.php?page=tiny-chat | 3.09 | 23.71 |
Plugin Info /wp-admin/admin.php?page=tiny-chat-info | 3.09 | 23.53 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
tinychat_options |
Browser metrics Passed 4 tests
Tinychat Shortcode: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲29 | 14.35 ▼0.24 | 1.63 ▼0.04 | 47.01 ▲4.50 |
Dashboard /wp-admin | 2,221 ▲43 | 5.56 ▼0.06 | 83.64 ▼20.64 | 58.56 ▲18.10 |
Posts /wp-admin/edit.php | 2,126 ▲29 | 2.01 ▼0.00 | 40.07 ▲2.57 | 34.05 ▲2.11 |
Add New Post /wp-admin/post-new.php | 1,568 ▲40 | 22.94 ▼0.24 | 649.03 ▼22.21 | 159.71 ▲96.89 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.16 ▼0.07 | 94.48 ▼27.08 | 74.22 ▲26.53 |
Tinychat /wp-admin/admin.php?page=tiny-chat | 927 | 2.01 | 27.26 | 55.77 |
Plugin Info /wp-admin/admin.php?page=tiny-chat-info | 812 | 1.99 | 22.55 | 27.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method tinychat_class::menu_register() should not be called statically
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- tinychat_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tiny-chat-info
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method tinychat_class::menu_register() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tiny-chat-info
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method tinychat_class::menu_register_extras() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tiny-chat-info
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method tinychat_class::menu_styles() should not be called statically
- > GET request to /wp-admin/admin.php?page=tiny-chat
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method tinychat_class::menu_primary() should not be called statically
- > GET request to /wp-admin/admin.php?page=tiny-chat
- > Deprecated in wp-content/plugins/tinychat-shortcode/tinychat.php+60
Non-static method tinychat_class::check_post() should not be called statically
- > GET request to /wp-admin/admin.php?page=tiny-chat
- > Deprecated in wp-content/plugins/tinychat-shortcode/tinychat.php+61
Non-static method tinychat_class::option_get() should not be called statically
- > GET request to /wp-admin/admin.php?page=tiny-chat
- > Deprecated in wp-content/plugins/tinychat-shortcode/tinychat.php+63
Non-static method tinychat_class::form_general_options() should not be called statically
- > GET request to /wp-admin/admin.php?page=tiny-chat
- > Deprecated in wp-content/plugins/tinychat-shortcode/tinychat.php+66
Non-static method tinychat_class::snippet_get_all() should not be called statically
- > GET request to /wp-admin/admin.php?page=tiny-chat
- > Deprecated in wp-content/plugins/tinychat-shortcode/tinychat.php+77
Non-static method tinychat_class::form_add_snippet() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tiny-chat
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
- > GET request to /wp-admin/admin.php?page=tiny-chat-info
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method tinychat_class::menu_sub() should not be called statically
SRP 0% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/tinychat-shortcode/information.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tinychat-shortcode/tinychat.php:464
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
tinychat-shortcode/tinychat.php 92% from 13 tests
The principal PHP file in "Tinychat Shortcode" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tinychat-shortcode.php" instead of "tinychat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin518 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 12 | 432 |
CSS | 1 | 3 | 1 | 86 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ap.png | 3.61KB | 0.90KB | ▼ 75.07% |