glitch-soc/mastodon

View on GitHub
app/javascript/flavours/glitch/components/link.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function render has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render () {
    const { click } = this.handlers;
    const {
      children,
      className,
Severity: Minor
Found in app/javascript/flavours/glitch/components/link.jsx - About 1 hr to fix

    Consider simplifying this complex logical expression.
    Open

        if (!onClick || e.button || e.ctrlKey || e.shiftKey || e.altKey || e.metaKey) {
          return;
        }
    Severity: Major
    Found in app/javascript/flavours/glitch/components/link.jsx - About 40 mins to fix

      There are no issues that match your filters.

      Category
      Status