oxc_coverage_instrument 0.3.13

Istanbul-compatible JavaScript/TypeScript coverage instrumentation using the Oxc AST
Documentation
{
  "path": "14-nested-if.js",
  "statements": 5,
  "functions": 1,
  "branches": 2,
  "statementMap": {
    "0": {
      "start": {
        "line": 2,
        "column": 2
      },
      "end": {
        "line": 10,
        "column": 3
      }
    },
    "1": {
      "start": {
        "line": 3,
        "column": 4
      },
      "end": {
        "line": 7,
        "column": 5
      }
    },
    "2": {
      "start": {
        "line": 4,
        "column": 6
      },
      "end": {
        "line": 4,
        "column": 15
      }
    },
    "3": {
      "start": {
        "line": 6,
        "column": 6
      },
      "end": {
        "line": 6,
        "column": 15
      }
    },
    "4": {
      "start": {
        "line": 9,
        "column": 4
      },
      "end": {
        "line": 9,
        "column": 13
      }
    }
  },
  "fnMap": {
    "0": {
      "name": "f",
      "line": 1,
      "decl": {
        "start": {
          "line": 1,
          "column": 9
        },
        "end": {
          "line": 1,
          "column": 10
        }
      },
      "loc": {
        "start": {
          "line": 1,
          "column": 17
        },
        "end": {
          "line": 11,
          "column": 1
        }
      }
    }
  },
  "branchMap": {
    "0": {
      "type": "if",
      "line": 2,
      "loc": {
        "start": {
          "line": 2,
          "column": 2
        },
        "end": {
          "line": 10,
          "column": 3
        }
      },
      "locations": [
        {
          "start": {
            "line": 2,
            "column": 2
          },
          "end": {
            "line": 10,
            "column": 3
          }
        },
        {
          "start": {
            "line": 8,
            "column": 9
          },
          "end": {
            "line": 10,
            "column": 3
          }
        }
      ],
      "locationCount": 2
    },
    "1": {
      "type": "if",
      "line": 3,
      "loc": {
        "start": {
          "line": 3,
          "column": 4
        },
        "end": {
          "line": 7,
          "column": 5
        }
      },
      "locations": [
        {
          "start": {
            "line": 3,
            "column": 4
          },
          "end": {
            "line": 7,
            "column": 5
          }
        },
        {
          "start": {
            "line": 5,
            "column": 11
          },
          "end": {
            "line": 7,
            "column": 5
          }
        }
      ],
      "locationCount": 2
    }
  },
  "s": {
    "0": 0,
    "1": 0,
    "2": 0,
    "3": 0,
    "4": 0
  },
  "f": {
    "0": 0
  },
  "b": {
    "0": [
      0,
      0
    ],
    "1": [
      0,
      0
    ]
  }
}