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.00MB] [CPU: ▼8.42ms] Passed 4 tests
This is a short check of server-side resources used by Simple Buddypress Notifications
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.80 ▼3.80 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.14 ▼18.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.09 ▼3.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.46 ▼8.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.56 ▼1.95 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Buddypress Notifications
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.73 ▲0.48 | 1.99 ▲0.33 | 43.96 ▲0.75 |
Dashboard /wp-admin | 2,220 ▲32 | 4.88 ▼0.02 | 111.61 ▼1.28 | 43.33 ▲0.91 |
Posts /wp-admin/edit.php | 2,103 ▲17 | 2.03 ▲0.06 | 40.81 ▲4.33 | 39.64 ▲7.37 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.17 ▲5.63 | 704.42 ▲36.27 | 61.08 ▲8.59 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.21 ▲0.03 | 102.54 ▲1.53 | 42.27 ▼1.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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)
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
Everything seems fine, however this is by no means an exhaustive test
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 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Requires at least: Version not formatted correctly
- Contributors: Plugin contributors field is missing
simple-buddypress-notifications/simple-buddypress-notifications.php 92% from 13 tests
The main PHP file in "Simple Buddypress Notifications" ver. 1.3.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 228 characters long)
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
Success! There were no dangerous files found in this plugin1,213 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 931 |
PHP | 3 | 83 | 122 | 164 |
JavaScript | 1 | 34 | 19 | 68 |
CSS | 2 | 8 | 3 | 50 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 12 | 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 are no PNG files in this plugin