loomio/loomio

View on GitHub
vue/src/shared/models/null_group_model.js

Summary

Maintainability
B
5 hrs
Test Coverage

NullGroupModel has 32 functions (exceeds 20 allowed). Consider refactoring.
Open

export default class NullGroupModel {
  static singular = 'group';
  static plural = 'groups';
  static subscription = {};

Severity: Minor
Found in vue/src/shared/models/null_group_model.js - About 4 hrs to fix

    Function constructor has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      constructor() {
        const defaults = {
          parentId: null,
          name: I18n.t('discussion.direct_thread'),
          description: '',
    Severity: Minor
    Found in vue/src/shared/models/null_group_model.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status