10% gravity-forms-data-persistence-add-on-reloaded

Code Review | Gravity Forms Data Persistence Add-On Reloaded

WordPress plugin Gravity Forms Data Persistence Add-On Reloaded scored 10% from 54 tests.

About plugin

  • Plugin page: gravity-forms-dat...
  • Plugin version: 3.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9.2-4.2.2
  • WordPress version: 6.3.1
  • First release: Jul 12, 2014
  • Latest release: Feb 14, 2016
  • Number of updates: 39
  • Update frequency: every 14.9 days
  • Top authors: unclhos (100%)

Code review

54 tests

User reviews

18 reviews

Install metrics

1,000+ active / 8,196 total downloads


Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Error in wp-content/plugins/gravity-forms-data-persistence-add-on-reloaded/gravity-forms-data-persistence-add-on-reloaded.php+18
    Uncaught Error: Class 'RGFormsModel' not found in wp-content/plugins/gravity-forms-data-persistence-add-on-reloaded/gravity-forms-data-persistence-add-on-reloaded.php:18
    Stack trace:
    #0 wp-includes/class-wp-hook.php(310): ri_gfdp_install()
    #1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 wp-admin/includes/plugin.php(693): do_action()

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.64ms] Passed 4 tests

A check of server-side resources used by Gravity Forms Data Persistence Add-On Reloaded
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.08 ▼4.75
Dashboard /wp-admin3.31 ▲0.0045.60 ▼1.82
Posts /wp-admin/edit.php3.36 ▲0.0048.74 ▲1.05
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.05 ▼11.07
Media Library /wp-admin/upload.php3.23 ▲0.0032.45 ▼0.93

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Gravity Forms Data Persistence Add-On Reloaded
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.30 ▼1.071.59 ▼0.2138.15 ▼1.10
Dashboard /wp-admin2,203 ▲115.84 ▲0.9398.51 ▼18.9439.32 ▼2.34
Posts /wp-admin/edit.php2,086 ▼62.03 ▲0.0241.02 ▲0.9135.92 ▼0.23
Add New Post /wp-admin/post-new.php1,533 ▼921.31 ▲3.02699.08 ▲92.7155.29 ▼4.59
Media Library /wp-admin/upload.php1,391 ▲34.25 ▲0.0697.60 ▲0.4843.91 ▼1.70

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
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/gravity-forms-data-persistence-add-on-reloaded/gravity-forms-data-persistence-add-on-reloaded.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: addon, field, gravity, data, plug-in...

gravity-forms-data-persistence-add-on-reloaded/gravity-forms-data-persistence-add-on-reloaded.php 92% from 13 tests

The entry point to "Gravity Forms Data Persistence Add-On Reloaded" version 3.3.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 342 characters long)

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
No dangerous file extensions were detected413 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions24100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin