Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Error in wp-content/plugins/ventunos-videopub/VentunoMedia.php+813
Uncaught Error: Using $this when not in object context in wp-content/plugins/ventunos-videopub/VentunoMedia.php:813
Stack trace:
#0 wp-admin/includes/plugin.php(2286): include_once()
#1 wp-admin/includes/plugin.php(668): plugin_sandbox_scrape()
Server metrics [RAM: ▼0.00MB] [CPU: ▼142.24ms] Passed 4 tests
Server-side resources used by Ventuno’s VideoPub
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.12 | 37.41 ▲9.12 |
Dashboard /wp-admin | 3.06 ▲0.00 | 47.20 ▼4.63 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 53.37 ▲1.23 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 94.64 ▼565.30 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 38.78 ▼0.25 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 63 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Ventuno’s VideoPub: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.94 ▲0.35 | 9.82 ▼2.02 | 53.85 ▲0.82 |
Dashboard /wp-admin | 2,970 ▲39 | 5.95 ▼0.01 | 146.26 ▼3.71 | 119.04 ▼2.59 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.01 | 73.72 ▲5.18 | 103.86 ▼6.59 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.65 ▲0.52 | 397.90 ▲4.26 | 119.91 ▲3.07 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.05 ▼0.02 | 159.83 ▲0.04 | 138.42 ▲7.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 21× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'VentunoMedia' not found in wp-content/plugins/ventunos-videopub/includes/ventuno-search-template-ajax.php:24
- > PHP Notice
Undefined variable: account_result in wp-content/plugins/ventunos-videopub/includes/ventuno-blend-template.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'VentunoMedia' not found in wp-content/plugins/ventunos-videopub/includes/ventuno-header-template.php:11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ventunos-videopub/includes/ventuno-blend-template.php on line 3
- > PHP Notice
Undefined variable: result_ventuno_feed in wp-content/plugins/ventunos-videopub/includes/ventuno-search-template.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ventunos-videopub/includes/ventuno-search-template.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ventunos-videopub/includes/ventuno-manage-tmp-template.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ventunos-videopub/VentunoMedia.php:636
- > PHP Notice
Undefined variable: account_result in wp-content/plugins/ventunos-videopub/includes/ventuno-account-template.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ventunos-videopub/includes/ventuno-account-template.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: Add images for these screenshots: #1 (VideoPub Dashboard.), #2 (linking-up your Ventuno account), #3 (Create a publisher account to link your Ventuno account), #4 (Single video publish catalog), #5 (Video Templates publish)
- Donate link: Invalid URI found ("")
ventunos-videopub/VentunoMedia.php 92% from 13 tests
The main PHP file in "Ventuno’s VideoPub" ver. 2.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ventunos-videopub.php" instead of "VentunoMedia.php")
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
Success! There were no dangerous files found in this plugin2,873 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 259 | 39 | 1,781 |
CSS | 5 | 150 | 118 | 696 |
JavaScript | 5 | 68 | 42 | 396 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 38.33 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 45 | 91.84% |
▷ Public methods | 49 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
17 PNG files occupy 0.66MB with 0.45MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fancybox_overlay.png | 0.98KB | 0.09KB | ▼ 90.43% |
screenshot-4.png | 168.61KB | 64.02KB | ▼ 62.03% |
images/time_icon.png | 1.11KB | 0.40KB | ▼ 64.24% |
screenshot-2.png | 62.65KB | 24.55KB | ▼ 60.81% |
screenshot-5.png | 55.60KB | 21.56KB | ▼ 61.22% |