Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼6.75ms] Passed 4 tests
A check of server-side resources used by MoveAdvisor Leads Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.39 ▲1.17 |
Dashboard /wp-admin | 3.52 ▲0.18 | 44.91 ▼11.25 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 47.66 ▼2.81 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 81.80 ▼14.10 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 49.81 ▲14.18 |
Server storage [IO: ▲8.99MB] [DB: ▲1.11MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 126 new files
Database: 2 new tables, 15 new options
New tables |
---|
mml_countries |
mml_countriesNames |
New WordPress options |
---|
mml_leadform_option_privacy |
widget_theysaidso_widget |
mml_leadform_option_formtitle |
widget_recent-comments |
mml_leadform_option_buttoncolor |
theysaidso_admin_options |
mml_leadform_option_selectlang |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for MoveAdvisor Leads Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,980 ▲209 | 14.04 ▼0.39 | 16.06 ▲14.10 | 38.27 ▼7.49 |
Dashboard /wp-admin | 2,251 ▲77 | 5.75 ▲0.10 | 83.31 ▼10.20 | 74.13 ▲31.14 |
Posts /wp-admin/edit.php | 2,158 ▲58 | 2.31 ▲0.29 | 35.18 ▼2.32 | 33.58 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,730 ▲199 | 22.30 ▼0.94 | 753.17 ▲84.28 | 32.04 ▼26.87 |
Media Library /wp-admin/upload.php | 1,453 ▲53 | 4.36 ▲0.17 | 114.08 ▲12.42 | 73.20 ▲26.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- db_upgraded
- mml_leadform_option_selectlang
- widget_mml_leadform_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- mml_leadform_option_formbg
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/mymovingloads-leads-form/includes/templates/en/mml_leadform_nz.html.php
- > /wp-content/plugins/mymovingloads-leads-form/includes/templates/en/mml_leadform_ca.html.php
- > /wp-content/plugins/mymovingloads-leads-form/includes/templates/en/mml_leadform_us.html.php
- > /wp-content/plugins/mymovingloads-leads-form/includes/templates/en/mml_leadform_au.html.php
- > /wp-content/plugins/mymovingloads-leads-form/includes/templates/en/mml_leadform_int.html.php
- > /wp-content/plugins/mymovingloads-leads-form/includes/templates/en/mml_leadform_de.html.php
- > /wp-content/plugins/mymovingloads-leads-form/includes/templates/en/mml_leadform_uk.html.php
- > /wp-content/plugins/mymovingloads-leads-form/includes/templates/de/mml_leadform_int.html.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #11, #12 in mymovingloads-leads-form/assets to your readme.txt
- Requires php: Version format is invalid
mymovingloads-leads-form/mml-leadform.php 85% from 13 tests
The entry point to "MoveAdvisor Leads Form" version 3.0.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mymovingloads-leads-form.php" instead of "mml-leadform.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected72,704 lines of code in 110 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SQL | 2 | 3 | 0 | 64,072 |
PHP | 14 | 259 | 182 | 3,652 |
CSS | 6 | 128 | 74 | 1,974 |
JavaScript | 6 | 323 | 170 | 1,491 |
HTML | 3 | 314 | 68 | 990 |
PO File | 1 | 107 | 109 | 414 |
JSON | 76 | 0 | 0 | 76 |
SVG | 2 | 0 | 2 | 35 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 31.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.35% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
10 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-icons_cc0000_256x240.png | 4.52KB | 4.18KB | ▼ 7.56% |
assets/css/images/ui-icons_777620_256x240.png | 4.52KB | 4.18KB | ▼ 7.58% |
assets/css/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |
assets/img/mml_sprite.png | 5.13KB | 2.49KB | ▼ 51.56% |
assets/css/images/ui-icons_777777_256x240.png | 6.85KB | 4.18KB | ▼ 38.94% |