ngscheurich/fresh-pots

View on GitHub

Showing 4 of 16 total issues

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

  render() {
    const { brew } = this.props;

    return (
      <div className="flex-1">
Severity: Major
Found in app/frontend/js/components/Brew.js - About 3 hrs to fix

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

      render() {
        return (
          <div>
            <button
              className="input-reset ph0 bn bg-black br-100 fixed flex items-center justify-center tc"
    Severity: Major
    Found in app/frontend/js/components/MobileMenu.js - About 2 hrs to fix

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

        render() {
          const size = this.props.size;
          const strokeWidth = this.props.strokeWidth;
          const hourHandWidth = this.props.hourHandWidth;
          const hourHandLength = this.props.hourHandLength;
      Severity: Minor
      Found in app/frontend/js/components/Clock.js - About 1 hr to fix

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

          render() {
            return (
              <div className="fr relative">
                <button
                  className="input-reset ph0 bn bg-transparent pointer flex items-center dim"
        Severity: Minor
        Found in app/frontend/js/components/UserMenu.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language