Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼32.58ms] Passed 4 tests
An overview of server-side resources used by Appointmind
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 44.25 ▼1.63 |
Dashboard /wp-admin | 3.05 ▼0.25 | 30.24 ▼23.84 |
Posts /wp-admin/edit.php | 3.06 ▼0.31 | 23.18 ▼26.90 |
Add New Post /wp-admin/post-new.php | 3.06 ▼2.84 | 29.04 ▼65.45 |
Media Library /wp-admin/upload.php | 3.06 ▼0.18 | 22.02 ▼14.12 |
Appointmind Calendar /wp-admin/options-general.php?page=appointmind-settings | 3.06 | 25.13 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
widget_appointmind_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Appointmind
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲91 | 13.66 ▼0.99 | 8.37 ▲6.05 | 42.38 ▼2.63 |
Dashboard /wp-admin | 2,202 ▲28 | 5.61 ▼0.05 | 94.30 ▼5.55 | 41.67 ▼1.74 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.00 ▲0.01 | 34.08 ▼1.91 | 34.92 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.23 ▼0.03 | 695.28 ▲56.21 | 64.54 ▲9.08 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.28 ▲0.12 | 100.38 ▼1.49 | 45.52 ▼0.03 |
Appointmind Calendar /wp-admin/options-general.php?page=appointmind-settings | 914 | 1.99 | 21.53 | 28.14 |
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 cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_appointmind_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=appointmind-settings
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/appointmind/templates/article_order_form.php
- 26× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/appointmind/widget.php:5
- > PHP Notice
Undefined variable: before_title in wp-content/plugins/appointmind/templates/widget.php on line 2
- > PHP Notice
Undefined variable: appointmindUrlParameters in wp-content/plugins/appointmind/templates/article_calendar.php on line 2
- > PHP Notice
Undefined variable: view in wp-content/plugins/appointmind/templates/article_calendar.php on line 3
- > PHP Notice
Undefined variable: view in wp-content/plugins/appointmind/templates/article_order_form.php on line 4
- > PHP Notice
Trying to get property 'iframeWidth' of non-object in wp-content/plugins/appointmind/templates/article_order_form.php on line 4
- > PHP Notice
Undefined variable: view in wp-content/plugins/appointmind/templates/article_calendar.php on line 3
- > PHP Notice
Undefined variable: appointmindUrlDomain in wp-content/plugins/appointmind/templates/article_calendar.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/appointmind/widget.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/appointmind/templates/general_settings.php:2
- > PHP Fatal error
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 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Appointmind settings page)
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
appointmind/appointmind.php 92% from 13 tests
The main file in "Appointmind" v. 3.10.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 448 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 detected410 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 98 | 99 | 354 |
PO File | 1 | 22 | 0 | 55 |
JavaScript | 1 | 1 | 7 | 1 |
PHP code Passed 2 tests
Analyzing 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.22 |
Average class complexity | 9.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 86.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 13.64% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 39.73KB | 21.61KB | ▼ 45.60% |
images/calendar.png | 3.23KB | 3.03KB | ▼ 5.96% |