Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_widget.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; OBERON_HotelReservation has a deprecated constructor
Server metrics [RAM: ▼1.82MB] [CPU: ▼50.29ms] Passed 4 tests
A check of server-side resources used by OBERON - Hotel reservation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 5.38 ▼37.35 |
Dashboard /wp-admin | 2.18 ▼1.12 | 7.66 ▼41.28 |
Posts /wp-admin/edit.php | 2.18 ▼1.17 | 6.71 ▼41.04 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.70 | 6.33 ▼81.49 |
Media Library /wp-admin/upload.php | 2.18 ▼1.04 | 6.13 ▼29.94 |
OBERON - Hotel reservation /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation | 2.18 | 5.89 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_oberon_hotelreservation |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for OBERON - Hotel reservation
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲86 | 13.35 ▼1.04 | 1.69 ▼1.37 | 45.55 ▼3.74 |
Dashboard /wp-admin | 2,227 ▲39 | 4.99 ▼0.06 | 115.65 ▲4.32 | 43.38 ▲4.52 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.24 ▲0.25 | 34.32 ▼5.80 | 35.61 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,532 ▲11 | 23.46 ▲0.39 | 672.27 ▼21.22 | 38.12 ▼14.05 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.39 ▲0.21 | 98.55 ▼5.34 | 41.22 ▼5.49 |
OBERON - Hotel reservation /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation | 986 | 2.16 | 108.13 | 44.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_widget.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; OBERON_HotelReservation has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_oberon_hotelreservation
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > Deprecated in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_widget.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; OBERON_HotelReservation has a deprecated constructor
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in OBERON_HotelReservation is deprecated since version 4.3.0! Use __construct() instead.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > Notice in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_rest_controller.php+71
Undefined index: service-url
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > Notice in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_rest_controller.php+72
Undefined index: calc-accommodation
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > Notice in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_rest_controller.php+73
Undefined index: calc-localtax
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > Notice in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_rest_controller.php+74
Undefined index: calc-services
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > Notice in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_rest_controller.php+75
Undefined index: roomtype-change
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > Notice in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_rest_controller.php+76
Undefined index: price-category-guest
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > Notice in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_rest_controller.php+352
Undefined variable: response
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > POST request to /index.php/wp-json/oberonweb/v1.1/hotel/GetHotel_PriceCategoryGuests
- > Notice in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_rest_controller.php+353
Undefined index: userData
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_plugin.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_widget.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_rest_controller.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=exalogic-oberon-hotel-reservation
- > Network (severe)
wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1 Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: bb, bnb, oberon, reservation system, booking
exalogic-oberon-hotel-reservation/exalogic_oberon_hotel_reservation_plugin.php 85% from 13 tests
The main file in "OBERON - Hotel reservation" v. 1.4.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("exalogic-oberon-hotel-reservation.php" instead of "exalogic_oberon_hotel_reservation_plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 202 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin5,306 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 31 | 36 | 2,141 |
JavaScript | 9 | 216 | 173 | 1,924 |
PHP | 5 | 265 | 434 | 1,075 |
PO File | 1 | 32 | 39 | 126 |
SVG | 1 | 28 | 0 | 40 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 60 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 46 | 76.67% |
▷ Protected methods | 2 | 3.33% |
▷ Private methods | 12 | 20.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 9 | 60.00% |
▷ Class constants | 6 | 40.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin