Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼4.82ms] Passed 4 tests
This is a short check of server-side resources used by Videos on Admin Dashboard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 36.86 ▼1.64 |
Dashboard /wp-admin | 3.46 ▲0.11 | 46.66 ▼14.37 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.64 ▲0.67 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 92.68 ▼3.92 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 36.90 ▲1.01 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
vdb_settings |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Videos on Admin Dashboard: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲148 | 14.28 ▼0.10 | 1.81 ▲0.24 | 37.47 ▼4.87 |
Dashboard /wp-admin | 2,278 ▲100 | 5.67 ▼0.03 | 92.08 ▼17.28 | 45.52 ▲5.07 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.12 ▲0.10 | 41.32 ▲1.82 | 36.63 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,572 ▲46 | 18.19 ▼4.90 | 604.72 ▼89.12 | 75.51 ▲15.59 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.24 ▲0.03 | 103.28 ▼1.10 | 44.70 ▼0.26 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- vdb_settings
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/videos-on-admin-dashboard/includes/admin-page.php:307
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/videos-on-admin-dashboard/video-on-admin-dashboard.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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 important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: embed, wordpress hilfe, youtube, vimeo, dashboard...
videos-on-admin-dashboard/video-on-admin-dashboard.php 92% from 13 tests
"Videos on Admin Dashboard" version 2.1.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("videos-on-admin-dashboard.php" instead of "video-on-admin-dashboard.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin2,810 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 252 | 260 | 928 |
CSS | 3 | 136 | 7 | 913 |
PHP | 4 | 112 | 27 | 604 |
JavaScript | 2 | 32 | 23 | 362 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.24MB with 0.14MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/wordpres-hilfe2.png | 207.34KB | 51.26KB | ▼ 75.28% |
includes/img/img-33-pro.png | 38.76KB | 21.88KB | ▼ 43.54% |