nycJSorg/angular-presentation

View on GitHub
apps/kirjs/src/app/modules/binary/json/json.component.ts

Summary

Maintainability
B
4 hrs
Test Coverage

Function handleLineChange has 73 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  handleLineChange({ value: code, lineNumber }) {
    this.binaries = [
      {
        binary: '',
        comment: `we don't need to encode curly braces :)`
Severity: Major
Found in apps/kirjs/src/app/modules/binary/json/json.component.ts - About 2 hrs to fix

    Function binaries has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          Object.keys(val).map(key => {
            const value = val[key];
            const data: any = {};
    
            data.key = key;
    Severity: Minor
    Found in apps/kirjs/src/app/modules/binary/json/json.component.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status