Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼3.46ms] Passed 4 tests
An overview of server-side resources used by S3Player - WooCommerce & Elementor Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 45.86 ▲4.33 |
Dashboard /wp-admin | 3.61 ▲0.26 | 57.89 ▼9.50 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 62.25 ▲12.58 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 89.21 ▼9.94 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 40.13 ▲1.29 |
Server storage [IO: ▲2.36MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- The plugin illegally modified 1 file (0.00KB) outside of "wp-content/plugins/drm-protected-video-streaming/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/drm-protected-video-streaming/languages/drm-protected-video-streaming\342\200\216.pot"
Filesystem: 38 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_drm_blocked_ips |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
s3bubble_drm_db_version |
theysaidso_admin_options |
can_compress_scripts |
s3bubble_drm_plugin_options |
s3bubble_drm_activation_date |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by S3Player - WooCommerce & Elementor Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲222 | 18.62 ▲4.06 | 190.62 ▲189.03 | 48.11 ▲8.14 |
Dashboard /wp-admin | 2,217 ▲40 | 5.69 ▲0.09 | 84.24 ▼4.40 | 37.41 ▼6.35 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 1.99 ▼0.00 | 34.43 ▼0.82 | 31.57 ▼5.34 |
Add New Post /wp-admin/post-new.php | 6,212 ▲4,684 | 18.83 ▼4.30 | 876.95 ▲201.50 | 49.93 ▼6.33 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.28 ▲0.04 | 99.85 ▼11.92 | 42.57 ▼6.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_drm_blocked_ips
- Zombie WordPress options detected upon uninstall: 9 options
- s3bubble_drm_plugin_options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- s3bubble_drm_db_version
- s3bubble_drm_activation_date
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/drm-protected-video-streaming/includes/watermarks.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/drm-protected-video-streaming/includes/db.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementorS3BubbleDrm\\add_action() in wp-content/plugins/drm-protected-video-streaming/includes/elementor-plugin.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/drm-protected-video-streaming/includes/admin-notices.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 80% 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 45 tag instead of maximum 10
drm-protected-video-streaming/drm-protected-video-streaming.php 62% from 13 tests
"S3Player - WooCommerce & Elementor Integration" version 4.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 148 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Requires at least: Required version does not match the one declared in readme.txt ("4.5" instead of "3.8")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
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
Everything looks great! No dangerous files found in this plugin1,996 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 672 | 570 | 1,959 |
SVG | 1 | 0 | 0 | 31 |
CSS | 3 | 0 | 0 | 3 |
JavaScript | 3 | 3 | 3 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 17 | 70.83% |
▷ Protected methods | 6 | 25.00% |
▷ Private methods | 1 | 4.17% |
Functions | 50 | |
▷ Named functions | 49 | 98.00% |
▷ Anonymous functions | 1 | 2.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/ic_cast_grey_24dp.png | 0.86KB | 0.58KB | ▼ 31.62% |
dist/images/ic_cast_connected_white_24dp.png | 0.96KB | 0.72KB | ▼ 24.97% |
dist/images/ic_cast_connected_black_24dp.png | 0.87KB | 0.72KB | ▼ 17.49% |
dist/images/ic_cast_black_24dp.png | 0.72KB | 0.60KB | ▼ 15.90% |
dist/images/ic_cast_connected_grey_24dp.png | 0.99KB | 0.69KB | ▼ 30.03% |