Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.34ms] Passed 4 tests
A check of server-side resources used by Video Dashboard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.03 | 39.42 ▼3.60 |
Dashboard /wp-admin | 3.38 ▼0.01 | 48.69 ▼15.38 |
Posts /wp-admin/edit.php | 3.43 ▲0.03 | 51.53 ▼2.01 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.03 | 87.13 ▼12.36 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 39.52 ▲5.44 |
Video Dashboard /wp-admin/options-general.php?page=vdb-options | 3.28 | 34.91 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
vdb_settings |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Video Dashboard
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.34 ▲0.05 | 1.68 ▼0.05 | 37.25 ▼4.39 |
Dashboard /wp-admin | 2,238 ▲58 | 5.63 ▼0.03 | 88.98 ▼1.64 | 41.02 ▼3.30 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.95 ▼0.07 | 32.93 ▼3.53 | 33.15 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,529 ▼0 | 22.94 ▼0.24 | 682.23 ▼16.63 | 66.08 ▲9.38 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.12 ▼0.10 | 109.38 ▲5.25 | 50.50 ▲3.45 |
Video Dashboard /wp-admin/options-general.php?page=vdb-options | 1,564 | 1.99 | 26.72 | 31.28 |
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
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- vdb_settings
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/video-dashboard/video-dashboard.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-dashboard/includes/admin-page.php:81
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The plugin in action. Videos are embedded directly into the dashboard screen.), #2 (The admin screen for Video Dashboard. Options include the ability to select the number of videos that will be displayed and which roles will have the ability to see the videos in the dashboard.)
video-dashboard/video-dashboard.php Passed 13 tests
The primary PHP file in "Video Dashboard" version 1.2.1.1 is used by WordPress to initiate all plugin functionality
65 characters long description:
A plugin to display embeddable media into the WordPress dashboard
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
Success! There were no dangerous files found in this plugin204 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 73 | 20 | 185 |
CSS | 1 | 2 | 1 | 14 |
XML | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 8 | |
▷ Named functions | 8 | 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
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