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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.25ms] Passed 4 tests
A check of server-side resources used by AweBooking & Elementor Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.49 ▼4.63 |
Dashboard /wp-admin | 3.35 ▲0.01 | 47.80 ▼22.26 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.57 ▼1.61 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.93 ▼4.49 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.18 ▲0.73 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
AweBooking & Elementor Integration: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.00 | 1.72 ▼0.25 | 41.78 ▼8.35 |
Dashboard /wp-admin | 2,192 ▲12 | 5.57 ▲0.04 | 93.37 ▼8.42 | 40.94 ▼5.87 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.05 | 36.24 ▲0.99 | 33.44 ▼5.65 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.71 ▲0.49 | 695.65 ▲12.42 | 68.80 ▲23.95 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.21 ▲0.05 | 106.19 ▲4.88 | 48.44 ▲4.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 33× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/awebooking-elementor-integration/templates/services/render.php on line 4
- > PHP Notice
Undefined variable: settings in wp-content/plugins/awebooking-elementor-integration/templates/search-availability-form/render.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'AweBooking\\Elementor\\Widgets\\Abstract_Widget' not found in wp-content/plugins/awebooking-elementor-integration/inc/Widgets/Search_Availability_Form.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/awebooking-elementor-integration/awebooking-elementor.php:16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/awebooking-elementor-integration/templates/search-availability-form/render.php on line 4
- > PHP Notice
Undefined variable: settings in wp-content/plugins/awebooking-elementor-integration/templates/rooms/render.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'AweBooking\\Elementor\\Widgets\\Abstract_Widget' not found in wp-content/plugins/awebooking-elementor-integration/inc/Widgets/Services.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/awebooking-elementor-integration/templates/search-availability-form/render.php:10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/awebooking-elementor-integration/templates/rooms/render.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/awebooking-elementor-integration/templates/single-room/render.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: booking, reservation, hotel booking, elementor, booking builder...
awebooking-elementor-integration/awebooking-elementor.php 85% from 13 tests
This is the main PHP file of "AweBooking & Elementor Integration" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("awebooking-elementor-integration.php" instead of "awebooking-elementor.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin2,542 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 325 | 413 | 2,541 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 3 | 5.56% |
▷ Public methods | 44 | 81.48% |
▷ Protected methods | 9 | 16.67% |
▷ Private methods | 1 | 1.85% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 5 | |
▷ Global constants | 5 | 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
PNG images were not found in this plugin