Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲5.01MB] [CPU: ▲26.30ms] 75% from 4 tests
An overview of server-side resources used by WP Tools Gravity Forms Divi Module
Please have a look at the following items
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.01MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.42 | 63.38 ▲21.12 |
Dashboard /wp-admin | 8.90 ▲5.60 | 74.86 ▲24.91 |
Posts /wp-admin/edit.php | 8.90 ▲5.55 | 79.97 ▲33.57 |
Add New Post /wp-admin/post-new.php | 9.35 ▲3.46 | 122.22 ▲25.59 |
Media Library /wp-admin/upload.php | 8.90 ▲5.67 | 69.45 ▲34.59 |
Gravity Form Divi /wp-admin/admin.php?page=wp-tools-gravity-forms-divi-module | 8.90 | 64.92 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 8.90 | 57.04 |
Server storage [IO: ▲3.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 234 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
fs_accounts |
widget_theysaidso_widget |
widget_recent-posts |
fs_active_plugins |
fs_debug_mode |
Browser metrics Passed 4 tests
Checking browser requirements for WP Tools Gravity Forms Divi Module
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲20 | 14.71 ▲0.35 | 1.68 ▼0.32 | 28.42 ▼16.84 |
Dashboard /wp-admin | 2,209 ▲29 | 5.53 ▼0.09 | 100.37 ▲7.49 | 48.25 ▲11.29 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 2.02 ▲0.06 | 41.79 ▲0.54 | 38.68 ▲5.12 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 21.70 ▼1.57 | 687.23 ▲53.08 | 57.63 ▲7.46 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.25 ▼0.03 | 101.65 ▼0.18 | 48.29 ▲3.46 |
Gravity Form Divi /wp-admin/admin.php?page=wp-tools-gravity-forms-divi-module | 979 | 1.66 | 27.41 | 62.22 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,082 | 1.66 | 24.25 | 26.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-tools-gravity-forms-divi-module/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- fs_debug_mode
- fs_active_plugins
- db_upgraded
- fs_accounts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-tools-gravity-forms-divi-module/resources/views/sub_menu.php
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-tools-gravity-forms-divi-module/resources/views/et_pb_wpt_gravityform.php:1
- > PHP Fatal error
Uncaught Error: Interface 'WPTools\\Psr\\Container\\ContainerInterface' not found in wp-content/plugins/wp-tools-gravity-forms-divi-module/vendor/wpt00ls/pimple/src/Pimple/Psr11/Container.php:37
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module_Field_Base' not found in wp-content/plugins/wp-tools-gravity-forms-divi-module/src/Divi/ET_Builder_Module_Field_Border.php:9
- > PHP Fatal error
Uncaught Error: Interface 'WPTools\\Psr\\Container\\ContainerInterface' not found in wp-content/plugins/wp-tools-gravity-forms-divi-module/vendor/wpt00ls/pimple/src/Pimple/Psr11/ServiceLocator.php:38
- > PHP Fatal error
Uncaught Error: Interface 'WPTools\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/wp-tools-gravity-forms-divi-module/vendor/wpt00ls/pimple/src/Pimple/Exception/ExpectedInvokableException.php:36
- > PHP Fatal error
Uncaught Error: Interface 'WPTools\\Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/wp-tools-gravity-forms-divi-module/vendor/wpt00ls/pimple/src/Pimple/Exception/UnknownIdentifierException.php:36
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/wp-tools-gravity-forms-divi-module/includes/modules/GravityFormExtension.php:6
- > PHP Fatal error
Uncaught Error: Interface 'WPTools\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/wp-tools-gravity-forms-divi-module/vendor/wpt00ls/pimple/src/Pimple/Exception/FrozenServiceException.php:36
- > PHP Fatal error
Uncaught Error: Class 'WPTools\\Pimple\\Container' not found in wp-content/plugins/wp-tools-gravity-forms-divi-module/src/Loader.php:9
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/wp-tools-gravity-forms-divi-module/includes/modules/GravityFormModule/GravityFormModule.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
6 plugin tags: gravityforms, gravity forms divi, divi, gravity forms, style gravityforms...
wp-tools-gravity-forms-divi-module/wp-tools-gravity-forms-divi-module.php 85% from 13 tests
"WP Tools Gravity Forms Divi Module" version 8.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 204 characters long)
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected35,824 lines of code in 179 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 152 | 8,371 | 18,325 | 35,248 |
JavaScript | 7 | 39 | 61 | 203 |
JSON | 3 | 0 | 0 | 186 |
reStructuredText | 1 | 96 | 139 | 97 |
CSS | 14 | 12 | 1 | 66 |
XML | 1 | 2 | 0 | 16 |
Markdown | 1 | 5 | 0 | 8 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 65.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 69 | |
▷ Abstract classes | 2 | 2.90% |
▷ Concrete classes | 67 | 97.10% |
▷ Final classes | 2 | 2.99% |
Methods | 1,400 | |
▷ Static methods | 218 | 15.57% |
▷ Public methods | 1,007 | 71.93% |
▷ Protected methods | 17 | 1.21% |
▷ Private methods | 376 | 26.86% |
Functions | 112 | |
▷ Named functions | 99 | 88.39% |
▷ Anonymous functions | 13 | 11.61% |
Constants | 145 | |
▷ Global constants | 98 | 67.59% |
▷ Class constants | 47 | 32.41% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/wp-tools-gravity-forms-divi-module.png | 1.37KB | 0.23KB | ▼ 82.93% |