Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼9.15ms] Passed 4 tests
A check of server-side resources used by isset.video
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 43.00 ▲1.22 |
Dashboard /wp-admin | 3.78 ▲0.48 | 56.76 ▲4.07 |
Posts /wp-admin/edit.php | 3.81 ▲0.46 | 52.77 ▲1.97 |
Add New Post /wp-admin/post-new.php | 5.79 ▼0.09 | 71.27 ▼43.87 |
Media Library /wp-admin/upload.php | 3.68 ▲0.46 | 45.19 ▲4.89 |
Advertisement /wp-admin/admin.php?page=isset-video-advertisement | 3.55 | 32.25 |
Player Settings /wp-admin/admin.php?page=isset-video-player-settings | 3.55 | 28.29 |
Livestream /wp-admin/admin.php?page=isset-video-livestream | 3.55 | 30.36 |
Videos /wp-admin/admin.php?page=isset-video-overview | 3.55 | 32.35 |
Server storage [IO: ▲6.94MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 94 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for isset.video
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,162 ▲401 | 18.80 ▲4.24 | 77.56 ▲76.05 | 52.46 ▲10.89 |
Dashboard /wp-admin | 2,381 ▲204 | 7.51 ▲1.94 | 187.48 ▲95.60 | 43.25 ▼2.91 |
Posts /wp-admin/edit.php | 2,254 ▲154 | 4.86 ▲2.91 | 57.28 ▲16.48 | 32.04 ▼9.95 |
Add New Post /wp-admin/post-new.php | 6,477 ▲4,951 | 30.78 ▲7.48 | 889.51 ▲156.13 | 38.05 ▼24.30 |
Media Library /wp-admin/upload.php | 1,558 ▲158 | 6.57 ▲2.47 | 118.64 ▲3.28 | 49.01 ▲1.40 |
Advertisement /wp-admin/admin.php?page=isset-video-advertisement | 922 | 4.37 | 45.51 | 28.37 |
Player Settings /wp-admin/admin.php?page=isset-video-player-settings | 925 | 4.47 | 49.08 | 26.92 |
Livestream /wp-admin/admin.php?page=isset-video-livestream | 922 | 4.56 | 45.25 | 28.02 |
Videos /wp-admin/admin.php?page=isset-video-overview | 922 | 4.48 | 45.84 | 28.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 0% 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
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=isset-video-overview
- > Notice in wp-content/plugins/isset-video/src/Service/VideoPublisherService.php+270
Trying to access array offset on value of type bool
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/isset-video/views/shortcode/livestream.php
- 52× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'IssetBV\\VideoPublisher\\Wordpress\\Action\\BaseAction' not found in wp-content/plugins/isset-video/src/Action/Settings/Scripts.php:9
- > PHP Notice
Undefined variable: type in wp-content/plugins/isset-video/views/admin/input.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'IssetBV\\VideoPublisher\\Wordpress\\Action\\BaseAction' not found in wp-content/plugins/isset-video/src/Action/Livestream/StreamDetails.php:8
- > PHP Fatal error
Uncaught Error: Class 'IssetBV\\VideoPublisher\\Wordpress\\Action\\BaseAction' not found in wp-content/plugins/isset-video/src/Action/HijackRouter.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/isset-video/views/admin/input.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/isset-video/views/admin/upload.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'IssetBV\\VideoPublisher\\Wordpress\\Action\\BaseAction' not found in wp-content/plugins/isset-video/src/Action/Upload/GetArchiveUrl.php:8
- > PHP Warning
require_once(ABSPATHwp-admin/admin-header.php): failed to open stream: No such file or directory in wp-content/plugins/isset-video/views/admin/upload.php on line 1
- > PHP Notice
Undefined variable: publisherUrl in wp-content/plugins/isset-video/views/shortcode/livestream.php on line 2
- > PHP Notice
Undefined variable: uuid in wp-content/plugins/isset-video/views/shortcode/livestream.php on line 2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=isset-video-overview
- > Console-api (warning) in wp-content/plugins/isset-video/js/main.js?ver=0.9.6+2:57722
VIDEOJS:" "WARN:" "A plugin named \"chromecast\" already exists. You may want to avoid re-registering plugins!
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=isset-video-overview
- > Console-api (warning) in wp-content/plugins/isset-video/js/main.js?ver=0.9.6+2:57722
VIDEOJS:" "WARN:" "A plugin named \"airPlay\" already exists. You may want to avoid re-registering plugins!
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: cdn, video processing, external video, hls video
isset-video/isset-video-publisher.php 92% from 13 tests
Analyzing the main PHP file in "isset.video" version 0.9.6
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("isset-video.php" instead of "isset-video-publisher.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin5,105 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 471 | 108 | 1,708 |
CSS | 2 | 234 | 6 | 1,671 |
PO File | 5 | 557 | 694 | 1,262 |
JavaScript | 15 | 0 | 728 | 449 |
SVG | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 5 | 17.24% |
▷ Concrete classes | 24 | 82.76% |
▷ Final classes | 0 | 0.00% |
Methods | 186 | |
▷ Static methods | 3 | 1.61% |
▷ Public methods | 135 | 72.58% |
▷ Protected methods | 9 | 4.84% |
▷ Private methods | 42 | 22.58% |
Functions | 15 | |
▷ Named functions | 2 | 13.33% |
▷ Anonymous functions | 13 | 86.67% |
Constants | 17 | |
▷ Global constants | 3 | 17.65% |
▷ Class constants | 14 | 82.35% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ic_cast_white_24dp.png | 0.80KB | 0.61KB | ▼ 24.76% |
images/ic_cast_connected_white_24dp.png | 0.96KB | 0.72KB | ▼ 24.97% |
assets/icon-256x256.png | 15.49KB | 5.22KB | ▼ 66.33% |
assets/icon-128x128.png | 7.88KB | 3.05KB | ▼ 61.22% |
assets/isset.video.png | 21.19KB | 7.46KB | ▼ 64.80% |