Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.16ms] Passed 4 tests
Analyzing server-side resources used by bbPress Multi Image Uploader
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.71 ▲1.01 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.44 ▼4.26 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.00 ▼5.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.66 ▼11.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.09 ▲3.37 |
Server storage [IO: ▲0.03MB] [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 |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for bbPress Multi Image Uploader
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.71 ▼0.05 | 1.81 ▼0.29 | 46.15 ▲2.92 |
Dashboard /wp-admin | 2,195 ▲18 | 5.65 ▲0.02 | 94.43 ▼5.19 | 38.14 ▼10.08 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.05 ▲0.01 | 39.76 ▼1.48 | 32.40 ▼4.07 |
Add New Post /wp-admin/post-new.php | 1,540 ▲8 | 23.37 ▲0.01 | 683.17 ▲65.16 | 53.25 ▲1.62 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.03 | 100.51 ▼2.67 | 46.78 ▲1.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: upload, bbpress, attachments, bbpress media upload, bbpress attachments...
bbpress-multi-image-uploader/bbp-multi-file-uploader.php 92% from 13 tests
The main PHP script in "bbPress Multi Image Uploader" version 1.0.6 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bbpress-multi-image-uploader.php" instead of "bbp-multi-file-uploader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin463 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 187 | 216 | 386 |
JavaScript | 1 | 29 | 23 | 69 |
CSS | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 3 | |
▷ Static methods | 1 | 33.33% |
▷ Public methods | 1 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 66.67% |
Functions | 19 | |
▷ Named functions | 17 | 89.47% |
▷ Anonymous functions | 2 | 10.53% |
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
There were not PNG files found in your plugin