Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.95ms] Passed 4 tests
Server-side resources used by ZeptoMail
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.54 ▼2.36 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.04 ▲0.05 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.34 ▲2.93 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 79.99 ▼9.49 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.16 ▼0.01 |
Configure Account /wp-admin/admin.php?page=transmail-settings | 3.27 | 31.12 |
Test Mail /wp-admin/admin.php?page=transmail-send-mail | 3.27 | 30.77 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for ZeptoMail
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.33 ▼1.04 | 1.83 ▲0.10 | 43.09 ▼0.16 |
Dashboard /wp-admin | 2,235 ▲44 | 5.98 ▲1.08 | 94.99 ▼26.30 | 37.80 ▼7.47 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.02 ▼0.04 | 35.10 ▼1.02 | 31.44 ▼5.15 |
Add New Post /wp-admin/post-new.php | 1,561 ▲47 | 18.23 ▲0.40 | 610.26 ▼83.76 | 54.53 ▼1.29 |
Media Library /wp-admin/upload.php | 1,417 ▲26 | 4.20 ▼0.02 | 96.79 ▼3.75 | 43.20 ▼3.06 |
Configure Account /wp-admin/admin.php?page=transmail-settings | 933 | 2.06 | 23.81 | 45.15 |
Test Mail /wp-admin/admin.php?page=transmail-send-mail | 778 | 2.17 | 23.99 | 23.05 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/transmail/transMail.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid URI: "none"
- Screenshots: Screenshot #1 (Configure Account(screenshot-1.png)) image missing
transmail/transMail.php 77% from 13 tests
The primary PHP file in "ZeptoMail" version 2.2.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Name the main plugin file the same as the plugin slug ("transmail.php" instead of "transMail.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin545 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 60 | 28 | 426 |
CSS | 1 | 22 | 0 | 119 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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/dropdown1.png | 1.01KB | 0.15KB | ▼ 85.05% |
assets/images/dropdown.png | 1.01KB | 0.15KB | ▼ 85.15% |
assets/images/zoho.png | 15.85KB | 5.64KB | ▼ 64.43% |