Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼11.02ms] Passed 4 tests
This is a short check of server-side resources used by Related Videos for JW Player
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.97 ▲2.59 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.44 ▼23.77 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.41 ▼1.52 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.90 ▼19.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.02 ▲0.67 |
Related Videos for JW Player /wp-admin/options-general.php?page=related-videos-for-jw-player | 3.19 | 35.34 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
rvjwp-image |
Browser metrics Passed 4 tests
Related Videos for JW Player: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲126 | 13.39 ▼1.24 | 7.98 ▲6.15 | 44.81 ▲0.57 |
Dashboard /wp-admin | 2,201 ▲24 | 5.50 ▼0.14 | 85.48 ▼12.31 | 37.83 ▼5.73 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.00 ▲0.03 | 35.39 ▼0.84 | 35.33 ▲3.52 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 22.97 ▼0.07 | 673.36 ▼13.70 | 51.64 ▼4.23 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.19 ▲0.08 | 108.71 ▼6.76 | 47.59 ▲0.26 |
Related Videos for JW Player /wp-admin/options-general.php?page=related-videos-for-jw-player | 935 | 2.22 | 27.82 | 51.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- rvjwp-image
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% 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=related-videos-for-jw-player
- > Notice in wp-content/plugins/related-videos-for-jw-player/includes/rvjwp-admin-settings.php+62
Undefined index: thumbnail
- > GET request to /wp-admin/options-general.php?page=related-videos-for-jw-player
- > Notice in wp-content/plugins/related-videos-for-jw-player/includes/rvjwp-admin-settings.php+69
Undefined index: sent
- > GET request to /wp-admin/options-general.php?page=related-videos-for-jw-player
- > Notice in wp-content/plugins/related-videos-for-jw-player/includes/rvjwp-admin-settings.php+76
Undefined index: rvjwp-category
- > GET request to /wp-admin/options-general.php?page=related-videos-for-jw-player
- > Notice in wp-content/plugins/related-videos-for-jw-player/includes/rvjwp-admin-settings.php+83
Undefined index: rvjwp-heading
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/related-videos-for-jw-player/includes/rvjwp-admin-settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/related-videos-for-jw-player/related-videos-for-jwplayer.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% 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: player, related videos, jw player, related posts, videos
related-videos-for-jw-player/related-videos-for-jwplayer.php 85% from 13 tests
This is the main PHP file of "Related Videos for JW Player" version 1.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 214 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("related-videos-for-jw-player.php" instead of "related-videos-for-jwplayer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin251 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 49 | 28 | 147 |
PO File | 1 | 17 | 19 | 64 |
CSS | 1 | 8 | 5 | 28 |
JavaScript | 1 | 2 | 2 | 12 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.34MB with 0.22MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 266.03KB | 99.69KB | ▼ 62.53% |
screenshot-3.png | 42.40KB | 15.58KB | ▼ 63.26% |
screenshot-2.png | 41.56KB | 15.19KB | ▼ 63.44% |