Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.49ms] Passed 4 tests
An overview of server-side resources used by Merchant Warrior Add-On - DirectAPI Method for Gravity Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.71 ▼7.96 |
Dashboard /wp-admin | 3.41 ▲0.11 | 51.08 ▲1.88 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 44.33 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 89.86 ▼6.51 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 35.32 ▲2.28 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Merchant Warrior Add-On - DirectAPI Method for Gravity Forms: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.45 ▲0.16 | 1.78 ▼0.05 | 54.86 ▲10.98 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▲0.92 | 98.37 ▼16.45 | 42.20 ▼1.31 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.02 | 36.67 ▼1.06 | 35.72 ▲2.35 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.24 ▲5.75 | 641.72 ▼40.66 | 54.02 ▼5.68 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▼0.05 | 94.90 ▼10.09 | 41.98 ▼1.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/gf-merchant-warrior-add-on-directapi-method/views/admin-settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Contributors: Plugin contributors not specified
gf-merchant-warrior-add-on-directapi-method/gravityforms-merchantwarrior-directapi.php 69% from 13 tests
The main PHP file in "Merchant Warrior Add-On - DirectAPI Method for Gravity Forms" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("gf-merchant-warrior-add-on-directapi-method.php" instead of "gravityforms-merchantwarrior-directapi.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 151 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
There were no executable files found in this plugin806 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 299 | 483 | 806 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 18.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 12 | 24.49% |
▷ Public methods | 36 | 73.47% |
▷ Protected methods | 10 | 20.41% |
▷ Private methods | 3 | 6.12% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 15 | 83.33% |
▷ Class constants | 3 | 16.67% |
▷ Public constants | 3 | 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
There were not PNG files found in your plugin