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
Installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.66ms] Passed 4 tests
Analyzing server-side resources used by Verified Member for BuddyPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 40.80 ▲5.06 |
Dashboard /wp-admin | 3.54 ▲0.23 | 46.56 ▲0.55 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 48.66 ▼0.73 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 84.16 ▼22.36 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 35.19 ▲3.91 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Verified Member for BuddyPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲27 | 14.59 ▲0.24 | 1.48 ▼0.55 | 41.58 ▼1.67 |
Dashboard /wp-admin | 2,204 ▲23 | 5.56 ▼0.15 | 82.69 ▼15.09 | 40.87 ▼2.83 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.03 ▼0.00 | 39.77 ▼0.91 | 36.74 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.32 ▼0.48 | 660.50 ▼6.88 | 55.09 ▼10.53 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.20 ▲0.02 | 96.72 ▼4.45 | 42.96 ▲0.64 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
7 plugin tags: member, community, badge, verify, verified...
bp-verified-member/bp-verified-member.php Passed 13 tests
The main file in "Verified Member for BuddyPress" v. 1.2.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
74 characters long description:
This plugins allows admins to add a "Verified" badge for specific members.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin4,878 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 462 | 169 | 2,211 |
PHP | 6 | 395 | 743 | 1,648 |
CSS | 10 | 104 | 8 | 988 |
SVG | 10 | 0 | 0 | 31 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 64.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 144.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 1 | 1.12% |
▷ Public methods | 86 | 96.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.37% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin