Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/vidsy/widgets/recentvideos.php+120
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.70ms] Passed 4 tests
A check of server-side resources used by Vidsy.tv Video Gallery and Video CMS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.34 ▼42.97 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.29 ▼42.22 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.68 ▼40.77 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.40 ▼88.83 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.78 ▼24.88 |
VTV /wp-admin/admin.php?page=vidsy-admin-blank | 2.05 | 5.79 |
Settings /wp-admin/admin.php?page=vidsy-config | 2.05 | 5.53 |
Vidsy.tv /wp-admin/admin.php?page=vidsy-admin | 2.05 | 6.10 |
Server storage [IO: ▲1.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
widget_vidsywidgetplayerwithrecent |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_vidsywidgetrecentvideos |
widget_vidsywidgetplaylistrecent |
widget_vidsywidgetplayerwithplaylist |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Vidsy.tv Video Gallery and Video CMS
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 14.40 ▼0.03 | 1.62 ▼0.23 | 38.40 ▼6.46 |
Dashboard /wp-admin | 2,235 ▲50 | 5.83 ▲0.95 | 98.34 ▼15.87 | 68.98 ▲24.50 |
Posts /wp-admin/edit.php | 2,121 ▲35 | 2.03 ▲0.02 | 37.38 ▲3.66 | 33.69 ▼2.61 |
Add New Post /wp-admin/post-new.php | 6,680 ▲5,137 | 23.38 ▼0.00 | 911.16 ▲201.11 | 65.12 ▲10.95 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.21 ▲0.01 | 98.71 ▼3.13 | 68.21 ▲26.50 |
VTV /wp-admin/admin.php?page=vidsy-admin-blank | 787 | 2.02 | 23.82 | 20.62 |
Settings /wp-admin/admin.php?page=vidsy-config | 834 | 2.05 | 23.47 | 24.22 |
Vidsy.tv /wp-admin/admin.php?page=vidsy-admin | 798 | 2.02 | 22.88 | 25.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/vidsy/widgets/recentvideos.php+120
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_vidsywidgetplayerwithrecent
- widget_recent-posts
- widget_vidsywidgetrecentvideos
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_vidsywidgetplayerwithplaylist
- widget_vidsywidgetplaylistrecent
- db_upgraded
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 15 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vidsy-admin
- > Deprecated in wp-content/plugins/vidsy/widgets/playerrecentplaylists.php+120
Function create_function() is deprecated
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vidsy-admin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in VidsyWidgetRecentVideos is deprecated since version 4.3.0! Use __construct() instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vidsy-admin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in VidsyWidgetPlaylistRecent is deprecated since version 4.3.0! Use __construct() instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vidsy-admin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in VidsyWidgetPlayerWithRecent is deprecated since version 4.3.0! Use __construct() instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vidsy-admin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in VidsyWidgetPlayerWithPlaylist is deprecated since version 4.3.0! Use __construct() instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vidsy-admin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in VidsyWidgetPlayerWithRecentPlaylists is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/admin.php?page=vidsy-admin
- > Warning in wp-content/plugins/vidsy/admin/admin.php+51
Illegal string offset 'subdomain'
- > GET request to /wp-admin/admin.php?page=vidsy-admin
- > Notice in wp-content/plugins/vidsy/admin/admin.php+51
Uninitialized string offset: 0
SRP 0% 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
The following issues need your attention
- 7× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/vidsy/widgets/index.php
- > /wp-content/plugins/vidsy/js/index.php
- > /wp-content/plugins/vidsy/includes/index.php
- > /wp-content/plugins/vidsy/admin/index.php
- > /wp-content/plugins/vidsy/css/index.php
- > /wp-content/plugins/vidsy/index.php
- > /wp-content/plugins/vidsy/images/index.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vidsy/includes/thecontent.php:65
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
vidsy/vidsy.php Passed 13 tests
The principal PHP file in "Vidsy.tv Video Gallery and Video CMS" v. 1.0.6.7 is loaded by WordPress automatically on each request
35 characters long description:
WordPress integration with Vidsy.tv
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,334 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 118 | 158 | 1,233 |
JavaScript | 2 | 3 | 30 | 87 |
CSS | 1 | 3 | 0 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 17.43 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 1.43MB with 0.98MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/vidsylogoonly.png | 8.02KB | 3.67KB | ▼ 54.18% |
screenshot-3.png | 376.37KB | 138.00KB | ▼ 63.33% |
images/vidsylogoonly_16.png | 2.96KB | 0.44KB | ▼ 85.04% |
screenshot-2.png | 79.04KB | 22.08KB | ▼ 72.07% |
screenshot-1.png | 17.39KB | 5.89KB | ▼ 66.12% |