Benchmarks
Plugin footprint Passed 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.07MB] [CPU: ▼290.46ms] Passed 4 tests
Server-side resources used by Admin Bug Report
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.15 | 58.28 ▲6.43 |
Dashboard /wp-admin | 3.50 ▲0.09 | 36.95 ▲0.18 |
Posts /wp-admin/edit.php | 3.73 ▲0.09 | 46.76 ▲0.74 |
Add New Post /wp-admin/post-new.php | 6.97 ▲0.00 | 99.53 ▼1,164.20 |
Media Library /wp-admin/upload.php | 3.39 ▲0.09 | 28.56 ▲1.46 |
Admin Bug Report /wp-admin/options-general.php?page=admin-bug-report-settings | 3.37 | 27.80 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 1 new option
New WordPress options |
---|
de_admin_bug_report |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Bug Report
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,874 ▲120 | 21.03 ▲5.02 | 6.14 ▲0.54 | 2.19 ▼0.02 |
Dashboard /wp-admin | 2,970 ▲116 | 10.13 ▲3.96 | 229.01 ▲88.84 | 157.55 ▼24.77 |
Posts /wp-admin/edit.php | 2,813 ▲122 | 8.41 ▲5.18 | 122.46 ▲60.54 | 140.22 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,672 ▼100 | 17.14 ▼4.62 | 357.75 ▼97.36 | 158.78 ▼1.50 |
Media Library /wp-admin/upload.php | 1,804 ▲106 | 10.47 ▲4.93 | 182.50 ▲7.15 | 189.97 ▲2.88 |
Admin Bug Report /wp-admin/options-general.php?page=admin-bug-report-settings | 1,166 | 8.52 | 158.51 | 137.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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 Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: issue, report, screenshot, admin, bug
admin-bug-report/admin-bug-report.php Passed 13 tests
The entry point to "Admin Bug Report" version 2.0.1 is a PHP file that has certain tags in its header comment area
93 characters long description:
A small plugin to help your WordPress clients report bugs and issues directly from the admin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected456 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 128 | 506 | 352 |
PO File | 1 | 30 | 34 | 98 |
JavaScript | 2 | 2 | 16 | 4 |
CSS | 2 | 2 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 23 | 71.88% |
▷ Protected methods | 1 | 3.12% |
▷ Private methods | 8 | 25.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected