Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.88ms] Passed 4 tests
Analyzing server-side resources used by Retreat Booking Guru Connect
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.54 ▼4.40 |
Dashboard /wp-admin | 3.33 ▼0.01 | 49.05 ▼21.39 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.56 ▲1.38 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 98.61 ▼7.10 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.72 ▲7.43 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
rs_remote_db_version |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Retreat Booking Guru Connect
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲176 | 13.63 ▼0.75 | 8.93 ▲7.19 | 39.90 ▼4.57 |
Dashboard /wp-admin | 2,257 ▲54 | 5.81 ▲0.93 | 109.62 ▼11.34 | 43.86 ▼5.73 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.05 ▼0.01 | 40.04 ▲1.85 | 35.63 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,560 ▲15 | 23.16 ▲0.04 | 666.34 ▼23.84 | 52.18 ▼6.87 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.22 ▼0.03 | 98.85 ▼11.42 | 44.27 ▼2.46 |
Retreat Guru Settings /wp-admin/booking-manager.php?page=options-mbm | 26 | 0.44 | 0.09 | 15.59 |
Program & Help /wp-admin/booking-manager.php | 26 | 0.44 | 0.09 | 5.35 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- rs_remote_db_version
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/retreat-booking-guru-connect/views/admin-help.php
- 16× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/retreat-booking-guru-connect/templates/shortcode-teachers-single.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_query_arg() in wp-content/plugins/retreat-booking-guru-connect/views/admin-main.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/retreat-booking-guru-connect/templates/archive-teacher.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/retreat-booking-guru-connect/views/admin-help.php:100
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/retreat-booking-guru-connect/templates/archive-program.php:6
- > PHP Fatal error
Uncaught Error: Call to a member function get_programs_page() on null in wp-content/plugins/retreat-booking-guru-connect/templates/shortcode-programs-table.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/retreat-booking-guru-connect/templates/single-program.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/retreat-booking-guru-connect/templates/shortcode-programs-single.php:6
- > PHP Fatal error
Uncaught Error: Class 'RS_Connect_Api' not found in wp-content/plugins/retreat-booking-guru-connect/views/admin-programs.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/retreat-booking-guru-connect/templates/single-teacher.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/booking-manager.php?page=options-mbm
- > Network (severe)
wp-admin/booking-manager.php?page=options-mbm - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/booking-manager.php
- > Network (severe)
wp-admin/booking-manager.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Screenshot #1 (coming soon.) image missing
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== retreat-booking-guru-connect ===
)
retreat-booking-guru-connect/rs-connect.php 92% from 13 tests
"Retreat Booking Guru Connect" version 2.3.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("retreat-booking-guru-connect.php" instead of "rs-connect.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,893 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 352 | 94 | 1,687 |
CSS | 2 | 33 | 21 | 160 |
JavaScript | 3 | 9 | 6 | 38 |
Bourne Shell | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 19.80 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 16 | 28.57% |
▷ Public methods | 51 | 91.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.93% |
Functions | 1 | |
▷ Named functions | 1 | 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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin