Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.21ms] Passed 4 tests
This is a short check of server-side resources used by BuddyPress GDPR
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.71 ▼4.74 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.82 ▼3.15 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 45.96 ▼0.00 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.98 ▼20.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.53 ▲4.05 |
BuddyPress GDPR /wp-admin/options-general.php?page=buddyboss-bp-gdpr | 3.21 | 29.90 |
Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by BuddyPress GDPR
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.17 ▼1.20 | 1.67 ▼0.24 | 40.76 ▼7.05 |
Dashboard /wp-admin | 2,213 ▲22 | 4.85 ▼0.09 | 100.15 ▼2.79 | 40.18 ▼2.73 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.04 | 41.18 ▼0.09 | 37.11 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 23.34 ▲5.90 | 673.90 ▲35.20 | 55.60 ▲5.53 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.18 ▼0.02 | 101.02 ▲3.44 | 44.20 ▲0.90 |
BuddyPress GDPR /wp-admin/options-general.php?page=buddyboss-bp-gdpr | 808 | 2.03 | 24.10 | 26.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: buddypress, data, european, anonymous, gdpr...
bp-gdpr/buddypress-gdpr.php 85% from 13 tests
This is the main PHP file of "BuddyPress GDPR" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bp-gdpr.php" instead of "buddypress-gdpr.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 plugin1,559 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 613 | 451 | 1,382 |
PO File | 1 | 77 | 164 | 177 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.83 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 11 | 100.00% |
Methods | 76 | |
▷ Static methods | 11 | 14.47% |
▷ Public methods | 72 | 94.74% |
▷ Protected methods | 2 | 2.63% |
▷ Private methods | 2 | 2.63% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
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
No PNG images were found in this plugin