Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/bp-power-seo/bp-power-seo.php+44
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.12ms] Passed 4 tests
A check of server-side resources used by BuddyPress Power SEO
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.57 ▼5.74 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.79 ▼1.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.05 ▼0.46 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.13 ▼24.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 31.89 ▲0.46 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
bpp_member_profile |
db_upgraded |
bpp_member_profile_tabs |
bpp_custom_fields |
can_compress_scripts |
bpp_member_list |
bpp_group_list |
... |
Browser metrics Passed 4 tests
A check of browser resources used by BuddyPress Power SEO
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.23 ▼1.15 | 5.11 ▲3.07 | 43.73 ▲1.36 |
Dashboard /wp-admin | 2,206 ▲15 | 5.86 ▲0.94 | 106.67 ▲3.72 | 41.44 ▼6.01 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.04 | 39.84 ▲2.36 | 34.84 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.31 ▲0.16 | 675.71 ▲38.28 | 55.63 ▲4.29 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.21 ▼0.06 | 97.77 ▼1.04 | 40.81 ▼2.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 12 options in the database
- db_upgraded
- bpp_member_profile
- bpp_custom_fields
- bpp_group_profile
- can_compress_scripts
- bpp_member_profile_tabs
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/bp-power-seo/lib/site.php:116
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/bp-power-seo/lib/admin.php:3
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: bp, buddypress search engine optimization, buddypress seo, buddypress, social seo...
bp-power-seo/bp-power-seo.php Passed 13 tests
The primary PHP file in "BuddyPress Power SEO" version 1.2 is used by WordPress to initiate all plugin functionality
94 characters long description:
This plugin enables SEO functionality for your BuddyPress-powered social network or community.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin751 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 108 | 34 | 712 |
JavaScript | 1 | 6 | 0 | 32 |
CSS | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 14 | |
▷ Named functions | 12 | 85.71% |
▷ Anonymous functions | 2 | 14.29% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin