Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▲0.91ms] Passed 4 tests
Analyzing server-side resources used by WP Tourmake
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 37.88 ▼2.62 |
Dashboard /wp-admin | 3.53 ▲0.23 | 46.73 ▲1.24 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 52.45 ▲4.37 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 97.81 ▲0.67 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 41.86 ▲8.67 |
Insert tour /wp-admin/admin.php?page=wp-tourmake-insert-tour | 3.42 | 32.72 |
WP Tourmake /wp-admin/admin.php?page=wp-tourmake-main-page | 3.42 | 29.00 |
My tours /wp-admin/admin.php?page=wp-tourmake-tour-list | 3.42 | 32.52 |
Go Pro /wp-admin/admin.php?page=wp-tourmake-pro-page | 3.29 | 25.75 |
Edit tour /wp-admin/admin.php?page=wp-tourmake-edit-tour | 3.40 | 41.43 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 38 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_tourmake |
wp_viewmake |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Tourmake
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,985 ▲250 | 13.97 ▼0.39 | 5.06 ▲3.52 | 29.74 ▼11.81 |
Dashboard /wp-admin | 2,256 ▲68 | 5.00 ▼0.89 | 95.99 ▼9.63 | 77.47 ▲35.17 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.08 ▲0.08 | 37.65 ▲1.68 | 39.08 ▲4.50 |
Add New Post /wp-admin/post-new.php | 1,708 ▲175 | 22.44 ▼0.87 | 726.42 ▲36.47 | 29.19 ▼23.27 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.27 ▲0.08 | 96.39 ▼12.88 | 83.38 ▲35.60 |
Insert tour /wp-admin/admin.php?page=wp-tourmake-insert-tour | 868 | 1.72 | 25.42 | 28.75 |
WP Tourmake /wp-admin/admin.php?page=wp-tourmake-main-page | 1,012 | 1.72 | 25.05 | 44.28 |
My tours /wp-admin/admin.php?page=wp-tourmake-tour-list | 843 | 1.74 | 27.79 | 39.42 |
Go Pro /wp-admin/admin.php?page=wp-tourmake-pro-page | 2,025 | 3.39 | 127.64 | 126.98 |
Edit tour /wp-admin/admin.php?page=wp-tourmake-edit-tour | 871 | 1.85 | 26.26 | 27.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=wp-tourmake-edit-tour
- > Notice in wp-content/plugins/wp-tourmake/includes/classes/vm_functions.php+161
Undefined offset: 0
- > GET request to /wp-admin/admin.php?page=wp-tourmake-edit-tour
- > Notice in wp-content/plugins/wp-tourmake/includes/templates/tour-form.php+29
Trying to get property 'name' of non-object
- > GET request to /wp-admin/admin.php?page=wp-tourmake-edit-tour
- > Notice in wp-content/plugins/wp-tourmake/includes/templates/tour-form.php+31
Trying to get property 'link' of non-object
- > GET request to /wp-admin/admin.php?page=wp-tourmake-edit-tour
- > Notice in wp-content/plugins/wp-tourmake/includes/templates/tour-form.php+32
Trying to get property 'zoom' of non-object
- > GET request to /wp-admin/admin.php?page=wp-tourmake-edit-tour
- > Notice in wp-content/plugins/wp-tourmake/includes/templates/tour-form.php+33
Trying to get property 'fullscreen' of non-object
- > GET request to /wp-admin/admin.php?page=wp-tourmake-edit-tour
- > Notice in wp-content/plugins/wp-tourmake/includes/templates/tour-form.php+35
Trying to get property 'height' of non-object
- > GET request to /wp-admin/admin.php?page=wp-tourmake-edit-tour
- > Notice in wp-content/plugins/wp-tourmake/includes/templates/tour-form.php+37
Trying to get property 'width' of non-object
- > GET request to /wp-admin/admin.php?page=wp-tourmake-edit-tour
- > Notice in wp-content/plugins/wp-tourmake/includes/templates/tour-form.php+38
Trying to get property 'id' of non-object
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Contributors: Contributors not specified
wp-tourmake/wp-tourmake.php Passed 13 tests
The principal PHP file in "WP Tourmake" v. 1.0.1 is loaded by WordPress automatically on each request
109 characters long description:
WP Tourmake plugin generates shortcodes to add Tourmake's and Viewmake's virtual tours in your website pages.
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
There were no executable files found in this plugin2,959 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 247 | 183 | 1,292 |
PHP | 12 | 154 | 49 | 1,123 |
CSS | 3 | 66 | 14 | 351 |
PO File | 1 | 62 | 90 | 180 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 11.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 36 | 87.80% |
▷ Public methods | 36 | 87.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.20% |
Functions | 12 | |
▷ Named functions | 12 | 100.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
3 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/tourmake_icon-16x28.png | 0.45KB | 0.30KB | ▼ 33.69% |
includes/images/logo_viewmake.png | 53.76KB | 10.20KB | ▼ 81.03% |
includes/images/logo_tourmake.png | 23.10KB | 4.57KB | ▼ 80.23% |