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.23MB] [CPU: ▲1.63ms] Passed 4 tests
Server-side resources used by RentalBuddy - Car Rental Management
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 45.63 ▼3.45 |
Dashboard /wp-admin | 3.53 ▲0.22 | 56.49 ▲10.75 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 52.41 ▲5.21 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 99.10 ▼5.98 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 64.40 ▲28.49 |
Cars /wp-admin/edit.php?post_type=rb_cars | 3.49 | 40.46 |
Manufactures /wp-admin/edit-tags.php?taxonomy=car_manufactures&post_type=rb_cars | 3.45 | 35.45 |
Bookings /wp-admin/admin.php?page=rb_booking_features | 3.42 | 35.47 |
RentalBuddy /wp-admin/admin.php?page=rentalbuddy_settings_handle | 3.42 | 39.04 |
Clients /wp-admin/admin.php?page=rb_booking_clients | 3.42 | 35.89 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
rentalbuddy_version |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for RentalBuddy - Car Rental Management
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲199 | 13.69 ▼0.29 | 7.30 ▲5.26 | 43.30 ▼0.61 |
Dashboard /wp-admin | 2,243 ▲52 | 5.89 ▲1.03 | 105.51 ▼3.34 | 66.96 ▲25.35 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.01 ▼0.01 | 33.72 ▼1.36 | 35.38 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 23.18 ▲0.25 | 715.00 ▲61.49 | 52.97 ▼4.36 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.15 ▼0.08 | 127.42 ▲21.38 | 94.46 ▲47.42 |
Cars /wp-admin/edit.php?post_type=rb_cars | 1,092 | 1.96 | 33.15 | 28.36 |
Manufactures /wp-admin/edit-tags.php?taxonomy=car_manufactures&post_type=rb_cars | 1,301 | 2.14 | 27.50 | 31.83 |
Bookings /wp-admin/admin.php?page=rb_booking_features | 806 | 2.02 | 24.53 | 25.87 |
RentalBuddy /wp-admin/admin.php?page=rentalbuddy_settings_handle | 1,000 | 2.64 | 42.27 | 33.16 |
Clients /wp-admin/admin.php?page=rb_booking_clients | 805 | 2.02 | 25.61 | 26.55 |
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
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- rentalbuddy_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
rentalbuddy-car-rental-management/rentalbuddy-car-rental.php 69% from 13 tests
The main file in "RentalBuddy - Car Rental Management" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rentalbuddy-car-rental-management.php" instead of "rentalbuddy-car-rental.php")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin7,945 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 500 | 40 | 6,678 |
PHP | 17 | 220 | 96 | 1,071 |
JavaScript | 5 | 41 | 14 | 196 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/rentalbuddy.png | 10.01KB | 3.61KB | ▼ 63.91% |
assets/admin/images/rentalbuddy-small.png | 3.15KB | 1.00KB | ▼ 68.31% |