Learn R Programming

wyz.code.offensiveProgramming (version 1.1.24)

identifyOPInstrumentationLevel: 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_)

Value

A list with following names

offensive_programming

a single boolean

full_instrumentation

a single boolean

semantic_naming

a single boolean

function_return_type

a single boolean

test_case_definition

a single boolean

Arguments

object_o_1

the object to be checked

methodName_s_1

the function name to consider, if any.

Author

tools:::Rd_package_author("wyz.code.offensiveProgramming")

Maintainer: tools:::Rd_package_maintainer("wyz.code.offensiveProgramming")

See Also

Refer to verifyClassName and verifyFunctionName.

Examples

Run this code
##---- 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

Run the code above in your browser using DataLab