identifyOPInstrumentationLevel {wyz.code.offensiveProgramming} | R Documentation |
Identify Offensive Programming Instrumentation Level
Description
Provide short information about offensive programming instrumentation level
Usage
identifyOPInstrumentationLevel(object_o_1 = NULL,
methodName_s_1 = NA_character_)
Arguments
object_o_1 |
the |
methodName_s_1 |
the |
Value
A list
with following names
offensive_programming |
a single |
full_instrumentation |
a single |
semantic_naming |
a single |
function_return_type |
a single |
test_case_definition |
a single |
Author(s)
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
See Also
Refer to verifyClassName
and
verifyFunctionName
.
Examples
##---- typical case ----
library('data.table')
source(system.file('code-samples/frt-defs/good/full/AdditionFI.R',
package = 'wyz.code.offensiveProgramming'))
identifyOPInstrumentationLevel(AdditionFI())
#$offensive_programming
#[1] TRUE
#$full_instrumentation
#[1] FALSE
#$semantic_naming
#[1] TRUE
#$function_return_type
#[1] TRUE
#$test_case_definition
#[1] FALSE
[Package wyz.code.offensiveProgramming version 1.1.24 Index]