prey/prey-node-client

View on GitHub
lib/agent/providers/hardware/linux.js

Summary

Maintainability
A
1 hr
Test Coverage

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

exports.get_firmware_info = function(callback) {

  var get_value = function(output, string) {
    var regex = new RegExp(string + ": (.*)");
    var matches = output.toString().match(regex);
Severity: Minor
Found in lib/agent/providers/hardware/linux.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status