Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.10ms] Passed 4 tests
Server-side resources used by Custom Dashboard Notifications
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.32 ▼5.80 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.38 ▼4.45 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.35 ▼0.70 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.16 ▼5.43 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.29 ▲1.18 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Custom Dashboard Notifications: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲141 | 13.21 ▼1.14 | 4.62 ▲2.99 | 41.74 ▲0.40 |
Dashboard /wp-admin | 2,257 ▲65 | 4.86 ▼0.07 | 108.79 ▼1.47 | 40.53 ▼2.26 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.04 ▲0.07 | 39.04 ▲1.10 | 35.43 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 17.71 ▼5.54 | 689.97 ▲45.14 | 63.01 ▲14.04 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.22 ▼0.02 | 94.21 ▲1.57 | 40.67 ▲1.37 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-dashboard-notifications/custom-dashboard-notifications.php:69
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% 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
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots require images: #1 (screenshot-1.png.), #2 (screenshot-1.png.)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== custom-dashboard-notifications ===
)
custom-dashboard-notifications/custom-dashboard-notifications.php Passed 13 tests
The principal PHP file in "Custom Dashboard Notifications" v. 1.0 is loaded by WordPress automatically on each request
78 characters long description:
You can use this plugin to show notifications on the WordPress Dashboard page.
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
Good job! No executable or dangerous file extensions detected67 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 21 | 44 |
CSS | 1 | 4 | 0 | 23 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 6 | |
▷ Named functions | 6 | 100.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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin