In the case of bad designed workflows warnings would appear. The problem is what set of rules you define.
Here are some possible criteria:
- Using Activities in a flowchart
- Using too many activities inside a workflow
- Invoking a workflow from an independent one
- Not adding comments or annotations
- Not having a naming conventions
There might be some opportunities here to use a machine learning algorithm to identify the good from the bad.