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: ▼6.83ms] Passed 4 tests
Server-side resources used by Buddy Notification Bell
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.95 ▼2.55 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.73 ▼3.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.55 ▼5.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.98 ▼16.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.64 ▲0.97 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Buddy Notification Bell
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲42 | 14.73 ▲0.38 | 1.76 ▼0.26 | 40.90 ▼0.32 |
Dashboard /wp-admin | 2,209 ▲35 | 5.65 ▲0.06 | 94.08 ▼3.78 | 40.53 ▼2.55 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 1.99 ▲0.02 | 38.70 ▲2.16 | 35.24 ▼2.74 |
Add New Post /wp-admin/post-new.php | 1,535 ▼3 | 23.00 ▲0.01 | 655.73 ▼1.56 | 59.95 ▲7.62 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.17 ▼0.07 | 99.96 ▼4.59 | 42.56 ▼1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tested up to: The plugin version is formatted incorrectly
- Requires at least: The plugin version is formatted incorrectly
buddy-notification-bell/buddy-notification-bell.php 85% from 13 tests
The main PHP script in "Buddy Notification Bell" version 1.0.2 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Description: Please don't use more than 140 characters for the plugin description (currently 164 characters long)
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
Success! There were no dangerous files found in this plugin5,451 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 11 | 14 | 2,407 |
PHP | 4 | 94 | 186 | 301 |
JavaScript | 1 | 33 | 23 | 72 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin