100% rezque

Code Review | Rezque Appointments

WordPress plugin Rezque Appointments scored 100% from 54 tests.

About plugin

  • Plugin page: rezque
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7.1-4.5
  • WordPress version: 5.8.1
  • First release: Nov 23, 2015
  • Latest release: Jan 20, 2020
  • Number of updates: 11
  • Update frequency: every 138.2 days
  • Top authors: boopis (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 857 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.0139.53 ▲6.04
Dashboard /wp-admin3.08 ▲0.0246.87 ▲4.05
Posts /wp-admin/edit.php3.13 ▲0.0239.57 ▼5.13
Add New Post /wp-admin/post-new.php5.44 ▼0.0090.42 ▼677.32
Media Library /wp-admin/upload.php3.02 ▲0.0232.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,723 ▲12715.98 ▲0.459.12 ▲0.7747.93 ▼4.27
Dashboard /wp-admin2,987 ▲535.90 ▼0.06132.05 ▼21.73113.74 ▼7.23
Posts /wp-admin/edit.php2,759 ▲202.72 ▼0.0061.93 ▼2.2590.34 ▲1.11
Add New Post /wp-admin/post-new.php1,696 ▲1318.81 ▲0.03392.97 ▲1.51110.85 ▼0.96
Media Library /wp-admin/upload.php1,830 ▲205.05 ▲0.04142.99 ▼3.81119.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:
LanguageFilesBlank linesComment linesLines of code
JavaScript22042611,894
CSS32324375
PHP34623216

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 code0.38
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.75
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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