Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.58ms] Passed 4 tests
A check of server-side resources used by ChatHispano
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.02 | 38.68 ▼4.50 |
Dashboard /wp-admin | 3.40 ▲0.01 | 49.57 ▼21.51 |
Posts /wp-admin/edit.php | 3.51 ▲0.11 | 55.45 ▲4.49 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.05 | 86.49 ▼8.05 |
Media Library /wp-admin/upload.php | 3.32 ▲0.05 | 40.35 ▼0.24 |
Webchat /wp-admin/admin.php?page=chathispano_settings_webchat | 3.29 | 33.30 |
Información /wp-admin/admin.php?page=chathispano_settings | 3.29 | 31.84 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 13 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
chathispano_webchat_nick |
chathispano_webchat_height |
widget_theysaidso_widget |
chathispano_webchat_width |
chathispano_webchat_chan |
db_upgraded |
chathispano_webchat_layout |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ChatHispano
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 14.06 ▼0.47 | 1.70 ▲0.04 | 39.66 ▼5.24 |
Dashboard /wp-admin | 2,220 ▲43 | 5.65 ▼0.00 | 78.87 ▼20.99 | 71.88 ▲26.63 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.04 ▲0.02 | 38.92 ▲3.55 | 34.48 ▼5.47 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.10 ▼0.35 | 761.17 ▲32.64 | 52.34 ▼2.00 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.21 ▲0.06 | 97.60 ▼2.59 | 72.05 ▲27.07 |
Webchat /wp-admin/admin.php?page=chathispano_settings_webchat | 1,058 | 2.00 | 24.32 | 37.24 |
Información /wp-admin/admin.php?page=chathispano_settings | 839 | 1.97 | 23.84 | 28.33 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 13 options in the database
- chathispano_webchat_nick
- chathispano_webchat_height
- chathispano_webchat_realname
- chathispano_webchat_layout
- theysaidso_admin_options
- chathispano_webchat_chan
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 24 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chathispano_settings
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 24 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chathispano_settings
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 0% 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/chathispano/public/index.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/chathispano/chathispano.php:32
- > 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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: irchispano, chat, chathispano, network, people...
chathispano/chathispano.php Passed 13 tests
The principal PHP file in "ChatHispano" v. 1.2.2 is loaded by WordPress automatically on each request
69 characters long description:
Plugin de Wordpress para poner Webchat de ChatHispano en su Wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected318 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 52 | 42 | 318 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 0.61KB | 0.68KB | 0.00% |