Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼4.24ms] Passed 4 tests
An overview of server-side resources used by Multi-day Booking Calendar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 49.77 ▲5.73 |
Dashboard /wp-admin | 3.46 ▲0.16 | 57.39 ▼0.31 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 52.87 ▼19.33 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 95.35 ▼0.88 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 42.20 ▲3.58 |
Add New /wp-admin/post-new.php?post_type=mdbc | 3.42 | 64.71 |
Common Settings /wp-admin/edit.php?post_type=mdbc&page=mdbc | 3.41 | 38.31 |
Calendar /wp-admin/edit.php?post_type=mdbc | 3.43 | 44.19 |
Server storage [IO: ▲3.73MB] [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: 15 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_mdbc |
New WordPress options |
---|
can_compress_scripts |
mdbc_options |
widget_recent-comments |
mdbc_db_version |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Multi-day Booking Calendar: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,002 ▲213 | 15.52 ▲2.30 | 10.87 ▲3.60 | 46.41 ▼3.11 |
Dashboard /wp-admin | 2,313 ▲107 | 6.16 ▲0.28 | 109.14 ▼1.87 | 42.80 ▼2.10 |
Posts /wp-admin/edit.php | 2,202 ▲113 | 3.20 ▲1.15 | 44.45 ▲8.65 | 32.91 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,576 ▲42 | 23.85 ▲0.78 | 740.15 ▲67.02 | 57.70 ▲6.08 |
Media Library /wp-admin/upload.php | 1,504 ▲113 | 5.66 ▲1.48 | 105.68 ▲6.81 | 45.33 ▲0.18 |
Add New /wp-admin/post-new.php?post_type=mdbc | 2,056 | 6.51 | 175.99 | 120.44 |
Common Settings /wp-admin/edit.php?post_type=mdbc&page=mdbc | 1,955 | 5.31 | 149.33 | 80.72 |
Calendar /wp-admin/edit.php?post_type=mdbc | 1,166 | 3.21 | 41.70 | 28.84 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_mdbc
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- widget_recent-posts
- mdbc_db_version
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- mdbc_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however 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 errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/multi-day-booking-calendar/includes/endpoints.php:9
- > PHP Fatal error
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 Passed 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
7 plugin tags: schedule, reserve, multi-day, contact form7, calendar...
multi-day-booking-calendar/multi-day-booking-calendar.php Passed 13 tests
The main file in "Multi-day Booking Calendar" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
89 characters long description:
This plugin allows you to integrate a multi-day booking calendar into your existing form.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin18,762 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 4,143 | 3,732 | 17,597 |
PHP | 4 | 134 | 175 | 858 |
PO File | 1 | 78 | 79 | 175 |
CSS | 1 | 2 | 4 | 105 |
SVG | 1 | 0 | 1 | 26 |
JSON | 1 | 0 | 0 | 1 |
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.45 |
Average class complexity | 67.00 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 6.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.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 | 22 | |
▷ Static methods | 4 | 18.18% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected