Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.03ms] Passed 4 tests
A check of server-side resources used by Planyo online reservations - WooCommerce integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 25.20 ▼18.74 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.33 ▲5.86 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 64.55 ▲18.08 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 86.29 ▼1.47 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.40 ▲2.22 |
Planyo WooCommerce Integration /wp-admin/options-general.php?page=planyowc | 3.23 | 30.57 |
Server storage [IO: ▲0.03MB] [DB: ▲0.33MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Planyo online reservations - WooCommerce integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,473 ▼284 | 14.45 ▲0.02 | 0.50 ▼1.53 | 16.22 ▼35.16 |
Dashboard /wp-admin | 2,215 ▲24 | 4.85 ▼0.17 | 104.37 ▼0.09 | 39.79 ▼5.95 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 1.99 ▼0.07 | 44.59 ▲0.31 | 39.75 ▲6.16 |
Add New Post /wp-admin/post-new.php | 1,533 ▲12 | 23.17 ▼0.31 | 649.37 ▲24.24 | 64.10 ▲18.66 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.24 ▼0.04 | 94.04 ▼2.69 | 41.66 ▼0.15 |
Planyo WooCommerce Integration /wp-admin/options-general.php?page=planyowc | 826 | 2.03 | 23.73 | 26.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.33MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% 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 everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/planyo-woocommerce-integration/planyowc.php:152
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
- Donate link: Please fix this invalid url: ""
planyo-woocommerce-integration/planyowc.php 85% from 13 tests
The main file in "Planyo online reservations - WooCommerce integration" v. 1.0 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 keep the plugin description shorter than 140 characters (currently 293 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("planyo-woocommerce-integration.php" instead of "planyowc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin376 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 24 | 323 |
JavaScript | 1 | 7 | 6 | 51 |
CSS | 1 | 0 | 0 | 1 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin