Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼8.03ms] Passed 4 tests
An overview of server-side resources used by WP-Notification
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 45.69 ▼2.01 |
Dashboard /wp-admin | 3.49 ▲0.19 | 49.89 ▼2.38 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 48.17 ▼5.71 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 85.14 ▼22.02 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 37.47 ▲0.27 |
WP-Notification /wp-admin/themes.php?page=wp_notification_settings | 3.36 | 34.59 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 37 new options
New WordPress options |
---|
editor_notices_location |
contributor_notices_notification_type |
author_notices_notification_type |
widget_theysaidso_widget |
administrator_notices_notification_type |
administrator_notices_hide |
custom_notices_admin_bar |
editor_notices_text |
contributor_notices_location |
contributor_notices_hide |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP-Notification
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.34 ▲0.08 | 1.83 ▲0.08 | 44.05 ▼0.79 |
Dashboard /wp-admin | 2,204 ▲30 | 5.53 ▼0.05 | 86.81 ▼7.22 | 38.29 ▼4.83 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 1.99 ▼0.01 | 34.83 ▼6.78 | 33.04 ▼4.99 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.62 ▲0.56 | 621.75 ▼41.61 | 54.35 ▲6.00 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.17 ▼0.00 | 96.31 ▼9.51 | 43.63 ▲0.14 |
WP-Notification /wp-admin/themes.php?page=wp_notification_settings | 1,772 | 6.50 | 133.02 | 70.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/themes.php?page=wp_notification_settings
- > Notice in wp-content/plugins/wp-notification/wp-notification.php+113
Undefined index: settings-updated
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-notification/wp-notification.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 75% 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
Please fix the following attributes:
- Screenshots: A description for screenshot #0 is missing in wp-notification/assets to your readme.txt
- Screenshots: Add an image for screenshot #1 (screenshot-1.png)
- Tags: There are too many tags (19 tag instead of maximum 10)
- Contributors: Contributors not specified
wp-notification/wp-notification.php Passed 13 tests
This is the main PHP file of "WP-Notification" version 1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
Show custom notifications on the dashboard
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 plugin661 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 10 | 530 |
PO File | 1 | 58 | 136 | 131 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 17.27KB | 9.38KB | ▼ 45.65% |