Benchmarks
Plugin footprint 65% 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.22MB] [CPU: ▼8.79ms] Passed 4 tests
Server-side resources used by Doctor Appointment Booking
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 41.10 ▼2.54 |
Dashboard /wp-admin | 3.58 ▲0.23 | 48.10 ▼17.90 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 57.33 ▲6.39 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 89.33 ▼18.59 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 38.01 ▲3.89 |
Appointments /wp-admin/admin.php?page=ctmdcd-manage-appointments | 3.45 | 41.80 |
Prescription /wp-admin/admin.php?page=ctmdcd-manage-prescriptions | 3.45 | 39.50 |
Patients /wp-admin/admin.php?page=ctmdcd-manage-patients | 3.45 | 34.73 |
Billing /wp-admin/admin.php?page=ctmdcd-manage-billing | 3.41 | 32.63 |
Settings /wp-admin/admin.php?page=ctmdcd-settings | 3.62 | 37.51 |
Chambers /wp-admin/admin.php?page=ctmdcd-manage-chambers | 3.45 | 34.60 |
Server storage [IO: ▲7.13MB] [DB: ▲0.02MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/doctor-appointment-booking/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 190 new files
Database: 6 new tables, 6 new options
New tables |
---|
wp_ctmdcd_settings |
wp_ctmdcd_chamber |
wp_ctmdcd_country |
wp_ctmdcd_prescription |
wp_ctmdcd_patient |
wp_ctmdcd_appointment |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Doctor Appointment Booking
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 13.20 ▼1.22 | 1.76 ▲0.05 | 43.07 ▲2.63 |
Dashboard /wp-admin | 2,254 ▲47 | 5.79 ▼0.12 | 102.27 ▼13.08 | 39.57 ▼2.97 |
Posts /wp-admin/edit.php | 2,139 ▲36 | 2.05 ▲0.04 | 40.60 ▲2.23 | 36.89 ▲4.89 |
Add New Post /wp-admin/post-new.php | 1,589 ▲58 | 18.13 ▼5.15 | 628.89 ▼0.34 | 78.82 ▲21.75 |
Media Library /wp-admin/upload.php | 1,439 ▲36 | 4.19 ▼0.06 | 103.45 ▲1.14 | 41.83 ▼2.12 |
Appointments /wp-admin/admin.php?page=ctmdcd-manage-appointments | 1,531 | 4.18 | 89.20 | 74.83 |
Prescription /wp-admin/admin.php?page=ctmdcd-manage-prescriptions | 1,288 | 3.59 | 70.88 | 45.91 |
Patients /wp-admin/admin.php?page=ctmdcd-manage-patients | 1,230 | 3.32 | 57.59 | 32.48 |
Billing /wp-admin/admin.php?page=ctmdcd-manage-billing | 903 | 2.74 | 30.62 | 25.09 |
Settings /wp-admin/admin.php?page=ctmdcd-settings | 2,021 | 3.01 | 43.37 | 75.82 |
Chambers /wp-admin/admin.php?page=ctmdcd-manage-chambers | 983 | 2.69 | 30.41 | 31.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 6 tables
- wp_ctmdcd_chamber
- wp_ctmdcd_patient
- wp_ctmdcd_settings
- wp_ctmdcd_country
- wp_ctmdcd_prescription
- wp_ctmdcd_appointment
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 50× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/doctor-appointment-booking/vendor/composer/autoload_psr4.php
- > /wp-content/plugins/doctor-appointment-booking/inc/base/Activate.php
- > /wp-content/plugins/doctor-appointment-booking/templates/section-appointment-list.php
- > /wp-content/plugins/doctor-appointment-booking/inc/base/BaseController.php
- > /wp-content/plugins/doctor-appointment-booking/templates/modal-chamber-edit.php
- > /wp-content/plugins/doctor-appointment-booking/templates/blank-prescription-entry.php
- > /wp-content/plugins/doctor-appointment-booking/templates/modal.php
- > /wp-content/plugins/doctor-appointment-booking/inc/api/SettingsApi.php
- > /wp-content/plugins/doctor-appointment-booking/templates/page-settings.php
- > /wp-content/plugins/doctor-appointment-booking/templates/modal-prescription-view.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=ctmdcd-settings
- > Network (severe)
wp-content/plugins/doctor-appointment-booking/assets/images/preloader.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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 require attention:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
doctor-appointment-booking/doctor-appointment-booking.php 92% from 13 tests
The principal PHP file in "Doctor Appointment Booking" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 145 characters long)
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
Good job! No executable or dangerous file extensions detected52,187 lines of code in 159 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 68 | 4,127 | 3,588 | 27,237 |
CSS | 9 | 1,535 | 280 | 14,696 |
PHP | 51 | 515 | 337 | 4,039 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
JSON | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 103 | |
▷ Static methods | 36 | 34.95% |
▷ Public methods | 68 | 66.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 35 | 33.98% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
6 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 |
assets/jquery-ui/images/ui-icons_777777_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |
assets/jquery-ui/images/ui-icons_444444_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |
assets/jquery-ui/images/ui-icons_cc0000_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/jquery-ui/images/ui-icons_ffffff_256x240.png | 6.33KB | 4.18KB | ▼ 33.99% |
assets/jquery-ui/images/ui-icons_777620_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |