prey/prey-node-client

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

Summary

Maintainability
A
1 hr
Test Coverage

Function get_active_nodes_list has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.get_active_nodes_list = function(callback){

  var nodes = [], skip = ['WORKGROUP', '..__MSBROWSE__.'];

  network.get_active_network_interface(function(err, nic) {
Severity: Minor
Found in lib/agent/providers/lan/linux.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status