sparkletown/sparkle

View on GitHub
src/components/templates/AnimateMap/game/constants/StubData.tsx

Summary

Maintainability
B
6 hrs
Test Coverage

Function stubArtcarsData has 138 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const stubArtcarsData = () => {
  const users: Array<ReplicatedArtcar> = [];
  const arr = [
    {
      name: "Darth Paul Art Car",
Severity: Major
Found in src/components/templates/AnimateMap/game/constants/StubData.tsx - About 5 hrs to fix

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

export const stubUsersData = () => {
  const config = GameInstance.instance.getConfig();

  const users: Map<string, ReplicatedUser> = new Map();
  const len = GameConfig.QA_BOTS_NUMBER;
Severity: Minor
Found in src/components/templates/AnimateMap/game/constants/StubData.tsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status