Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/agile-video-player/admin.php+257
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.74MB] [CPU: ▼7.63ms] Passed 4 tests
This is a short check of server-side resources used by Agile Video Player Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.33 ▲0.87 | 39.99 ▼0.64 |
Dashboard /wp-admin | 4.13 ▲0.82 | 37.07 ▼15.20 |
Posts /wp-admin/edit.php | 4.18 ▲0.82 | 44.06 ▼0.09 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 73.86 ▼11.88 |
Media Library /wp-admin/upload.php | 4.10 ▲0.87 | 33.88 ▼2.79 |
Actions /wp-admin/admin.php?page=prash_get_full_video_code | 4.09 | 34.17 |
Actions /wp-admin/admin.php?page=prash_add_fblike_do | 4.09 | 34.31 |
Actions /wp-admin/admin.php?page=prash_get_video_shortcode | 4.09 | 32.85 |
Actions /wp-admin/admin.php?page=prash_add_timed_optin_form | 4.09 | 31.86 |
Actions /wp-admin/admin.php?page=prash_delete_optin_do | 4.09 | 37.00 |
Actions /wp-admin/admin.php?page=prash_add_cta | 4.09 | 32.87 |
Actions /wp-admin/admin.php?page=prash_add_video | 4.09 | 33.98 |
Actions /wp-admin/admin.php?page=prash_edit_video | 4.09 | 35.05 |
Actions /wp-admin/admin.php?page=prash_delete_video_do | 4.09 | 34.72 |
Actions /wp-admin/admin.php?page=prash_edit_video_do | 4.09 | 32.26 |
Server storage [IO: ▲1.57MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 138 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_prash_videos |
wp_prash_actions |
wp_prash_relations |
wp_prash_optins |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
agileplayer_db_version |
agileplayer_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Agile Video Player Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,104 ▲369 | 15.46 ▲1.08 | 5.75 ▲4.08 | 40.92 ▼3.58 |
Dashboard /wp-admin | 2,426 ▲238 | 6.71 ▲0.85 | 137.02 ▲19.11 | 42.37 ▼2.14 |
Posts /wp-admin/edit.php | 2,342 ▲253 | 3.68 ▲1.64 | 56.75 ▲22.56 | 34.41 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,597 ▲83 | 18.63 ▲1.17 | 588.04 ▼108.45 | 34.85 ▼45.99 |
Media Library /wp-admin/upload.php | 1,478 ▲87 | 4.46 ▲0.24 | 85.28 ▼16.17 | 41.99 ▼2.99 |
Actions /wp-admin/admin.php?page=prash_get_full_video_code | 1,075 | 3.56 | 43.02 | 60.19 |
Actions /wp-admin/admin.php?page=prash_add_fblike_do | 689 | 1.70 | 11.04 | 24.54 |
Actions /wp-admin/admin.php?page=prash_get_video_shortcode | 1,055 | 3.55 | 45.36 | 24.16 |
Actions /wp-admin/admin.php?page=prash_add_timed_optin_form | 1,589 | 3.89 | 47.45 | 32.87 |
Actions /wp-admin/admin.php?page=prash_delete_optin_do | 681 | 1.52 | 9.66 | 17.71 |
Actions /wp-admin/admin.php?page=prash_add_cta | 1,023 | 3.39 | 40.01 | 20.58 |
Actions /wp-admin/admin.php?page=prash_add_video | 1,562 | 3.92 | 62.68 | 30.27 |
Actions /wp-admin/admin.php?page=prash_edit_video | 1,028 | 3.31 | 42.14 | 21.22 |
Actions /wp-admin/admin.php?page=prash_delete_video_do | 681 | 1.70 | 9.28 | 16.97 |
Actions /wp-admin/admin.php?page=prash_edit_video_do | 1,029 | 3.39 | 53.92 | 25.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_prash_relations
- wp_prash_optins
- wp_prash_actions
- wp_prash_videos
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- agileplayer_options
- widget_recent-comments
- agileplayer_db_version
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=prash_edit_video_do
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=prash_delete_video_do
- > Notice in wp-content/plugins/agile-video-player/app.php+6538
Undefined index: video
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7416
Trying to get property 'youtube' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7415
Trying to get property 'vid' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7417
Trying to get property 'width' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7418
Trying to get property 'height' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7419
Trying to get property 'autoplay' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7421
Trying to get property 'controls' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7423
Trying to get property 'auto_hide_cb' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7425
Trying to get property 'theme' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7427
Trying to get property 'vbordercolor' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7429
Trying to get property 'dim' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7431
Trying to get property 'social_share' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7433
Trying to get property 'logo_brand_code' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7435
Trying to get property 'logo_pick' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7437
Trying to get property 'logo_link' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7439
Trying to get property 'logo_ps' of non-object
- > GET request to /wp-admin/admin.php?page=prash_get_full_video_code
- > Notice in wp-content/plugins/agile-video-player/app.php+7486
Undefined variable: yt_video_full
- > GET request to /wp-admin/admin.php?page=prash_add_fblike_do
- > Notice in wp-content/plugins/agile-video-player/app.php+5635
Undefined index: fbappid
- > GET request to /wp-admin/admin.php?page=prash_add_fblike_do
- > Notice in wp-content/plugins/agile-video-player/app.php+5637
Undefined index: seconds
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=prash_add_fblike_do
- > Notice in wp-content/plugins/agile-video-player/app.php+5695
Undefined index: video_id
- > GET request to /wp-admin/admin.php?page=prash_add_fblike_do
- > Notice in wp-content/plugins/agile-video-player/app.php+5697
Undefined index: in_seconds
- > GET request to /wp-admin/admin.php?page=prash_add_fblike_do
- > Notice in wp-content/plugins/agile-video-player/app.php+5698
Undefined index: skipfblike
- > GET request to /wp-admin/admin.php?page=prash_add_fblike_do
- > Notice in wp-content/plugins/agile-video-player/app.php+5699
Undefined index: fb_skip_text
- > GET request to /wp-admin/admin.php?page=prash_add_fblike_do
- > Notice in wp-content/plugins/agile-video-player/app.php+5700
Undefined index: fb_skip_text_color
- > GET request to /wp-admin/admin.php?page=prash_add_fblike_do
- > Notice in wp-content/plugins/agile-video-player/app.php+5701
Undefined index: fb_title
- > GET request to /wp-admin/admin.php?page=prash_add_fblike_do
- > Notice in wp-content/plugins/agile-video-player/app.php+5702
Undefined index: fb_tcolor
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=prash_delete_video_do
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
- > GET request to /wp-admin/admin.php?page=prash_add_timed_optin_form
- > Notice in wp-content/plugins/agile-video-player/app.php+5230
Undefined index: mode
- > GET request to /wp-admin/admin.php?page=prash_add_timed_optin_form
- > Notice in wp-content/plugins/agile-video-player/app.php+5315
Trying to get property 'title' of non-object
- > GET request to /wp-admin/admin.php?page=prash_delete_optin_do
- > Notice in wp-content/plugins/agile-video-player/app.php+1164
Undefined index: id
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=prash_delete_video_do
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- > GET request to /wp-admin/admin.php?page=prash_add_cta
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'prash_add_cta_form' not found or invalid function name
- > GET request to /wp-admin/admin.php?page=prash_edit_video_do
- > Notice in wp-content/plugins/agile-video-player/app.php+6607
Undefined index: youtube_url
SRP 50% from 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
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/agile-video-player/editor.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/agile-video-player/app.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/agile-video-player/admin.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=prash_edit_video_do
- > Network (severe)
wp-content/plugins/agile-video-player/my-script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
agile-video-player/app.php 92% from 13 tests
The main file in "Agile Video Player Lite" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("agile-video-player.php" instead of "app.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin9,118 lines of code in 87 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 3,480 | 683 | 7,632 |
SVG | 6 | 0 | 0 | 695 |
JavaScript | 62 | 98 | 198 | 443 |
CSS | 13 | 68 | 157 | 337 |
HTML | 1 | 0 | 0 | 8 |
Markdown | 2 | 1 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 62 | |
▷ Named functions | 62 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/share_video.png | 0.29KB | 0.22KB | ▼ 24.16% |
images/gplus.png | 2.19KB | 1.65KB | ▼ 24.72% |
images/dim.png | 0.12KB | 0.09KB | ▼ 20.66% |
images/close.png | 1.39KB | 1.13KB | ▼ 18.88% |
images/tw.png | 2.00KB | 1.58KB | ▼ 20.94% |