Skip to content

Alter Static Reachability Java Coverage event

What does this MR do and why?

collect_ds_analyzer_scan_java_sr_coverage_metrics_from_pipeline event was introduced with Add Static Reachability Java Coverage event (!207864 - merged). Until today this event has not been sent from our analyzers. While integrating the event in our analyzers we realised that we don't need the label property. In this MR we edit the event so that it doesn't contain the label field. This helps reduce our size footprint

References

New DS analyzer: SR: Java: Track import mapping... (#561261 - closed)

Screenshots or screen recordings

Before After
{
  "event": "collect_ds_analyzer_scan_java_sr_coverage_metrics_from_pipeline",
  "property": "scan_uuid", // Scan UUID
  "label": "pom.xml", // input file path
  "value": 95, // Coverage percentage
}
{
  "event": "collect_ds_analyzer_scan_java_sr_coverage_metrics_from_pipeline",
  "property": "scan_uuid", // Scan UUID
  "value": 95, // Coverage percentage
}

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Nick Ilieskou

Merge request reports

Loading