Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.55ms] Passed 4 tests
A check of server-side resources used by BuddyPress xProfiles ACL
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.86 ▲3.02 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.89 ▲4.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.65 ▼2.61 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.30 ▼26.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.05 ▲6.22 |
BP xProfiles ACL /wp-admin/options-general.php?page=bp-profiles-acl-manager | 3.00 | 23.75 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for BuddyPress xProfiles ACL
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.39 ▲0.01 | 1.69 ▲0.23 | 41.86 ▲3.53 |
Dashboard /wp-admin | 2,198 ▲17 | 5.59 ▼0.12 | 90.81 ▼14.59 | 37.38 ▼0.15 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.04 | 38.62 ▼1.07 | 36.22 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 18.16 ▼5.37 | 612.08 ▲7.23 | 69.66 ▲19.56 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.22 ▲0.04 | 103.88 ▲9.30 | 46.63 ▲3.67 |
BP xProfiles ACL /wp-admin/options-general.php?page=bp-profiles-acl-manager | 28 | 0.42 | 0.07 | 3.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/buddypress-xprofiles-acl/buddypress-xprofiles-acl.php:311
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=bp-profiles-acl-manager
- > Network (severe)
wp-admin/options-general.php?page=bp-profiles-acl-manager - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #2 in buddypress-xprofiles-acl/assets to your readme.txt
buddypress-xprofiles-acl/buddypress-xprofiles-acl.php 92% from 13 tests
"BuddyPress xProfiles ACL" version 0.20.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 304 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin357 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 12 | 285 |
PO File | 2 | 25 | 37 | 72 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 7.17 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 20.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin