tofuness/Toshocat

View on GitHub
src/actions/syncer.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function switchToMyAnimeList has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function switchToMyAnimeList() {
  return (dispatch, getState) => {
    const { currentListName } = getState();
    const malSyncer = new SyncerFactory({
      username: toshoStore.get('myanimelist.username'),
Severity: Minor
Found in src/actions/syncer.js - About 1 hr to fix

    Function switchToHummingbird has 43 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export function switchToHummingbird() {
      return (dispatch, getState) => {
        const { currentListName } = getState();
        const hbSyncer = new SyncerFactory({
          username: toshoStore.get('hummingbird.username'),
    Severity: Minor
    Found in src/actions/syncer.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status