code: private void initBuildScoreChildrenSettings(BuildScoreSettings buildScoreSettings) {
      ScoreComponentSettings buildStatusSettings = Utils.getInstanceIfNull(
        buildScoreSettings.getStatus(),
        ScoreComponentSettings.class
      );
      buildStatusSettings.setCriteria(
        Utils.mergeCriteria(buildScoreSettings.getCriteria(), buildStatusSettings.getCriteria())
      );
      buildScoreSettings.setStatus(buildStatusSettings);
  
      BuildScoreSettings.BuildDurationScoreSettings buildDurationSettings = Utils.getInstanceIfNull(
        buildScoreSettings.getDuration(),
        BuildScoreSettings.BuildDurationScoreSettings.class
      );
  
      buildDurationSettings.setCriteria(
        Utils.mergeCriteria(buildScoreSettings.getCriteria(), buildDurationSettings.getCriteria())
      );
      buildScoreSettings.setDuration(buildDurationSettings);
    }
docs: Initialize Settings for child components in build widget
  1. Build Status criteria settings
  2. Build Duration criteria settings
  
  @param buildScoreSettings