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.09MB] [CPU: ▼8.33ms] Passed 4 tests
A check of server-side resources used by Easy Notification Bar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.74 ▲0.96 |
Dashboard /wp-admin | 3.41 ▲0.06 | 48.65 ▼18.05 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 46.45 ▼2.55 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 82.33 ▼11.68 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.83 ▼1.04 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Notification Bar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲45 | 14.21 ▼0.34 | 1.69 ▲0.09 | 42.53 ▼1.57 |
Dashboard /wp-admin | 2,192 ▲21 | 5.65 ▲0.08 | 113.56 ▲23.33 | 48.04 ▲4.41 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▲0.03 | 37.27 ▲0.55 | 32.13 ▼1.87 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.64 ▼0.08 | 640.70 ▼56.87 | 56.37 ▼0.48 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.20 ▲0.00 | 94.67 ▼4.21 | 42.45 ▼4.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #1 in easy-notification-bar/assets to your readme.txt
easy-notification-bar/easy-notification-bar.php Passed 13 tests
Analyzing the main PHP file in "Easy Notification Bar" version 1.4.8
48 characters long description:
Easily display a notice at the top of your site.
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 plugin774 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 156 | 286 | 595 |
CSS | 2 | 23 | 2 | 123 |
JavaScript | 1 | 17 | 0 | 56 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin