Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.13ms] Passed 4 tests
Analyzing server-side resources used by BuddyPress Profile Completion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.44 ▼1.89 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.31 ▼4.04 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 46.79 ▲0.20 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 93.57 ▼16.93 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 34.99 ▼1.64 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
bpprocn_settings |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BuddyPress Profile Completion
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.41 ▲0.38 | 1.77 ▼0.14 | 39.96 ▲2.95 |
Dashboard /wp-admin | 2,206 ▲15 | 4.86 ▼0.03 | 105.45 ▼1.09 | 42.68 ▲1.38 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 1.99 ▼0.06 | 36.98 ▲0.92 | 34.63 ▲2.78 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.46 ▼4.61 | 618.77 ▼1.42 | 71.70 ▲25.12 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.31 ▲0.05 | 108.77 ▲2.95 | 42.47 ▼1.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- bpprocn_settings
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: buddypress, user, profile
buddypress-profile-completion/bp-profile-completion.php 92% from 13 tests
The main PHP file in "BuddyPress Profile Completion" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("buddypress-profile-completion.php" instead of "bp-profile-completion.php")
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
No dangerous file extensions were detected1,591 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 621 | 1,381 | 1,450 |
PO File | 1 | 23 | 25 | 76 |
JavaScript | 2 | 17 | 17 | 62 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 1.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 130 | |
▷ Static methods | 6 | 4.62% |
▷ Public methods | 121 | 93.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 6.92% |
Functions | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected