jbenden/vscode-c-cpp-flylint

View on GitHub
server/src/linters/clang.ts

Summary

Maintainability
A
2 hrs
Test Coverage
A
91%

Function buildCommandLine has 84 lines of code (exceeds 50 allowed). Consider refactoring.
Open

    protected buildCommandLine(fileName: string, tmpFileName: string): string[] {
        let includePathParams = this.getIncludePathParams();
        let languageParam = this.getLanguageParam();
        let iquoteParams: string[];

Severity: Major
Found in server/src/linters/clang.ts - About 2 hrs to fix

    Avoid too many return statements within this function.
    Open

                return {
                    parseError: 'Line could not be parsed: ' + line,
                    fileName: '',
                    line: 0,
                    column: 0,
    Severity: Major
    Found in server/src/linters/clang.ts - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status