Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼0.81ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Slack Notifications
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 44.41 ▼0.61 |
Dashboard /wp-admin | 3.50 ▲0.19 | 49.72 ▼3.06 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 50.95 ▲0.81 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 100.87 ▲8.52 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 39.45 ▼0.40 |
Add New /wp-admin/post-new.php?post_type=ppwpslack | 3.46 | 49.37 |
All Slacks /wp-admin/edit.php?post_type=ppwpslack | 3.46 | 41.13 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Slack Notifications
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 13.80 ▼0.82 | 8.46 ▲6.17 | 43.83 ▼1.21 |
Dashboard /wp-admin | 2,233 ▲78 | 4.86 ▼0.74 | 112.25 ▲8.63 | 42.02 ▲0.46 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.04 ▲0.04 | 39.26 ▼0.40 | 37.22 ▲1.48 |
Add New Post /wp-admin/post-new.php | 1,556 ▲37 | 23.25 ▲0.06 | 662.31 ▲32.23 | 47.72 ▼1.58 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.18 ▼0.00 | 94.64 ▼10.35 | 45.64 ▲0.17 |
Add New /wp-admin/post-new.php?post_type=ppwpslack | 1,674 | 2.63 | 49.70 | 67.41 |
All Slacks /wp-admin/edit.php?post_type=ppwpslack | 1,103 | 2.00 | 38.47 | 28.12 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ultimate-slack-notifications/admin/partials/ppwpslack-admin-display.php
- > /wp-content/plugins/ultimate-slack-notifications/public/partials/ppwpslack-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tested up to: The plugin version is formatted incorrectly
ultimate-slack-notifications/ultimate-slack-notifications.php 85% from 13 tests
Analyzing the main PHP file in "Ultimate Slack Notifications" version 1.1.0
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,758 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 362 | 730 | 982 |
PHP | 12 | 258 | 621 | 691 |
CSS | 4 | 20 | 16 | 85 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 2 | 4.44% |
▷ Public methods | 40 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.11% |
Functions | 12 | |
▷ Named functions | 4 | 33.33% |
▷ Anonymous functions | 8 | 66.67% |
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
3 PNG files occupy 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 20.77KB | 6.89KB | ▼ 66.84% |
assets/icon-128x128.png | 9.05KB | 3.54KB | ▼ 60.92% |
assets/banner-772x250.png | 73.83KB | 22.93KB | ▼ 68.94% |