| verifyObjectNames {wyz.code.offensiveProgramming} | R Documentation |
Verify Object Names
Description
Verify object class name, object function names, and object function parameter names, and provides a synthesis of executed checks.
Proceeds also to some introspection on object to identify instrumentation of function
return types and test case definitions. Provides information about completeness of instruction,
and about missing functions and test cases.
Usage
verifyObjectNames(object_o_1)
Arguments
object_o_1 |
the object to be checked |
Value
A list with following names
class_name |
the class name of the provided |
supports_strict_compliance |
a single |
supports_lazy_compliance |
a single |
class_name_compliance |
a |
class_name_compliance |
a |
class_name_compliance |
a |
owns_function_return_type_information |
a single |
can_be_type_checked |
a single |
is_function_fully_instrumented |
a single |
missing_function |
a |
owns_test_case_definitions |
a single |
is_test_case_fully_instrumented |
a single |
missing_test_cases |
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'))
fi <- AdditionFI()
print(verifyObjectNames(fi))