Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼290.63ms] Passed 4 tests
Analyzing server-side resources used by Appointment Booking, Scheduling & Calendar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 52.06 ▲1.58 |
Dashboard /wp-admin | 3.43 ▲0.03 | 31.90 ▲0.02 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 36.42 ▲0.10 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 92.88 ▼1,161.52 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 24.78 ▼1.13 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Appointment Booking, Scheduling & Calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,815 ▲61 | 15.83 ▲0.16 | 6.09 ▼0.17 | 2.16 ▼0.25 |
Dashboard /wp-admin | 2,912 ▲54 | 6.12 ▼0.07 | 115.40 ▼14.81 | 154.15 ▼3.72 |
Posts /wp-admin/edit.php | 2,708 ▲20 | 3.25 ▲0.01 | 64.24 ▲2.14 | 137.71 ▲2.28 |
Add New Post /wp-admin/post-new.php | 1,773 ▲112 | 17.51 ▲1.31 | 419.47 ▲10.44 | 159.65 ▲3.11 |
Media Library /wp-admin/upload.php | 1,715 ▲17 | 5.54 ▲0.03 | 137.13 ▼11.99 | 186.78 ▼1.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
Please fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/appointment-booking-scheduling-calendar/php/main.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/appointment-booking-scheduling-calendar/php/admin.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/appointment-booking-scheduling-calendar/greatat_absc.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: events, availability, scheduling, appointments, calendar...
appointment-booking-scheduling-calendar/greatat_absc.php 85% from 13 tests
The principal PHP file in "Appointment Booking, Scheduling & Calendar" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 183 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("appointment-booking-scheduling-calendar.php" instead of "greatat_absc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin463 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 54 | 5 | 273 |
PHP | 3 | 35 | 14 | 139 |
JavaScript | 1 | 7 | 5 | 51 |
PHP code Passed 2 tests
This is a short overview 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.25 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin