search for: cyclomatic_complex

Displaying 1 result from an estimated 1 matches for "cyclomatic_complex".

2009 Apr 21
1
Functions in lists or arrays?
...s, "Nasa_PART_Rules") bounds <- cbind(bounds, "Nasa_PART_Bounds") Nasa_PART_Rules <- NULL Nasa_PART_Bounds <- NULL # Rules section Nasa_PART_Rules <- rbind(Nasa_PART_Rules, c("Nasa_PART_R1", "F")) Nasa_PART_R1 <- function(f) { f[,"CYCLOMATIC_COMPLEXITY"] > 8 & f[,"CYCLOMATIC_COMPLEXITY"] <= 60 & f[,"LOC_TOTAL"] > 73 } Nasa_PART_Bounds <- rbind(Nasa_PART_Bounds, c("Nasa_PART_B1")) Nasa_PART_B1 <- function(b) { b["CYCLOMATIC_COMPLEXITY",0] <- 8...