78% easyappointments

Code Review | Easy!Appointments

WordPress plugin Easy!Appointments scored78%from 54 tests.

About plugin

  • Plugin page: easyappointments
  • Plugin version: 1.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Apr 17, 2016
  • Latest release: Mar 22, 2023
  • Number of updates: 23
  • Update frequency: every 110.1 days
  • Top authors: alextselegidis (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

800+ active /29,875 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.09MB] [CPU: ▼7.02ms] Passed 4 tests

A check of server-side resources used by Easy!Appointments
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1041.43 ▲4.70
Dashboard /wp-admin3.40 ▲0.0646.21 ▼13.39
Posts /wp-admin/edit.php3.51 ▲0.1649.56 ▲5.14
Add New Post /wp-admin/post-new.php5.98 ▲0.1081.87 ▼19.75
Media Library /wp-admin/upload.php3.32 ▲0.1033.95 ▲0.37
Easy!Appointments /wp-admin/options-general.php?page=easyappointments-settings3.3332.46

Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Easy!Appointments
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,912 ▲16613.85 ▼0.806.01 ▲4.2543.75 ▲3.69
Dashboard /wp-admin2,210 ▲224.86 ▼0.93109.98 ▲9.4339.24 ▼1.29
Posts /wp-admin/edit.php2,096 ▲41.97 ▼0.0441.38 ▲4.5935.71 ▲2.43
Add New Post /wp-admin/post-new.php1,536 ▲1522.99 ▼0.23659.49 ▲2.4658.79 ▲9.81
Media Library /wp-admin/upload.php1,392 ▲14.18 ▼0.0896.10 ▼4.8143.49 ▲1.03
Easy!Appointments /wp-admin/options-general.php?page=easyappointments-settings1,0012.1126.8027.98

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 0% 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 take a closer look at the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/easyappointments/public/partials/easyappointments-public-display.php
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_thickbox() in wp-content/plugins/easyappointments/admin/partials/easyappointments-admin-display.php:16

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 on the user side


Plugin configuration 93% 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
Attributes that need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === easyappointments === )
  • Tags: Please delete some tags, you are using 16 tag instead of maximum 10
Please take inspiration from this readme.txt

easyappointments/easyappointments.php Passed 13 tests

"Easy!Appointments" version 1.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
67 characters long description:
Easy!Appointments appointment scheduling integration for WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,266 lines of code in 21 files:
LanguageFilesBlank linesComment linesLines of code
PO File285110427

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity5.57
▷ Minimum class complexity1.00
▷ Maximum class complexity19.00
Average method complexity1.73
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods39.38%
▷ Public methods2475.00%
▷ Protected methods39.38%
▷ Private methods515.62%
▷ Named functions360.00%
▷ Anonymous functions240.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/img/about.png33.54KB22.03KB▼ 34.32%
admin/img/logo.png5.41KB3.37KB▼ 37.62%