Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/dental-optimizer-patient-generator-app/dental-patient-generator-app.php+254
Methods with the same name as their class will not be constructors in a future version of PHP; dental_widget_code_widget has a deprecated constructor
Server metrics [RAM: ▼1.86MB] [CPU: ▼61.63ms] Passed 4 tests
This is a short check of server-side resources used by Dental Optimizer Patient Generator App
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 4.66 ▼37.46 |
Dashboard /wp-admin | 2.16 ▼1.18 | 10.97 ▼55.30 |
Posts /wp-admin/edit.php | 2.16 ▼1.19 | 6.46 ▼48.66 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.72 | 8.26 ▼105.09 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 6.34 ▼30.39 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
ps_dwc |
can_compress_scripts |
widget_dentalcodewi |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Dental Optimizer Patient Generator App
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.25 ▼1.17 | 1.77 ▼0.10 | 41.51 ▼3.26 |
Dashboard /wp-admin | 2,234 ▲37 | 4.90 ▲0.06 | 106.89 ▲0.86 | 81.81 ▲37.86 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.04 ▼0.01 | 39.51 ▼2.40 | 34.73 ▼4.14 |
Add New Post /wp-admin/post-new.php | 1,702 ▲168 | 22.58 ▼0.92 | 747.18 ▲94.71 | 48.93 ▼22.20 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.26 ▲0.05 | 100.08 ▼3.42 | 80.08 ▲33.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/dental-optimizer-patient-generator-app/dental-patient-generator-app.php+254
Methods with the same name as their class will not be constructors in a future version of PHP; dental_widget_code_widget has a deprecated constructor
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- ps_dwc
- widget_dentalcodewi
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/dental-optimizer-patient-generator-app/step2.php
- > /wp-content/plugins/dental-optimizer-patient-generator-app/step1.php
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: siteurlremote in wp-content/plugins/dental-optimizer-patient-generator-app/step2.php on line 21
- > PHP Notice
Undefined variable: ps_dwc_plugin_url in wp-content/plugins/dental-optimizer-patient-generator-app/step1.php on line 65
- > PHP Notice
Undefined variable: siteurlremote in wp-content/plugins/dental-optimizer-patient-generator-app/step2.php on line 60
- > PHP Notice
Undefined variable: ps_dwc_plugin_page_url in wp-content/plugins/dental-optimizer-patient-generator-app/step2.php on line 40
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/dental-optimizer-patient-generator-app/dental-patient-generator-app.php:23
- > PHP Notice
Undefined variable: ps_widgetid in wp-content/plugins/dental-optimizer-patient-generator-app/step2.php on line 21
- > PHP Notice
Undefined variable: ps_widgetid in wp-content/plugins/dental-optimizer-patient-generator-app/step2.php on line 60
- > PHP Notice
Undefined variable: ps_dwc_plugin_url in wp-content/plugins/dental-optimizer-patient-generator-app/step1.php on line 96
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/dental-optimizer-patient-generator-app/authentication.php:10
- > PHP Notice
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Login/Registration page, It facilitates login/registration into [DentalOptimizer](http://www.dentaloptimizer.com "DentalOptimizer").), #2 (Select modules to display in widget here.), #3 (Grab the code to display widget in sidebar or in post.)
dental-optimizer-patient-generator-app/dental-patient-generator-app.php 85% from 13 tests
"Dental Optimizer Patient Generator App" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dental-optimizer-patient-generator-app.php" instead of "dental-patient-generator-app.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 192 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,665 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 53 | 18 | 944 |
PHP | 4 | 23 | 13 | 525 |
JavaScript | 1 | 4 | 18 | 196 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) images/icon.png | 1.12KB | 0.00KB | ▼ 100.00% |
images/sprite.png | 69.85KB | 5.20KB | ▼ 92.55% |