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
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼1.19ms] Passed 4 tests
Analyzing server-side resources used by Legacy ePlayer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.27 | 44.83 ▲2.10 |
Dashboard /wp-admin | 3.56 ▲0.25 | 57.21 ▲5.11 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 57.22 ▲6.15 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 92.53 ▼11.24 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 36.86 ▼0.73 |
Legacy ePlayer /wp-admin/options-general.php?page=sportspress-tv | 3.45 | 35.33 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 85 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_sportspress_tv |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Legacy ePlayer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲144 | 13.43 ▼0.83 | 9.58 ▲7.70 | 41.27 ▲0.56 |
Dashboard /wp-admin | 2,203 ▲26 | 5.61 ▼0.05 | 89.15 ▲3.55 | 39.61 ▼3.80 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.06 ▲0.09 | 40.79 ▼0.39 | 39.20 ▲4.61 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.27 ▲0.28 | 669.68 ▲5.07 | 47.29 ▼26.02 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.27 ▲0.05 | 95.51 ▼36.48 | 45.50 ▼13.35 |
Legacy ePlayer /wp-admin/options-general.php?page=sportspress-tv | 4,549 | 2.04 | 27.09 | 28.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_sportspress_tv
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class '_WP_Editors' not found in wp-content/plugins/sportspress-tv/assets/js/editor-lang.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/sportspress-tv/includes/class-sportspress-tv-widget.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/sportspress-tv/includes/class-tgm-plugin-activation.php:1910
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: eplayer
sportspress-tv/sportspress-tv.php Passed 13 tests
The main PHP script in "Legacy ePlayer" version 0.9.9 is automatically included on every request by WordPress
99 characters long description:
The streaming service is no longer available, so this plugin will not be able to stream any videos.
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 plugin3,111 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 552 | 1,656 | 2,175 |
JSON | 8 | 0 | 0 | 813 |
CSS | 1 | 12 | 5 | 69 |
JavaScript | 4 | 1 | 11 | 38 |
SVG | 1 | 0 | 0 | 11 |
Bourne Shell | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 40.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 129 | |
▷ Static methods | 6 | 4.65% |
▷ Public methods | 102 | 79.07% |
▷ Protected methods | 20 | 15.50% |
▷ Private methods | 7 | 5.43% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin