Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.80ms] Passed 4 tests
Analyzing server-side resources used by App LiberaChat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.63 ▲4.52 |
Dashboard /wp-admin | 3.32 ▼0.02 | 45.91 ▼13.57 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.73 ▼9.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 79.68 ▼23.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.35 ▲3.78 |
Info /wp-admin/admin.php?page=liberachat_info | 3.23 | 28.15 |
Settings /wp-admin/admin.php?page=libera-chat-settings | 3.27 | 30.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 12 new options
New WordPress options |
---|
liberachat_chan |
liberachat_server |
widget_theysaidso_widget |
liberachat_height |
widget_recent-posts |
liberachat_nick |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
liberachat_style |
... |
Browser metrics Passed 4 tests
App LiberaChat: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲51 | 13.54 ▼1.02 | 1.71 ▼0.47 | 42.81 ▲0.34 |
Dashboard /wp-admin | 2,231 ▲43 | 4.94 ▲0.05 | 99.73 ▼19.03 | 83.82 ▲42.02 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.00 ▲0.01 | 39.41 ▼2.27 | 38.01 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,687 ▲173 | 22.01 ▲4.31 | 796.94 ▲113.06 | 54.19 ▼3.20 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.15 ▼0.08 | 113.99 ▲18.05 | 91.73 ▲47.12 |
Info /wp-admin/admin.php?page=liberachat_info | 836 | 2.01 | 25.48 | 27.54 |
Settings /wp-admin/admin.php?page=libera-chat-settings | 982 | 2.03 | 25.05 | 36.07 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 12 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- liberachat_style
- widget_recent-comments
- widget_recent-posts
- liberachat_chan
- liberachat_server
- theysaidso_admin_options
- liberachat_height
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/app-liberachat/admin/info_app_liberachat.php
- > /wp-content/plugins/app-liberachat/app-liberachat.php
- > /wp-content/plugins/app-liberachat/public/index.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/app-liberachat/admin/kiwi_app_liberachat.php:2
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
app-liberachat/app-liberachat.php Passed 13 tests
"App LiberaChat" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
125 characters long description:
The App LiberaChat plugin for WordPress allows you to use the chat service of the Libera.Chat network on your WordPress site.
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
Good job! No executable or dangerous file extensions detected240 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 36 | 35 | 240 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/liberachat.png | 0.55KB | 0.58KB | 0.00% |