Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.53ms] Passed 4 tests
This is a short check of server-side resources used by Maid Booking
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.07 | 46.65 ▲8.11 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.51 ▼3.79 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.40 ▲2.24 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 92.06 ▼2.17 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.34 ▼2.41 |
Maid booking /wp-admin/options-general.php?page=maid-booking | 3.27 | 30.32 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 15 new options
New WordPress options |
---|
supervisor_email |
widget_recent-posts |
theysaidso_admin_options |
max_bathrooms |
maid_subtitle |
price_per_bathroom |
price_per_bedroom |
widget_theysaidso_widget |
db_upgraded |
base_price |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Maid Booking
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.32 ▼1.23 | 1.59 ▼0.13 | 37.40 ▼11.32 |
Dashboard /wp-admin | 2,210 ▲25 | 4.85 ▼1.00 | 107.34 ▼1.94 | 45.62 ▲1.89 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.04 | 38.62 ▲1.34 | 35.66 ▲2.43 |
Add New Post /wp-admin/post-new.php | 1,523 ▲3 | 23.26 ▲0.04 | 660.22 ▼26.64 | 60.51 ▲8.92 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▲0.08 | 99.42 ▼2.85 | 42.72 ▼3.92 |
Maid booking /wp-admin/options-general.php?page=maid-booking | 913 | 2.06 | 22.30 | 27.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/maid-booking/maid-booking.php+95
Undefined variable: post_id
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=maid-booking
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=maid-booking
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/maid-booking/templates/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/maid-booking/maid-booking.php:189
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/maid-booking/templates/shortcode.php on line 1
- > PHP Notice
Undefined variable: atts in wp-content/plugins/maid-booking/templates/shortcode.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/maid-booking/templates/booking_metabox.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/maid-booking/templates/shortcode.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is missing in maid-booking/assets to your readme.txt
maid-booking/maid-booking.php Passed 13 tests
The main PHP script in "Maid Booking" version 1.0.2 is automatically included on every request by WordPress
49 characters long description:
This plugin adds a simple maid booking shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,257 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 118 | 143 | 466 |
PHP | 6 | 108 | 132 | 301 |
Sass | 2 | 39 | 5 | 188 |
PO File | 2 | 58 | 60 | 154 |
CSS | 3 | 5 | 12 | 148 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 2 | 9.52% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin