Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼7.51ms] Passed 4 tests
This is a short check of server-side resources used by Ogulo - 360° Tour
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 45.78 ▲5.32 |
Dashboard /wp-admin | 3.49 ▲0.19 | 51.36 ▼2.61 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 50.98 ▼7.05 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 91.73 ▼20.06 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 37.77 ▼0.33 |
Logs /wp-admin/admin.php?page=ogulo-360-tour-log | 3.39 | 34.82 |
Ogulo /wp-admin/admin.php?page=ogulo-360-tour | 3.40 | 31.72 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 51 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_ogulo_tours_widget |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
ogulo_provider |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Ogulo - 360° Tour: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲166 | 13.50 ▼0.78 | 11.42 ▲9.59 | 42.87 ▼2.06 |
Dashboard /wp-admin | 2,222 ▲48 | 5.65 ▲0.07 | 95.90 ▲5.41 | 41.76 ▼4.08 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.02 ▼0.00 | 34.67 ▼3.50 | 35.18 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 22.99 ▼0.53 | 658.98 ▼38.69 | 66.80 ▲12.16 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.17 ▼0.02 | 99.61 ▼5.02 | 45.99 ▲3.28 |
Logs /wp-admin/admin.php?page=ogulo-360-tour-log | 874 | 1.99 | 22.50 | 24.51 |
Ogulo /wp-admin/admin.php?page=ogulo-360-tour | 1,059 | 2.16 | 41.34 | 39.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- ogulo_provider
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_ogulo_tours_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ogulo-360-tour/public/view/ogulo-360-tour-public-display.php
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ogulo-360-tour/view/admin/tours.php:38
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ogulo-360-tour/view/admin/settings.php on line 4
- > PHP Notice
Undefined variable: args in wp-content/plugins/ogulo-360-tour/view/admin/settings.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ogulo-360-tour/view/admin/log.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ogulo-360-tour/view/admin/log.php:7
- > PHP Notice
Undefined variable: args in wp-content/plugins/ogulo-360-tour/view/admin/log.php on line 2
- > PHP Notice
Undefined variable: args in wp-content/plugins/ogulo-360-tour/view/admin/log.php on line 4
- > PHP Notice
Undefined variable: args in wp-content/plugins/ogulo-360-tour/view/admin/settings.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ogulo-360-tour/includes/class-ogulo-360-tour-widget.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ogulo-360-tour/view/admin/settings.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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:
- Plugin Name: You should set the name of your plugin on the first line (
=== ogulo-360-tour ===
)
ogulo-360-tour/ogulo-360-tour.php Passed 13 tests
"Ogulo - 360° Tour" version 1.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
73 characters long description:
With the Ogulo Plugin you can easily integrate your tours into Wordpress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,864 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 323 | 735 | 1,008 |
CSS | 3 | 69 | 6 | 326 |
JavaScript | 3 | 56 | 15 | 325 |
PO File | 2 | 64 | 76 | 180 |
SVG | 1 | 0 | 1 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 2 | 3.64% |
▷ Public methods | 48 | 87.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 12.73% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
5 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
admin/images/ogulo.png | 36.26KB | 12.13KB | ▼ 66.54% |
admin/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
admin/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
public/images/ogulo.png | 32.32KB | 12.39KB | ▼ 61.66% |