ya332/react-feedback-popup

View on GitHub

Showing 4 of 8 total issues

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

    render() {
        const {
            headerText,
            buttonText,
            position,
Severity: Major
Found in src/components/Feedback.js - About 2 hrs to fix

    Function App has 47 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function App() {
        return (
            <div className="App">
                <header className="App-header">
                    <img src={logo} className="App-logo" alt="logo" />
    Severity: Minor
    Found in src/App.js - About 1 hr to fix

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

        render(){
          const {
            headerStyles,
            headerText,
            position,
      Severity: Minor
      Found in src/components/Form.js - About 1 hr to fix

        Function registerValidSW has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function registerValidSW(swUrl, config) {
          navigator.serviceWorker
            .register(swUrl)
            .then(registration => {
              registration.onupdatefound = () => {
        Severity: Minor
        Found in src/serviceWorker.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language