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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.69ms] Passed 4 tests
Analyzing server-side resources used by Notification Box Lite Version
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 42.29 ▲4.29 |
Dashboard /wp-admin | 3.11 ▼0.19 | 26.67 ▼19.10 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.66 ▼0.36 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 82.68 ▼4.73 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.96 ▲1.45 |
Notification Box Lite /wp-admin/options-general.php?page=notification_box_settings | 3.32 | 30.95 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Notification Box Lite Version
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲155 | 13.85 ▼0.43 | 21.32 ▲19.53 | 42.22 ▲2.22 |
Dashboard /wp-admin | 2,210 ▲28 | 5.90 ▲0.01 | 109.72 ▲5.85 | 39.52 ▼6.14 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.01 | 38.43 ▲0.50 | 34.87 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.36 ▲0.32 | 664.12 ▼7.47 | 54.92 ▼8.25 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.14 ▼0.03 | 110.90 ▲12.27 | 47.25 ▲3.54 |
Notification Box Lite /wp-admin/options-general.php?page=notification_box_settings | 1,025 | 2.04 | 24.23 | 25.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=notification_box_settings
- > Notice in wp-content/plugins/notification-box-lite/notification-box-admin.php+18
Undefined variable: danw_action
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== notification-box-lite ===
)
notification-box-lite/notification-box-lite.php 92% from 13 tests
The main PHP script in "Notification Box Lite Version" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 414 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
Everything looks great! No dangerous files found in this plugin555 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 72 | 31 | 389 |
JavaScript | 1 | 8 | 1 | 84 |
CSS | 1 | 11 | 2 | 82 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin