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/car-rental-booking-engine-by-ionoleggioauto-com/car-rental-booking-engine-ionoleggioauto.php+196
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.78ms] Passed 4 tests
A check of server-side resources used by Car Rental Booking Engine by Ionoleggioauto.com
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.46 ▼39.68 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.32 ▼42.61 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.02 ▼44.69 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.70 ▼88.12 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.06 ▼27.92 |
Car Rental Booking Engine by Ionoleggioauto.com /wp-admin/options-general.php?page=car-hire-ionoleggioauto | 2.05 | 5.08 |
Server storage [IO: ▲7.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_chh_plugin_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Car Rental Booking Engine by Ionoleggioauto.com
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,057 ▲322 | 16.56 ▲1.92 | 17.29 ▲15.12 | 43.50 ▼4.19 |
Dashboard /wp-admin | 2,253 ▲101 | 5.84 ▲0.13 | 97.33 ▼11.59 | 42.06 ▼1.96 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.14 ▲0.15 | 37.70 ▲1.63 | 31.73 ▼3.73 |
Add New Post /wp-admin/post-new.php | 1,565 ▲23 | 18.15 ▼0.22 | 629.05 ▲21.66 | 71.70 ▲22.25 |
Media Library /wp-admin/upload.php | 1,435 ▲50 | 4.30 ▲0.07 | 95.69 ▼51.86 | 46.17 ▼29.84 |
Car Rental Booking Engine by Ionoleggioauto.com /wp-admin/options-general.php?page=car-hire-ionoleggioauto | 988 | 2.06 | 23.30 | 31.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/car-rental-booking-engine-by-ionoleggioauto-com/car-rental-booking-engine-ionoleggioauto.php+196
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_chh_plugin_widget
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=car-hire-ionoleggioauto
- > Deprecated in wp-content/plugins/car-rental-booking-engine-by-ionoleggioauto-com/car-rental-booking-engine-ionoleggioauto.php+196
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=car-hire-ionoleggioauto
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in chh_plugin_widget is deprecated since version 4.3.0! Use __construct() instead.
- 19 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=car-hire-ionoleggioauto
- > Notice in wp-content/plugins/car-rental-booking-engine-by-ionoleggioauto-com/car-rental-booking-engine-ionoleggioauto.php+542
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/car-rental-booking-engine-by-ionoleggioauto-com/car-rental-booking-engine-ionoleggioauto.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 27 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (In the settings you can configure the title of your search box, the searchbox language, a default location, the color of the text and the borders, the background colour, the color of the call to action button, the color of the text of the button, the width of the border and the radius. This is also the place where you have to introduce your Affiliate ID if you want to monetize the plugin. More information about the configuration can be found in the installation section of the plugin.), #2 (This is how a search box looks like when it is installed in a post or page with the corresponding shortcode: [car_hire_ionoleggioauto]. You can adapt the design to the look and feel of your blog (colors, fonts, background etc.) in the settings of the plugin.), #3 (This is how a search box looks like when it is installed as a widget in your sidebar. If you want to show the search box as a widget in your sidebar go to 'appearance', 'widgets' and drag and drop the car rental search engine widget to the sidebar of your choice.), #4 (This is a screenshot of the results returned by the plugin. The plugin calculates prices and availability from more than 900 different providers worldwide including leading car rental companies and many local suppliers. If you want to see the plugin in action please visit the plugin's official website.), #5 (Affiliate Management System. You must register and request an affiliate ID if you want to monetize the plugin. Only registered users have access to the Affiliate Managament System where they can keep track of the commissions earned by the bookings made on their blog or website. The plugin uses the affiliate ID to track commissions, but the search box will work fine for non-registered sites as well.)
car-rental-booking-engine-by-ionoleggioauto-com/car-rental-booking-engine-ionoleggioauto.php 92% from 13 tests
"Car Rental Booking Engine by Ionoleggioauto.com" version 3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("car-rental-booking-engine-by-ionoleggioauto-com.php" instead of "car-rental-booking-engine-ionoleggioauto.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
Everything looks great! No dangerous files found in this plugin1,824 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 83 | 5 | 918 |
CSS | 1 | 48 | 0 | 457 |
PHP | 1 | 856 | 80 | 443 |
JSON | 6 | 0 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.77MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 241.12KB | 81.16KB | ▼ 66.34% |
screenshot-5.png | 220.64KB | 99.25KB | ▼ 55.01% |
images/noleggioauto.png | 202.85KB | 70.89KB | ▼ 65.05% |
screenshot-1.png | 73.52KB | 28.96KB | ▼ 60.61% |
screenshot-3.png | 17.39KB | 7.33KB | ▼ 57.86% |