secureCodeBox/secureCodeBox

View on GitHub
scanners/ssh-scan/parser/parser.js

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Function parse has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function parse(fileContent) {
  const hosts = fileContent;

  if (typeof (hosts) === "string") // empty file
    return [];
Severity: Major
Found in scanners/ssh-scan/parser/parser.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status