knsv/mermaid

View on GitHub
packages/mermaid/src/diagrams/class/classTypes.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function parseMember has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  parseMember(input: string) {
    let potentialClassifier = '';

    if (this.memberType === 'method') {
      const methodRegEx = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/;
Severity: Minor
Found in packages/mermaid/src/diagrams/class/classTypes.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status