Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.86ms] Passed 4 tests
Analyzing server-side resources used by Stylish Notification Popup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.03 ▼1.02 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.81 ▼4.18 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 46.66 ▼7.12 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.12 ▲8.18 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.07 ▲0.90 |
Stylish Notification Popup /wp-admin/options-general.php?page=stylish-notification-popup-settings | 3.26 | 32.61 |
Server storage [IO: ▲0.22MB] [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: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
stylish_notification_popup_settings |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Stylish Notification Popup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲226 | 13.77 ▼0.82 | 7.34 ▲5.28 | 42.57 ▼5.49 |
Dashboard /wp-admin | 2,231 ▲43 | 5.11 ▲0.20 | 106.08 ▼13.60 | 40.61 ▼5.78 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.33 ▲0.29 | 38.39 ▲1.51 | 34.72 ▲0.10 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 18.15 ▼0.34 | 605.07 ▼51.86 | 33.66 ▼18.11 |
Media Library /wp-admin/upload.php | 1,416 ▲34 | 4.43 ▲0.21 | 98.21 ▼1.86 | 42.88 ▼0.95 |
Stylish Notification Popup /wp-admin/options-general.php?page=stylish-notification-popup-settings | 1,032 | 1.97 | 29.23 | 31.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- stylish_notification_popup_settings
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/stylish-notification-popup/stylish-notification-popup.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
stylish-notification-popup/stylish-notification-popup.php 92% from 13 tests
This is the main PHP file of "Stylish Notification Popup" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected3,292 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 515 | 13 | 2,896 |
PHP | 2 | 100 | 35 | 282 |
SVG | 1 | 0 | 0 | 97 |
JavaScript | 2 | 2 | 0 | 17 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close.png | 1.18KB | 0.27KB | ▼ 76.83% |