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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.59ms] Passed 4 tests
A check of server-side resources used by bbPress Live Topic Suggestions
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.66 ▼2.70 |
Dashboard /wp-admin | 3.32 ▲0.01 | 51.83 ▲1.30 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.97 ▼3.09 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.07 ▼9.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.17 ▲2.94 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for bbPress Live Topic Suggestions
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.06 | 1.80 ▼0.15 | 41.97 ▼0.35 |
Dashboard /wp-admin | 2,209 ▲18 | 4.87 ▼1.00 | 100.42 ▼13.05 | 40.67 ▼1.66 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.13 ▲0.13 | 38.49 ▼1.55 | 34.66 ▼3.38 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.31 ▲4.88 | 689.74 ▲72.99 | 57.77 ▼2.62 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.16 ▼0.07 | 98.67 ▼4.85 | 40.36 ▼3.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-auto-suggest-topics-based-on-new-topic-title/modules/module.enqueue.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-auto-suggest-topics-based-on-new-topic-title/modules/module.get-data.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/bbpress-auto-suggest-topics-based-on-new-topic-title/bbpress-live-topic-suggestions.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bbpress-auto-suggest-topics-based-on-new-topic-title/modules/module.settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-auto-suggest-topics-based-on-new-topic-title/modules/module.print-searchresults.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Example of auto-suggested topics.) image missing
- Donate link: Please fix this invalid URI: ""
bbpress-auto-suggest-topics-based-on-new-topic-title/bbpress-live-topic-suggestions.php 85% from 13 tests
The entry point to "bbPress Live Topic Suggestions" version 1.0.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 175 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bbpress-auto-suggest-topics-based-on-new-topic-title.php" instead of "bbpress-live-topic-suggestions.php")
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
There were no executable files found in this plugin870 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 126 | 96 | 629 |
PHP | 5 | 59 | 31 | 153 |
Markdown | 2 | 22 | 0 | 42 |
JSON | 1 | 0 | 0 | 29 |
HTML | 1 | 1 | 0 | 17 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin