Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.46ms] Passed 4 tests
Server-side resources used by Contact Form, Survey & Form Builder - MightyForms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 47.46 ▲9.55 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.90 ▼11.22 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.80 ▼4.00 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 86.15 ▼12.46 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.86 ▼2.17 |
Embed Forms /wp-admin/admin.php?page=mightyforms-forms | 3.22 | 32.15 |
How to /wp-admin/admin.php?page=mightyforms-how-to | 3.25 | 33.94 |
Dashboard /wp-admin/admin.php?page=mightyforms | 3.25 | 33.88 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form, Survey & Form Builder - MightyForms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.79 ▲0.14 | 1.60 ▼0.22 | 39.82 ▼3.53 |
Dashboard /wp-admin | 2,227 ▲50 | 4.89 ▼0.76 | 88.42 ▼2.21 | 81.40 ▲36.13 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.36 ▲0.41 | 33.59 ▼3.47 | 33.65 ▼0.26 |
Add New Post /wp-admin/post-new.php | 6,230 ▲4,704 | 19.57 ▼3.49 | 935.45 ▲266.01 | 43.64 ▼10.67 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.56 ▲0.18 | 97.34 ▼5.15 | 77.11 ▲33.40 |
Embed Forms /wp-admin/admin.php?page=mightyforms-forms | 701 | 1.70 | 11.16 | 23.12 |
How to /wp-admin/admin.php?page=mightyforms-how-to | 1,329 | 2.70 | 43.38 | 93.86 |
Dashboard /wp-admin/admin.php?page=mightyforms | 1,404 | 26.12 | 951.36 | 113.20 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please take a closer look at the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mightyforms/shortcode.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mightyforms/gutenberg_block/init.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mightyforms/gutenberg_block/init.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mightyforms/views/application.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mightyforms/shortcode.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=mightyforms-how-to
- > Console-api (warning) in unknown
https://d3eto7onm69fcz.cloudfront.net/assets/javascripts/app3.min.js 0:108966 "You must bind Parsley on an existing element."
- > GET request to /wp-admin/admin.php?page=mightyforms
- > Console-api (warning) in unknown
https://app.mightyforms.com/main-es2017.bcd307c08c0d78e77e2a.js 0:3238240 "Hotjar not launching due to suspicious userAgent:" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/118.0.5993.70 Safari/537.36"
- > GET request to /wp-admin/admin.php?page=mightyforms
- > Console-api (warning) in unknown
https://app.mightyforms.com/main-es2017.bcd307c08c0d78e77e2a.js 0:3238240 "Your client application uses libraries for user authentication or authorization that are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."
- > GET request to /wp-admin/admin.php?page=mightyforms
- > Console-api (severe) in unknown
https://app.mightyforms.com/main-es2017.bcd307c08c0d78e77e2a.js 0:3238240 "Cookies are currently disabled in the browser. Please enable cookies for GrowSurf to work."
- > GET request to /wp-admin/admin.php?page=mightyforms
- > Console-api (severe) in unknown
https://app.mightyforms.com/main-es2017.bcd307c08c0d78e77e2a.js 0:3238240 "Unhandled Promise rejection:" "Cookies are currently disabled in the browser. Please enable cookies for GrowSurf to work." "; Zone:" "\u003Croot>" "; Task:" "Window.addEventListener:load" "; Value:" Error: Cookies are currently disabled in the browser. Please enable cookies for GrowSurf to work.at Function.value (https://growsurf.com/growsurf.js?v=2.0.0:1:481047)at https://growsurf.com/growsurf.js?v=2.0.0:1:778897at f (https://growsurf.com/growsurf.js?v=2.0.0:1:867193)at Generator._invoke (https://growsurf.com/growsurf.js?v=2.0.0:1:866981)at Generator.next (https://growsurf.com/growsurf.js?v=2.0.0:1:867622)at kp (https://growsurf.com/growsurf.js?v=2.0.0:1:775999)at i (https://growsurf.com/growsurf.js?v=2.0.0:1:776203)at https://growsurf.com/growsurf.js?v=2.0.0:1:776264at new C (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:17699)at https://growsurf.com/growsurf.js?v=2.0.0:1:776143at https://growsurf.com/growsurf.js?v=2.0.0:1:779708at c (https://growsurf.com/growsurf.js?v=2.0.0:1:779881)at i (https://app.mightyforms.com/main-es2017.bcd307c08c0d78e77e2a.js:1:3237078)at l.invokeTask (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:7166)at t.runTask (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:2562)at u.invokeTask [as invoke] (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:8216)at _ (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:20033)at k (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:20354) "Error: Cookies are currently disabled in the browser. Please enable cookies for GrowSurf to work.\n at Function.value (https://growsurf.com/growsurf.js?v=2.0.0:1:481047)\n at https://growsurf.com/growsurf.js?v=2.0.0:1:778897\n at f (https://growsurf.com/growsurf.js?v=2.0.0:1:867193)\n at Generator._invoke (https://growsurf.com/growsurf.js?v=2.0.0:1:866981)\n at Generator.next (https://growsurf.com/growsurf.js?v=2.0.0:1:867622)\n at kp (https://growsurf.com/growsurf.js?v=2.0.0:1:775999)\n at i (https://growsurf.com/growsurf.js?v=2.0.0:1:776203)\n at https://growsurf.com/growsurf.js?v=2.0.0:1:776264\n at new C (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:17699)\n at https://growsurf.com/growsurf.js?v=2.0.0:1:776143\n at https://growsurf.com/growsurf.js?v=2.0.0:1:779708\n at c (https://growsurf.com/growsurf.js?v=2.0.0:1:779881)\n at i (https://app.mightyforms.com/main-es2017.bcd307c08c0d78e77e2a.js:1:3237078)\n at l.invokeTask (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:7166)\n at t.runTask (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:2562)\n at u.invokeTask [as invoke] (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:8216)\n at _ (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:20033)\n at k (https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js:1:20354)"
- > GET request to /wp-admin/admin.php?page=mightyforms
- > Javascript (severe) in unknown
https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js 0:6547 Uncaught Error: Cookies are currently disabled in the browser. Please enable cookies for GrowSurf to work.
- > GET request to /wp-admin/admin.php?page=mightyforms
- > Network (severe)
https://app.mightyforms.com/api/user - Failed to load resource: the server responded with a status of 401 ()
- > GET request to /wp-admin/admin.php?page=mightyforms
- > Javascript (severe) in unknown
https://app.mightyforms.com/polyfills-es2017.7e66656d7905cdf98949.js 0:2635 Uncaught
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 24 tag instead of maximum 10
mightyforms/mightyforms.php Passed 13 tests
The entry point to "Contact Form, Survey & Form Builder - MightyForms" version 1.3.8 is a PHP file that has certain tags in its header comment area
131 characters long description:
Powerful web forms - made easy. Quickly create beautiful forms for any website with this intuitive Drag & Drop online form builder.
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
There were no executable files found in this plugin613 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 89 | 90 | 219 |
JavaScript | 3 | 15 | 4 | 217 |
CSS | 3 | 25 | 3 | 144 |
SVG | 3 | 0 | 0 | 33 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 0.83KB | 0.82KB | ▼ 1.30% |
images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
images/gutenberg_icon.png | 1.21KB | 0.95KB | ▼ 21.50% |
images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |