Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.04ms] Passed 4 tests
Server-side resources used by Admin Bug Report
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 41.98 ▲3.05 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.78 ▼1.64 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.82 ▼1.02 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 102.15 ▲16.87 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.95 ▼0.55 |
Admin Bug Report /wp-admin/options-general.php?page=admin-bug-report-settings | 3.23 | 30.16 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
de_admin_bug_report |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Bug Report
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲128 | 17.36 ▲2.99 | 2.02 ▼0.00 | 45.10 ▲5.64 |
Dashboard /wp-admin | 2,262 ▲71 | 8.26 ▲3.38 | 219.96 ▲114.75 | 38.72 ▼7.43 |
Posts /wp-admin/edit.php | 2,171 ▲82 | 7.51 ▲5.46 | 81.32 ▲38.58 | 31.74 ▼4.27 |
Add New Post /wp-admin/post-new.php | 1,649 ▲135 | 20.36 ▲2.75 | 543.38 ▼141.04 | 34.96 ▼23.30 |
Media Library /wp-admin/upload.php | 1,529 ▲138 | 9.46 ▲5.26 | 136.30 ▲34.32 | 40.75 ▼3.37 |
Admin Bug Report /wp-admin/options-general.php?page=admin-bug-report-settings | 922 | 7.98 | 90.07 | 31.80 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: screenshot, issue, report, admin, bug
admin-bug-report/admin-bug-report.php Passed 13 tests
The main PHP file in "Admin Bug Report" ver. 2.1.0 adds more information about the plugin and also serves as the entry point for this plugin
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 check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were 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
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin