Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.53ms] Passed 4 tests
Server-side resources used by Able Player, accessible HTML5 media player
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 33.73 ▼1.61 |
Dashboard /wp-admin | 3.37 ▲0.06 | 45.70 ▼5.68 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.26 ▼1.70 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 90.39 ▼0.14 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.50 ▼1.12 |
Server storage [IO: ▲3.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 98 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Able Player, accessible HTML5 media player
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲142 | 13.53 ▼1.19 | 11.52 ▲9.97 | 36.66 ▼1.55 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.01 | 99.00 ▲3.02 | 43.44 ▲0.65 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.94 ▲0.00 | 39.82 ▼2.15 | 35.16 ▼2.95 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 25.05 ▲1.98 | 597.94 ▲0.73 | 66.59 ▲19.72 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.18 ▼0.03 | 94.72 ▼6.32 | 42.68 ▼0.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% 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 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ableplayer/ableplayer.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: media, html5, accessibility, audio, video
ableplayer/ableplayer.php 77% from 13 tests
Analyzing the main PHP file in "Able Player, accessible HTML5 media player" version 1.2.0
Please make the necessary changes and fix the following:
- Domain Path: The domain path should use only dashes and lowercase characters ("lang")
- Description: Please don't use more than 140 characters for the plugin description (currently 148 characters long)
- Domain Path: Prefix the domain path with a forward slash character ("/lang")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected57,205 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 23 | 9,299 | 9,381 | 53,437 |
CSS | 5 | 491 | 235 | 3,266 |
PHP | 1 | 21 | 113 | 346 |
SVG | 2 | 0 | 0 | 156 |
PHP code Passed 2 tests
This is a short overview 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.60 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
59 PNG files occupy 0.49MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
button-icons/black/fullscreen-collapse.png | 0.29KB | 0.24KB | ▼ 18.21% |
button-icons/black/ellipsis.png | 0.16KB | 0.14KB | ▼ 8.64% |
button-icons/white/rabbit.png | 0.40KB | 0.33KB | ▼ 16.59% |
button-icons/black/forward.png | 0.22KB | 0.18KB | ▼ 16.14% |
button-icons/black/volume-loud.png | 0.39KB | 0.31KB | ▼ 21.30% |