Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼139.37ms] Passed 4 tests
Server-side resources used by WP Cart Mailcheck
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 42.19 ▲8.89 |
Dashboard /wp-admin | 3.06 ▲0.01 | 51.71 ▲4.00 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 48.71 ▲3.90 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 89.23 ▼571.14 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 35.31 ▲5.75 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for WP Cart Mailcheck
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,812 ▲216 | 16.69 ▲1.21 | 16.73 ▲8.04 | 50.17 ▲5.06 |
Dashboard /wp-admin | 2,966 ▲32 | 5.88 ▼0.03 | 139.33 ▼15.04 | 112.00 ▼4.50 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.02 | 65.50 ▼3.12 | 89.62 ▲5.24 |
Add New Post /wp-admin/post-new.php | 1,683 ▼1,953 | 18.50 ▲3.54 | 403.05 ▼103.60 | 108.05 ▼5.12 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.04 ▲0.01 | 154.24 ▼4.29 | 108.12 ▼8.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 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)
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 6× 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/e-commerce-mailcheck/wp-cart-mailcheck.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-commerce-mailcheck/wp-cart-mailcheck-wpec.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-commerce-mailcheck/wp-cart-mailcheck-woo.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-commerce-mailcheck/wp-cart-mailcheck-shopp.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-commerce-mailcheck/wp-cart-mailcheck-edd.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-commerce-mailcheck/wp-cart-mailcheck-jigoshop.php:10
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== e-commerce-mailcheck ===
) - Screenshots: These screenshots do not have images: #1 (WP e-Commerce email checking), #2 (WooCommerce email checking), #3 (Jigoshop email checking)
e-commerce-mailcheck/wp-cart-mailcheck.php 92% from 13 tests
The main PHP file in "WP Cart Mailcheck" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("e-commerce-mailcheck.php" instead of "wp-cart-mailcheck.php")
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
Everything looks great! No dangerous files found in this plugin332 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 33 | 22 | 225 |
PHP | 6 | 40 | 12 | 79 |
JSON | 1 | 0 | 0 | 23 |
CSS | 2 | 0 | 0 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 2.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 7.92KB | 4.41KB | ▼ 44.31% |
screenshot-2.png | 8.92KB | 4.07KB | ▼ 54.32% |
screenshot-3.png | 8.40KB | 4.25KB | ▼ 49.44% |