Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.53ms] Passed 4 tests
Analyzing server-side resources used by bbPress - Report Content
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.05 ▲2.17 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.53 ▼15.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 59.05 ▲6.29 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.70 ▼11.63 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.38 ▲3.17 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for bbPress - Report Content
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▼0.00 | 2.07 ▲0.16 | 40.58 ▼2.73 |
Dashboard /wp-admin | 2,195 ▲21 | 5.59 ▼0.08 | 89.07 ▼12.99 | 38.05 ▼4.26 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.98 ▲0.03 | 40.32 ▲5.69 | 38.13 ▲3.25 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.32 ▲0.29 | 658.91 ▼33.15 | 61.06 ▲9.45 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.22 ▲0.00 | 113.71 ▼1.54 | 47.99 ▲2.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- 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
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (The report link displayed in the topic admin links list.), #2 (Topics admin screen, showing the custom "User Reported" status.), #3 (Front end display of a reported topic.)
bbpress-report-content/bbpress-report-content.php Passed 13 tests
This is the main PHP file of "bbPress - Report Content" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Allows users to report inappropriate content in topics and replies.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,178 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 7 | 194 | 292 | 621 |
PHP | 3 | 249 | 482 | 557 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 127.00 |
▷ Minimum class complexity | 127.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 4.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 37 | |
▷ Static methods | 5 | 13.51% |
▷ Public methods | 36 | 97.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.70% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.21MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 26.13KB | 8.00KB | ▼ 69.41% |
screenshot-3.png | 119.66KB | 34.92KB | ▼ 70.82% |
screenshot-2.png | 67.84KB | 22.85KB | ▼ 66.32% |