Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼7.08ms] Passed 4 tests
Server-side resources used by Simple Clinic
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 41.88 ▲0.39 |
Dashboard /wp-admin | 3.54 ▲0.20 | 48.13 ▼13.13 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 47.12 ▲1.46 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 81.15 ▼17.04 |
Media Library /wp-admin/upload.php | 3.46 ▲0.24 | 37.44 ▲2.10 |
Simple Clinic Settings /wp-admin/options-general.php?page=simpleclinic_settings | 3.40 | 34.54 |
Add New /wp-admin/post-new.php?post_type=sc_provider | 3.38 | 34.71 |
Specialties /wp-admin/edit-tags.php?taxonomy=sc_specialty&post_type=sc_provider | 3.46 | 34.77 |
All Providers /wp-admin/edit.php?post_type=sc_provider | 3.51 | 36.39 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Clinic
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.24 ▼1.13 | 4.40 ▲2.51 | 43.41 ▼1.25 |
Dashboard /wp-admin | 2,241 ▲59 | 4.88 ▲0.01 | 101.64 ▼17.34 | 40.45 ▼3.24 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.06 ▲0.04 | 39.56 ▲4.36 | 35.78 ▼2.14 |
Add New Post /wp-admin/post-new.php | 6,379 ▲4,837 | 27.84 ▲9.29 | 883.98 ▲256.49 | 58.50 ▲10.07 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.20 ▲0.03 | 98.06 ▲0.78 | 43.33 ▼0.07 |
Simple Clinic Settings /wp-admin/options-general.php?page=simpleclinic_settings | 981 | 2.06 | 24.12 | 43.83 |
Add New /wp-admin/post-new.php?post_type=sc_provider | 2,378 | 7.62 | 171.68 | 83.15 |
Specialties /wp-admin/edit-tags.php?taxonomy=sc_specialty&post_type=sc_provider | 1,293 | 2.14 | 26.03 | 29.34 |
All Providers /wp-admin/edit.php?post_type=sc_provider | 1,105 | 2.00 | 32.64 | 28.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simpleclinic_settings
- > Notice in wp-content/plugins/simple-clinic/settings.php+134
Trying to access array offset on value of type bool
- > GET request to /wp-admin/post-new.php?post_type=sc_provider
- > Notice in wp-content/plugins/simple-clinic/simpleclinic.php+283
Undefined index: pagemeta_noncename
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
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-clinic/avada/fusionbuilder.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-clinic/simpleclinic.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-clinic/gutenberg/gutenberg.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-clinic/settings.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
7 plugin tags: medical, fusion builder, modalities, practitioners, modality...
simple-clinic/simpleclinic.php 85% from 13 tests
The principal PHP file in "Simple Clinic" v. 1.0.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-clinic.php" instead of "simpleclinic.php")
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
Everything looks great! No dangerous files found in this plugin1,263 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 255 | 113 | 1,109 |
JavaScript | 1 | 10 | 3 | 99 |
CSS | 1 | 12 | 0 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin