Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/buddypress-notifications-manager/loader.php+117
Use of undefined constant BP_VERSION - assumed 'BP_VERSION' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.99ms] Passed 4 tests
Server-side resources used by Buddypress Notifications Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.39 ▼1.23 |
Dashboard /wp-admin | 3.31 ▼0.04 | 50.76 ▼13.91 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.69 ▼17.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.04 ▼7.46 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.54 ▲3.45 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Buddypress Notifications Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.61 ▲0.06 | 1.70 ▼0.14 | 43.33 ▲2.01 |
Dashboard /wp-admin | 2,198 ▲18 | 5.65 ▲0.01 | 94.56 ▼2.02 | 42.63 ▲1.15 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.00 ▼0.05 | 35.59 ▼3.88 | 36.76 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼23 | 17.92 ▼0.60 | 676.74 ▲26.87 | 50.90 ▲2.96 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.22 ▲0.02 | 100.34 ▼3.20 | 46.63 ▼3.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP 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 87% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Tested up to: Invalid plugin version format
- Requires at least: Invalid plugin version format
buddypress-notifications-manager/loader.php 85% from 13 tests
The main file in "Buddypress Notifications Manager" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "Example: WP 3.2.1, BuddyPress 1.5")
- Main file name: The principal plugin file should be the same as the plugin slug ("buddypress-notifications-manager.php" instead of "loader.php")
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 plugin215 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 71 | 164 |
PO File | 1 | 15 | 17 | 51 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.23MB with 0.13MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 4.83KB | 2.56KB | ▼ 46.92% |
screenshot-1.png | 189.90KB | 55.81KB | ▼ 70.61% |
screenshot-2.png | 32.48KB | 13.53KB | ▼ 58.34% |
screenshot-4.png | 7.37KB | 4.12KB | ▼ 44.14% |