FC-softwares/baseball-scoreboard

View on GitHub
app/js/redVerSess.js

Summary

Maintainability
A
0 mins
Test Coverage

Showing 0 of 1 total issue

Function redVerSess has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Wontfix

function redVerSess() {
const token = localStorage.getItem('token');
const user = localStorage.getItem('user');
if (!token || !user)
window.location.href = '/login.html';
Severity: Minor
Found in app/js/redVerSess.js - About 45 mins to fix

There are no issues that match your filters.

Category
Status