Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼3.08ms] Passed 4 tests
This is a short check of server-side resources used by Appointify
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 43.39 ▲5.30 |
Dashboard /wp-admin | 3.47 ▲0.17 | 46.14 ▼3.69 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 55.20 ▲8.05 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 81.47 ▼15.87 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 34.35 ▲1.93 |
Settings /wp-admin/admin.php?page=appointify-settings | 3.46 | 34.43 |
Appointify /wp-admin/admin.php?page=appointify | 3.53 | 33.08 |
Server storage [IO: ▲7.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 831 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_user_data |
wp_holidays |
wp_tbl_events |
New WordPress options |
---|
calendar_working_hr |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Appointify
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲185 | 13.56 ▼0.84 | 7.19 ▲5.15 | 38.56 ▼6.35 |
Dashboard /wp-admin | 2,223 ▲80 | 5.83 ▲0.22 | 106.63 ▲6.25 | 36.75 ▼5.96 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.01 ▼0.05 | 39.88 ▲2.99 | 36.61 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 17.66 ▲0.00 | 667.45 ▼12.29 | 60.15 ▲9.64 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.23 ▲0.04 | 95.50 ▼17.21 | 47.41 ▲1.92 |
Settings /wp-admin/admin.php?page=appointify-settings | 869 | 1.94 | 30.17 | 69.76 |
Appointify /wp-admin/admin.php?page=appointify | 2,369 | 2.16 | 39.98 | 43.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 3 tables
- wp_tbl_events
- wp_holidays
- wp_user_data
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- calendar_working_hr
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 420× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Event\\SubscriberInterface' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/google/auth/src/Subscriber/AuthTokenSubscriber.php:37
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/guzzlehttp/guzzle/src/Pool.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/guzzlehttp/psr7/src/CachingStream.php:13
- > PHP Warning
Class 'Google\\AuthHandler\\AuthHandlerFactory' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/google/apiclient/src/aliases.php on line 33
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\PuTTY' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PuTTY.php:34
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Montgomery' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Montgomery.php:27
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\EC\\BaseCurves\\Prime' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP384t1.php:21
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\Base' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/Barrett.php:27
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\DSA' not found in wp-content/plugins/appointify/includes/calendar_google/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/PrivateKey.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: "appointify.app"
appointify/appointify.php Passed 13 tests
"Appointify" version 1.0.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
54 characters long description:
Most scheduling tools put the burden on the recipient.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected76,555 lines of code in 762 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 725 | 12,103 | 42,457 | 59,739 |
JavaScript | 16 | 1,605 | 749 | 6,960 |
CSS | 11 | 317 | 191 | 5,865 |
SVG | 2 | 1 | 0 | 2,726 |
JSON | 2 | 0 | 0 | 1,092 |
Python | 1 | 22 | 25 | 77 |
TypeScript | 1 | 3 | 120 | 34 |
XML | 2 | 0 | 0 | 28 |
YAML | 1 | 2 | 0 | 25 |
make | 1 | 4 | 0 | 9 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 105)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 11.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 660.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 105.00 |
Code structure | ||
---|---|---|
Namespaces | 79 | |
Interfaces | 43 | |
Traits | 14 | |
Classes | 662 | |
▷ Abstract classes | 214 | 32.33% |
▷ Concrete classes | 448 | 67.67% |
▷ Final classes | 39 | 8.71% |
Methods | 3,742 | |
▷ Static methods | 651 | 17.40% |
▷ Public methods | 2,881 | 76.99% |
▷ Protected methods | 384 | 10.26% |
▷ Private methods | 477 | 12.75% |
Functions | 198 | |
▷ Named functions | 62 | 31.31% |
▷ Anonymous functions | 136 | 68.69% |
Constants | 489 | |
▷ Global constants | 11 | 2.25% |
▷ Class constants | 478 | 97.75% |
▷ Public constants | 457 | 95.61% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/css/event-bg.png | 0.10KB | 0.12KB | 0.00% |
assets/banner-772x250.png | 64.53KB | 26.67KB | ▼ 58.67% |