Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.24ms] Passed 4 tests
An overview of server-side resources used by Integration for Luminate and Gravity Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.55 ▼7.46 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.18 ▼18.03 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.46 ▼8.53 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.07 ▼10.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.88 ▼1.98 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Integration for Luminate and Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.41 | 1.94 ▼0.07 | 44.32 ▲1.02 |
Dashboard /wp-admin | 2,192 ▲15 | 5.59 ▼0.08 | 84.83 ▼9.44 | 41.26 ▲0.08 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▲0.03 | 33.78 ▼3.15 | 32.23 ▼3.63 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.15 ▼0.06 | 661.87 ▼27.59 | 56.41 ▲1.48 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.23 ▼0.01 | 98.20 ▼6.45 | 42.55 ▼1.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/integration-for-luminate-and-gravity-forms/gravityforms-luminate.php on line 13
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/integration-for-luminate-and-gravity-forms/gravityforms-luminate.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/integration-for-luminate-and-gravity-forms/inc/class-gf-luminate.php:15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/integration-for-luminate-and-gravity-forms/gravityforms-luminate.php on line 13
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 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
3 plugin tags: integration, forms, crm
integration-for-luminate-and-gravity-forms/gravityforms-luminate.php 77% from 13 tests
Analyzing the main PHP file in "Integration for Luminate and Gravity Forms" version 1.3.2
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 200 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("integration-for-luminate-and-gravity-forms.php" instead of "gravityforms-luminate.php")
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
Everything looks great! No dangerous files found in this plugin5,680 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 529 | 741 | 2,436 |
CSS | 6 | 121 | 27 | 1,692 |
Sass | 35 | 212 | 1 | 1,284 |
JavaScript | 4 | 45 | 24 | 210 |
JSON | 1 | 0 | 0 | 35 |
SVG | 1 | 0 | 1 | 23 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 4.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 15 | 15.96% |
▷ Public methods | 91 | 96.81% |
▷ Protected methods | 1 | 1.06% |
▷ Private methods | 2 | 2.13% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/vendor/hideshowpassword/wink.png | 0.39KB | 0.42KB | 0.00% |
assets/images/cshp-logo.png | 17.61KB | 8.19KB | ▼ 53.47% |