Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.40ms] Passed 4 tests
An overview of server-side resources used by Slack Chat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.64 ▼10.71 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.53 ▼4.41 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.87 ▼1.56 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.70 ▲5.56 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.34 ▼0.93 |
Slack Chat /wp-admin/options-general.php?page=slack-chat | 3.22 | 32.09 |
Server storage [IO: ▲3.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Slack Chat: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲57 | 13.23 ▼1.14 | 1.70 ▼0.22 | 40.98 ▲1.18 |
Dashboard /wp-admin | 2,234 ▲42 | 5.86 ▲0.90 | 102.32 ▼2.54 | 67.05 ▲24.87 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.00 ▼0.03 | 38.34 ▼1.34 | 34.34 ▼3.98 |
Add New Post /wp-admin/post-new.php | 1,544 ▲2 | 23.32 ▲4.99 | 699.19 ▲111.07 | 55.58 ▲9.13 |
Media Library /wp-admin/upload.php | 1,420 ▲29 | 4.21 ▲0.02 | 96.36 ▼1.60 | 70.50 ▲27.51 |
Slack Chat /wp-admin/options-general.php?page=slack-chat | 903 | 2.02 | 25.00 | 28.84 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/socialintents-slack-chat/options.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/socialintents-slack-chat/slack-chat.php:11
- > PHP Fatal error
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 94% 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: Add images for these screenshots: #1 (Slack Chat Visitor Popup), #2 (Slack Channel Example), #3 (Social Intents Overview)
socialintents-slack-chat/slack-chat.php 85% from 13 tests
"Slack Chat" version 1.2.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("socialintents-slack-chat.php" instead of "slack-chat.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 215 characters long)
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
Everything looks great! No dangerous files found in this plugin118 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 8 | 118 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 3.50MB with 2.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 645.17KB | 180.34KB | ▼ 72.05% |
screenshot-1.png | 657.52KB | 289.98KB | ▼ 55.90% |
si-small.png | 3.71KB | 1.27KB | ▼ 65.90% |
screenshot-3.png | 505.92KB | 111.14KB | ▼ 78.03% |
screenshot-4.png | 1,767.56KB | 554.17KB | ▼ 68.65% |