Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.67MB] [CPU: ▼0.63ms] Passed 4 tests
Server-side resources used by WP w3all phpBB
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 45.45 ▲4.07 |
Dashboard /wp-admin | 4.16 ▲0.86 | 54.71 ▲3.13 |
Posts /wp-admin/edit.php | 4.20 ▲0.85 | 49.95 ▲3.04 |
Add New Post /wp-admin/post-new.php | 6.68 ▲0.79 | 89.84 ▼12.77 |
Media Library /wp-admin/upload.php | 4.02 ▲0.79 | 44.01 ▲10.31 |
WP w3all /wp-admin/options-general.php?page=wp-w3all-options | 4.33 | 39.45 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP w3all phpBB
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲57 | 14.30 ▼0.39 | 1.85 ▼0.00 | 40.80 ▼4.51 |
Dashboard /wp-admin | 2,202 ▲24 | 5.62 ▲0.03 | 86.18 ▼25.55 | 37.65 ▼4.79 |
Posts /wp-admin/edit.php | 2,101 ▼6 | 2.13 ▲0.17 | 39.15 ▼2.74 | 34.75 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.18 ▼0.37 | 583.31 ▼95.12 | 53.79 ▲1.26 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.01 | 95.92 ▼20.39 | 41.40 ▼6.32 |
WP w3all /wp-admin/options-general.php?page=wp-w3all-options | 2,060 | 1.66 | 27.56 | 80.34 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 26× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-w3all-phpbb-integration/uninstall.php
- > /wp-content/plugins/wp-w3all-phpbb-integration/views/wp_w3all_phpbb_unotifications_short.php
- > /wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_uonline_stats.php
- > /wp-content/plugins/wp-w3all-phpbb-integration/wp_w3all.php
- > /wp-content/plugins/wp-w3all-phpbb-integration/addons/custom_js_css.php
- > /wp-content/plugins/wp-w3all-phpbb-integration/admin/wp_w3all_users_fix_phpbb_usernames.php
- > /wp-content/plugins/wp-w3all-phpbb-integration/views/wp_w3all_login_form.php
- > /wp-content/plugins/wp-w3all-phpbb-integration/admin/wp_w3all_phpbb_common_tasks.php
- > /wp-content/plugins/wp-w3all-phpbb-integration/views/wp_w3all_custom_iframe_short.php
- > /wp-content/plugins/wp-w3all-phpbb-integration/admin/wp_w3all_users_fix_wp_usernames.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all.widgets-phpbb.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: integration, phpbb, user, template, wordpress
wp-w3all-phpbb-integration/wp_w3all.php 92% from 13 tests
"WP w3all phpBB" version 2.7.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-w3all-phpbb-integration.php" instead of "wp_w3all.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin9,159 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 1,800 | 910 | 6,869 |
JavaScript | 5 | 396 | 107 | 2,290 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 136)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 153.20 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 679.00 |
Average method complexity | 11.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 136.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 62 | 82.67% |
▷ Public methods | 67 | 89.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 10.67% |
Functions | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 46 | |
▷ Global constants | 46 | 100.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