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.41MB] [CPU: ▲2.27ms] Passed 4 tests
A check of server-side resources used by Growmatik - Marketing Automation and Personalization
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 48.74 ▲10.29 |
Dashboard /wp-admin | 3.74 ▲0.43 | 50.25 ▼0.81 |
Posts /wp-admin/edit.php | 3.79 ▲0.43 | 50.79 ▲2.86 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 103.15 ▼1.13 |
Media Library /wp-admin/upload.php | 3.60 ▲0.37 | 38.02 ▲8.17 |
Growmatik /wp-admin/options-general.php?page=growmatik-admin | 3.57 | 36.68 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 127 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Growmatik - Marketing Automation and Personalization: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲41 | 14.25 ▼0.32 | 1.77 ▲0.14 | 42.56 ▲3.97 |
Dashboard /wp-admin | 2,208 ▲37 | 5.51 ▼0.07 | 85.30 ▼7.07 | 35.39 ▼3.22 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.00 ▲0.01 | 40.17 ▲1.05 | 35.63 ▼14.63 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 18.27 ▼4.59 | 595.09 ▼35.38 | 74.86 ▲23.30 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.20 ▼0.01 | 97.54 ▼1.22 | 40.29 ▼3.62 |
Growmatik /wp-admin/options-general.php?page=growmatik-admin | 845 | 2.08 | 28.64 | 25.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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)
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 31× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Growmatik\\Ecommerce\\Commerce_Data_Layer' not found in wp-content/plugins/marketing-automation-and-personalization/includes/woocommerce/class-commerce-data-layer.php:9
- > PHP Fatal error
Uncaught Error: Class 'JupiterX_Core\\Raven\\Modules\\Forms\\Actions\\Action_Base' not found in wp-content/plugins/marketing-automation-and-personalization/includes/form-integration/raven/class-raven-form-growmatik-action.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-automation-and-personalization/includes/hooks.php:4
- > PHP Fatal error
Uncaught Error: Class 'Growmatik\\Controller\\Post_Type_Sync' not found in wp-content/plugins/marketing-automation-and-personalization/includes/controller/class-post-controller.php:5
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Classes\\Action_Base' not found in wp-content/plugins/marketing-automation-and-personalization/includes/form-integration/elementor/class-elementor-form-growmatik-action.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/marketing-automation-and-personalization/constants.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/marketing-automation-and-personalization/admin/views/integrated-notice.php:6
- > PHP Fatal error
Uncaught Error: Class 'Growmatik\\EDD\\Init' not found in wp-content/plugins/marketing-automation-and-personalization/includes/edd2/class-init.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Growmatik\\Ecommerce\\Customer' not found in wp-content/plugins/marketing-automation-and-personalization/includes/woocommerce/class-customer.php:10
- > PHP Fatal error
Uncaught Error: Class 'Growmatik\\Ecommerce\\User_Order_Manager' not found in wp-content/plugins/marketing-automation-and-personalization/includes/edd2/class-user-orders.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
marketing-automation-and-personalization/growmatik.php 77% from 13 tests
"Growmatik - Marketing Automation and Personalization" version 2.8.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 183 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("marketing-automation-and-personalization.php" instead of "growmatik.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected7,951 lines of code in 121 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 104 | 1,849 | 1,707 | 7,154 |
JavaScript | 10 | 77 | 59 | 521 |
CSS | 6 | 18 | 35 | 275 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 82 | |
▷ Abstract classes | 2 | 2.44% |
▷ Concrete classes | 80 | 97.56% |
▷ Final classes | 0 | 0.00% |
Methods | 502 | |
▷ Static methods | 71 | 14.14% |
▷ Public methods | 360 | 71.71% |
▷ Protected methods | 47 | 9.36% |
▷ Private methods | 95 | 18.92% |
Functions | 57 | |
▷ Named functions | 26 | 45.61% |
▷ Anonymous functions | 31 | 54.39% |
Constants | 39 | |
▷ Global constants | 14 | 35.90% |
▷ Class constants | 25 | 64.10% |
▷ Public constants | 25 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/favicon.png | 2.39KB | 1.50KB | ▼ 37.19% |
admin/assets/img/growmatik-notice-logo.png | 13.52KB | 6.34KB | ▼ 53.08% |