SonarQube is indicating that the initial line of the object is lacking coverage, despite our comprehensive suite of tests designed to cover this record. This issue extends to all inherited records, even though we have diligently crafted tests to address them. We seek clarification on whether this concern might be attributed to a limitation in the current SonarQube release or if there exists an alternative approach to effectively cover these records. Your guidance on this matter would be greatly appreciated. Thank you.
public record ResultDto(
StatusType Status,
int OrderId,
DateTime CreatedDate,
int ResponseId,
int RequestId,
string ReferenceNo,
decimal Amount
) : BaseResultDto(
ResponseId,
RequestId,
OrderId,
ReferenceNo,
Amount,
Status
);