Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.72ms] Passed 4 tests
A check of server-side resources used by Divi Forms Styler - Gravity Forms, Fluent Forms & Contact Form 7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 34.73 ▼9.10 |
Dashboard /wp-admin | 3.43 ▲0.13 | 45.31 ▼3.69 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 47.59 ▼3.55 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 82.72 ▼10.52 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.61 ▲7.70 |
Divi Forms Styler /wp-admin/admin.php?page=divi-forms-styler | 3.32 | 34.39 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
tfs_plugin_current_version |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Divi Forms Styler - Gravity Forms, Fluent Forms & Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲107 | 13.74 ▼0.90 | 27.39 ▲25.53 | 35.91 ▼11.37 |
Dashboard /wp-admin | 2,232 ▲55 | 5.52 ▲0.01 | 94.80 ▼3.38 | 74.17 ▲28.46 |
Posts /wp-admin/edit.php | 2,141 ▲44 | 2.09 ▲0.08 | 41.11 ▼0.92 | 34.07 ▼3.87 |
Add New Post /wp-admin/post-new.php | 1,572 ▲46 | 19.05 ▼4.11 | 676.68 ▲3.14 | 63.32 ▲5.11 |
Media Library /wp-admin/upload.php | 1,437 ▲34 | 4.18 ▼0.02 | 103.80 ▲2.53 | 85.51 ▲41.03 |
Divi Forms Styler /wp-admin/admin.php?page=divi-forms-styler | 1,034 | 11.20 | 229.80 | 153.07 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- tfs_plugin_current_version
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require_once(TFS_PLUGIN_PATHincludes/deprecated/cf7-helper.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-styler-for-divi/plugin.php on line 36
- > PHP Fatal error
require_once(): Failed opening required 'TFS_PLUGIN_PATHincludes/deprecated/cf7-helper.php' (include_path='.:/usr/share/php') in wp-content/plugins/cf7-styler-for-divi/plugin.php on line 36
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/cf7-styler-for-divi/includes/modules/Base/Base.php:3
- > PHP Warning
Use of undefined constant TFS_PLUGIN_PATH - assumed 'TFS_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cf7-styler-for-divi/plugin.php on line 25
- > PHP Warning
Use of undefined constant TFS_BASENAME - assumed 'TFS_BASENAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/cf7-styler-for-divi/plugin.php on line 25
- > PHP Warning
include_once(TFS_PLUGIN_PATHincludes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-styler-for-divi/plugin.php on line 35
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/cf7-styler-for-divi/includes/special-notices.php:4
- > PHP Warning
include_once(): Failed opening 'TFS_PLUGIN_PATHincludes/functions.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/cf7-styler-for-divi/plugin.php on line 35
- > PHP Warning
Use of undefined constant TFS_BASENAME_DIR - assumed 'TFS_BASENAME_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/cf7-styler-for-divi/plugin.php on line 25
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: divi builder, divi, contact form 7, divi theme, divi modules
cf7-styler-for-divi/cf7-styler.php 85% from 13 tests
This is the main PHP file of "Divi Forms Styler - Gravity Forms, Fluent Forms & Contact Form 7" version 2.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cf7-styler-for-divi.php" instead of "cf7-styler.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected3,387 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 447 | 80 | 3,142 |
CSS | 3 | 40 | 0 | 232 |
JSON | 1 | 0 | 0 | 8 |
JavaScript | 4 | 0 | 2 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 19.78 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 20 | 21.28% |
▷ Public methods | 66 | 70.21% |
▷ Protected methods | 2 | 2.13% |
▷ Private methods | 26 | 27.66% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 15 | |
▷ Global constants | 6 | 40.00% |
▷ Class constants | 9 | 60.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin