Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.51MB] [CPU: ▲10.74ms] 75% from 4 tests
This is a short check of server-side resources used by WP VR - 360 Panorama and Virtual Tour Builder For WordPress
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 526.94ms on /wp-admin/admin.php?page=wpvr)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.88 ▲1.41 | 50.05 ▲8.34 |
Dashboard /wp-admin | 4.93 ▲1.58 | 70.82 ▲12.15 |
Posts /wp-admin/edit.php | 4.96 ▲1.59 | 67.45 ▲19.52 |
Add New Post /wp-admin/post-new.php | 7.43 ▲1.54 | 108.74 ▲2.95 |
Media Library /wp-admin/upload.php | 4.76 ▲1.53 | 55.55 ▲20.86 |
Add New Tour /wp-admin/post-new.php?post_type=wpvr_item | 5.44 | 65.95 |
Tours /wp-admin/edit.php?post_type=wpvr_item | 4.89 | 52.16 |
Guided Tour /wp-admin/admin.php?page=wpvr-setup-wizard | 4.80 | 50.59 |
Get Started /wp-admin/admin.php?page=wpvr | 5.17 | 526.94 |
Server storage [IO: ▲18.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 495 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
_is_wpvr_promotion |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP VR - 360 Panorama and Virtual Tour Builder For WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,373 ▲611 | 18.05 ▲3.29 | 23.89 ▲22.31 | 27.02 ▼9.52 |
Dashboard /wp-admin | 2,611 ▲444 | 6.96 ▲1.30 | 116.45 ▲5.08 | 105.26 ▲59.34 |
Posts /wp-admin/edit.php | 2,471 ▲371 | 3.77 ▲1.80 | 69.12 ▲26.92 | 66.36 ▲30.27 |
Add New Post /wp-admin/post-new.php | 6,560 ▲5,034 | 28.83 ▲5.39 | 915.57 ▲295.24 | 39.02 ▼19.56 |
Media Library /wp-admin/upload.php | 1,605 ▲205 | 4.83 ▲0.63 | 90.79 ▼4.50 | 78.01 ▲36.65 |
Add New Tour /wp-admin/post-new.php?post_type=wpvr_item | 9,358 | 5.84 | 344.24 | 142.49 |
Tours /wp-admin/edit.php?post_type=wpvr_item | 1,532 | 3.65 | 62.26 | 99.10 |
Guided Tour /wp-admin/admin.php?page=wpvr-setup-wizard | 2,199 | 10.37 | 326.70 | 206.69 |
Get Started /wp-admin/admin.php?page=wpvr | 3,181 | 14.92 | 357.74 | 186.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- _is_wpvr_promotion
Smoke tests 25% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wpvr/public/partials/wpvr-public-display.php
- > /wp-content/plugins/wpvr/admin/partials/wpvr-admin-display.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wpvr/admin/partials/wpvr_confirmation_alert.php:26
- > PHP Fatal error
Uncaught Error: Class 'OxyEl' not found in wp-content/plugins/wpvr/oxygen/WPVR_CUSTOM_OXY_ELEMENT.php:3
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/wpvr/includes/wpvr-divi-modules/includes/DiviModules.php:5
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/wpvr/includes/wpvr-divi-modules/includes/modules/wpvr_modules/WpvrTour.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPVR_CUSTOM_OXY_ELEMENT' not found in wp-content/plugins/wpvr/oxygen/elements/Wpvr_Tour_Element.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpvr/oxygen/WPVR_OXY_INTEGRATION.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wpvr/admin/partials/wpvr_setup_wizard.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=wpvr
- > Network (severe)
wp-content/plugins/wpvr/admin/fonts/roboto/Roboto-Bold.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=wpvr
- > Network (severe)
wp-content/plugins/wpvr/admin/fonts/roboto/Roboto-Regular.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=wpvr
- > Network (severe)
wp-content/plugins/wpvr/admin/fonts/roboto/Roboto-Medium.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=wpvr
- > Network (severe)
wp-content/plugins/wpvr/admin/fonts/roboto/Roboto-Bold.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=wpvr
- > Network (severe)
wp-content/plugins/wpvr/admin/fonts/roboto/Roboto-Regular.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=wpvr
- > Network (severe)
wp-content/plugins/wpvr/admin/fonts/roboto/Roboto-Medium.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=wpvr
- > Network (severe)
wp-content/plugins/wpvr/admin/fonts/roboto/Roboto-Bold.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=wpvr
- > Network (severe)
wp-content/plugins/wpvr/admin/fonts/roboto/Roboto-Regular.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=wpvr
- > Network (severe)
wp-content/plugins/wpvr/admin/fonts/roboto/Roboto-Medium.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 (18 tag instead of maximum 10)
wpvr/wpvr.php Passed 13 tests
The main file in "WP VR - 360 Panorama and Virtual Tour Builder For WordPress" v. 8.3.13 serves as a complement to information provided in readme.txt and as the entry point to the plugin
130 characters long description:
WP VR - 360 Panorama and virtual tour creator for WordPress is a customized panaroma & virtual builder tool for WordPress Website.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin189,773 lines of code in 301 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 140 | 47,862 | 55,437 | 138,564 |
CSS | 45 | 6,240 | 753 | 24,007 |
PHP | 62 | 2,765 | 4,431 | 14,181 |
SVG | 27 | 0 | 12 | 8,928 |
PO File | 17 | 1,239 | 1,315 | 3,234 |
Sass | 2 | 93 | 0 | 502 |
JSON | 4 | 3 | 0 | 220 |
XML | 1 | 6 | 7 | 76 |
Markdown | 2 | 10 | 0 | 45 |
JSX | 1 | 7 | 3 | 16 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 318)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 25.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 344.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 318.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 46 | |
▷ Abstract classes | 4 | 8.70% |
▷ Concrete classes | 42 | 91.30% |
▷ Final classes | 0 | 0.00% |
Methods | 436 | |
▷ Static methods | 118 | 27.06% |
▷ Public methods | 330 | 75.69% |
▷ Protected methods | 15 | 3.44% |
▷ Private methods | 91 | 20.87% |
Functions | 30 | |
▷ Named functions | 25 | 83.33% |
▷ Anonymous functions | 5 | 16.67% |
Constants | 6 | |
▷ Global constants | 6 | 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
50 PNG files occupy 0.26MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/icon/wpfunnels.png | 0.35KB | 0.30KB | ▼ 15.15% |
images/scene-pro-feature.png | 46.67KB | 12.10KB | ▼ 74.08% |
admin/icon/vr-video-poster.png | 40.55KB | 42.96KB | 0.00% |
admin/icon/wpvr-banner.png | 33.55KB | 35.29KB | 0.00% |
admin/icon/street-view-hover.png | 0.35KB | 0.51KB | 0.00% |