code: public OverviewStats valuate(CucumberFeatureResult result) {
          this.reset();
          result.valuate();
          this.addOverallDuration(result.getDuration());
          if (result.getStatus().equals("passed")) {
              this.addFeaturesPassed(1);
          } else if (result.getStatus().equals("failed")) {
              this.addFeaturesFailed(1);
          }  else if (result.getStatus().equals("known")) {
              this.addFeaturesKnown(1);
          } else {
              this.addFeaturesUndefined(1);
          }
          this.addScenariosPassed(result.getPassed());
          this.addScenariosFailed(result.getFailed());
          this.addScenariosKnown(result.getKnown());
          this.addScenariosUndefined(result.getUndefined() + result.getSkipped());
  
          for (CucumberScenarioResult scenario : result.getElements()) {
              this.addStepsPassed(scenario.getPassed());
              this.addStepsFailed(scenario.getFailed());
              this.addStepsKnown(scenario.getKnown());
              this.addStepsUndefined(scenario.getUndefined() + scenario.getSkipped());
          }
          return this;
      }
docs: Calculates run statistics for the single feature result.
  @param result the feature result data to calculate statistics for.
  @return the calculated statistics for the specific feature.