TryGhost/Ghost

View on GitHub
ghost/admin/mirage/config/stats.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function mockStats has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function mockStats(server) {
    server.get('/stats/subscriptions/', function () {
        return {
            stats: [],
            meta: {
Severity: Major
Found in ghost/admin/mirage/config/stats.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status