Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.94ms] Passed 4 tests
Analyzing server-side resources used by GD bbPress Tools
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 40.76 ▲3.24 |
Dashboard /wp-admin | 3.40 ▲0.06 | 46.96 ▼13.84 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 45.39 ▼3.25 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 83.92 ▼5.89 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 42.36 ▲6.06 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
gd-bbpress-tools |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for GD bbPress Tools
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.07 ▼0.49 | 1.71 ▲0.20 | 43.79 ▲2.67 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.04 | 103.60 ▲14.37 | 44.21 ▲5.17 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.01 | 36.69 ▼0.86 | 41.46 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.78 ▼0.23 | 641.44 ▼25.21 | 62.36 ▲8.26 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.18 ▼0.03 | 96.24 ▼9.82 | 41.29 ▼3.18 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- gd-bbpress-tools
- widget_recent-comments
Smoke tests 75% 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 50% 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
Almost there! Just fix the following items
- 18× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function bbp_is_user_home() in wp-content/plugins/gd-bbpress-tools/forms/tools/signature_bbpress.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gd-bbpress-tools/forms/tabs/about.php:11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gd-bbpress-tools/forms/tabs/about.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gd-bbpress-tools/forms/more/toolbox.php:3
- > PHP Notice
Undefined variable: options in wp-content/plugins/gd-bbpress-tools/forms/tabs/about.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/gd-bbpress-tools/forms/tabs/bbcode.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gd-bbpress-tools/forms/panels.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/gd-bbpress-tools/forms/tabs/tools.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/gd-bbpress-tools/forms/tabs/views.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/gd-bbpress-tools/forms/tabs/tweaks.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
gd-bbpress-tools/gd-bbpress-tools.php Passed 13 tests
The main PHP script in "GD bbPress Tools" version 3.4.1 is automatically included on every request by WordPress
140 characters long description:
Adds different expansions and tools to the bbPress plugin powered forums: BBCode support, signatures, various tweaks, custom views, quote...
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,177 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 477 | 59 | 2,810 |
Sass | 2 | 31 | 0 | 162 |
CSS | 4 | 19 | 0 | 143 |
JavaScript | 2 | 14 | 2 | 62 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
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 | 18.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 3 | 2.80% |
▷ Public methods | 92 | 85.98% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 14.02% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
There are no PNG files in this plugin