Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.30ms] Passed 4 tests
An overview of server-side resources used by Admin Loaded Display
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.95 ▼6.84 |
Dashboard /wp-admin | 3.32 ▲0.01 | 56.67 ▲8.30 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.61 ▼4.27 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.82 ▼19.25 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 37.56 ▲1.15 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Admin Loaded Display
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,898 ▲137 | 13.41 ▼1.14 | 8.59 ▲6.50 | 43.71 ▼3.09 |
Dashboard /wp-admin | 2,214 ▲37 | 5.59 ▼0.06 | 90.53 ▼0.89 | 40.74 ▼5.87 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.98 ▼0.04 | 34.36 ▼5.62 | 34.58 ▼7.73 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.40 ▼0.11 | 707.18 ▲2.56 | 56.66 ▼0.08 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.13 ▼0.03 | 105.79 ▲0.73 | 47.28 ▲3.12 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/admin-loaded-display/classes/class-collect-the-registered-scripts.php
- > /wp-content/plugins/admin-loaded-display/admin-loaded-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: loaded styles, loaded scripts
admin-loaded-display/admin-loaded-display.php Passed 13 tests
The main PHP file in "Admin Loaded Display" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
63 characters long description:
Adds a button to the admin bar that displays the loaded scripts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected163 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 53 | 66 |
JavaScript | 1 | 20 | 14 | 62 |
CSS | 1 | 4 | 2 | 35 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 2.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.19MB with 0.14MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 34.96KB | 9.72KB | ▼ 72.20% |
assets/banner-772x250.png | 157.82KB | 39.96KB | ▼ 74.68% |