Benchmarks
Plugin footprint 83% 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.28MB] [CPU: ▼10.18ms] Passed 4 tests
Server-side resources used by KeenSalon Companion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.36 | 48.50 ▲1.25 |
Dashboard /wp-admin | 3.91 ▲0.27 | 53.81 ▼22.83 |
Posts /wp-admin/edit.php | 3.96 ▲0.28 | 53.34 ▲2.30 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.30 | 90.39 ▼7.86 |
Media Library /wp-admin/upload.php | 3.77 ▲0.28 | 42.19 ▼11.26 |
All Packages /wp-admin/edit.php?post_type=package | 3.87 | 44.19 |
Package Categories /wp-admin/edit-tags.php?taxonomy=package_category&post_type=package | 3.76 | 40.14 |
Add New Package /wp-admin/post-new.php?post_type=package | 3.81 | 48.47 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_keensalon_card_widget |
theysaidso_admin_options |
keensaloncompanion_version |
widget_recent-comments |
widget_keensalon_package_widget |
keensalon_companion_install_date |
can_compress_scripts |
widget_keensalon_section_title_widget |
widget_keensalon_recent_post |
widget_keensalon_feature_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by KeenSalon Companion
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲152 | 13.47 ▼0.91 | 8.51 ▲6.56 | 40.47 ▼3.03 |
Dashboard /wp-admin | 2,230 ▲50 | 5.68 ▼0.01 | 90.23 ▼3.96 | 38.28 ▼1.28 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.05 ▲0.04 | 37.05 ▼1.47 | 32.14 ▼5.58 |
Add New Post /wp-admin/post-new.php | 1,559 ▲27 | 23.11 ▲0.06 | 645.31 ▼48.85 | 48.80 ▼7.86 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.23 ▼0.06 | 106.28 ▼7.26 | 44.00 ▼3.81 |
All Packages /wp-admin/edit.php?post_type=package | 1,113 | 2.02 | 32.32 | 31.69 |
Package Categories /wp-admin/edit-tags.php?taxonomy=package_category&post_type=package | 1,315 | 2.16 | 26.83 | 30.28 |
Add New Package /wp-admin/post-new.php?post_type=package | 1,591 | 2.68 | 58.66 | 57.11 |
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
- Zombie WordPress options were found after uninstall: 13 options
- widget_keensalon_recent_post
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_keensalon_package_widget
- keensaloncompanion_version
- widget_keensalon_section_title_widget
- widget_keensalon_feature_widget
- widget_recent-comments
- keensalon_companion_install_date
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/post-new.php?post_type=package
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/post-new.php?post_type=package:405:38)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=package
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Plugin backend) image not found
keensalon-companion/keensalon-companion.php Passed 13 tests
The main file in "KeenSalon Companion" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
86 characters long description:
5 extremely useful custom widgets and package post type to create an engaging website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,016 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 220 | 281 | 887 |
CSS | 4 | 33 | 11 | 127 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 42 | |
▷ Static methods | 4 | 9.52% |
▷ Public methods | 40 | 95.24% |
▷ Protected methods | 2 | 4.76% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/no-featured-img.png | 0.33KB | 0.38KB | 0.00% |
assets/images/ico-delete.png | 0.65KB | 0.72KB | 0.00% |