graycoreio/daffodil

View on GitHub
libs/order/driver/magento/2-4-1/src/helpers/test-data.service.ts

Summary

Maintainability
F
3 days
Test Coverage

Function create has 467 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  create(): MagentoOrderTestData {
    const mockDaffOrderAddress: DaffOrderAddress = this.daffOrderAddressFactory.create({
      region: '5',
    });
    const mockDaffOrderCoupon: DaffOrderCoupon = this.daffOrderCouponFactory.create();
Severity: Major
Found in libs/order/driver/magento/2-4-1/src/helpers/test-data.service.ts - About 2 days to fix

    File test-data.service.ts has 538 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import { Injectable } from '@angular/core';
    
    import {
      DaffOrder,
      DaffOrderAddress,
    Severity: Major
    Found in libs/order/driver/magento/2-4-1/src/helpers/test-data.service.ts - About 1 day to fix

      There are no issues that match your filters.

      Category
      Status