rangoo94/bestest

View on GitHub
packages/execution/lib/internal/measureSynchronousFunctionExecution.ts

Summary

Maintainability
A
0 mins
Test Coverage

Function measureSynchronousFunctionExecution has 43 lines of code (exceeds 30 allowed). Consider refactoring.
Invalid

function measureSynchronousFunctionExecution (
  fn: SynchronousTestFunctionType,
  options: Partial<SynchronousFunctionExecutionOptionsInterface>,
  executionsPerSample: number = 1
): FunctionExecutionMeasurementInterface {

    Function runTest has 37 lines of code (exceeds 30 allowed). Consider refactoring.
    Invalid

      function runTest () {
        // Initialize result arrays
        const timeEntries = []
        const failureTimeEntries = []
    
    

      There are no issues that match your filters.

      Category
      Status