cristiingineru/rabbit

View on GitHub
examples/face/eye.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function Eye has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function Eye(ctx) {

    this.draw = function (opt) {
      opt = Object.assign({
        cx: 0,
Severity: Minor
Found in examples/face/eye.js - About 1 hr to fix

    Function draw has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        this.draw = function (opt) {
          opt = Object.assign({
            cx: 0,
            cy: 0,
            width: 10,
    Severity: Minor
    Found in examples/face/eye.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status