Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.73ms] Passed 4 tests
Analyzing server-side resources used by initChat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.05 | 44.70 ▼1.48 |
Dashboard /wp-admin | 3.78 ▲0.22 | 56.64 ▲2.98 |
Posts /wp-admin/edit.php | 3.84 ▲0.16 | 57.53 ▲1.19 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.13 | 88.26 ▼17.59 |
Media Library /wp-admin/upload.php | 3.62 ▲0.13 | 42.98 ▲4.56 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by initChat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,105 ▲319 | 15.01 ▲0.62 | 9.31 ▲7.29 | 45.97 ▲4.30 |
Dashboard /wp-admin | 2,334 ▲154 | 6.19 ▲0.52 | 119.88 ▲25.72 | 73.93 ▲29.38 |
Posts /wp-admin/edit.php | 2,280 ▲180 | 3.37 ▲1.32 | 53.15 ▲11.93 | 53.91 ▲14.39 |
Add New Post /wp-admin/post-new.php | 1,553 ▲22 | 23.09 ▼0.14 | 672.17 ▲28.01 | 36.91 ▼19.62 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.05 ▼0.17 | 85.06 ▼22.68 | 85.22 ▲36.04 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: chatting, application, initchat, wordpress chat, start...
initchat/initchat.php 77% from 13 tests
The main file in "initChat" v. 1.3.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 297 characters long)
- Domain Path: Prefix the domain path with a forward slash character ("//")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected767 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 138 | 37 | 480 |
CSS | 2 | 26 | 6 | 198 |
JavaScript | 1 | 29 | 12 | 80 |
SVG | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 5.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
4 compressed PNG files occupy 0.03MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/startchat.png | 1.10KB | 0.99KB | ▼ 10.46% |
assets/img/pattern.png | 26.75KB | 26.03KB | ▼ 2.67% |
assets/img/person.png | 2.88KB | 2.14KB | ▼ 25.96% |
assets/img/initchat-icon.png | 0.93KB | 0.89KB | ▼ 4.30% |