Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲2.52MB] [CPU: ▲21.11ms] Passed 4 tests
This is a short check of server-side resources used by Marketing Automation by AZEXO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.69 ▲2.23 | 62.69 ▲17.99 |
Dashboard /wp-admin | 6.00 ▲2.69 | 68.46 ▲23.41 |
Posts /wp-admin/edit.php | 6.08 ▲2.72 | 67.76 ▲19.85 |
Add New Post /wp-admin/post-new.php | 8.33 ▲2.45 | 118.78 ▲23.19 |
Media Library /wp-admin/upload.php | 5.93 ▲2.70 | 63.80 ▲29.54 |
Bouncing settings /wp-admin/edit.php?post_type=azr_rule&page=azh-bouncing-settings | 5.69 | 52.99 |
Automation /wp-admin/edit.php?post_type=azr_rule | 5.97 | 57.98 |
SMS settings /wp-admin/edit.php?post_type=azr_rule&page=azh-sms-settings | 5.69 | 51.24 |
Add Rule /wp-admin/post-new.php?post_type=azr_rule | 5.43 | 51.48 |
Server storage [IO: ▲3.15MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 600 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_azr_visitor_posts |
wp_azr_visitors |
wp_azr_visitor_tags |
wp_azr_page_visits |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_azh_subscription_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Marketing Automation by AZEXO: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲114 | 14.14 ▼0.24 | 1.88 ▲0.00 | 42.63 ▼4.33 |
Dashboard /wp-admin | 2,252 ▲64 | 5.43 ▲0.55 | 108.85 ▼6.56 | 39.60 ▼1.10 |
Posts /wp-admin/edit.php | 2,142 ▲53 | 2.60 ▲0.56 | 40.55 ▼0.60 | 31.07 ▼4.72 |
Add New Post /wp-admin/post-new.php | 1,563 ▲40 | 24.78 ▲1.59 | 643.12 ▼1.12 | 62.46 ▲12.40 |
Media Library /wp-admin/upload.php | 1,438 ▲50 | 4.79 ▲0.54 | 98.56 ▼7.70 | 42.80 ▼2.62 |
Bouncing settings /wp-admin/edit.php?post_type=azr_rule&page=azh-bouncing-settings | 967 | 2.46 | 27.25 | 30.12 |
Automation /wp-admin/edit.php?post_type=azr_rule | 1,131 | 2.80 | 36.82 | 29.44 |
SMS settings /wp-admin/edit.php?post_type=azr_rule&page=azh-sms-settings | 937 | 2.46 | 27.18 | 28.75 |
Add Rule /wp-admin/post-new.php?post_type=azr_rule | 3,213 | 8.00 | 213.76 | 39.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_azr_visitors
- wp_azr_page_visits
- wp_azr_visitor_posts
- wp_azr_visitor_tags
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_azh_subscription_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=azr_rule&page=azh-sms-settings
- > Notice in wp-content/plugins/marketing-automation-by-azexo/settings.php+27
Trying to access array offset on value of type bool
- 7 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=azr_rule
- > Notice in wp-content/plugins/marketing-automation-by-azexo/rules.php+1796
Trying to access array offset on value of type null
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
- 539× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/marketing-automation-by-azexo/twilio-php/Twilio/Rest/Api/V2010/Account/ConnectAppContext.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/marketing-automation-by-azexo/twilio-php/Twilio/Rest/Api/V2010/Account/Call/FeedbackPage.php:14
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/marketing-automation-by-azexo/twilio-php/Twilio/Rest/IpMessaging/V1/Service/RoleInstance.php:29
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/marketing-automation-by-azexo/twilio-php/Twilio/Rest/Api/V2010/Account/Sip/CredentialListPage.php:14
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/marketing-automation-by-azexo/twilio-php/Twilio/Rest/Api/V2010/Account/AuthorizedConnectAppContext.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-automation-by-azexo/email_rules.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/marketing-automation-by-azexo/twilio-php/Twilio/Rest/Api/V2010/Account/Sip/DomainInstance.php:37
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/marketing-automation-by-azexo/twilio-php/Twilio/Rest/Accounts/V1/Credential/PublicKeyInstance.php:27
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/marketing-automation-by-azexo/twilio-php/Twilio/Rest/Api/V2010/Account/NotificationInstance.php:37
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Domain' not found in wp-content/plugins/marketing-automation-by-azexo/twilio-php/Twilio/Rest/Trunking.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
marketing-automation-by-azexo/azh_marketing_automation.php 85% from 13 tests
Analyzing the main PHP file in "Marketing Automation by AZEXO" version 1.27.80
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("marketing-automation-by-azexo.php" instead of "azh_marketing_automation.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin52,989 lines of code in 593 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 566 | 8,239 | 29,380 | 39,229 |
JavaScript | 6 | 1,820 | 807 | 10,305 |
Markdown | 7 | 431 | 0 | 1,126 |
LESS | 3 | 77 | 6 | 944 |
PO File | 1 | 289 | 365 | 626 |
CSS | 3 | 56 | 0 | 430 |
make | 2 | 47 | 9 | 245 |
Python | 1 | 72 | 235 | 31 |
JSON | 1 | 0 | 0 | 26 |
Bourne Shell | 1 | 0 | 0 | 10 |
YAML | 1 | 0 | 0 | 10 |
reStructuredText | 1 | 6 | 7 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 2.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 59 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 694 | |
▷ Abstract classes | 85 | 12.25% |
▷ Concrete classes | 609 | 87.75% |
▷ Final classes | 1 | 0.16% |
Methods | 3,782 | |
▷ Static methods | 159 | 4.20% |
▷ Public methods | 3,352 | 88.63% |
▷ Protected methods | 426 | 11.26% |
▷ Private methods | 4 | 0.11% |
Functions | 219 | |
▷ Named functions | 178 | 81.28% |
▷ Anonymous functions | 41 | 18.72% |
Constants | 14 | |
▷ Global constants | 6 | 42.86% |
▷ Class constants | 8 | 57.14% |
▷ Public constants | 8 | 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
No PNG files were detected