Benchmarks
Plugin footprint 83% from 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.32MB] [CPU: ▼0.23ms] Passed 4 tests
A check of server-side resources used by Dash Effortless Digital Asset Management
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 44.57 ▲3.96 |
Dashboard /wp-admin | 3.67 ▲0.32 | 53.42 ▼9.20 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 48.90 ▲0.63 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.30 | 97.42 ▲3.67 |
Media Library /wp-admin/upload.php | 3.54 ▲0.30 | 46.60 ▲11.08 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 229 new files
Database: no new tables, 10 new options
New WordPress options |
---|
dash_access_token |
dash_client_subdomain |
dash_client_secret |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
dash_client_id |
widget_recent-comments |
Browser metrics Passed 4 tests
Dash Effortless Digital Asset Management: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲247 | 19.64 ▲5.28 | 5.62 ▲4.08 | 44.07 ▲1.47 |
Dashboard /wp-admin | 2,320 ▲143 | 9.44 ▲3.78 | 215.38 ▲126.63 | 36.33 ▼6.78 |
Posts /wp-admin/edit.php | 2,215 ▲133 | 9.24 ▲7.23 | 75.45 ▲37.34 | 33.96 ▼1.88 |
Add New Post /wp-admin/post-new.php | 1,715 ▲187 | 21.89 ▼1.28 | 532.12 ▼165.33 | 37.20 ▼14.20 |
Media Library /wp-admin/upload.php | 1,609 ▲212 | 11.07 ▲6.89 | 145.24 ▲44.92 | 47.12 ▲2.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 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 0% from 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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/dash-effortless-digital-asset-management/admin/partials/dash-effortless-digital-asset-management-admin-button-display.php
- > /wp-content/plugins/dash-effortless-digital-asset-management/public/partials/dash-effortless-digital-asset-management-public-display.php
- 65× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/dash-effortless-digital-asset-management/vendor/psr/http-message/src/RequestInterface.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dash-effortless-digital-asset-management/admin/partials/dash-effortless-digital-asset-management-admin-display.php:15
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/dash-effortless-digital-asset-management/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:20
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/dash-effortless-digital-asset-management/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/dash-effortless-digital-asset-management/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/dash-effortless-digital-asset-management/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/dash-effortless-digital-asset-management/vendor/guzzlehttp/promises/src/TaskQueue.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/dash-effortless-digital-asset-management/vendor/guzzlehttp/psr7/src/LimitStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/dash-effortless-digital-asset-management/vendor/guzzlehttp/psr7/src/NoSeekStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/dash-effortless-digital-asset-management/vendor/guzzlehttp/promises/src/RejectedPromise.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
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
3 plugin tags: images, dash, media
dash-effortless-digital-asset-management/dash-effortless-digital-asset-management.php 92% from 13 tests
Analyzing the main PHP file in "Dash Effortless Digital Asset Management" version 1.3.1
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 227 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected32,171 lines of code in 208 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 16 | 1 | 0 | 17,048 |
PHP | 166 | 2,927 | 7,902 | 10,908 |
Markdown | 16 | 1,237 | 0 | 3,609 |
JavaScript | 4 | 267 | 102 | 517 |
CSS | 2 | 8 | 8 | 51 |
XML | 1 | 0 | 0 | 19 |
make | 1 | 4 | 0 | 9 |
YAML | 1 | 0 | 0 | 7 |
Bourne Shell | 1 | 2 | 0 | 3 |
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.42 |
Average class complexity | 10.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 30 | |
Traits | 10 | |
Classes | 102 | |
▷ Abstract classes | 2 | 1.96% |
▷ Concrete classes | 100 | 98.04% |
▷ Final classes | 34 | 34.00% |
Methods | 934 | |
▷ Static methods | 155 | 16.60% |
▷ Public methods | 743 | 79.55% |
▷ Protected methods | 58 | 6.21% |
▷ Private methods | 133 | 14.24% |
Functions | 128 | |
▷ Named functions | 37 | 28.91% |
▷ Anonymous functions | 91 | 71.09% |
Constants | 87 | |
▷ Global constants | 16 | 18.39% |
▷ Class constants | 71 | 81.61% |
▷ Public constants | 60 | 84.51% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin