Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wp-united/debugger.php+82
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▼1.58MB] [CPU: ▼62.56ms] Passed 4 tests
An overview of server-side resources used by WP-United : phpBB WordPress Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.42 ▼1.05 | 6.12 ▼45.96 |
Dashboard /wp-admin | 2.44 ▼0.91 | 7.78 ▼59.15 |
Posts /wp-admin/edit.php | 2.44 ▼0.92 | 9.69 ▼40.21 |
Add New Post /wp-admin/post-new.php | 2.44 ▼3.45 | 7.45 ▼104.92 |
Media Library /wp-admin/upload.php | 2.44 ▼0.79 | 9.17 ▼25.35 |
Support WP-United /wp-admin/admin.php?page=wp-united-support | 2.44 | 7.16 |
Get help /wp-admin/admin.php?page=wp-united-help | 2.44 | 7.43 |
Setup / Status /wp-admin/admin.php?page=wp-united-setup | 2.44 | 7.63 |
Server storage [IO: ▲2.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 131 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
wpu-last-run |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
WP-United : phpBB WordPress Integration: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.34 ▼0.39 | 1.85 ▲0.24 | 40.19 ▼2.05 |
Dashboard /wp-admin | 2,214 ▲37 | 5.56 ▼0.04 | 87.04 ▼19.40 | 92.84 ▲49.49 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 1.98 ▼0.02 | 37.33 ▼0.90 | 34.14 ▼3.04 |
Add New Post /wp-admin/post-new.php | 1,556 ▲28 | 23.37 ▲0.25 | 752.58 ▲98.67 | 58.09 ▼7.58 |
Media Library /wp-admin/upload.php | 1,428 ▲37 | 4.12 ▼0.05 | 113.67 ▲9.34 | 76.98 ▲32.10 |
Support WP-United /wp-admin/admin.php?page=wp-united-support | 946 | 2.04 | 23.31 | 26.82 |
Get help /wp-admin/admin.php?page=wp-united-help | 1,012 | 2.15 | 24.28 | 35.96 |
Setup / Status /wp-admin/admin.php?page=wp-united-setup | 1,104 | 2.60 | 54.62 | 52.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-united/debugger.php+82
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- wpu-last-run
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-united-setup
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/wp-united/debugger.php+82
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-united-setup
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-united-setup
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=wp-united-setup
- > Notice in wp-content/plugins/wp-united/settings-panel.php+445
Undefined variable: showBackupPath
SRP 50% from 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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_United_Extra' not found in wp-content/plugins/wp-united/extras/quickpoll/main.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-united/extras/quickpoll/widget.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=wp-united-support
- > Network (severe)
https://checkout.google.com/buttons/support.gif?merchant_id=360787695278690&w=130&h=50&style=white&variant=text - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-united/wp-united.php 92% from 13 tests
The main PHP script in "WP-United : phpBB WordPress Integration" version 0.9.2.8 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 161 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected31,259 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 3,306 | 2,760 | 10,312 |
PO File | 9 | 3,790 | 4,119 | 9,952 |
JavaScript | 16 | 1,600 | 2,222 | 9,788 |
CSS | 4 | 154 | 118 | 1,127 |
HTML | 2 | 9 | 28 | 80 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 42.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 5 | 16.67% |
▷ Concrete classes | 25 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 386 | |
▷ Static methods | 4 | 1.04% |
▷ Public methods | 322 | 83.42% |
▷ Protected methods | 18 | 4.66% |
▷ Private methods | 46 | 11.92% |
Functions | 120 | |
▷ Named functions | 120 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 26 | 100.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
51 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/filetree/html.png | 0.72KB | 0.75KB | 0.00% |
images/filetree/folder_open.png | 0.57KB | 0.60KB | 0.00% |
images/settings/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/settings/borderBottomLeft.png | 0.21KB | 0.20KB | ▼ 4.19% |
images/filetree/css.png | 0.60KB | 0.59KB | ▼ 2.75% |