Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Parse error in wp-content/plugins/mad-mimi/mad-mimi.php+621
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.82ms] Passed 4 tests
This is a short check of server-side resources used by Mad Mimi for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.98 ▼0.89 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.35 ▼4.92 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.58 ▼1.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.33 ▼4.21 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.13 ▲3.32 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Mad Mimi for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.13 ▼1.41 | 1.67 ▼0.22 | 41.44 ▼1.63 |
Dashboard /wp-admin | 2,206 ▲18 | 5.88 ▲0.97 | 107.33 ▼0.73 | 43.65 ▲1.34 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.00 | 39.93 ▼2.70 | 35.54 ▲0.57 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.07 ▲3.89 | 656.33 ▲43.36 | 55.29 ▲3.62 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.15 ▼0.08 | 101.66 ▲3.64 | 43.94 ▲0.71 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- 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
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/mad-mimi/mad-mimi.php on line 621
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mad-mimi/madmimi-widget.php:24
- > PHP Parse 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 93% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (How the widget appears in the Widgets panel), #2 (How the signup form appears in the sidebar of a site using the twentyten theme), #3 (How submissions appear on the Mad Mimi Audience page)
mad-mimi/mad-mimi.php Passed 13 tests
The entry point to "Mad Mimi for WordPress" version 1.5.1 is a PHP file that has certain tags in its header comment area
53 characters long description:
Add a Mad Mimi signup form to your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,178 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 187 | 69 | 771 |
PO File | 3 | 139 | 138 | 407 |
PHP code Passed 2 tests
This is a short overview 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.54 |
Average class complexity | 103.50 |
▷ Minimum class complexity | 86.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 5.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.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 | 40 | |
▷ Static methods | 1 | 2.50% |
▷ Public methods | 39 | 97.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.50% |
Functions | 3 | |
▷ Named functions | 3 | 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
No PNG files were detected