Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.03ms] Passed 4 tests
A check of server-side resources used by Gravity Fieldset for Gravity Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.03 ▼3.34 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.21 ▼0.20 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.94 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 78.10 ▼8.33 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.09 ▼2.84 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Gravity Fieldset for Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.62 ▼0.78 | 4.69 ▲2.92 | 41.50 ▼2.94 |
Dashboard /wp-admin | 2,223 ▲35 | 5.75 ▼0.11 | 94.91 ▼11.86 | 42.39 ▲4.20 |
Posts /wp-admin/edit.php | 2,109 ▲23 | 1.97 ▼0.06 | 39.77 ▲3.54 | 33.69 ▲2.29 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 23.26 ▲5.61 | 660.60 ▼27.06 | 59.09 ▲9.64 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.21 ▲0.02 | 102.27 ▲1.04 | 47.11 ▲2.37 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/gravity-fieldset-for-gravity-forms/js/raak_fieldset_admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-fieldset-for-gravity-forms/gravity-fieldset-for-gravity-forms.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: wrapper, forms, fieldset, gravity forms styling, gravity forms
gravity-fieldset-for-gravity-forms/gravity-fieldset-for-gravity-forms.php Passed 13 tests
The main file in "Gravity Fieldset for Gravity Forms" v. 0.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
117 characters long description:
Extends the Gravity Forms plugin - adding a fieldset open and close field that can be used to create 'real' sections.
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
Success! There were no dangerous files found in this plugin292 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 170 | 65 | 174 |
JavaScript | 1 | 52 | 0 | 55 |
PO File | 1 | 21 | 37 | 44 |
CSS | 1 | 14 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 10 | 83.33% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin