Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.48ms] Passed 4 tests
A check of server-side resources used by Video Player With Ads Control
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.53 ▲0.05 |
Dashboard /wp-admin | 3.37 ▲0.03 | 56.51 ▼4.02 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.35 ▲1.56 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.06 ▼19.52 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.93 ▲4.78 |
All Video /wp-admin/admin.php?page=all_video | 3.28 | 37.35 |
New v /wp-admin/admin.php?page=new_vp | 3.27 | 36.55 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_vpa_posts |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Video Player With Ads Control
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲218 | 14.55 ▲0.19 | 1.69 ▲0.11 | 43.25 ▲3.15 |
Dashboard /wp-admin | 2,371 ▲191 | 6.18 ▲0.48 | 112.15 ▲24.79 | 41.36 ▼0.29 |
Posts /wp-admin/edit.php | 2,293 ▲193 | 3.39 ▲1.45 | 46.47 ▲12.68 | 31.05 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 23.64 ▲0.75 | 630.83 ▼46.89 | 37.23 ▼8.20 |
Media Library /wp-admin/upload.php | 1,436 ▲39 | 4.11 ▼0.12 | 81.28 ▼19.98 | 42.47 ▼1.34 |
All Video /wp-admin/admin.php?page=all_video | 993 | 3.02 | 37.92 | 23.09 |
New v /wp-admin/admin.php?page=new_vp | 1,063 | 3.06 | 37.48 | 60.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_vpa_posts
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/v-player/update-video.php
- > /wp-content/plugins/v-player/inc/insert.php
- > /wp-content/plugins/v-player/V-player.php
- > /wp-content/plugins/v-player/all-video.php
- > /wp-content/plugins/v-player/inc/shortcode.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/v-player/new-post.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/v-player/inc/form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/v-player/inc/script.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (This screenshot show a view of V-player On page.), #2 (This screenshot show a view of make your video posts, Compatible with media.), #3 (This screenshot show a view of the video list.)
v-player/V-player.php 92% from 13 tests
Analyzing the main PHP file in "Video Player With Ads Control" version 1.0
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("v-player.php" instead of "V-player.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected579 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 181 | 28 | 350 |
JavaScript | 2 | 41 | 0 | 129 |
CSS | 2 | 19 | 0 | 100 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 11 | |
▷ Static methods | 11 | 100.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin