enclose-io/compiler

View on GitHub
current/benchmark/policy/policy-startup.js

Summary

Maintainability
A
1 hr
Test Coverage

Function main has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function main(conf) {
  const hash = (str, algo) => {
    const hash = require('crypto').createHash(algo);
    return hash.update(str).digest('base64');
  };
Severity: Minor
Found in current/benchmark/policy/policy-startup.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status