Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.62ms] Passed 4 tests
Analyzing server-side resources used by Source Input for Gravity Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 41.26 ▼3.69 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.96 ▼7.75 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.87 ▼1.99 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.76 ▼5.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.60 ▼0.79 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Source Input for Gravity Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.75 ▼0.56 | 1.76 ▼0.25 | 43.90 ▲0.67 |
Dashboard /wp-admin | 2,206 ▲14 | 5.91 ▲0.94 | 108.58 ▼9.82 | 39.45 ▼5.82 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▲0.00 | 39.69 ▲1.27 | 35.84 ▲1.74 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.16 ▲0.48 | 610.84 ▼7.83 | 51.45 ▲4.18 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.30 ▲0.09 | 94.93 ▼1.00 | 41.20 ▼1.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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: Class 'GF_Field' not found in wp-content/plugins/source-input-for-gravity-forms/lib/GFSI_Source_Field.php:3
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/source-input-for-gravity-forms/lib/GFSI_AddOn.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- License uri: Please fix this invalid url: "License URI: http://www.gnu.org/licenses/gpl-3.0.html"
source-input-for-gravity-forms/source-input-for-gravity-forms.php Passed 13 tests
The main PHP file in "Source Input for Gravity Forms" ver. 0.1.1 adds more information about the plugin and also serves as the entry point for this plugin
23 characters long description:
Track conversion source
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin284 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 60 | 25 | 252 |
JavaScript | 1 | 8 | 1 | 32 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 4 | 20.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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 were not PNG files found in your plugin