Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.33ms] Passed 4 tests
An overview of server-side resources used by GD Power Search for bbPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.40 ▼4.70 |
Dashboard /wp-admin | 3.31 ▼0.04 | 53.56 ▼12.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.89 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.69 ▼10.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.79 ▼2.21 |
GD Power Search /wp-admin/options-general.php?page=gd-power-search-for-bbpress | 3.00 | 26.34 |
Server storage [IO: ▲2.56MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/gd-power-search-for-bbpress/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 196 new files
Database: no new tables, 10 new options
New WordPress options |
---|
dev4press_gd-power-search_settings |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
dev4press_gd-power-search_core |
dev4press_gd-power-search_info |
dev4press_gd-power-search_form |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by GD Power Search for bbPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.25 ▼0.98 | 1.85 ▲0.20 | 43.58 ▲2.64 |
Dashboard /wp-admin | 2,221 ▲15 | 5.88 ▲0.95 | 109.69 ▼0.54 | 45.34 ▲2.61 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▼0.05 | 35.43 ▼5.26 | 35.05 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 22.89 ▲5.29 | 664.31 ▼20.87 | 58.62 ▼0.53 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.19 ▼0.02 | 98.94 ▼12.60 | 43.40 ▼2.93 |
GD Power Search /wp-admin/options-general.php?page=gd-power-search-for-bbpress | 28 | 0.44 | 0.07 | 4.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_recent-posts
- db_upgraded
- dev4press_gd-power-search_form
- theysaidso_admin_options
- dev4press_gd-power-search_info
- widget_theysaidso_widget
- can_compress_scripts
- dev4press_gd-power-search_settings
- dev4press_gd-power-search_core
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gd-power-search-for-bbpress/forms/about/whatsnew.php
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gd-power-search-for-bbpress/forms/shared/invalid.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gd-power-search-for-bbpress/templates/default/bbpress/power-period.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gd-power-search-for-bbpress/forms/about/changelog.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/gd-power-search-for-bbpress/templates/default/bbpress/power-submit.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/gd-power-search-for-bbpress/gd-power-search-for-bbpress.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gd-power-search-for-bbpress/templates/default/bbpress/content-search-wrapper.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gd-power-search-for-bbpress/forms/about/info.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function bbp_search_url() in wp-content/plugins/gd-power-search-for-bbpress/templates/default/bbpress/form-search-basic.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gd-power-search-for-bbpress/templates/default/bbpress/power-order.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gd-power-search-for-bbpress/templates/default/bbpress/power-users-select.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=gd-power-search-for-bbpress
- > Network (severe)
wp-admin/options-general.php?page=gd-power-search-for-bbpress - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: keywords, dev4press, filters, advanced search, forums...
gd-power-search-for-bbpress/gd-power-search-for-bbpress.php 92% from 13 tests
"GD Power Search for bbPress" version 1.4.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 164 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected15,724 lines of code in 156 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 89 | 2,222 | 811 | 8,506 |
CSS | 29 | 724 | 37 | 3,303 |
SVG | 2 | 0 | 0 | 3,151 |
JavaScript | 28 | 125 | 60 | 520 |
Sass | 8 | 45 | 0 | 244 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 18.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 12 | 26.67% |
▷ Concrete classes | 33 | 73.33% |
▷ Final classes | 0 | 0.00% |
Methods | 467 | |
▷ Static methods | 17 | 3.64% |
▷ Public methods | 348 | 74.52% |
▷ Protected methods | 50 | 10.71% |
▷ Private methods | 69 | 14.78% |
Functions | 139 | |
▷ Named functions | 139 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 62 | |
▷ Global constants | 22 | 35.48% |
▷ Class constants | 40 | 64.52% |
▷ Public constants | 40 | 100.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
1 PNG file occupies 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
d4plib/resources/flags/flags.png | 79.53KB | 25.86KB | ▼ 67.48% |