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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.72ms] Passed 4 tests
This is a short check of server-side resources used by Dash Notifier
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.61 ▲4.82 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.87 ▼1.60 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.84 ▼7.26 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 80.82 ▼20.36 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.26 ▼1.67 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Dash Notifier
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.63 ▼0.77 | 4.88 ▲3.26 | 43.55 ▲4.46 |
Dashboard /wp-admin | 2,209 ▲18 | 5.90 ▲1.02 | 94.18 ▼6.14 | 36.55 ▼4.09 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.06 | 37.91 ▼2.27 | 33.84 ▼1.82 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 22.94 ▲4.67 | 661.37 ▲53.25 | 62.38 ▼0.70 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▲0.02 | 94.22 ▼5.43 | 39.86 ▼4.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: plugin installer, dashboard notify
dash-notifier/dash-notifier.php Passed 13 tests
Analyzing the main PHP file in "Dash Notifier" version 1.2
28 characters long description:
WordPress dashboard notifier
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
There were no executable files found in this plugin238 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 63 | 102 | 238 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
5 PNG files occupy 0.23MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wp_assets/icon-256x256.png | 4.88KB | 3.35KB | ▼ 31.49% |
wp_assets/banner-772x250.png | 51.75KB | 17.63KB | ▼ 65.93% |
wp_assets/icon-128x128.png | 2.56KB | 1.82KB | ▼ 28.77% |
wp_assets/banner-1544x500.png | 100.15KB | 34.00KB | ▼ 66.05% |
wp_assets/screenshot-1.png | 78.73KB | 25.83KB | ▼ 67.19% |