Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.98ms] Passed 4 tests
This is a short check of server-side resources used by BBpress Private Shortcodes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.61 ▼3.32 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.75 ▼2.14 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.07 ▼2.30 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 89.13 ▼17.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.25 ▼4.36 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for BBpress Private Shortcodes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲5 | 14.23 ▼0.12 | 1.77 ▼0.28 | 43.86 ▲1.53 |
Dashboard /wp-admin | 2,195 ▲24 | 5.61 ▼0.01 | 95.57 ▲4.49 | 42.16 ▲0.65 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.94 ▼0.02 | 34.81 ▼1.93 | 32.30 ▼5.46 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 18.19 ▼5.07 | 629.82 ▼92.38 | 78.17 ▲17.98 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.15 ▼0.04 | 95.72 ▼11.72 | 43.20 ▼5.54 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbpress-private-shortcodes/bbpress-private-shortcodes.php:26
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Screenshot 1), #2 (Screenshot 2), #3 (Screenshot 3), #4 (Screenshot 4)
bbpress-private-shortcodes/bbpress-private-shortcodes.php 77% from 13 tests
"BBpress Private Shortcodes" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Domain Path: Please prefix the domain path 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
Good job! No executable or dangerous file extensions detected70 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 50 | 31 |
CSS | 1 | 2 | 0 | 20 |
PO File | 1 | 2 | 1 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.54MB with 0.33MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 191.95KB | 74.64KB | ▼ 61.11% |
screenshot-3.png | 161.02KB | 62.09KB | ▼ 61.44% |
screenshot-1.png | 198.46KB | 78.75KB | ▼ 60.32% |