prey/prey-node-client

View on GitHub
lib/agent/providers/webcam/linux/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

exports.get_picture = function(main_callback){

  var picture_file = temp_path('picture.' + process.pid + '.jpg'),
      tmp_path     = '/tmp',
      size         = '640x480',
Severity: Major
Found in lib/agent/providers/webcam/linux/index.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status