angelakuo/citydogshare

View on GitHub
public/assets/materialize/tooltip-7de1b1d9042095a500be33ae68b9c7541dee8adf8ffa47bff413b87ab330fe63.js

Summary

Maintainability
D
1 day
Test Coverage

Function tooltip has 163 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.fn.tooltip = function (options) {
      var timeout = null,
      margin = 5;

      // Defaults

    Function mouseenter.tooltip has 85 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            origin.on({'mouseenter.tooltip': function(e) {
              var showTooltip = function() {
                setAttributes();
                started = true;
                tooltipEl.velocity('stop');

      Function showTooltip has 82 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                var showTooltip = function() {
                  setAttributes();
                  started = true;
                  tooltipEl.velocity('stop');
                  backdrop.velocity('stop');

        There are no issues that match your filters.

        Category
        Status