code quality: refactor huge conditional statement
The following discussion from !5 (merged) should be addressed:
-
@mgoebel started a discussion: i suggest splitting the content of this conditional statement into separate functions as it spans over 38 rows.