Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.10ms] Passed 4 tests
Server-side resources used by bbPress GDPR
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.97 ▼4.82 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.58 ▼19.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.65 ▼3.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.03 ▲2.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.91 ▼1.09 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for bbPress GDPR
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.28 ▼0.13 | 1.87 ▲0.17 | 39.54 ▼2.89 |
Dashboard /wp-admin | 2,195 ▲24 | 5.61 ▼0.19 | 90.70 ▲0.35 | 41.01 ▼4.68 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.02 ▼0.02 | 38.78 ▼1.81 | 35.39 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,528 ▲124 | 23.13 ▲5.24 | 649.69 ▲44.12 | 49.16 ▼0.61 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.23 ▲0.05 | 98.22 ▼11.26 | 44.37 ▼3.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6 in bbp-gdpr/assets to your readme.txt
bbp-gdpr/bbpress-gdpr.php 85% from 13 tests
The entry point to "bbPress GDPR" version 1.0.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bbp-gdpr.php" instead of "bbpress-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 programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected643 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 161 | 121 | 584 |
PO File | 1 | 18 | 20 | 59 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 24 | 88.89% |
▷ Protected methods | 2 | 7.41% |
▷ Private methods | 1 | 3.70% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
There were not PNG files found in your plugin