Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼2.68ms] Passed 4 tests
This is a short check of server-side resources used by Zoho Campaigns
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.08 | 42.73 ▼2.01 |
Dashboard /wp-admin | 3.61 ▲0.31 | 44.09 ▼3.68 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 51.10 ▲4.50 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 86.20 ▼5.94 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 35.50 ▲0.91 |
Zoho Campaigns /wp-admin/admin.php?page=zc-start | 3.47 | 40.45 |
Signup Forms /wp-admin/admin.php?page=zc-forms | 3.47 | 33.40 |
Server storage [IO: ▲1.11MB] [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: 38 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_zcwc_forms |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Zoho Campaigns
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲80 | 13.57 ▼0.86 | 4.62 ▲2.21 | 43.10 ▲0.18 |
Dashboard /wp-admin | 2,238 ▲47 | 5.84 ▲0.92 | 99.94 ▼2.64 | 73.66 ▲30.10 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 1.99 ▼0.07 | 36.93 ▲0.36 | 34.63 ▲2.68 |
Add New Post /wp-admin/post-new.php | 1,709 ▲195 | 24.72 ▲7.33 | 642.72 ▲21.52 | 54.29 ▲4.45 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.15 ▼0.01 | 115.46 ▲19.98 | 48.02 ▲6.18 |
Zoho Campaigns /wp-admin/admin.php?page=zc-start | 862 | 1.93 | 27.59 | 43.79 |
Signup Forms /wp-admin/admin.php?page=zc-forms | 859 | 1.81 | 27.53 | 23.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: email marketing, woocommerce, abandoned cart, signup forms, marketing automation
zoho-campaigns/index.php 77% from 13 tests
The primary PHP file in "Zoho Campaigns" version 2.0.6 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 235 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zoho-campaigns.php" instead of "index.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "3.7.1")
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
No dangerous file extensions were detected8,916 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 776 | 154 | 5,626 |
PHP | 9 | 118 | 163 | 2,060 |
JavaScript | 2 | 80 | 31 | 763 |
SVG | 17 | 8 | 4 | 467 |
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.40 |
Average class complexity | 86.50 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 57 | |
▷ Static methods | 57 | 100.00% |
▷ Public methods | 53 | 92.98% |
▷ Protected methods | 4 | 7.02% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 11 | 73.33% |
▷ Class constants | 4 | 26.67% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/campaign-woocommerce-integration.png | 21.99KB | 9.03KB | ▼ 58.95% |
assets/images/zcampaign-to-woocommerce.png | 21.69KB | 15.48KB | ▼ 28.62% |