8. An apparatus for extracting at least one business process metric from a modeling language diagram, the system comprising: one or more processors; and one or more memories operatively coupled to at least one of the one or more processors and having instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to: generate a modeling language diagram corresponding to a business process; identify one or more design elements in the modeling language diagram, wherein the one or more design elements are relevant to one or more business process metrics; define one or more custom stereotypes corresponding to the one or more design elements in the modeling language diagram; generate an object constraint language (OCL) query including at least one custom stereotype of the one or more custom stereotypes, wherein the OCL query is configured to compute a business process metric in the one or more business process metrics by identifying one or more occurrences of the at least one custom stereotype in a process flow corresponding to the modeling language diagram; and run the OCL query on the modeling language diagram to compute the business process metric.
8. An apparatus for extracting at least one business process metric from a modeling language diagram, the system comprising: one or more processors; and one or more memories operatively coupled to at least one of the one or more processors and having instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to: generate a modeling language diagram corresponding to a business process; identify one or more design elements in the modeling language diagram, wherein the one or more design elements are relevant to one or more business process metrics; define one or more custom stereotypes corresponding to the one or more design elements in the modeling language diagram; generate an object constraint language (OCL) query including at least one custom stereotype of the one or more custom stereotypes, wherein the OCL query is configured to compute a business process metric in the one or more business process metrics by identifying one or more occurrences of the at least one custom stereotype in a process flow corresponding to the modeling language diagram; and run the OCL query on the modeling language diagram to compute the business process metric. 13. The apparatus of claim 8 , wherein the OCL query is run using a tool that that supports the modeling language diagram, custom stereotypes, and an OCL specification.