Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.16ms] Passed 4 tests
An overview of server-side resources used by WP Admin Help Videos
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.19 ▼4.99 |
Dashboard /wp-admin | 3.44 ▲0.14 | 47.86 ▼8.97 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 51.88 ▲5.60 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 91.78 ▲7.72 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.62 ▲8.32 |
Video Controls /wp-admin/admin.php?page=wpahv-video-controls | 3.28 | 25.73 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Admin Help Videos
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲164 | 13.91 ▼0.47 | 1.66 ▼0.31 | 42.79 ▼2.53 |
Dashboard /wp-admin | 2,316 ▲131 | 5.53 ▲0.69 | 124.19 ▲7.55 | 36.22 ▼9.23 |
Posts /wp-admin/edit.php | 2,210 ▲121 | 2.75 ▲0.71 | 42.86 ▲6.41 | 33.11 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,617 ▲103 | 23.41 ▲5.91 | 634.03 ▼42.42 | 34.80 ▼24.10 |
Media Library /wp-admin/upload.php | 1,506 ▲121 | 4.82 ▲0.60 | 99.37 ▼4.21 | 40.48 ▼5.62 |
Video Controls /wp-admin/admin.php?page=wpahv-video-controls | 157 | 2.15 | 12.22 | 9.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=wpahv-video-controls
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'getDisplayMedia')" "TypeError: Cannot read properties of undefined (reading 'getDisplayMedia')\n at start_recording (/wp-content/plugins/wp-admin-help-videos/assets/js/wpahv-video-training.js?ver=6.3.1:325:37)\n at HTMLSpanElement.\u003Canonymous> (/wp-content/plugins/wp-admin-help-videos/assets/js/wpahv-video-training.js?ver=6.3.1:75:3)\n at HTMLSpanElement.dispatch (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:39997)\n at v.handle (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:37968)\n at Object.trigger (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:70063)\n at HTMLSpanElement.\u003Canonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:70665)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:1594)\n at e.\u003Ccomputed>.trigger (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:70640)\n at e.\u003Ccomputed>.\u003Canonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:5:10514)" undefined
- > GET request to /wp-admin/admin.php?page=wpahv-video-controls
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'getDisplayMedia')
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: help-videos, training-videos, admin-videos
wp-admin-help-videos/wp-admin-help-videos.php 77% from 13 tests
The main PHP script in "WP Admin Help Videos" version 1.0.2 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin16,850 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 2,539 | 3,100 | 16,124 |
PHP | 6 | 229 | 66 | 622 |
CSS | 1 | 5 | 0 | 104 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.17 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 4 | 10.26% |
▷ Public methods | 34 | 87.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.82% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin