gocodebox/lifterlms

View on GitHub
includes/class.llms.question.types.php

Summary

Maintainability
C
7 hrs
Test Coverage
A
99%

Method get_types has 160 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static function get_types() {

        $upgrade_url = 'https://lifterlms.com/product/advanced-quizzes/?utm_source=LifterLMS%20Plugin&utm_medium=Quiz%20Builder%20Button&utm_campaign=Advanced%20Question%20Upsell&utm_content=3.16.0&utm_term=';

        return array(
Severity: Major
Found in includes/class.llms.question.types.php - About 6 hrs to fix

    Method get_model has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static function get_model() {
    
            return apply_filters(
                'llms_question_type_model_defaults',
                array(
    Severity: Minor
    Found in includes/class.llms.question.types.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status