EmmaRamirez/Clickopolis

View on GitHub
src/classes/civilization.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function constructor has 80 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  constructor(civName:string, leaderName:string, leader:Leader, biomes:Collection<Biome>) {
    this.civName = civName;
    this.leaderName = leaderName;
    //this.location = location;
    this.biomes = biomes;
Severity: Major
Found in src/classes/civilization.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status