Process mining can be applied to software too!
Process Mining: Discovery, Conformance and Enhancement of Business Processes