Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin cannot be installed
- > Warning in wp-content/plugins/livetv-bundle/plugin-livetv-fork.php+43
Use of undefined constant home_url - assumed 'home_url' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.93MB] [CPU: ▼53.60ms] Passed 4 tests
Analyzing server-side resources used by liveTV Bundle
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.81 ▼37.17 |
Dashboard /wp-admin | 2.08 ▼1.22 | 6.27 ▼39.08 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 5.66 ▼48.20 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.40 ▼89.93 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 6.23 ▼31.81 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 72 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for liveTV Bundle
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.35 ▲0.14 | 1.66 ▼0.22 | 45.87 ▲1.55 |
Dashboard /wp-admin | 2,216 ▲36 | 5.62 ▲0.02 | 94.71 ▲3.79 | 44.22 ▼1.28 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.04 ▲0.04 | 39.31 ▼0.38 | 37.37 ▼0.82 |
Add New Post /wp-admin/post-new.php | 1,564 ▲36 | 23.07 ▲0.03 | 660.67 ▼29.74 | 49.67 ▼16.02 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.22 ▲0.00 | 100.53 ▼8.55 | 41.66 ▼9.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/livetv-bundle/plugin-livetv-fork.php+43
Use of undefined constant home_url - assumed 'home_url' (this will throw an Error in a future version of PHP)
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however 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
Please fix the following items
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/livetv-bundle/page-frontend/page-livetreams.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/livetv-bundle/plugin-livetv-display-lives.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/livetv-bundle/plugin-livetv-shortcode.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/livetv-bundle/plugin-livetv-display-widget.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/livetv-bundle/page-admin/page-admin-livetreams.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/livetv-bundle/plugin-livetv-display-irc.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/livetv-bundle/plugin-livetv-fork.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/livetv-bundle/page-admin/page-admin-shortcode.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (administration), #2 (frontend)
livetv-bundle/plugin-livetv-shortcode.php 85% from 13 tests
"liveTV Bundle" version 1.3.1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 152 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("livetv-bundle.php" instead of "plugin-livetv-shortcode.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected3,468 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 606 | 544 | 2,085 |
JavaScript | 16 | 145 | 172 | 963 |
CSS | 9 | 15 | 6 | 420 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 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
19 PNG files occupy 0.23MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/mini-justin.png | 4.55KB | 1.64KB | ▼ 63.95% |
images/mini-twitch.png | 4.57KB | 1.69KB | ▼ 62.95% |
images/info.png | 0.93KB | 1.15KB | 0.00% |
images/thumblist-title-justin.png | 44.99KB | 2.57KB | ▼ 94.29% |
images/twitter.png | 14.21KB | 2.83KB | ▼ 80.12% |