Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.26MB] [CPU: ▼16.66ms] Passed 4 tests
A check of server-side resources used by bbPress - Admin Answers
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 34.25 ▼5.25 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.40 ▼4.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 40.97 ▼5.33 |
Add New Post /wp-admin/post-new.php | 4.69 ▼1.19 | 40.21 ▼51.68 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.76 ▲2.68 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
recovery_mode_email_last_sent |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for bbPress - Admin Answers
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,677 ▼69 | 13.17 ▼1.20 | 1.12 ▼0.81 | 21.36 ▼26.12 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▲0.98 | 109.71 ▼9.61 | 42.20 ▼3.83 |
Posts /wp-admin/edit.php | 1,076 ▼1,010 | 1.53 ▼0.47 | 7.58 ▼27.97 | 30.72 ▼7.06 |
Add New Post /wp-admin/post-new.php | 45 ▼1,488 | 0.44 ▼22.70 | 0.06 ▼662.33 | 10.82 ▼44.42 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.15 ▼0.03 | 93.50 ▼11.54 | 66.82 ▲21.76 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- recovery_mode_email_last_sent
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-admin-replies/replies.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-admin-replies/replies.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 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
6 plugin tags: bbpress, forum, forums, admin replies, replies...
bbpress-admin-replies/bbpress-admin-answers.php 62% from 13 tests
"bbPress - Admin Answers" version 2.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bbpress-admin-replies.php" instead of "bbpress-admin-answers.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
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
Everything looks great! No dangerous files found in this plugin435 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 153 | 223 | 266 |
CSS | 2 | 0 | 4 | 101 |
PO File | 3 | 5 | 9 | 68 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 30.50 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/Screenshot 1.png | 103.09KB | 63.43KB | ▼ 38.47% |
screenshots/Screenshot 2.png | 12.10KB | 6.93KB | ▼ 42.73% |