appbaseio/dejaVu

View on GitHub
packages/browser/src/utils/sampleData.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getSampleData has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const getSampleData = properties => {
    const data = {};
    Object.keys(properties).forEach(item => {
        if (META_FIELDS.indexOf(item) === -1) {
            switch (properties[item].type) {
Severity: Minor
Found in packages/browser/src/utils/sampleData.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status