Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.57ms] Passed 4 tests
Server-side resources used by GD Forum Manager: plugin for WordPress and bbPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 32.62 ▼8.97 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.28 ▲1.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.78 ▲0.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.89 ▼10.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.37 ▲0.23 |
GD Forum Manager /wp-admin/options-general.php?page=gd-forum-manager-for-bbpress | 3.00 | 22.73 |
Server storage [IO: ▲3.67MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 402 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GD Forum Manager: plugin for WordPress and bbPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.67 ▼0.05 | 1.54 ▼0.21 | 37.33 ▼8.64 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.05 | 93.17 ▼8.76 | 42.14 ▼3.63 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 40.05 ▲3.64 | 38.76 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,526 ▼4 | 24.00 ▲1.00 | 606.17 ▼41.51 | 55.47 ▲5.70 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.02 | 100.04 ▼2.92 | 44.57 ▲0.21 |
GD Forum Manager /wp-admin/options-general.php?page=gd-forum-manager-for-bbpress | 28 | 0.41 | 0.09 | 4.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% 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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gd-forum-manager-for-bbpress/forms/content-dashboard.php
- > /wp-content/plugins/gd-forum-manager-for-bbpress/forms/dashboard/dev4press.php
- > /wp-content/plugins/gd-forum-manager-for-bbpress/forms/content-about-whatsnew.php
- 22× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
include(): Failed opening 'GDFAR_PATHforms/dashboard/actions.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/gd-forum-manager-for-bbpress/forms/content-dashboard.php on line 5
- > PHP Warning
include(): Failed opening 'GDFAR_PATHforms/dashboard/dev4press.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/gd-forum-manager-for-bbpress/forms/content-dashboard.php on line 8
- > PHP Warning
Use of undefined constant GDFAR_PATH - assumed 'GDFAR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/gd-forum-manager-for-bbpress/forms/content-about-whatsnew.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/gd-forum-manager-for-bbpress/forms/content-about-minor.php:2
- > PHP Warning
include(): Failed opening 'GDFAR_PATHforms/content-about-minor.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/gd-forum-manager-for-bbpress/forms/content-about-whatsnew.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/gd-forum-manager-for-bbpress/gd-forum-manager-for-bbpress.php:37
- > PHP Warning
Use of undefined constant GDFAR_PATH - assumed 'GDFAR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/gd-forum-manager-for-bbpress/forms/content-dashboard.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function _ex() in wp-content/plugins/gd-forum-manager-for-bbpress/forms/manager/dialog-bulk.php:6
- > PHP Warning
include(GDFAR_PATHforms/dashboard/dev4press.php): failed to open stream: No such file or directory in wp-content/plugins/gd-forum-manager-for-bbpress/forms/content-dashboard.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/gd-forum-manager-for-bbpress/forms/dashboard/actions.php:2
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=gd-forum-manager-for-bbpress
- > Network (severe)
wp-admin/options-general.php?page=gd-forum-manager-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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: dev4press, bbpress, edit, moderation, quick edit...
gd-forum-manager-for-bbpress/gd-forum-manager-for-bbpress.php 92% from 13 tests
This is the main PHP file of "GD Forum Manager: plugin for WordPress and bbPress" version 2.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 168 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 detected37,785 lines of code in 355 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 181 | 4,305 | 2,820 | 17,238 |
CSS | 49 | 1,727 | 41 | 11,931 |
Sass | 51 | 870 | 26 | 5,152 |
JavaScript | 72 | 335 | 110 | 3,436 |
Markdown | 2 | 12 | 0 | 28 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 17.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 39 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 121 | |
▷ Abstract classes | 42 | 34.71% |
▷ Concrete classes | 79 | 65.29% |
▷ Final classes | 2 | 2.53% |
Methods | 1,235 | |
▷ Static methods | 197 | 15.95% |
▷ Public methods | 924 | 74.82% |
▷ Protected methods | 253 | 20.49% |
▷ Private methods | 58 | 4.70% |
Functions | 16 | |
▷ Named functions | 14 | 87.50% |
▷ Anonymous functions | 2 | 12.50% |
Constants | 55 | |
▷ Global constants | 8 | 14.55% |
▷ Class constants | 47 | 85.45% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 compressed PNG files occupy 0.06MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
d4plib/resources/vendor/flags/img/flag_placeholder.png | 0.09KB | 0.09KB | 0.00% |
d4plib/resources/gfx/buy_me_a_coffee.png | 7.73KB | 7.79KB | 0.00% |
d4plib/resources/vendor/flags/img/flags_responsive.png | 54.14KB | 57.01KB | 0.00% |