Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.58ms] Passed 4 tests
Server-side resources used by FastBook - Responsive Appointment Booking and Scheduling System
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.71 ▼1.90 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.66 ▼2.41 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 56.20 ▲10.32 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.60 ▼8.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.61 ▲2.75 |
FastBook Settings /wp-admin/admin.php?page=fastbook-responsive-appointment-booking-and-scheduling-system/fastbook.php | 3.22 | 31.98 |
Appointments List /wp-admin/admin.php?page=appointments | 3.22 | 35.55 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_booked_appointments |
wp_appointment_settings |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by FastBook - Responsive Appointment Booking and Scheduling System
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲207 | 13.60 ▼0.71 | 9.96 ▲8.29 | 69.17 ▲26.47 |
Dashboard /wp-admin | 2,227 ▲39 | 5.83 ▲0.76 | 116.10 ▲7.45 | 43.30 ▲0.94 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.02 ▲0.03 | 41.99 ▲5.39 | 34.85 ▲3.53 |
Add New Post /wp-admin/post-new.php | 1,556 ▲36 | 23.18 ▲0.05 | 614.10 ▼5.78 | 48.92 ▼11.94 |
Media Library /wp-admin/upload.php | 1,415 ▲33 | 4.20 ▲0.02 | 97.48 ▼6.74 | 41.75 ▼5.01 |
FastBook Settings /wp-admin/admin.php?page=fastbook-responsive-appointment-booking-and-scheduling-system/fastbook.php | 923 | 2.02 | 22.39 | 27.14 |
Appointments List /wp-admin/admin.php?page=appointments | 841 | 2.06 | 28.84 | 27.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=fastbook-responsive-appointment-booking-and-scheduling-system/fastbook.php
- > Notice in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/settings.php+37
Undefined index: update_lable
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/settings.php:20
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/createtable.php on line 21
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/createtable.php on line 3
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/viewform.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/fastbook.php:13
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/listdata.php:5
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/createtable.php on line 21
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/createtable.php on line 9
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/settings.php on line 19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/fastbook-responsive-appointment-booking-and-scheduling-system/createtable.php on line 21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: online appointment scheduling system, wordpress online appointment scheduling system, scheduling plugin, appointment booking plugin, online appointment booking...
fastbook-responsive-appointment-booking-and-scheduling-system/fastbook.php 92% from 13 tests
The primary PHP file in "FastBook - Responsive Appointment Booking and Scheduling System" version 1.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fastbook-responsive-appointment-booking-and-scheduling-system.php" instead of "fastbook.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,681 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 93 | 42 | 1,074 |
CSS | 2 | 10 | 2 | 358 |
PHP | 5 | 26 | 10 | 249 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected