Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.61MB] [CPU: ▼16.95ms] Passed 4 tests
This is a short check of server-side resources used by Yoplayer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 44.47 ▲0.11 |
Dashboard /wp-admin | 3.41 ▲0.06 | 50.64 ▼11.86 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 55.10 ▲5.28 |
Add New Post /wp-admin/post-new.php | 3.26 ▼2.63 | 38.56 ▼57.36 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.85 ▲1.32 |
Yoplayer Defaults /wp-admin/options-general.php?page=yoplayer-defaults | 3.27 | 33.15 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_yoplayer_metadata |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Yoplayer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.38 ▲0.23 | 2.89 ▲0.96 | 44.93 ▼0.96 |
Dashboard /wp-admin | 2,205 ▲25 | 5.50 ▼0.14 | 90.48 ▼10.93 | 40.30 ▼2.23 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.02 ▲0.01 | 39.79 ▲0.24 | 36.10 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,537 ▲10 | 23.08 ▼0.10 | 669.28 ▼21.03 | 48.13 ▼11.30 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.22 ▲0.02 | 107.62 ▲3.00 | 46.96 ▲0.62 |
Yoplayer Defaults /wp-admin/options-general.php?page=yoplayer-defaults | 990 | 2.17 | 23.87 | 37.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_yoplayer_metadata
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% 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/options-general.php?page=yoplayer-defaults
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=yoplayer-defaults
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/yoplayer/yoplayer.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/yoplayer/yoplayer.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yoplayer/admin.php:12
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: yoplayer, yospace, video
yoplayer/yoplayer.php 92% from 13 tests
The entry point to "Yoplayer" version 4.1.33.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 511 characters long)
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
Success! There were no dangerous files found in this plugin532 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 37 | 63 | 514 |
XML | 1 | 0 | 0 | 17 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 32 | |
▷ Named functions | 32 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skins/ControlBar-TopRight.png | 0.29KB | 0.27KB | ▼ 8.39% |
skins/ControlBar-TopLeft.png | 0.27KB | 0.25KB | ▼ 4.74% |
skins/ControlBar-Left.png | 0.20KB | 0.14KB | ▼ 28.99% |
skins/ControlBar-Fill.png | 0.19KB | 0.12KB | ▼ 34.90% |
skins/ControlBar-Top.png | 0.22KB | 0.17KB | ▼ 25.55% |