Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▼1.77MB] [CPU: ▼50.78ms] Passed 4 tests
This is a short check of server-side resources used by WordPress Appointment Booking and Online Scheduling Plugin by Appointy
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.23 | 6.55 ▼30.68 |
Dashboard /wp-admin | 2.25 ▼1.09 | 7.86 ▼48.16 |
Posts /wp-admin/edit.php | 2.25 ▼1.11 | 7.44 ▼44.49 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.64 | 8.54 ▼79.80 |
Media Library /wp-admin/upload.php | 2.25 ▼0.98 | 8.44 ▼26.27 |
Server storage [IO: ▲7.93MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
WordPress Appointment Booking and Online Scheduling Plugin by Appointy: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲179 | 14.73 ▲0.38 | 1.84 ▲0.10 | 43.28 ▼1.52 |
Dashboard /wp-admin | 2,242 ▲65 | 5.79 ▲0.15 | 104.61 ▲17.47 | 47.59 ▲7.84 |
Posts /wp-admin/edit.php | 2,159 ▲59 | 2.29 ▲0.34 | 37.75 ▲2.83 | 38.58 ▲4.07 |
Add New Post /wp-admin/post-new.php | 1,425 ▼110 | 21.64 ▲3.56 | 565.71 ▼45.53 | 39.79 ▼29.12 |
Media Library /wp-admin/upload.php | 1,453 ▲56 | 4.43 ▲0.29 | 99.33 ▼3.40 | 49.22 ▲3.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/appointy-appointment-scheduler/admin/class-appointy-appointment-scheduler-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/appointy-appointment-scheduler/admin/class-appointy-appointment-scheduler-ajax.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 158 tag instead of maximum 10
appointy-appointment-scheduler/appointy-appointment-scheduler.php 77% from 13 tests
Analyzing the main PHP file in "WordPress Appointment Booking and Online Scheduling Plugin by Appointy" version 4.2.1
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: The text domain should only use lowercase characters and dashes
- Description: Keep the plugin description shorter than 140 characters (currently 213 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin2,385 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 283 | 453 | 1,088 |
CSS | 4 | 176 | 85 | 1,014 |
JavaScript | 3 | 26 | 13 | 206 |
Markdown | 1 | 24 | 0 | 77 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 61 | 91.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 8.96% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/google.png | 7.82KB | 8.10KB | 0.00% |
admin/img/play-button.png | 0.82KB | 0.50KB | ▼ 38.68% |
admin/img/captura.png | 8.41KB | 8.79KB | 0.00% |
admin/img/crowd.png | 9.03KB | 9.40KB | 0.00% |
public/img/scheduleme.png | 6.48KB | 2.96KB | ▼ 54.38% |