[OPT-1339] Reduce code duplication in Report Evaluation Created: 19/Jul/18  Updated: 18/Apr/19  Resolved: 23/Jul/18

Status: Done
Project: Camunda Optimize
Component/s: backend
Affects Version/s: None
Fix Version/s: 2.2.0-alpha1, 2.2.0

Type: Task Priority: L3 - Default
Reporter: Sebastian Stamm Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.-



 Comments   
Comment by Johannes Heinemann [ 20/Jul/18 ]

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

Generated at Thu Jul 18 22:07:26 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.