Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼7.31ms] Passed 4 tests
This is a short check of server-side resources used by Zoho Mail for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.78 ▲1.17 |
Dashboard /wp-admin | 3.43 ▲0.08 | 47.51 ▼16.55 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.62 ▲1.51 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 97.26 ▼15.36 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 37.60 ▲1.68 |
Configure Account /wp-admin/admin.php?page=zmail-integ-settings | 3.32 | 33.60 |
Test Mail /wp-admin/admin.php?page=zmail-send-mail | 3.32 | 31.16 |
Troubleshoot /wp-admin/admin.php?page=zmail-troubleshoot | 3.32 | 30.98 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
zmail_plugin_installed |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Zoho Mail for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 14.33 ▼0.20 | 1.76 ▲0.14 | 39.30 ▼3.50 |
Dashboard /wp-admin | 2,225 ▲47 | 5.56 ▼0.11 | 81.37 ▼39.36 | 40.66 ▼2.32 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.02 ▲0.08 | 40.47 ▲2.48 | 35.42 ▲0.46 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.83 ▲0.24 | 613.72 ▼0.98 | 62.82 ▲13.01 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.22 ▲0.02 | 95.92 ▲0.56 | 41.37 ▼0.46 |
Configure Account /wp-admin/admin.php?page=zmail-integ-settings | 951 | 2.14 | 21.83 | 43.33 |
Test Mail /wp-admin/admin.php?page=zmail-send-mail | 793 | 2.03 | 24.82 | 23.76 |
Troubleshoot /wp-admin/admin.php?page=zmail-troubleshoot | 909 | 1.99 | 25.94 | 32.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Donate link: Invalid URI found ("none")
- Screenshots: Please add an image for screenshot #1 ([Configure Account](screenshot-1.png))
zoho-mail/zohoMail.php 77% from 13 tests
The main PHP script in "Zoho Mail for WordPress" version 1.5.4 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zoho-mail.php" instead of "zohoMail.php")
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
Success! There were no dangerous files found in this plugin818 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 106 | 37 | 662 |
CSS | 1 | 23 | 0 | 156 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/send.png | 1.54KB | 0.92KB | ▼ 40.06% |
assets/images/dropdown.png | 1.01KB | 0.15KB | ▼ 85.15% |
assets/images/dropdown1.png | 1.01KB | 0.15KB | ▼ 85.05% |
assets/images/zoho.png | 15.85KB | 5.64KB | ▼ 64.43% |