Memristor-Robotics/mep-master

View on GitHub
src/drivers/lunarcollector/LunarCollectorDriver.js

Summary

Maintainability
A
3 hrs
Test Coverage

LunarCollectorDriver has 24 functions (exceeds 20 allowed). Consider refactoring.
Open

class LunarCollectorDriver {
    constructor(name, config) {
        this.config = Object.assign({
            ejectorSpeed: 150,
            colorTimeout: 6000
Severity: Minor
Found in src/drivers/lunarcollector/LunarCollectorDriver.js - About 2 hrs to fix

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

        constructor(name, config) {
            this.config = Object.assign({
                ejectorSpeed: 150,
                colorTimeout: 6000
            }, config);
    Severity: Minor
    Found in src/drivers/lunarcollector/LunarCollectorDriver.js - About 1 hr to fix

      TODO found
      Open

       * TODO: Delete this driver as soon as big robot is taken down.

      There are no issues that match your filters.

      Category
      Status