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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼14.50ms] Passed 4 tests
Server-side resources used by LearnPress - bbPress Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.26 ▼18.65 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.70 ▼13.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.25 ▼3.61 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.78 ▼21.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 42.54 ▲7.33 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by LearnPress - bbPress Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.71 ▲0.12 | 1.78 ▲0.31 | 42.79 ▲2.27 |
Dashboard /wp-admin | 2,195 ▲15 | 5.55 ▼0.03 | 90.07 ▼5.40 | 38.11 ▼4.16 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▲0.02 | 37.96 ▼0.98 | 34.68 ▲2.34 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.22 ▲0.02 | 695.09 ▲27.22 | 61.57 ▼9.43 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.18 ▼0.02 | 97.71 ▼7.87 | 42.77 ▼3.52 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (LearnPress bbPress screenshot) image missing
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Donate link: Please fix this invalid URI: ""
learnpress-bbpress/learnpress-bbpress.php Passed 13 tests
The main file in "LearnPress - bbPress Integration" v. 4.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
48 characters long description:
Using the forum for courses provided by bbPress.
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
No dangerous file extensions were detected611 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 128 | 194 | 568 |
CSS | 2 | 2 | 0 | 26 |
JavaScript | 1 | 4 | 1 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 3 | 14.29% |
▷ Public methods | 16 | 76.19% |
▷ Protected methods | 3 | 14.29% |
▷ Private methods | 2 | 9.52% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
No PNG files were detected