Figedi/denon_menu

View on GitHub

Showing 7 of 85 total issues

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

  render() {
    const { volume, channel, power } = this.props;
    const buttonClasses = type =>
      classNames({
        btn: true,
Severity: Minor
Found in app/containers/Home/index.js - About 1 hr to fix

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

      render() {
        const { ip, startup } = this.props;
    
        return (
          <Layout buttonLink="/">
    Severity: Minor
    Found in app/containers/Config/index.js - About 1 hr to fix

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

        render() {
          const { volume, channel, power } = this.props;
          const buttonClasses = type =>
            classNames({
              btn: true,
      Severity: Minor
      Found in app/components/Home/index.js - About 1 hr to fix

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

          render() {
            const { ip, startup } = this.props;
        
            return (
              <div className="window-content window-content--flex-inner">
        Severity: Minor
        Found in app/components/Config/index.js - About 1 hr to fix

          Function renderModalContent has 29 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            renderModalContent() {
              const { $pending, $error } = this.props;
              const inProgress = $pending.length && $pending.filter(pendingAction => pendingAction === 'getPower').length > 0;
              if ($error) {
                return (
          Severity: Minor
          Found in app/containers/Home/index.js - About 1 hr to fix

            Function renderModalContent has 29 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              renderModalContent() {
                const { $pending, $error } = this.props;
                const inProgress = $pending.length && $pending.filter(pendingAction => pendingAction === 'getPower').length > 0;
                if ($error) {
                  return (
            Severity: Minor
            Found in app/components/Home/index.js - About 1 hr to fix

              Function denonReducer has 26 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              export default function denonReducer(state: DenonState = INITAL_STATE, action: ReduxStandardAction): DenonState {
                switch (action.type) {
                  case DENON_ACTIONS.reset:
                    return resetAll();
                  case DENON_ACTIONS.error:
              Severity: Minor
              Found in app/reducers/denon.js - About 1 hr to fix
                Severity
                Category
                Status
                Source
                Language