Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.86ms] Passed 4 tests
Analyzing server-side resources used by Mailercloud - Integrate webforms and synchronize website contacts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 38.36 ▼5.36 |
Dashboard /wp-admin | 3.54 ▲0.19 | 47.45 ▼17.01 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 46.38 ▲0.97 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 82.71 ▲1.95 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 41.45 ▲5.50 |
Contact Sync /wp-admin/admin.php?page=mailercloud-subscriber-synchronisation | 3.48 | 32.60 |
Forms /wp-admin/admin.php?page=mailercloud-signup-form-listing | 3.43 | 33.78 |
Settings /wp-admin/admin.php?page=mailercloud-settings-page | 3.44 | 30.87 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_mailer_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Mailercloud - Integrate webforms and synchronize website contacts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲75 | 14.25 ▼0.16 | 1.55 ▼0.20 | 47.05 ▲2.23 |
Dashboard /wp-admin | 2,225 ▲44 | 5.57 ▼0.14 | 89.07 ▼24.03 | 74.58 ▲30.93 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.00 ▼0.02 | 34.45 ▲0.11 | 35.18 ▼1.84 |
Add New Post /wp-admin/post-new.php | 1,721 ▲192 | 24.72 ▲1.50 | 676.35 ▼28.60 | 41.63 ▼21.84 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.13 ▼0.03 | 99.08 ▲2.88 | 70.04 ▲28.03 |
Contact Sync /wp-admin/admin.php?page=mailercloud-subscriber-synchronisation | 1,574 | 1.90 | 26.07 | 35.37 |
Forms /wp-admin/admin.php?page=mailercloud-signup-form-listing | 837 | 1.91 | 27.17 | 28.22 |
Settings /wp-admin/admin.php?page=mailercloud-settings-page | 869 | 1.91 | 24.15 | 28.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_mailer_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mailercloud-integrate-webforms-synchronize-contacts/blocks/mailercloud-forms.php:149
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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 ("")
mailercloud-integrate-webforms-synchronize-contacts/mailercloud.php 77% from 13 tests
The primary PHP file in "Mailercloud - Integrate webforms and synchronize website contacts" version 1.0.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mailercloud-integrate-webforms-synchronize-contacts.php" instead of "mailercloud.php")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected8,648 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 1,490 | 505 | 5,108 |
CSS | 5 | 108 | 28 | 1,783 |
PHP | 8 | 187 | 252 | 1,731 |
JSON | 2 | 1 | 0 | 17 |
SVG | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 64.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 5.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon.png | 1.60KB | 1.06KB | ▼ 33.68% |