Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.06MB] [CPU: ▼8.86ms] Passed 4 tests
This is a short check of server-side resources used by Accessible Video Library
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.08 | 39.17 ▼3.77 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.73 ▼0.59 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 45.57 ▼4.81 |
Add New Post /wp-admin/post-new.php | 5.49 ▼0.40 | 67.66 ▼25.42 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.73 ▼1.43 |
Videos /wp-admin/edit.php?post_type=avl-video | 3.33 | 34.43 |
Add New /wp-admin/post-new.php?post_type=avl-video | 3.30 | 42.70 |
Video Categories /wp-admin/edit-tags.php?taxonomy=avl_category_avl-video&post_type=avl-video | 3.28 | 33.09 |
Video Help/Settings /wp-admin/edit.php?post_type=avl-video&page=avl-help | 3.26 | 30.79 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
avl_version |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Accessible Video Library: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲107 | 13.59 ▼1.03 | 1.66 ▼0.06 | 40.11 ▼0.84 |
Dashboard /wp-admin | 2,234 ▲46 | 5.86 ▼0.05 | 121.68 ▲17.01 | 76.89 ▲34.64 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.01 ▼0.00 | 34.20 ▲1.04 | 34.07 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,705 ▲171 | 22.31 ▼0.88 | 732.84 ▲79.50 | 53.40 ▼18.13 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.13 ▼0.19 | 95.60 ▼20.89 | 44.77 ▼3.13 |
Videos /wp-admin/edit.php?post_type=avl-video | 1,155 | 2.06 | 38.50 | 30.10 |
Add New /wp-admin/post-new.php?post_type=avl-video | 2,542 | 7.77 | 177.53 | 135.75 |
Video Categories /wp-admin/edit-tags.php?taxonomy=avl_category_avl-video&post_type=avl-video | 1,296 | 2.14 | 26.03 | 29.05 |
Video Help/Settings /wp-admin/edit.php?post_type=avl-video&page=avl-help | 1,233 | 3.39 | 74.55 | 41.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- avl_version
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=avl-video
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: i18n, subtitles, transcription, captions, video...
accessible-video-library/accessible-video-library.php Passed 13 tests
"Accessible Video Library" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
72 characters long description:
Accessible video library manager. Write transcripts and upload captions.
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 plugin1,109 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 99 | 295 | 870 |
PO File | 1 | 75 | 73 | 159 |
JavaScript | 2 | 8 | 9 | 66 |
CSS | 2 | 0 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 41 | |
▷ Named functions | 41 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/avl-video.png | 0.78KB | 0.86KB | 0.00% |