dv8_mdsmb_to_flaws: Computes the Architectural Flaws folder

dv8_mdsmb_to_flawsR Documentation

Computes the Architectural Flaws folder

Description

Computes the Architectural Flaws folder

Usage

dv8_mdsmb_to_flaws(
  dv8_path,
  mdsmb_path,
  flaws_path,
  is_file_only_metric = FALSE,
  cliqueDepends = "call,use",
  crossingCochange = 2,
  crossingFanIn = 4,
  crossingFanOut = 4,
  mvCochange = 2,
  uiCochange = 2,
  uihDepends = "call,use",
  uihInheritance = "extend,implement,public,private,virtual",
  uiHistoryImpact = 10,
  uiStructImpact = 0.01
)

Arguments

dv8_path

path to dv8 binary

mdsmb_path

path to the merge binary DSM created by dv8_hdsmb_sdsmb_to_mdsmb. Note you can also use a hdsmb or sdsmb separately to compute architectural flaws.

flaws_path

path to save the architectural flaws folder

is_file_only_metric

default is FALSE. If TRUE, uses DV8 computed file metrics. Caution: While much faster, these metrics can *not* be used to aggregate. Choosing FALSE will generate the file to flaw id mapping. Choosing TRUE will generate the aggregation from DV8.

cliqueDepends

(For Clique detection) Filtered dependencies for clique detection. Multiple dependencies should be delimited using ","

crossingCochange

(For Crossing detection) Threshold of co-change between two files

crossingFanIn

(For Crossing detection) The number of other files that depend on it >= "crossingFanIn"

crossingFanOut

(For Crossing detection) The number of other files it depends on >= "crossingFanOut"

mvCochange

(For Modularity Violation detection) Threshold of co-change between two files

uiCochange

(For Unstable Interface detection) Threshold of co-change between two files

uihDepends

(For Unhealthy Inheritance detection) Filtered dependencies for unhealthy inheritance detection. Multiple dependencies should be delimited using ","

uihInheritance

(For Unhealthy Inheritance detection) Dependencies for unhealthy inheritance detection. Multiple dependencies should be delimited using ","

uiHistoryImpact

(For Unstable Interface detection) Threshold of the number of co-changed (more than "co-change" times) files

uiStructImpact

(For Unstable Interface detection) Threshold of value < 1 means percentage of all files are dependents

Value

the path to the flaws folder

See Also

parse_dv8_architectural_flaws to create a '.csv' mapping of file to architectural flaw.

Other dv8: dependencies_to_sdsmj(), dv8_clsxb_to_clsxj(), dv8_clsxj_to_clsxb(), dv8_depends_to_sdsmj(), dv8_dsmj_to_dsmb(), dv8_hdsmb_sdsmb_to_mdsmb(), gitlog_to_hdsmj(), graph_to_dsmj(), parse_dv8_architectural_flaws(), parse_dv8_clusters(), transform_dependencies_to_sdsmj(), transform_gitlog_to_hdsmj(), transform_temporal_gitlog_to_adsmj()


sailuh/kaiaulu documentation built on April 17, 2024, 2:21 a.m.