Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.32ms] Passed 4 tests
This is a short check of server-side resources used by Live Streaming Video Player - by SRS Player
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.99 ▲1.13 |
Dashboard /wp-admin | 3.35 ▲0.04 | 50.87 ▼3.78 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 49.70 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.26 ▼11.96 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.15 ▲2.34 |
Server storage [IO: ▲3.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Live Streaming Video Player - by SRS Player
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 14.51 ▼0.02 | 21.12 ▲19.46 | 40.93 ▲2.14 |
Dashboard /wp-admin | 2,198 ▲18 | 5.57 ▼0.08 | 106.72 ▲18.08 | 40.24 ▲2.40 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.05 | 41.98 ▲5.98 | 36.23 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.04 ▼0.17 | 651.14 ▼9.54 | 47.28 ▼13.34 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▼0.02 | 96.91 ▼6.78 | 41.56 ▼2.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: player, audio, video player, e-commerce, woocommerce...
srs-player/srs-player.php Passed 13 tests
"Live Streaming Video Player - by SRS Player" version 1.0.17's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
73 characters long description:
SRS Player is a video streaming player, supports HLS/HTTP-FLV/WebRTC etc.
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
There were no executable files found in this plugin5,039 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 654 | 686 | 4,825 |
PHP | 8 | 60 | 58 | 212 |
CSS | 1 | 1 | 3 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 14 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 22.22% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin