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.04MB] [CPU: ▼3.51ms] Passed 4 tests
This is a short check of server-side resources used by Social Chat for WP - Floating Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 46.75 ▲6.97 |
Dashboard /wp-admin | 3.35 ▲0.04 | 49.41 ▼0.61 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 55.79 ▲5.55 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 87.23 ▼23.66 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.72 ▲4.67 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Social Chat for WP - Floating Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 13.40 ▼0.88 | 1.77 ▼0.25 | 41.82 ▼4.41 |
Dashboard /wp-admin | 2,223 ▲49 | 4.98 ▼0.56 | 107.75 ▲14.73 | 67.13 ▲24.97 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 2.47 ▲0.48 | 43.57 ▲3.47 | 68.47 ▲28.44 |
Add New Post /wp-admin/post-new.php | 1,718 ▲190 | 22.68 ▼0.32 | 678.89 ▲69.03 | 53.51 ▼10.63 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.51 ▲0.34 | 111.79 ▲5.07 | 83.17 ▲35.64 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/social-chat-for-wp/view/index-logged.php
- > /wp-content/plugins/social-chat-for-wp/languages/index.php
- > /wp-content/plugins/social-chat-for-wp/greebox.php
- > /wp-content/plugins/social-chat-for-wp/index.php
- > /wp-content/plugins/social-chat-for-wp/view/index-not-logged.php
- > /wp-content/plugins/social-chat-for-wp/class.greebox-admin.php
- > /wp-content/plugins/social-chat-for-wp/class.greebox-app.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Contributors: Contributors not specified
social-chat-for-wp/greebox.php 85% from 13 tests
The principal PHP file in "Social Chat for WP - Floating Widget" v. 1.4 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("social-chat-for-wp.php" instead of "greebox.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 151 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin3,003 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 80 | 250 | 2,446 |
PHP | 8 | 76 | 87 | 321 |
JavaScript | 5 | 19 | 55 | 105 |
PO File | 2 | 30 | 34 | 104 |
SVG | 6 | 0 | 0 | 27 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 13 | |
▷ Static methods | 11 | 84.62% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 4 | 50.00% |
▷ Class constants | 4 | 50.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 0.66KB | 0.37KB | ▼ 44.26% |
view/images/webclip.png | 3.17KB | 1.53KB | ▼ 51.63% |
view/images/favicon.png | 0.50KB | 0.40KB | ▼ 18.54% |