Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼12.52ms] Passed 4 tests
A check of server-side resources used by Zoho Marketing Automation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.61 ▼0.76 |
Dashboard /wp-admin | 3.55 ▲0.21 | 47.11 ▼17.07 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 43.17 ▲0.60 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 75.91 ▼32.85 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 34.36 ▲2.72 |
Signup Forms /wp-admin/admin.php?page=mh-forms | 3.41 | 33.30 |
Web Assistant /wp-admin/admin.php?page=mh-wa | 3.41 | 34.43 |
Zoho Marketing Automation /wp-admin/admin.php?page=mh-start | 3.41 | 29.05 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_zmhub_forms |
New WordPress options |
---|
zmh_plugin_version |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Zoho Marketing Automation: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲130 | 14.36 ▲0.01 | 1.63 ▼0.39 | 42.36 ▼6.29 |
Dashboard /wp-admin | 2,282 ▲105 | 5.61 ▼0.06 | 85.69 ▼11.98 | 39.00 ▼4.34 |
Posts /wp-admin/edit.php | 2,187 ▲87 | 2.15 ▲0.14 | 36.65 ▼4.44 | 36.14 ▲1.09 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 22.98 ▼0.03 | 655.87 ▲49.07 | 62.54 ▲4.90 |
Media Library /wp-admin/upload.php | 1,485 ▲85 | 4.22 ▲0.03 | 96.94 ▲5.59 | 47.60 ▲7.86 |
Signup Forms /wp-admin/admin.php?page=mh-forms | 931 | 1.94 | 26.18 | 45.83 |
Web Assistant /wp-admin/admin.php?page=mh-wa | 931 | 1.91 | 29.27 | 31.23 |
Zoho Marketing Automation /wp-admin/admin.php?page=mh-start | 934 | 1.80 | 25.71 | 26.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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 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
The SRP test was a success
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
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
5 plugin tags: web analytics, marketing hub, website tracking, automation, sign-up form
zoho-marketinghub/zmh.php 85% from 13 tests
This is the main PHP file of "Zoho Marketing Automation" version 1.2.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 174 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zoho-marketinghub.php" instead of "zmh.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin7,861 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 733 | 154 | 5,357 |
PHP | 8 | 121 | 49 | 1,414 |
JavaScript | 3 | 83 | 24 | 663 |
SVG | 14 | 8 | 2 | 427 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 75.50 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 48 | 100.00% |
▷ Public methods | 44 | 91.67% |
▷ Protected methods | 4 | 8.33% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 10 | 71.43% |
▷ Class constants | 4 | 28.57% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin