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.01MB] [CPU: ▼1.48ms] Passed 4 tests
An overview of server-side resources used by JR : Dashboard Widget Editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.69 ▼1.87 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.36 ▲0.08 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.02 ▲5.16 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 95.02 ▲0.22 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.61 ▼4.35 |
Dashboard- Customize /wp-admin/options-general.php?page=jr-bootstrap_plugin-dashboard | 3.25 | 33.14 |
Dashboard- Add widgets /wp-admin/options-general.php?page=jr-bootstrap_plugin-dashboard_widget | 3.27 | 29.97 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
JR : Dashboard Widget Editor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 14.43 ▲0.05 | 1.76 ▼0.23 | 42.80 ▼8.06 |
Dashboard /wp-admin | 2,221 ▲36 | 5.87 ▼0.05 | 107.32 ▲7.40 | 41.81 ▼0.50 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.01 ▼0.01 | 38.82 ▲2.41 | 33.60 ▲1.30 |
Add New Post /wp-admin/post-new.php | 1,552 ▲33 | 18.52 ▼4.87 | 584.52 ▼140.52 | 56.70 ▼7.32 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.17 ▼0.01 | 98.92 ▼5.26 | 42.20 ▼3.40 |
Dashboard- Customize /wp-admin/options-general.php?page=jr-bootstrap_plugin-dashboard | 837 | 2.02 | 23.96 | 27.38 |
Dashboard- Add widgets /wp-admin/options-general.php?page=jr-bootstrap_plugin-dashboard_widget | 836 | 2.05 | 22.65 | 25.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- 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
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 93% from 29 tests
readme.txt Passed 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
1 plugin tags: widget
jr-dashboard-widget-editor/main.php 85% from 13 tests
This is the main PHP file of "JR : Dashboard Widget Editor" version 0.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("jr-dashboard-widget-editor.php" instead of "main.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
No dangerous file extensions were detected381 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 111 | 60 | 339 |
PO File | 1 | 13 | 20 | 42 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.33 |
▷ 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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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 images were found in this plugin