Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.65ms] Passed 4 tests
Server-side resources used by Advanced Video Player with Analytics
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.48 ▼1.10 |
Dashboard /wp-admin | 3.40 ▲0.06 | 50.47 ▼16.53 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 56.05 ▲4.35 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.08 ▼7.20 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.38 ▼1.76 |
Advanced Video Player with Analytics /wp-admin/options-general.php?page=avpa | 3.31 | 35.41 |
Video detail /wp-admin/admin.php?page=video-detail-page | 3.31 | 33.60 |
Server storage [IO: ▲9.94MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 115 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Video Player with Analytics
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲225 | 14.48 ▼0.05 | 1.94 ▼0.37 | 38.73 ▼8.10 |
Dashboard /wp-admin | 2,355 ▲175 | 6.14 ▲0.47 | 110.40 ▲26.45 | 40.94 ▲2.83 |
Posts /wp-admin/edit.php | 2,288 ▲185 | 3.30 ▲1.34 | 50.38 ▲11.31 | 33.97 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,543 ▲12 | 23.22 ▲0.18 | 640.47 ▼18.80 | 36.77 ▼16.66 |
Media Library /wp-admin/upload.php | 1,428 ▲25 | 4.16 ▲0.05 | 84.28 ▼22.10 | 43.84 ▼5.55 |
Advanced Video Player with Analytics /wp-admin/options-general.php?page=avpa | 973 | 3.03 | 37.88 | 21.92 |
Video detail /wp-admin/admin.php?page=video-detail-page | 689 | 1.68 | 9.71 | 17.58 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=video-detail-page
- > Notice in wp-content/plugins/advanced-video-player-with-analytics/templates/video-detail.php+2
Undefined index: id
SRP 0% 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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/advanced-video-player-with-analytics/templates/shortcode-generator.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/advanced-video-player-with-analytics/templates/tracking-data.php:5
- > PHP Notice
Undefined index: id in wp-content/plugins/advanced-video-player-with-analytics/templates/video-detail.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/advanced-video-player-with-analytics/templates/video-detail.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/advanced-video-player-with-analytics/templates/settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/advanced-video-player-with-analytics/admin.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
advanced-video-player-with-analytics/advanced-video-player-with-analytics.php 85% from 13 tests
The main PHP script in "Advanced Video Player with Analytics" version 1... is automatically included on every request by WordPress
You should first fix the following items:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "1...")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected135,797 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 55 | 39,998 | 89,646 | 131,311 |
JSON | 37 | 1 | 0 | 2,251 |
CSS | 6 | 229 | 11 | 1,522 |
PHP | 7 | 138 | 70 | 599 |
SVG | 1 | 0 | 0 | 114 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected