Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼2.41ms] Passed 4 tests
An overview of server-side resources used by Newsletters, Email marketing et formulaires par Mail Next
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.70 ▲1.59 |
Dashboard /wp-admin | 3.32 ▲0.01 | 58.48 ▲8.74 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.54 ▼1.36 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.10 ▼12.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.23 ▲2.80 |
Marketing Automation /wp-admin/admin.php?page=mail-next/includes/mfp-market-acp-page.php | 3.22 | 31.73 |
Mail Next Emailing /wp-admin/admin.php?page=mail-next/includes/mfp-first-acp-page.php | 3.22 | 30.99 |
Formulaires /wp-admin/admin.php?page=mail-next/includes/mfp-form-acp-page.php | 3.22 | 28.23 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Newsletters, Email marketing et formulaires par Mail Next
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.27 ▼1.29 | 4.63 ▲2.79 | 45.29 ▲4.21 |
Dashboard /wp-admin | 2,228 ▲37 | 5.81 ▲0.74 | 98.79 ▼2.94 | 38.85 ▼0.43 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.05 ▲0.04 | 36.61 ▼17.35 | 33.78 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,558 ▲25 | 23.24 ▲0.23 | 595.56 ▼13.33 | 53.65 ▼0.35 |
Media Library /wp-admin/upload.php | 1,419 ▲37 | 4.22 ▲0.00 | 99.12 ▲0.67 | 43.68 ▲0.63 |
Marketing Automation /wp-admin/admin.php?page=mail-next/includes/mfp-market-acp-page.php | 991 | 2.14 | 22.84 | 26.99 |
Mail Next Emailing /wp-admin/admin.php?page=mail-next/includes/mfp-first-acp-page.php | 996 | 2.02 | 22.96 | 31.65 |
Formulaires /wp-admin/admin.php?page=mail-next/includes/mfp-form-acp-page.php | 995 | 2.02 | 22.77 | 31.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/mail-next/includes/resultat.php
- > /wp-content/plugins/mail-next/includes/synchronise.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
unlink(cache//.): Is a directory in wp-content/plugins/mail-next/includes/logout.php on line 8
- > PHP Notice
Undefined index: vericode in wp-content/plugins/mail-next/includes/resultat.php on line 13
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mail-next/includes/mfp-form-acp-page.php
- > Network (severe)
../css/admin.css?ver=all - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 17 tag instead of maximum 10
mail-next/mailnext.php 85% from 13 tests
The entry point to "Newsletters, Email marketing et formulaires par Mail Next" version 1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 152 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mail-next.php" instead of "mailnext.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin939 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 192 | 62 | 574 |
CSS | 4 | 41 | 4 | 364 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.19MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/logo.png | 8.42KB | 3.50KB | ▼ 58.48% |
images/logo.png | 8.42KB | 3.50KB | ▼ 58.48% |
screenshot-1.png | 75.35KB | 31.23KB | ▼ 58.56% |
screenshot-2.png | 62.34KB | 30.88KB | ▼ 50.47% |
screenshot-3.png | 41.92KB | 17.76KB | ▼ 57.62% |