Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼142.27ms] Passed 4 tests
Analyzing server-side resources used by bbPress Reports
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 43.68 ▲17.09 |
Dashboard /wp-admin | 3.07 ▲0.01 | 53.36 ▼2.16 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 53.98 ▲4.35 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 102.46 ▼570.91 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 36.96 ▼0.34 |
Reports /wp-admin/edit.php?post_type=forum&page=bbp-reports | 2.75 | 26.56 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for bbPress Reports
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,721 ▲149 | 16.40 ▲0.56 | 11.31 ▲2.47 | 53.73 ▲0.31 |
Dashboard /wp-admin | 2,985 ▲51 | 6.17 ▲0.22 | 154.02 ▼5.51 | 120.24 ▼2.31 |
Posts /wp-admin/edit.php | 2,757 ▲18 | 2.74 ▲0.02 | 77.38 ▲10.31 | 104.71 ▲3.33 |
Add New Post /wp-admin/post-new.php | 1,697 ▲14 | 15.58 ▼0.67 | 407.09 ▼2.90 | 121.49 ▲2.42 |
Media Library /wp-admin/upload.php | 1,828 ▲21 | 5.36 ▲0.33 | 162.60 ▼3.47 | 132.17 ▼2.61 |
Reports /wp-admin/edit.php?post_type=forum&page=bbp-reports | 28 | 0.90 | 0.11 | 12.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=forum&page=bbp-reports
- > Network (severe)
wp-admin/edit.php?post_type=forum&page=bbp-reports - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #4 (User Stat)
- Screenshots: Please describe screenshot #3 in bbpress-reports/assets to your readme.txt
bbpress-reports/bbp-reports.php 92% from 13 tests
The main file in "bbPress Reports" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("bbpress-reports.php" instead of "bbp-reports.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin676 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 81 | 150 | 447 |
LESS | 1 | 23 | 0 | 110 |
CSS | 2 | 1 | 5 | 102 |
JavaScript | 2 | 2 | 0 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 14 | |
▷ Static methods | 7 | 50.00% |
▷ Public methods | 14 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
assets/css/images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |
assets/css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
assets/css/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |