Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin cannot be installed
- > Warning in wp-content/plugins/urwa-for-bbpress/urwa-for-bbpress.php+140
Declaration of urwa_bbpress_widget::widget() should be compatible with WP_Widget::widget($args, $instance)
Server metrics [RAM: ▼1.96MB] [CPU: ▼55.14ms] Passed 4 tests
Server-side resources used by URWA for bbPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.27 ▼41.26 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.68 ▼47.02 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.46 ▼43.43 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 7.79 ▼88.83 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.96 ▼31.02 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_urwa_bbpress_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
URWA for bbPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.45 ▲0.26 | 2.26 ▲0.47 | 40.39 ▼4.91 |
Dashboard /wp-admin | 2,195 ▲18 | 5.69 ▼0.01 | 87.37 ▼17.78 | 36.45 ▼7.87 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.01 | 36.97 ▲0.17 | 33.88 ▼4.32 |
Add New Post /wp-admin/post-new.php | 1,545 ▲5 | 23.21 ▼0.00 | 622.43 ▼90.26 | 51.19 ▼14.57 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.25 ▲0.04 | 101.56 ▼3.38 | 44.09 ▼4.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/urwa-for-bbpress/urwa-for-bbpress.php+140
Declaration of urwa_bbpress_widget::widget() should be compatible with WP_Widget::widget($args, $instance)
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_urwa_bbpress_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/urwa-for-bbpress/urwa-for-bbpress.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #2 (screenshot-2.jpg)
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
urwa-for-bbpress/urwa-for-bbpress.php Passed 13 tests
"URWA for bbPress" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
84 characters long description:
Selectively display widgets to logged in users based on standard bbPress user roles.
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 plugin111 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 44 | 45 | 111 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.82 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin