Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.21ms] Passed 4 tests
Server-side resources used by Mad Mimi Signup Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.04 | 40.01 ▼0.04 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.76 ▼6.51 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 45.02 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.33 ▼4.00 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.39 ▲3.47 |
Mad Mimi Settings /wp-admin/options-general.php?page=mad-mimi-settings | 3.23 | 31.13 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
mad-mimi-settings |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_mimi-form |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Mad Mimi Signup Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲155 | 13.94 ▼0.86 | 8.60 ▲6.77 | 43.77 ▼1.40 |
Dashboard /wp-admin | 2,210 ▲19 | 4.86 ▼0.23 | 107.64 ▼1.92 | 41.29 ▼5.03 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.02 | 39.66 ▲4.09 | 35.53 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.83 ▲0.17 | 657.13 ▼16.42 | 56.92 ▼8.54 |
Media Library /wp-admin/upload.php | 1,386 ▲7 | 4.17 ▼0.03 | 96.38 ▼5.59 | 40.98 ▼2.53 |
Mad Mimi Settings /wp-admin/options-general.php?page=mad-mimi-settings | 973 | 2.15 | 22.88 | 32.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_mimi-form
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mad-mimi-sign-up-forms/madmimiofficial.php:215
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mad-mimi-sign-up-forms/includes/widget.php:8
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: email, opt-in, marketing, newsletter, mailing list...
mad-mimi-sign-up-forms/madmimiofficial.php 85% from 13 tests
The principal PHP file in "Mad Mimi Signup Forms" v. 1.7.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("mad-mimi-sign-up-forms.php" instead of "madmimiofficial.php")
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,141 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 649 | 111 | 948 |
JavaScript | 2 | 76 | 31 | 134 |
CSS | 6 | 11 | 13 | 59 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 49 | |
▷ Static methods | 27 | 55.10% |
▷ Public methods | 45 | 91.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.16% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/mimi-voice.png | 12.06KB | 12.21KB | 0.00% |