Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.55MB] [CPU: ▼318.41ms] Passed 4 tests
Analyzing server-side resources used by BP Profile Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.69 | 56.95 ▲2.50 |
Dashboard /wp-admin | 3.79 ▲0.38 | 20.85 ▼11.50 |
Posts /wp-admin/edit.php | 3.79 ▲0.14 | 21.13 ▼14.81 |
Add New Post /wp-admin/post-new.php | 3.79 ▼3.19 | 20.61 ▼1,243.33 |
Media Library /wp-admin/upload.php | 3.79 ▲0.49 | 19.41 ▼3.98 |
BP Profile Widgets /wp-admin/options-general.php?page=slushman_bppw_settings | 3.79 | 20.47 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 1 new option
New WordPress options |
---|
slushman_bppw_settings |
Browser metrics Passed 4 tests
A check of browser resources used by BP Profile Widgets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,790 ▲68 | 15.90 ▲0.26 | 5.65 ▼0.41 | 2.67 ▲0.49 |
Dashboard /wp-admin | 2,897 ▲43 | 6.10 ▼0.11 | 117.51 ▼17.83 | 157.55 ▼3.74 |
Posts /wp-admin/edit.php | 2,696 ▲2 | 3.24 ▲0.02 | 64.73 ▼0.03 | 145.45 ▲3.99 |
Add New Post /wp-admin/post-new.php | 1,664 ▲3 | 16.57 ▼4.59 | 420.65 ▲1.36 | 168.28 ▲14.77 |
Media Library /wp-admin/upload.php | 1,706 ▲5 | 5.52 ▲0.02 | 142.05 ▲10.25 | 189.97 ▲0.41 |
BP Profile Widgets /wp-admin/options-general.php?page=slushman_bppw_settings | 1,203 | 2.37 | 52.55 | 132.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/bp-profile-widgets/bp-profile-widgets.php+185
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 1 option
- slushman_bppw_settings
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=slushman_bppw_settings
- > Deprecated in wp-content/plugins/bp-profile-widgets/bp-profile-widgets.php+185
Function create_function() is deprecated
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bp-profile-widgets/inc/bp-profile-music-player-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bp-profile-widgets/inc/bp-profile-photo-gallery-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bp-profile-widgets/inc/bp-profile-rss-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bp-profile-widgets/inc/bp-profile-text-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bp-profile-widgets/inc/bp-profile-video-player-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bp-profile-widgets/bp-profile-widgets.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bp-profile-widgets/inc/config.php:4
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 39 tag instead of maximum 10
- Requires at least: Version format is invalid
bp-profile-widgets/bp-profile-widgets.php 92% from 13 tests
"BP Profile Widgets" version 0.5.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 314 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
Everything looks great! No dangerous files found in this plugin1,846 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 1,356 | 1,415 | 1,846 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 53.11 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 5.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 97 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 97 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 2.67KB | 1.78KB | ▼ 33.35% |