Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.40ms] Passed 4 tests
Analyzing server-side resources used by Bike Rental Online Booking Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.65 ▲1.38 |
Dashboard /wp-admin | 3.32 ▼0.02 | 45.97 ▼28.67 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.22 ▼0.63 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.92 ▼7.45 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 32.21 ▼4.85 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Bike Rental Online Booking Calendar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.72 ▲0.37 | 1.70 ▼0.14 | 44.66 ▲0.58 |
Dashboard /wp-admin | 2,192 ▲15 | 5.48 ▼0.10 | 80.43 ▼18.54 | 35.78 ▼8.03 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.03 | 35.14 ▲1.36 | 33.48 ▼5.34 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.32 ▲0.23 | 678.22 ▲9.57 | 48.98 ▲0.05 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.00 | 97.92 ▼14.76 | 42.37 ▼6.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/bike-rental-manager-calendar/bike-rental-manager.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function BikeRentalManager\\Calendar\\Templates\\esc_url() in wp-content/plugins/bike-rental-manager-calendar/templates/iframe-shop.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function BikeRentalManager\\Calendar\\Templates\\pll_current_language() in wp-content/plugins/bike-rental-manager-calendar/templates/iframe-shop-2.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: bike tours, booking system, ski rental, availability calendar, calendar...
bike-rental-manager-calendar/bike-rental-manager.php 85% from 13 tests
The main PHP file in "Bike Rental Online Booking Calendar" ver. 1.0.2.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("bike-rental-manager-calendar.php" instead of "bike-rental-manager.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 339 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin95 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 25 | 71 | 93 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 2 | |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected