Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1339

Reduce code duplication in Report Evaluation

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-alpha1, 2.2.0
    • Component/s: backend
    • Labels:
      None

      Description

      Right now we have separate classes for every view operation, which are very similar (e.g. average vs. min vs. median vs. max flow node duration), which results in a lot of duplicated code, causing problems in consistency (using constants vs. using inline strings) as well as copy-paste errors.

      -We should think about both reducing the amount of classes in the commands as well as reducing the amount of extract methods in the ReportEvaluator.-

        Activity

        Hide
        johannes.heinemann Johannes Heinemann added a comment -

        The reduction of the extract methods will be done with OPT-1345.

        Show
        johannes.heinemann Johannes Heinemann added a comment - The reduction of the extract methods will be done with OPT-1345 .

          People

          • Assignee:
            Unassigned
            Reporter:
            sebastian.stamm Sebastian Stamm
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: