Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.19ms] Passed 4 tests
An overview of server-side resources used by GD Members Directory for bbPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.61 ▲0.41 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.99 ▼0.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.76 ▼4.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.17 ▼22.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.01 ▼0.66 |
GD Members Directory /wp-admin/options-general.php?page=gd-members-directory-for-bbpress | 3.01 | 24.37 |
Server storage [IO: ▲3.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 403 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by GD Members Directory for bbPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.55 ▼0.84 | 1.55 ▼0.16 | 41.64 ▼5.55 |
Dashboard /wp-admin | 2,209 ▲21 | 5.91 ▲0.90 | 105.71 ▼9.19 | 41.14 ▼1.26 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▲0.03 | 39.59 ▼3.65 | 35.40 ▼0.71 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 23.36 ▲5.19 | 681.70 ▲53.65 | 52.79 ▲2.14 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.24 ▼0.05 | 112.41 ▲16.63 | 47.95 ▲5.84 |
GD Members Directory /wp-admin/options-general.php?page=gd-members-directory-for-bbpress | 28 | 0.44 | 0.07 | 3.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
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 | 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
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/gd-members-directory-for-bbpress/forms/content-about-whatsnew.php
- > /wp-content/plugins/gd-members-directory-for-bbpress/d4plib/forms/footer.php
- > /wp-content/plugins/gd-members-directory-for-bbpress/d4plib/forms/content-dashboard.php
- 59× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/gd-members-directory-for-bbpress/forms/content-tools-remove.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Dev4Press\\v42\\Functions\\panel() in wp-content/plugins/gd-members-directory-for-bbpress/d4plib/forms/sidebar-settings-full.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/gd-members-directory-for-bbpress/d4plib/forms/sidebar-dashboard.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gd-members-directory-for-bbpress/d4plib/forms/content-features-index.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/gd-members-directory-for-bbpress/forms/content-dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function Dev4Press\\v42\\Functions\\panel() in wp-content/plugins/gd-members-directory-for-bbpress/d4plib/forms/sidebar-tools.php:5
- > PHP Warning
Use of undefined constant GDMED_PATH - assumed 'GDMED_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/gd-members-directory-for-bbpress/forms/content-install.php on line 12
- > PHP Warning
include(): Failed opening 'GDMED_PATHforms/content-about-minor.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/gd-members-directory-for-bbpress/forms/content-about-whatsnew.php on line 1
- > PHP Warning
Use of undefined constant GDMED_PATH - assumed 'GDMED_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/gd-members-directory-for-bbpress/forms/content-update.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/gd-members-directory-for-bbpress/templates/default/extras/members-directory.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=gd-members-directory-for-bbpress
- > Network (severe)
wp-admin/options-general.php?page=gd-members-directory-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
8 plugin tags: widget, members, filter, dev4press, search...
gd-members-directory-for-bbpress/gd-members-directory-for-bbpress.php 92% from 13 tests
The primary PHP file in "GD Members Directory for bbPress" version 2.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 173 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin34,399 lines of code in 355 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 187 | 4,436 | 2,095 | 15,236 |
CSS | 47 | 1,154 | 39 | 10,562 |
Sass | 50 | 1,096 | 26 | 5,622 |
JavaScript | 69 | 304 | 120 | 2,951 |
Markdown | 2 | 12 | 0 | 28 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 148.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 39 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 119 | |
▷ Abstract classes | 37 | 31.09% |
▷ Concrete classes | 82 | 68.91% |
▷ Final classes | 2 | 2.44% |
Methods | 1,100 | |
▷ Static methods | 189 | 17.18% |
▷ Public methods | 833 | 75.73% |
▷ Protected methods | 234 | 21.27% |
▷ Private methods | 33 | 3.00% |
Functions | 32 | |
▷ Named functions | 30 | 93.75% |
▷ Anonymous functions | 2 | 6.25% |
Constants | 53 | |
▷ Global constants | 6 | 11.32% |
▷ Class constants | 47 | 88.68% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
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/gfx/buy_me_a_coffee.png | 7.73KB | 7.79KB | 0.00% |
d4plib/resources/libraries/flags/img/flag_placeholder.png | 0.09KB | 0.09KB | 0.00% |
d4plib/resources/libraries/flags/img/flags_responsive.png | 54.14KB | 57.01KB | 0.00% |