Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼5.26ms] Passed 4 tests
This is a short check of server-side resources used by CPJ Calendar Appointment Scheduler
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 40.41 ▲2.93 |
Dashboard /wp-admin | 3.52 ▲0.17 | 50.65 ▼8.11 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 44.35 ▼1.64 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 82.50 ▼14.23 |
Media Library /wp-admin/upload.php | 3.45 ▲0.21 | 36.61 ▲2.93 |
CPJ Appt Time Settings /wp-admin/admin.php?page=cpj-appt-schedule-time-settings | 3.41 | 51.84 |
CPJ Appt Schedule Admin /wp-admin/admin.php?page=cpj-appt-schedule-admin-menu | 3.41 | 36.45 |
CPJ Appt E-mail Settings /wp-admin/admin.php?page=cpj-appt-schedule-email-settings | 3.48 | 36.74 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_cpj_appt_email_content |
wp_cpj_schedule_day_time |
wp_cpj_appt_schedule |
wp_cpj_appt_users |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for CPJ Calendar Appointment Scheduler
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲203 | 13.86 ▼0.50 | 9.77 ▲8.23 | 43.14 ▲4.92 |
Dashboard /wp-admin | 2,239 ▲59 | 5.62 ▼0.06 | 87.32 ▼0.63 | 41.98 ▼1.83 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.06 ▲0.10 | 34.87 ▼1.28 | 34.70 ▼1.45 |
Add New Post /wp-admin/post-new.php | 6,407 ▲4,879 | 27.81 ▲4.60 | 908.78 ▲255.69 | 38.37 ▼13.32 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.24 ▲0.05 | 95.19 ▼1.11 | 40.62 ▼1.62 |
CPJ Appt Time Settings /wp-admin/admin.php?page=cpj-appt-schedule-time-settings | 1,369 | 2.12 | 29.67 | 33.77 |
CPJ Appt Schedule Admin /wp-admin/admin.php?page=cpj-appt-schedule-admin-menu | 927 | 2.16 | 28.61 | 28.19 |
CPJ Appt E-mail Settings /wp-admin/admin.php?page=cpj-appt-schedule-email-settings | 1,603 | 6.77 | 133.40 | 57.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: appointment scheduler, block, calendar
cpj-calendar-appointment-scheduler/cpj-calendar-schedule.php 77% from 13 tests
"CPJ Calendar Appointment Scheduler" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 882 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cpj-calendar-appointment-scheduler.php" instead of "cpj-calendar-schedule.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected18,861 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 16,137 |
PHP | 5 | 545 | 46 | 1,102 |
CSS | 5 | 40 | 27 | 882 |
JavaScript | 7 | 305 | 95 | 683 |
Sass | 2 | 3 | 0 | 57 |
PHP code Passed 2 tests
This is a very shot review 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.15 |
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 | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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