maafaishal/rupiah-denominations

View on GitHub

Showing 3 of 3 total issues

Function SimpleTable has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function SimpleTable (props) {
  const { classes } = props
  let no = 1

  return (
Severity: Minor
Found in components/moneyTable.js - About 1 hr to fix

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

      render () {
        const { classes } = this.props
        const { amount, result, amountLeft, error } = this.state
    
        return (
    Severity: Minor
    Found in components/homepage.js - About 1 hr to fix

      Function getInitialProps has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      MyDocument.getInitialProps = ctx => {
        // Resolution order
        //
        // On the server:
        // 1. app.getInitialProps
      Severity: Minor
      Found in pages/_document.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language