Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼170.15ms] Passed 4 tests
Server-side resources used by Rezque Appointments
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 39.53 ▲6.04 |
Dashboard /wp-admin | 3.08 ▲0.02 | 46.87 ▲4.05 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 39.57 ▼5.13 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.00 | 90.42 ▼677.32 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 32.63 ▼2.20 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rezque Appointments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,723 ▲127 | 15.98 ▲0.45 | 9.12 ▲0.77 | 47.93 ▼4.27 |
Dashboard /wp-admin | 2,987 ▲53 | 5.90 ▼0.06 | 132.05 ▼21.73 | 113.74 ▼7.23 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.72 ▼0.00 | 61.93 ▼2.25 | 90.34 ▲1.11 |
Add New Post /wp-admin/post-new.php | 1,696 ▲13 | 18.81 ▲0.03 | 392.97 ▲1.51 | 110.85 ▼0.96 |
Media Library /wp-admin/upload.php | 1,830 ▲20 | 5.05 ▲0.04 | 142.99 ▼3.81 | 119.77 ▼3.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: multi-resource, appointments, schedules, scheduling, book...
rezque/rezque.php Passed 13 tests
The main PHP script in "Rezque Appointments" version 1.0.3 is automatically included on every request by WordPress
128 characters long description:
Book appointments from one to many users with custom settings from time zones, buffers, appointment time, start times, and more!
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 plugin2,485 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 204 | 261 | 1,894 |
CSS | 3 | 23 | 24 | 375 |
PHP | 3 | 46 | 23 | 216 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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