Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼134.74ms] Passed 4 tests
Analyzing server-side resources used by Oganro: Hotels, Flights, Transfers, Car Hire, Excursion Search Box
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 36.14 ▲14.77 |
Dashboard /wp-admin | 3.09 ▲0.03 | 47.53 ▲1.91 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 56.13 ▲10.65 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 93.79 ▼543.55 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 33.17 ▼7.98 |
Server storage [IO: ▲4.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 245 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Oganro: Hotels, Flights, Transfers, Car Hire, Excursion Search Box
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,723 ▲117 | 16.01 ▲0.37 | 11.01 ▲1.91 | 48.62 ▼2.05 |
Dashboard /wp-admin | 2,984 ▲47 | 5.92 ▼0.07 | 180.72 ▲34.71 | 123.33 ▲14.86 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.72 ▲0.01 | 72.55 ▲5.59 | 98.16 ▲12.98 |
Add New Post /wp-admin/post-new.php | 1,888 ▲216 | 19.24 ▲0.48 | 394.13 ▼24.73 | 108.10 ▼18.14 |
Media Library /wp-admin/upload.php | 1,827 ▲20 | 5.05 ▼0.00 | 153.56 ▼16.69 | 118.86 ▼0.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php
- 131× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 1939
- > PHP Notice
Undefined variable: data in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 1906
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 1892
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 1973
- > PHP Notice
Undefined variable: data in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 1973
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 1869
- > PHP Notice
Undefined variable: data in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 2005
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 1929
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 1969
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/oganro-travel-online-booking-system/templates/og_travel_widget.php on line 1899
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
- Tags: Please delete some tags, you are using 27 tag instead of maximum 10
- Screenshots: Screenshot #9 (Sample design 8) image required
oganro-travel-online-booking-system/og-travel-widget.php 85% from 13 tests
"Oganro: Hotels, Flights, Transfers, Car Hire, Excursion Search Box" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("4.5" instead of "4.4")
- Main file name: Name the main plugin file the same as the plugin slug ("oganro-travel-online-booking-system.php" instead of "og-travel-widget.php")
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
Success! There were no dangerous files found in this plugin32,179 lines of code in 220 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 50 | 107 | 12,191 |
JavaScript | 134 | 1,655 | 1,298 | 7,900 |
PHP | 40 | 495 | 349 | 5,603 |
SVG | 2 | 0 | 0 | 2,959 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 61.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 38.46% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected