Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.37ms] Passed 4 tests
An overview of server-side resources used by mi13-chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.72 ▼1.00 |
Dashboard /wp-admin | 3.33 ▼0.02 | 43.89 ▼12.47 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.66 ▲3.39 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.02 ▼10.19 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.34 ▼1.80 |
mi13 chat /wp-admin/options-general.php?page=mi13_chat | 3.22 | 29.02 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
mi13_chat |
Browser metrics Passed 4 tests
mi13-chat: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲153 | 13.56 ▼1.03 | 5.37 ▲3.71 | 45.75 ▲3.01 |
Dashboard /wp-admin | 2,229 ▲41 | 4.86 ▼1.01 | 100.58 ▼2.37 | 38.05 ▼7.21 |
Posts /wp-admin/edit.php | 2,109 ▲23 | 2.00 ▲0.02 | 40.05 ▲3.80 | 35.13 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,564 ▲31 | 18.26 ▼4.84 | 614.77 ▼61.22 | 64.71 ▼3.36 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.16 ▼0.05 | 98.90 ▼1.37 | 42.58 ▼3.33 |
mi13 chat /wp-admin/options-general.php?page=mi13_chat | 1,022 | 2.03 | 24.97 | 32.68 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/mi13-chat/mi13-chat-admin.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mi13-chat/mi13-chat-widget.php:256
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mi13-chat/mi13-chat-admin.php on line 8
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mi13-chat/mi13-chat-admin.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in mi13-chat/assets to your readme.txt
mi13-chat/mi13-chat.php Passed 13 tests
The principal PHP file in "mi13-chat" v. 0.1.2.7 is loaded by WordPress automatically on each request
27 characters long description:
Open chat for your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,135 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 111 | 47 | 966 |
PO File | 1 | 98 | 149 | 169 |
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.35 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 78.57% |
▷ Protected methods | 1 | 7.14% |
▷ Private methods | 2 | 14.29% |
Functions | 17 | |
▷ Named functions | 17 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin