Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/wpmktgengine-extension-woocommerce/includes/queuecronjob.php+10
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.89ms] Passed 4 tests
An overview of server-side resources used by WooCommerce - WPMktgEngine | Genoo Extension
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.90 ▲1.70 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.38 ▼2.22 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.36 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.85 ▼26.36 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.53 ▼0.72 |
Server storage [IO: ▲1.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce - WPMktgEngine | Genoo Extension
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.34 ▼1.25 | 1.75 ▲0.01 | 40.33 ▲2.55 |
Dashboard /wp-admin | 2,206 ▲31 | 5.88 ▲0.86 | 97.37 ▼13.25 | 38.58 ▼15.32 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.14 | 34.69 ▲0.61 | 34.26 ▼2.51 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.34 ▲5.86 | 598.74 ▼26.48 | 45.63 ▼6.64 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.00 | 99.33 ▲3.53 | 42.46 ▼1.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wpmktgengine-extension-woocommerce/includes/queuecronjob.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wpmktgengine-extension-woocommerce/wpmktgengine-woocommerce.php:36
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: lead capture forms, marketing automation, email marketing
wpmktgengine-extension-woocommerce/wpmktgengine-woocommerce.php 85% from 13 tests
Analyzing the main PHP file in "WooCommerce - WPMktgEngine | Genoo Extension" version 1.7.47
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wpmktgengine-extension-woocommerce.php" instead of "wpmktgengine-woocommerce.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("3.3" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected12,253 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 2,109 | 1,942 | 7,229 |
PHP | 6 | 1,769 | 687 | 4,784 |
CSS | 4 | 5 | 13 | 240 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 15 | 100.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 83 | |
▷ Named functions | 37 | 44.58% |
▷ Anonymous functions | 46 | 55.42% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin