Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.26ms] Passed 4 tests
An overview of server-side resources used by eZee Online Hotel Booking Engine
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.68 ▲0.77 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.81 ▼1.66 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.59 ▼7.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.10 ▼19.08 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.45 ▼1.14 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by eZee Online Hotel Booking Engine
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.23 ▼0.33 | 1.94 ▲0.45 | 46.89 ▲5.43 |
Dashboard /wp-admin | 2,213 ▲33 | 5.62 ▼0.03 | 91.54 ▲2.57 | 38.17 ▲0.63 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.02 ▼0.14 | 34.23 ▼3.10 | 33.38 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.08 ▲0.01 | 606.88 ▲1.39 | 57.15 ▼7.34 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.20 ▲0.02 | 111.40 ▲1.53 | 46.81 ▼0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/online-booking-engine/wp_ezee_reservation.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (48 tag instead of maximum 10)
- Donate link: Invalid URI found ("")
- Screenshots: These screenshots require images: #1 (WordPress Booking Engine - Admin Settings), #2 (WordPress Booking Engine - Front Side)
online-booking-engine/wp_ezee_reservation.php 92% from 13 tests
The main file in "eZee Online Hotel Booking Engine" v. 1.0.0 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: The principal plugin file should be the same as the plugin slug ("online-booking-engine.php" instead of "wp_ezee_reservation.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin143 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 20 | 66 |
CSS | 1 | 4 | 0 | 58 |
JavaScript | 1 | 3 | 2 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.73MB with 0.51MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 51.30KB | 16.07KB | ▼ 68.67% |
screenshot-2.png | 700.64KB | 212.37KB | ▼ 69.69% |