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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.43ms] Passed 4 tests
This is a short check of server-side resources used by Pure Chat - Live Chat Plugin & More!
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 45.14 ▲5.67 |
Dashboard /wp-admin | 3.33 ▲0.03 | 61.37 ▲11.86 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.55 ▼1.77 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 94.82 ▼10.51 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.58 ▲4.87 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
purechat_plugin_ver |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Pure Chat - Live Chat Plugin & More!
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.77 ▲0.47 | 1.96 ▲0.15 | 44.49 ▲1.57 |
Dashboard /wp-admin | 2,221 ▲33 | 5.86 ▼0.05 | 107.30 ▲1.42 | 72.30 ▲31.97 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 2.02 ▲0.02 | 37.62 ▼2.81 | 33.41 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.23 ▲0.19 | 729.83 ▲70.60 | 51.92 ▼6.47 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.20 ▼0.04 | 96.22 ▼15.30 | 76.92 ▲29.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/pure-chat/purechat.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Chat widget), #2 (Operator dashboard), #3 (Native iOS and Android apps.)
- Tags: Please reduce the number of tags, currently 28 tag instead of maximum 10
pure-chat/purechat.php 85% from 13 tests
"Pure Chat - Live Chat Plugin & More!" version 2.22's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 164 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pure-chat.php" instead of "purechat.php")
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 detected156 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 32 | 46 | 126 |
CSS | 1 | 4 | 0 | 29 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 3 | 33.33% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.51MB with 0.36MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 162.25KB | 49.43KB | ▼ 69.53% |
screenshot-3.png | 140.73KB | 37.91KB | ▼ 73.06% |
logo.png | 24.63KB | 8.58KB | ▼ 65.17% |
screenshot-2.png | 193.32KB | 52.82KB | ▼ 72.68% |