identifyOPInstrumentationLevel: Identify Offensive Programming Instrumentation Level

Description Usage Arguments Value Author(s) See Also Examples

View source: R/identifyOPInstrumentationLevel.R

Description

Provide short information about offensive programming instrumentation level

Usage

1
2
identifyOPInstrumentationLevel(object_o_1 = NULL,
                               methodName_s_1 = NA_character_)

Arguments

object_o_1

the object to be checked

methodName_s_1

the method to consider, if any.

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

Author(s)

Fabien Gelineau <neonira@gmail.com>

Maintainer: Fabien Gelineau <neonira@gmail.com>

See Also

Refer to verifyClassNameand verifyFunctionName.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
##---- 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

neonira/wyz.code.offensiveProgramming documentation built on Feb. 20, 2020, 2:01 p.m.