Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.16ms] Passed 4 tests
This is a short check of server-side resources used by Easy Video Player
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.26 ▼4.08 |
Dashboard /wp-admin | 3.37 ▲0.03 | 43.59 ▼19.72 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 44.80 ▼3.68 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 84.50 ▼9.15 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.68 ▼0.10 |
Easy Video Player /wp-admin/options-general.php?page=easy-video-player-settings | 3.26 | 28.70 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Video Player
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲73 | 14.32 ▼0.02 | 3.42 ▲1.63 | 42.85 ▼0.56 |
Dashboard /wp-admin | 2,199 ▲22 | 5.56 ▲0.01 | 86.62 ▼10.41 | 37.99 ▼5.95 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.00 ▲0.04 | 35.24 ▼3.57 | 35.18 ▲1.64 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.26 ▲0.14 | 671.36 ▼23.34 | 52.77 ▲3.27 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.27 ▲0.09 | 96.87 ▼13.63 | 41.38 ▼6.01 |
Easy Video Player /wp-admin/options-general.php?page=easy-video-player-settings | 810 | 2.04 | 25.29 | 28.95 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: video, flash, player, mobile, html5
easy-video-player/easy-video-player.php Passed 13 tests
The main file in "Easy Video Player" v. 1.2.2.11 serves as a complement to information provided in readme.txt and as the entry point to the plugin
44 characters long description:
Easily embed videos into your WordPress blog
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
Good job! No executable or dangerous file extensions detected424 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 36 | 387 |
CSS | 2 | 0 | 0 | 35 |
JavaScript | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
extensions/images/evp-mediaelement-skin-1.png | 2.63KB | 1.70KB | ▼ 35.44% |
extensions/images/evp-user-only-videos.png | 2.81KB | 1.97KB | ▼ 29.94% |
extensions/images/evp-disable-right-click.png | 2.61KB | 1.77KB | ▼ 31.92% |
extensions/images/evp-schema.png | 4.29KB | 3.43KB | ▼ 20.05% |