Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.48ms] Passed 4 tests
Server-side resources used by MailChimp Add-On for FormCraft
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.89 ▼2.15 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.52 ▼4.99 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.89 ▲0.54 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.73 ▲7.04 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.46 ▲0.68 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MailChimp Add-On for FormCraft
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.74 ▲0.13 | 1.78 ▼0.09 | 36.98 ▼8.46 |
Dashboard /wp-admin | 2,206 ▲18 | 5.88 ▲0.99 | 106.58 ▼7.25 | 42.52 ▼1.05 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.01 | 39.18 ▲2.93 | 36.64 ▲4.45 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.42 ▲0.27 | 593.20 ▼107.99 | 63.38 ▲7.41 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.18 ▼0.05 | 97.16 ▼5.19 | 42.63 ▼3.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mailchimp-for-formcraft/formcraft-mailchimp-main.php:16
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
mailchimp-for-formcraft/formcraft-mailchimp-main.php 85% from 13 tests
The main file in "MailChimp Add-On for FormCraft" v. 1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("mailchimp-for-formcraft.php" instead of "formcraft-mailchimp-main.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
Success! There were no dangerous files found in this plugin566 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 77 | 148 | 457 |
JavaScript | 1 | 0 | 0 | 82 |
CSS | 1 | 2 | 0 | 27 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 30.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up 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/logo.png | 3.80KB | 2.79KB | ▼ 26.63% |