Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.06ms] Passed 4 tests
This is a short check of server-side resources used by Blue Cube Mighty Gravity Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.98 ▼7.66 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.79 ▼4.68 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.97 ▼0.02 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.03 ▲1.12 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.24 ▲0.12 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Blue Cube Mighty Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.20 ▼1.18 | 1.91 ▲0.09 | 40.20 ▼10.45 |
Dashboard /wp-admin | 2,206 ▲15 | 4.87 ▼0.16 | 108.08 ▲5.01 | 39.19 ▼0.98 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.02 | 40.17 ▲5.16 | 34.61 ▲0.83 |
Add New Post /wp-admin/post-new.php | 1,543 ▼1 | 18.63 ▲0.52 | 632.94 ▲24.57 | 83.96 ▲26.75 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.25 ▲0.07 | 93.92 ▼5.96 | 41.01 ▼3.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php
- 45× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: ruler_field_jquery_selector in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 13
- > PHP Notice
Undefined variable: dep_field_suffix in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 54
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 19
- > PHP Notice
Undefined variable: dep_field_suffix in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 44
- > PHP Notice
Undefined variable: dep_field_suffix in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 59
- > PHP Notice
Undefined variable: dep_field_jquery_selector in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 12
- > PHP Notice
Undefined variable: ruler_field_suffix in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 49
- > PHP Notice
Undefined variable: rule in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 18
- > PHP Notice
Undefined variable: dep_field_suffix in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 21
- > PHP Notice
Undefined variable: ruler_field_jquery_selector in wp-content/plugins/bluecube-mighty-gravity-forms/template/number-range-change-front-end-code.php on line 36
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Donate link: Invalid URI ("")
bluecube-mighty-gravity-forms/bluecube-mighty-gravityforms.php 92% from 13 tests
"Blue Cube Mighty Gravity Forms" version 1.1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("bluecube-mighty-gravity-forms.php" instead of "bluecube-mighty-gravityforms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected532 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 184 | 284 | 532 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 107.00 |
▷ Minimum class complexity | 107.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 41.86% |
▷ Protected methods | 24 | 55.81% |
▷ Private methods | 1 | 2.33% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin