hybridgroup/cylon-neurosky

View on GitHub

Showing 1 of 7 total issues

Function parsePacket has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Driver.prototype.parsePacket = function(data) {
  var reader = buffy.createReader(data);
  while (reader.bytesAhead() > 0) {
    switch (reader.uint8()) {
      case CODE_EX:
Severity: Minor
Found in lib/driver.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language