Interface Statistics

All Known Implementing Classes:
PersistentStatistics

public interface Statistics
The Statistics of some path in the project.
  • Method Details

    • getMetricValue

      TranslationProgress getMetricValue(@NonNull Metric metric, @NonNull TranslateLanguage language)
      Gets the metric value.
      Parameters:
      metric - the metric, cannot return null.
      language - the language, cannot return null.
      Returns:
      the translation progress, can be null
    • getMetricPercentage

      float getMetricPercentage(@NonNull Metric metric, @NonNull TranslateLanguage language)
      Gets the metric percentage compared to the base value.
      Parameters:
      metric - the metric, cannot return null.
      language - the language, cannot return null.
      Returns:
      the metric percentage
    • getMetricValue

      int getMetricValue(@NonNull Metric metric)
      Gets the metric value.
      Parameters:
      metric - the metric of metric, cannot return null.
      Returns:
      the metric value