TryGhost/Ghost

View on GitHub
ghost/data-generator/lib/importers/StripePricesImporter.js

Summary

Maintainability
A
1 hr
Test Coverage

Function generate has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    generate() {
        const count = this.count;
        this.count = this.count + 1;

        const relatedProduct = this.products.find(product => product.id === this.model.product_id);
Severity: Minor
Found in ghost/data-generator/lib/importers/StripePricesImporter.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status