Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/videoo-manager/admin/class-videoo-manager-group-lines.php+377
Undefined index: action
Server metrics [RAM: ▼0.32MB] [CPU: ▼14.49ms] 75% from 4 tests
Server-side resources used by Videoo.tv Manager
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 578.73ms on /wp-admin/admin.php?page=videoo_manager)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.40 | 44.55 ▼4.70 |
Dashboard /wp-admin | 3.70 ▲0.39 | 52.13 ▼0.33 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 54.66 ▲0.50 |
Add New Post /wp-admin/post-new.php | 3.51 ▼2.38 | 41.82 ▼53.41 |
Media Library /wp-admin/upload.php | 3.56 ▲0.32 | 41.25 ▲4.54 |
Videoo Manager /wp-admin/admin.php?page=videoo_manager | 3.46 | 578.73 |
Ads.txt management /wp-admin/admin.php?page=videoo_manager_adstxt | 3.43 | 29.89 |
VideooTV tag config /wp-admin/admin.php?page=videoo_manager_config | 3.43 | 32.45 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Videoo.tv Manager: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 14.25 ▼0.03 | 1.71 ▼0.06 | 42.92 ▼1.48 |
Dashboard /wp-admin | 2,220 ▲46 | 5.69 ▲0.17 | 83.95 ▼17.18 | 77.45 ▲34.36 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.01 ▲0.01 | 37.61 ▲1.34 | 35.16 ▼2.80 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 23.52 ▲0.42 | 666.89 ▼39.02 | 62.57 ▲0.01 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.18 ▼0.03 | 103.17 ▼7.43 | 71.75 ▲24.64 |
Videoo Manager /wp-admin/admin.php?page=videoo_manager | 839 | 2.02 | 27.51 | 42.86 |
Ads.txt management /wp-admin/admin.php?page=videoo_manager_adstxt | 898 | 1.82 | 29.18 | 36.94 |
VideooTV tag config /wp-admin/admin.php?page=videoo_manager_config | 915 | 1.87 | 123.10 | 33.57 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/videoo-manager/admin/class-videoo-manager-group-lines.php+377
Undefined index: action
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=videoo_manager
- > Warning in wp-content/plugins/videoo-manager/includes/class-videoo-manager-services.php+86
file_get_contents(https://static.videoo.tv/sellers.json): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=videoo_manager_config
- > Warning in wp-content/plugins/videoo-manager/admin/class-videoo-manager-admin.php+317
fileowner(): stat failed for ads.txt
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/videoo-manager/admin/partials/videoo-manager-admin-config.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/videoo-manager/admin/partials/videoo-manager-form-input-textarea.php:2
- > PHP Fatal error
Uncaught Error: Class 'Videoo_Manager_Base' not found in wp-content/plugins/videoo-manager/admin/class-videoo-manager-cron.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/videoo-manager/admin/partials/videoo-manager-form-input-text.php:2
- > PHP Fatal error
Uncaught Error: Class 'Videoo_Manager_Base' not found in wp-content/plugins/videoo-manager/admin/class-videoo-manager-groups.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/videoo-manager/admin/partials/videoo-manager-admin-adstxt.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/videoo-manager/admin/partials/videoo-manager-form-input-radio.php:3
- > PHP Fatal error
Uncaught Error: Class 'Videoo_Manager_Base' not found in wp-content/plugins/videoo-manager/admin/class-videoo-manager-group-lines.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/videoo-manager/admin/partials/videoo-manager-form-input-groupform.php:1
- > PHP Fatal error
Uncaught Error: Class 'Videoo_Manager_Base' not found in wp-content/plugins/videoo-manager/admin/class-videoo-manager-admin.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 75% 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 require attention:
- Contributors: There were no tags found
- Requires php: Invalid version format
- Contributors: Plugin contributors not specified
- Requires at least: Invalid version format
videoo-manager/videoo-manager.php 92% from 13 tests
"Videoo.tv Manager" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
No dangerous file extensions were detected3,080 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 355 | 1,011 | 1,576 |
JavaScript | 3 | 97 | 93 | 968 |
CSS | 1 | 80 | 30 | 418 |
SVG | 1 | 0 | 0 | 79 |
Markdown | 1 | 20 | 0 | 39 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 20.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 2 | 1.80% |
▷ Public methods | 82 | 73.87% |
▷ Protected methods | 3 | 2.70% |
▷ Private methods | 26 | 23.42% |
Functions | 12 | |
▷ Named functions | 3 | 25.00% |
▷ Anonymous functions | 9 | 75.00% |
Constants | 20 | |
▷ Global constants | 13 | 65.00% |
▷ Class constants | 7 | 35.00% |
▷ Public constants | 4 | 57.14% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/videootv-icon-neg.png | 10.86KB | 1.20KB | ▼ 88.95% |