Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.36ms] Passed 4 tests
This is a short check of server-side resources used by Gravity Forms Mad Mimi Add-on
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 36.01 ▼5.12 |
Dashboard /wp-admin | 3.40 ▲0.05 | 53.39 ▼11.12 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.22 ▲1.03 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.32 ▼10.24 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 40.11 ▲9.33 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gravity Forms Mad Mimi Add-on
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.25 ▼1.12 | 1.66 ▲0.07 | 41.93 ▲1.87 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲1.02 | 100.93 ▼9.12 | 38.03 ▼3.73 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▲0.02 | 37.62 ▼0.35 | 31.32 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,517 ▼4 | 17.80 ▼5.18 | 670.78 ▼12.27 | 53.48 ▼9.93 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▲0.05 | 96.94 ▼10.53 | 44.91 ▲0.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-forms-mad-mimi/madmimi.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-forms-mad-mimi/madmimi.beta.php:29
- > PHP Fatal error
Uncaught Error: Class 'MadMimi' not found in wp-content/plugins/gravity-forms-mad-mimi/lib/MadMimiSuperClass.class.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The Gravity Forms Mad Mimi Add-on settings page), #2 (It's easy to integrate Gravity Forms with Mad Mimi: set up a "Feed" and match up the fields you'd like sent to Mad Mimi)
gravity-forms-mad-mimi/madmimi.beta.php 92% from 13 tests
This is the main PHP file of "Gravity Forms Mad Mimi Add-on" version 2.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 ("gravity-forms-mad-mimi.php" instead of "madmimi.beta.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected2,550 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 561 | 547 | 2,550 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 72.14 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 215.00 |
Average method complexity | 4.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 158 | |
▷ Static methods | 48 | 30.38% |
▷ Public methods | 87 | 55.06% |
▷ Protected methods | 17 | 10.76% |
▷ Private methods | 54 | 34.18% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/madmimi_wordpress_icon_32.png | 1.87KB | 1.49KB | ▼ 20.14% |
images/add.png | 3.37KB | 0.66KB | ▼ 80.54% |
images/remove.png | 3.32KB | 0.62KB | ▼ 81.33% |
images/active1.png | 0.71KB | 0.63KB | ▼ 11.28% |
images/active0.png | 0.65KB | 0.61KB | ▼ 5.56% |