Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼323.47ms] Passed 4 tests
A check of server-side resources used by Contact Form 7 to Mailjet
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.52 | 54.52 ▼77.14 |
Dashboard /wp-admin | 3.49 ▲0.08 | 37.19 ▼0.35 |
Posts /wp-admin/edit.php | 3.71 ▲0.08 | 44.56 ▲5.98 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 98.87 ▼1,211.48 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 25.87 ▼4.89 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form 7 to Mailjet
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,805 ▲51 | 15.99 ▲0.37 | 7.18 ▲0.11 | 2.41 ▼0.32 |
Dashboard /wp-admin | 2,898 ▲44 | 6.14 ▼0.04 | 123.31 ▼15.18 | 158.66 ▼58.12 |
Posts /wp-admin/edit.php | 2,712 ▲21 | 3.24 ▼0.01 | 64.42 ▼2.38 | 144.06 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,684 ▼5 | 19.93 ▼1.67 | 415.13 ▼45.27 | 185.42 ▲16.32 |
Media Library /wp-admin/upload.php | 1,721 ▲23 | 5.56 ▲0.07 | 150.97 ▲6.03 | 231.33 ▲37.90 |
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
Uninstaller ran successfully
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 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/cf7-to-mailjet/cf7_to_mailjet.php:14
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (editor-screen-1.png) image not found
- Tags: There are too many tags (15 tag instead of maximum 10)
cf7-to-mailjet/cf7_to_mailjet.php 77% from 13 tests
This is the main PHP file of "Contact Form 7 to Mailjet" version 1.7.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 252 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cf7-to-mailjet.php" instead of "cf7_to_mailjet.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin483 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 27 | 307 |
PO File | 2 | 24 | 24 | 85 |
JavaScript | 1 | 0 | 3 | 52 |
CSS | 1 | 5 | 0 | 39 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
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 | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin