gocodebox/lifterlms

View on GitHub
includes/privacy/class-llms-privacy.php

Summary

Maintainability
A
2 hrs
Test Coverage
F
0%

Method get_privacy_message has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function get_privacy_message() {
        $content = '
            <div class="wp-suggested-text">' .
                '<p class="privacy-policy-tutorial">' .
                    __( 'This sample language includes the basics around what personal data your learning platform may be collecting, storing and sharing, as well as who may have access to that data. Depending on what settings are enabled and which additional add-ons are used, the specific information shared by your site will vary. We recommend consulting with a lawyer when deciding what information to disclose on your privacy policy.', 'lifterlms' ) .
Severity: Minor
Found in includes/privacy/class-llms-privacy.php - About 1 hr to fix

    Method get_order_data_props has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected static function get_order_data_props( $type ) {
    
            $props = array();
    
            // don't erase these fields, only export them
    Severity: Minor
    Found in includes/privacy/class-llms-privacy.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status