Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WpToKlickTipp::activate() should not be called statically
Server metrics [RAM: ▼0.70MB] [CPU: ▼22.36ms] Passed 4 tests
An overview of server-side resources used by WOO-EMI: Wordpress & WooCommerce Upsell Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 42.75 ▼1.77 |
Dashboard /wp-admin | 3.23 ▼0.07 | 35.20 ▼13.77 |
Posts /wp-admin/edit.php | 3.30 ▼0.06 | 38.77 ▼11.15 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.69 | 38.56 ▼56.90 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.43 ▼7.62 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 68 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_wptkt_log |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
wptkt_db_version |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
wptkt_wordpress_cron |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WOO-EMI: Wordpress & WooCommerce Upsell Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲84 | 14.42 ▲0.01 | 1.86 ▼0.12 | 43.26 ▲1.44 |
Dashboard /wp-admin | 2,251 ▲45 | 5.82 ▼0.06 | 96.12 ▼10.72 | 45.01 ▼0.25 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.04 ▼0.02 | 44.17 ▲5.57 | 34.90 ▼1.19 |
Add New Post /wp-admin/post-new.php | 1,568 ▲37 | 23.38 ▲0.17 | 654.23 ▼39.95 | 53.33 ▲4.99 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.18 ▼0.03 | 106.87 ▼5.29 | 43.87 ▼2.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WpToKlickTipp::deactivate() should not be called statically
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- wptkt_db_version
- theysaidso_admin_options
Smoke tests 50% 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 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
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/wp-to-klick-tipp.inc.php
- > /wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/wp-to-klick-tipp.php
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/inc/order2autoresponder.inc.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/inc/cron/cron_woocommerce.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/vendor/wp-background-processing/classes/wp-background-process.php:16
- > PHP Fatal error
Uncaught Error: Class 'WpToKlickTippApi' not found in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/inc/order2kt.inc.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/inc/csv_export.inc.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/inc/class.wp-to-klick-tipp-api.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/inc/cron/cron_wordpress.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function get_user_by() in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/inc/wpuser2autoresponder.inc.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/vendor/wp-background-processing/wp-background-processing.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-to-klick-tipp-tag-basiertes-e-mail-marketing/inc/class.wp-to-klick-tipp-background-save.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Tags: There are too many tags (62 tag instead of maximum 10)
wp-to-klick-tipp-tag-basiertes-e-mail-marketing/wp-to-klick-tipp.php 92% from 13 tests
"WOO-EMI: Wordpress & WooCommerce Upsell Plugin" version 3.8.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-to-klick-tipp-tag-basiertes-e-mail-marketing.php" instead of "wp-to-klick-tipp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin7,309 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 1,409 | 1,315 | 4,415 |
PO File | 6 | 768 | 864 | 2,434 |
SVG | 1 | 0 | 0 | 229 |
Markdown | 1 | 54 | 0 | 104 |
CSS | 2 | 19 | 5 | 77 |
JavaScript | 5 | 5 | 2 | 32 |
JSON | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 33.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 74.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 2 | 20.00% |
▷ Concrete classes | 8 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 130 | |
▷ Static methods | 3 | 2.31% |
▷ Public methods | 94 | 72.31% |
▷ Protected methods | 22 | 16.92% |
▷ Private methods | 14 | 10.77% |
Functions | 31 | |
▷ Named functions | 29 | 93.55% |
▷ Anonymous functions | 2 | 6.45% |
Constants | 13 | |
▷ Global constants | 13 | 100.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
4 compressed PNG files occupy 0.07MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/premium-autoresponder.png | 70.53KB | 72.13KB | 0.00% |
assets/img/cancel_32.png | 1.58KB | 1.57KB | ▼ 0.93% |
assets/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/img/accepted_32.png | 1.58KB | 1.56KB | ▼ 1.48% |