Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.74ms] Passed 4 tests
An overview of server-side resources used by Buddy-bbPress Support Topic
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.37 ▲4.09 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.86 ▲2.49 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.32 ▼2.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.82 ▼6.10 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.70 ▼0.47 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Buddy-bbPress Support Topic: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.35 ▲0.05 | 1.71 ▼0.03 | 43.18 ▲2.86 |
Dashboard /wp-admin | 2,198 ▲21 | 5.57 ▼0.10 | 86.89 ▲1.03 | 40.61 ▲1.12 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▲0.03 | 34.90 ▼4.36 | 32.43 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.57 ▼0.12 | 671.98 ▲66.80 | 56.88 ▲4.64 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.03 | 96.00 ▼12.12 | 41.81 ▼1.35 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: support, bbpress, topic, buddypress
buddy-bbpress-support-topic/buddy-bbpress-support-topic.php Passed 13 tests
The entry point to "Buddy-bbPress Support Topic" version 2.1.4 is a PHP file that has certain tags in its header comment area
53 characters long description:
Adds a support feature to your bbPress powered forums
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin2,273 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 678 | 1,433 | 1,866 |
PO File | 1 | 123 | 293 | 241 |
JavaScript | 2 | 14 | 7 | 65 |
Markdown | 2 | 28 | 0 | 57 |
CSS | 1 | 9 | 0 | 44 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 37.40 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 3 | 5.17% |
▷ Public methods | 53 | 91.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.62% |
Functions | 49 | |
▷ Named functions | 49 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected