HannahCarney/till_tech_test

View on GitHub

Showing 2 of 4 total issues

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

function HipsterList() {
//menu items
 this.shopInfo =
      {
        "shopName": "The Coffee Connection",
Severity: Minor
Found in public/js/hipsterList.js - About 1 hr to fix

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

    function routes(app, db) {
      app.get('/', function(req, res) {
        res.sendFile(path.join(__dirname, '../views', '/index.html'));
      });
    
    
    Severity: Minor
    Found in routes/index.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language