calculate_metrics {understandBPMN} | R Documentation |
A calculation function for all metrics
Description
Creation object containing all metrics, which are : the number of empty sequence flows, the number of duplicate tasks, the number of data objects, the number of pools, the number of swimlanes, the number of message flows, the density, the coefficient of network connectivity, the average connector degree, the maximum connector degree, the sequentiality, the cyclicity, the diameter, the depth, the token_split, the control flow complexity, the connector mismatch, the connector heterogeneity and the crs
Usage
calculate_metrics(file_path, cross_connectivity_metric = TRUE,
signavio = FALSE, generate_new_path_log = FALSE)
Arguments
file_path |
file path of the BPMN file and |
cross_connectivity_metric |
a param indicating whether cross_connectivity shall be calculated as well |
signavio |
boolean which indicates whether the file stems from signavio |
generate_new_path_log |
used when it is not possible to save the path log such as with the Rapid miner or in unit tests and examples |
Value
a tibble with one row and for each metric a column
Examples
calculate_metrics(file_path, generate_new_path_log = TRUE)