Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.12ms] Passed 4 tests
Server-side resources used by Let's Participate WooCommerce Ticket Sales
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.48 ▼2.16 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.03 ▼2.64 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 52.94 ▲2.45 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.22 ▼8.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 33.35 ▼2.75 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
lp-js-token |
widget_recent-posts |
lp-part-lookup |
db_upgraded |
lp-field-town |
lp-email-organisers |
... |
Browser metrics Passed 4 tests
Let's Participate WooCommerce Ticket Sales: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲191 | 13.84 ▼0.53 | 12.94 ▲10.53 | 49.09 ▲1.73 |
Dashboard /wp-admin | 2,223 ▲46 | 5.56 ▼0.12 | 86.12 ▼17.29 | 40.34 ▼3.63 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.13 ▲0.02 | 39.89 ▲4.02 | 37.07 ▲3.08 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 22.85 ▼0.45 | 631.56 ▼36.94 | 51.42 ▼11.90 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.21 ▲0.03 | 104.42 ▼0.52 | 45.14 ▼2.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 11 options
- can_compress_scripts
- widget_theysaidso_widget
- lp-field-town
- widget_recent-comments
- widget_recent-posts
- lp-email-organisers
- lp-js-token
- lp-part-lookup
- lp-org-id
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 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 following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lets-participate-woocommerce-ticket-sales/lets-participate-woocomm.php:11
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: ticket sales, event platform
lets-participate-woocommerce-ticket-sales/lets-participate-woocomm.php 92% from 13 tests
The main file in "Let's Participate WooCommerce Ticket Sales" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("lets-participate-woocommerce-ticket-sales.php" instead of "lets-participate-woocomm.php")
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
No dangerous file extensions were detected963 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 118 | 122 | 716 |
JavaScript | 1 | 31 | 8 | 209 |
Markdown | 1 | 26 | 0 | 38 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 20 | |
▷ Named functions | 20 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin