Summary

Tests Errors Failures Skipped Success Rate Time
795 0 0 0 100% 2.836

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
net.sf.json.groovy 53 0 0 0 100% 0.465
net.sf.json.filters 12 0 0 0 100% 0.01
net.sf.json.processors 5 0 0 0 100% 0.01
net.sf.json.xml 89 0 0 0 100% 0.823
net.sf.json.regexp 4 0 0 0 100% 0.015
net.sf.json.util 48 0 0 0 100% 0.136
net.sf.json 533 0 0 0 100% 1.335
net.sf.json.test 51 0 0 0 100% 0.042

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

net.sf.json.groovy

Class Tests Errors Failures Skipped Success Rate Time
TestJSONArrayGroovy 4 0 0 0 100% 0.013
TestJsonSlurper 6 0 0 0 100% 0.103
TestJsonGroovyBuilder 27 0 0 0 100% 0.206
TestJSONObjectGroovy 8 0 0 0 100% 0.014
TestMetaClasses 8 0 0 0 100% 0.129

net.sf.json.filters

Class Tests Errors Failures Skipped Success Rate Time
TestOrPropertyFilter 4 0 0 0 100% 0.002
TestCompositePropertyFilter 1 0 0 0 100% 0.002
TestNotPropertyFilter 2 0 0 0 100% 0.002
TestMappingPropertyFilter 1 0 0 0 100% 0.001
TestMappingPropertyFilter$SampleMappingPropertyFilter 0 0 0 0 0% 0
TestAndPropertyFilter 4 0 0 0 100% 0.003

net.sf.json.processors

Class Tests Errors Failures Skipped Success Rate Time
TestJsDateJsonBeanProcessor 2 0 0 0 100% 0.007
TestJsDateJsonValueProcessor 2 0 0 0 100% 0.002
TestJsonBeanProcessorMatcher 1 0 0 0 100% 0.001

net.sf.json.xml

Class Tests Errors Failures Skipped Success Rate Time
TestXMLSerializer_reads 55 0 0 0 100% 0.284
TestXMLSerializer_writes 29 0 0 0 100% 0.165
TestUserSubmitted 5 0 0 0 100% 0.374

net.sf.json.regexp

Class Tests Errors Failures Skipped Success Rate Time
TestJdkRegexpMatcher 2 0 0 0 100% 0.001
TestPerl5RegexpMatcher 2 0 0 0 100% 0.014

net.sf.json.util

Class Tests Errors Failures Skipped Success Rate Time
TestJSONStringer 6 0 0 0 100% 0.006
TestJSONBuilder 6 0 0 0 100% 0.005
TestJSONUtils 19 0 0 0 100% 0.006
TestJSONTokener 4 0 0 0 100% 0.003
TestWebUtils 10 0 0 0 100% 0.114
TestJavaIdentifierTransformer 3 0 0 0 100% 0.002

net.sf.json

Class Tests Errors Failures Skipped Success Rate Time
TestJSONObjectStaticBuilders_JSONString$JsonBean 0 0 0 0 0% 0
TestJSONObjectStaticBuilders_PrimitiveBean 3 0 0 0 100% 0.013
TestJSONObjectStaticBuilders_JSONTokener 3 0 0 0 100% 0.031
TestJSONObjectWithProcessors 9 0 0 0 100% 0.024
TestJSONArrayCollections 35 0 0 0 100% 0.03
TestJSONArrayStaticBuilders_JSONString$JsonBean 0 0 0 0 0% 0
TestJSONObject$NumberPropertyFilter 0 0 0 0 0% 0
TestUserSubmitted 32 0 0 0 100% 0.121
TestJSONArrayEqualsHashCodeCompareTo 12 0 0 0 100% 0.002
TestJSONArray 181 0 0 0 100% 0.176
TestJSONArrayAsJSON 5 0 0 0 100% 0.005
TestJSONObject$BeanAPropertyFilter 0 0 0 0 0% 0.001
TestUserSubmitted$RunnableImpl 0 0 0 0 0% 0
TestJSONSerializer 20 0 0 0 100% 0.03
TestJSONObjectStaticBuilders_JSONObject 3 0 0 0 100% 0.027
TestJSONArrayStaticBuilders_Collection_DynaBean 3 0 0 0 100% 0.021
TestJSONArrayEvents 12 0 0 0 100% 0.011
TestJSONObject$SwapPropertyNameProcessor 0 0 0 0 0% 0.001
TestJSONArrayStaticBuilders_String 3 0 0 0 100% 0.125
TestJSONArrayStaticBuilders_JSONString 3 0 0 0 100% 0.16
TestJSONObject 125 0 0 0 100% 0.239
TestJSONObjectAsMap 7 0 0 0 100% 0.008
TestJSONObjectEvents 7 0 0 0 100% 0.01
TestJSONArrayAsList 15 0 0 0 100% 0.021
TestJSONObjectStaticBuilders_DynaBean 3 0 0 0 100% 0.011
TestJSONNullAsJSON 5 0 0 0 100% 0.004
TestJSONArrayStaticBuilders_Array_DynaBean 3 0 0 0 100% 0.023
TestJSONObjectStaticBuilders_ObjectBean 3 0 0 0 100% 0.064
TestJSONObjectStaticBuilders_String 3 0 0 0 100% 0.031
TestJSONObject$NumberDefaultValueProcessorMatcher 0 0 0 0 0% 0
TestJSONObjectStaticBuilders_Map 3 0 0 0 100% 0.095
TestJSONObjectEqualsHashCodeCompareTo 26 0 0 0 100% 0.01
TestJSONObject$NumberDefaultValueProcessor 0 0 0 0 0% 0
TestJSONObject$MappingPropertySetStrategy 0 0 0 0 0% 0
TestJSONFunction 6 0 0 0 100% 0.005
TestJSONObjectStaticBuilders_JSONString 3 0 0 0 100% 0.036

net.sf.json.test

Class Tests Errors Failures Skipped Success Rate Time
TestJSONAssert 51 0 0 0 100% 0.042

Test Cases

TestJSONObjectStaticBuilders_JSONString$JsonBean

TestJSONStringer

testCreateArray 0.001
testCreateEmptyArray 0.001
testCreateEmptyArrayWithNullObjects 0
testCreateEmptyObject 0
testCreateFunctionArray 0
testCreateSimpleObject 0.003

TestJSONObjectStaticBuilders_PrimitiveBean

testFromObject 0.005
testFromObject_excludes 0.003
testFromObject_excludes_ignoreDefaults 0.004

TestOrPropertyFilter

testApply_false_false 0.001
testApply_false_true 0
testApply_true_false 0
testApply_true_true 0

TestJSONObjectStaticBuilders_JSONTokener

testFromObject 0.01
testFromObject_excludes 0.012
testFromObject_excludes_ignoreDefaults 0.009

TestJSONObjectWithProcessors

testBeanWithDateProperty_fromObject_withJsonBeanProcessor 0.007
testBeanWithDateProperty_fromObject_withJsonValueProcessor_1 0.004
testBeanWithDateProperty_fromObject_withJsonValueProcessor_2 0.002
testBeanWithDateProperty_fromObject_withJsonValueProcessor_3 0.002
testBeanWithDateProperty_fromObject_withJsonValueProcessor_4 0.004
testBeanWithDateProperty_put 0.002
testDateAsBean_fromObject 0.001
testNumericValueWithProcessor_Byte 0.001
testNumericValueWithProcessor_Short 0

TestJSONArrayCollections

testToList_bean_elements 0.007
testToList_BigDecimal 0.001
testToList_BigInteger 0
testToList_Boolean 0
testToList_Byte 0.001
testToList_Character 0
testToList_Double 0
testToList_dynaBean_elements 0.002
testToList_Float 0.001
testToList_Integer 0
testToList_JSONFunction_elements 0
testToList_JSONFunction_elements_2 0.002
testToList_Long 0
testToList_Long2 0
testToList_null_elements 0.002
testToList_Short 0.001
testToList_String 0
testToList_String_multi 0.001
testToSet_bean_elements 0.001
testToSet_BigDecimal 0.001
testToSet_BigInteger 0
testToSet_Boolean 0
testToSet_Byte 0
testToSet_Character 0
testToSet_Double 0.001
testToSet_dynaBean_elements 0.001
testToSet_Float 0
testToSet_Integer 0.001
testToSet_JSONFunction_elements 0
testToSet_Long 0
testToSet_Long2 0.001
testToSet_null_elements 0
testToSet_Short 0.001
testToSet_String 0
testToSet_String_multi 0.001

TestJSONArrayStaticBuilders_JSONString$JsonBean

TestJSONObject$NumberPropertyFilter

TestUserSubmitted

testBug_1635890 0.01
testBug_1650535_builders 0.003
testBug_1650535_setters 0.003
testBug_1753528_ArrayStringLiteralToString 0.001
testBug_1763699_toBean 0.003
testBug_1764768_toBean 0.009
testBug_1769559_array_conversion 0.004
testBug_1769578_array_conversion 0.005
testBug_1812682 0.005
testBug_1813301 0.001
testBug_1875600_1 0
testBug_1875600_2 0
testConstructor_Object__nullArray 0
testConstructor_Object_EnclosedArray 0.002
testConstructor_Object_EnclosedNullArray 0.002
testConstructorAndToBean_Object_RoundTrip_EnclosedNullArray 0.005
testDynaBeanAttributeMap 0.004
testFR_1768960_array_conversion 0.003
testFR_1808430_newBeanInstance 0.002
testFR_1832047_packageProtectedBean 0.002
testFR_1832047_privateProtectedBean 0.003
testFR_1858073_preserveInsertionOrder 0
testFromObjectCurliesOnString 0
testHandleJettisonEmptyElement 0.001
testHandleJettisonSingleElementArray 0.002
testHandleJettisonSingleElementArray2 0.009
testHandleJettisonSingleElementArray3 0.007
testJsonWithNamespaceToDynaBean 0.013
testToBeanSimpleToComplexValueTransformation 0.005
testToBeanWithMultipleMorphersForTargetType 0.006
testToBeanWithInterfaceField 0.002
testCycleDetection_withExclusions 0

TestJdkRegexpMatcher

testGetGroupIfMatches 0
testMatches 0

TestJSONArrayEqualsHashCodeCompareTo

testCompareTo_different_size 0
testCompareTo_null 0
testCompareTo_object 0
testCompareTo_same_array 0
testCompareTo_same_size_different_values 0
testCompareTo_same_size_similar_values 0
testEquals_different_elements_same_size 0
testEquals_null 0
testEquals_object 0
testEquals_same_object 0
testEquals_same_size_similar_values 0
testHashCode_different_elements_same_size 0

TestCompositePropertyFilter

testApply_addFilter 0.001

TestXMLSerializer_reads

testNullObjectArray 0.002
testNullObjectArray_noTypeHintsCompatibility 0.002
testRead_nullObject 0
testRead_nullObject_2 0
testRead_nullObject_2_noTypeHintsCompatibility 0.001
testRead_nullObject_3 0
testRead_nullObject_3_noTypeHintsCompatibility 0.001
testRead_nullObject_4 0.001
testRead_nullObject_4_noTypeHintsCompatibility 0
testRead_nullObject_5 0.001
testRead_nullObject_5_noTypeHintsCompatibility 0.001
testReadArray_forceTopLevelObject 0.002
testReadArray_withText 0.001
testReadBooleanArray_withDefaultType 0.001
testReadBooleanArray_withoutDefaultType 0.002
testReadFloatArray_withDefaultType 0.002
testReadFloatArray_withoutDefaultType 0.003
testReadFunctionObject 0.002
testReadFunctionObject_noTypeHintsCompatibility 0.003
testReadFunctionObject_withDefaultType 0.002
testReadFunctionObject_withoutDefaultType 0.002
testReadIntegerArray_withDefaultType 0.002
testReadIntegerArray_withoutDefaultType 0.002
testReadMixedArray_withDefaultType 0.002
testReadMixedArray_withoutDefaultType 0.004
testReadMultiBooleanArray_withDefaultType 0.002
testReadMultiBooleanArray_withoutDefaultType 0.004
testReadMultiFloatArray_withDefaultType 0.004
testReadMultiFloatArray_withoutDefaultType 0.005
testReadMultiIntegerArray_withDefaultType 0.004
testReadMultiIntegerArray_withoutDefaultType 0.004
testReadMultiMixedArray_withDefaultType 0.004
testReadMultiMixedArray_withoutDefaultType 0.004
testReadMultiNumberArray_withDefaultType 0.004
testReadMultiNumberArray_withoutDefaultType 0.007
testReadMultiStringArray_withDefaultType 0.003
testReadMultiStringArray_withoutDefaultType 0.011
testReadNestedObject 0.005
testReadNumberArray_withDefaultType 0.002
testReadNumberArray_withoutDefaultType 0.002
testReadObject_withAttributes 0.001
testReadObject_withAttributes_noTypeHintsEnabled 0.001
testReadObject_withAttributes_noTypeHintsEnabled_noTypeHintsCompatibility 0.002
testReadObject_withText 0.002
testReadObject_withText_2 0.001
testReadObjectFullTypes 0.004
testReadSimpleObject_withDefaultType 0.006
testReadStringArray_withDefaultType 0.002
testReadStringArray_withoutDefaultType 0.002
testReadWithNamespace_array 0.004
testReadWithNamespace_object 0.004
testRemoveNameSpacePrefixFromElements 0.028
testSkipNamespaces 0.023
testTrimSpaces 0.058
testXmlConversionRules 0.028

TestJSONArray

testFromObject_JSONArray 0.001
testWrite 0.002
testDiscard 0.001
testConstructor_Collection 0.001
testConstructor_Collection_JSONArray 0
testConstructor_Collection_JSONFunction 0.003
testConstructor_Collection_JSONString 0.011
testConstructor_Collection_nulls 0
testConstructor_func 0
testConstructor_func2 0
testConstructor_JSONArray 0.001
testConstructor_JSONTokener_functions 0.001
testConstructor_JSONTokener_nulls 0
testConstructor_JSONTokener_syntax_errors 0
testConstructor_Object_Array 0.001
testConstructor_Object_Array_Array 0.001
testConstructor_Object_Array_BigDecimal 0.001
testConstructor_Object_Array_BigInteger 0.001
testConstructor_Object_Array_Class 0
testConstructor_Object_Array_functions 0
testConstructor_Object_Array_functions_2 0.001
testConstructor_Object_Array_functions_3 0
testConstructor_Object_Array_JSONArray 0.001
testConstructor_Object_Array_JSONString 0.001
testConstructor_Object_Array_nulls 0.001
testConstructor_primitive_array_boolean 0
testConstructor_primitive_array_byte 0
testConstructor_primitive_array_char 0
testConstructor_primitive_array_double 0
testConstructor_primitive_array_double_Infinity 0.001
testConstructor_primitive_array_double_NaNs 0.001
testConstructor_primitive_array_float 0.001
testConstructor_primitive_array_float_Infinity 0
testConstructor_primitive_array_float_NaNs 0
testConstructor_primitive_array_int 0
testConstructor_primitive_array_long 0
testConstructor_primitive_array_short 0
testConstructor_String_functions 0.001
testConstructor_String_functions_multi 0.001
testCycleDetection_arrays 0.001
testElement_Array 0
testElement_boolean 0
testElement_Boolean 0
testElement_Collection 0.001
testElement_double 0
testElement_index_0_Array 0.001
testElement_index_0_Boolean 0.002
testElement_index_0_Class 0
testElement_index_0_JSON 0.002
testElement_index_0_JSONFunction 0.001
testElement_index_0_JSONString 0.001
testElement_index_0_JSONTokener 0.001
testElement_index_0_Number 0
testElement_index_0_Object 0.006
testElement_index_0_String 0.001
testElement_index_0_String_JSON 0
testElement_index_0_String_null 0
testElement_index_1_Array 0
testElement_index_1_boolean 0
testElement_index_1_Boolean 0
testElement_index_1_Class 0
testElement_index_1_Collection 0.001
testElement_index_1_double 0
testElement_index_1_int 0
testElement_index_1_JSON 0
testElement_index_1_JSONFunction 0
testElement_index_1_JSONString 0.001
testElement_index_1_JSONTokener 0.001
testElement_index_1_long 0
testElement_index_1_Map 0.001
testElement_index_1_Number 0
testElement_index_1_Object 0.002
testElement_index_1_String 0
testElement_index_1_String_JSON 0
testElement_index_1_String_null 0
testElement_int 0
testElement_JSON 0
testElement_JSONFunction 0
testElement_JSONString 0.001
testElement_JSONTokener 0.001
testElement_long 0.001
testElement_Map 0
testElement_negativeIndex 0
testElement_Number 0
testElement_Object 0.003
testElement_replace 0
testElement_String 0
testElement_String_JSON 0
testElement_String_null 0.001
testFromObject_BigDecimal 0
testFromObject_BigInteger 0
testFromObject_Boolean 0.001
testFromObject_Byte 0.001
testFromObject_Double 0
testFromObject_Float 0.001
testFromObject_Integer 0
testFromObject_JSONFunction 0
testFromObject_JSONString 0.001
testFromObject_Long 0
testFromObject_Map 0.001
testFromObject_Short 0
testGet_exception 0
testGetBoolean_exception 0
testGetBoolean_false 0
testGetBoolean_true 0
testGetDimensions_empty_array 0
testGetDimensions_null_array 0.001
testGetDimensions_one_dimension 0.001
testGetDimensions_pyramid 0.004
testGetDimensions_two_dimension 0.004
testGetDouble_exception 0.001
testGetDouble_Number 0
testGetDouble_String 0
testGetInt_exception 0.001
testGetInt_Number 0.001
testGetInt_String 0
testGetJSONArray 0.001
testGetJSONArray_exception 0.001
testGetJSONObject 0.001
testGetJSONObject_exception 0.001
testGetLong_exception 0
testGetLong_Number 0
testGetLong_String 0
testGetString 0
testGetString_exception 0
testOptionalGet 0.002
testToArray_bean_element 0.009
testToArray_BigDecimal 0.002
testToArray_BigInteger 0
testToArray_boolean 0
testToArray_Boolean 0.001
testToArray_boolean_multi 0
testToArray_byte 0
testToArray_Byte 0
testToArray_byte_multi 0
testToArray_char 0.001
testToArray_char_multi 0.001
testToArray_Character 0
testToArray_double 0.001
testToArray_Double 0
testToArray_double_multi 0.001
testToArray_dynabean_element 0.005
testToArray_float 0.001
testToArray_Float 0
testToArray_float_multi 0.001
testToArray_int 0
testToArray_int_multi 0
testToArray_Integer 0.001
testToArray_long 0
testToArray_Long 0
testToArray_long_multi 0.001
testToArray_Long2 0
testToArray_null_elements 0
testToArray_short 0
testToArray_Short 0
testToArray_short_multi 0.001
testToArray_String 0.001
testToArray_String_multi 0.001
testToArray_StringToInt 0
testToArray_StringToInteger 0
testToArray_StringToInteger_empty 0.001
testToJSONObject 0.003
testToJSONObject_null_object 0
testToList_bean_elements 0.003
testToList_BigDecimal 0
testToList_BigInteger 0
testToList_Boolean 0.001
testToList_Byte 0
testToList_Character 0.001
testToList_Double 0
testToList_dynaBean_elements 0.001
testToList_Float 0
testToList_Integer 0
testToList_JSONFunction_elements 0
testToList_JSONFunction_elements_2 0.001
testToList_Long 0
testToList_Long2 0.001
testToList_null_elements 0
testToList_Short 0
testToList_String 0
testToList_String_multi 0.001

TestJSONArrayAsJSON

testIsArray 0
testToString 0.001
testToString_indentFactor 0.001
testToString_indentFactor_indent 0
testWrite 0.001

TestJSONObject$BeanAPropertyFilter

TestUserSubmitted$RunnableImpl

TestJSONArrayGroovy

testEqualsOperator 0
testLessThanOperator 0.002
testGreaterThanOperator 0
testSpaceshipOperator 0.006

TestJSONSerializer

JSONArray 0
JSONArray 0
JSONNull -> ToJava[default] 0
JSONObject 0
JSONObject -> ToJava[default] 0.005
JSONObject -> ToJava[rootClass:BeanA] 0.001
JSONObject -> ToJava[rootClass:BeanA,classMap] 0.004
testToJava_JSONObject_and_reset 0.002
testToJSON_JSONString_array 0.001
testToJSON_JSONString_null 0
testToJSON_JSONString_object 0.002
testToJSON_Object_array 0.001
testToJSON_Object_JSONTokener_array 0
testToJSON_Object_null 0.001
testToJSON_Object_object 0.001
testToJSON_String_array 0.002
testToJSON_String_invalid 0
testToJSON_String_null 0
testToJSON_String_null_literal 0
testToJSON_String_object 0.002

TestJSONObjectStaticBuilders_JSONObject

testFromObject 0.008
testFromObject_excludes 0.008
testFromObject_excludes_ignoreDefaults 0.008

TestJsonSlurper

testParseFile 0.031
testParseURL 0.007
testParseInputStream 0.013
testParseUri 0.008
testParseReader 0.026
testParsetext 0.011

TestJSONArrayStaticBuilders_Collection_DynaBean

testFromObject 0.006
testFromObject_excludes 0.007
testFromObject_excludes_ignoreDefaults 0.007

TestJSONArrayEvents

testFromObject_array 0.001
testFromObject_error 0.002
testFromObject_JSONArray 0
testFromObject_list 0.001
testFromObject_primitive_boolean 0
testFromObject_primitive_byte 0
testFromObject_primitive_double 0
testFromObject_primitive_float 0
testFromObject_primitive_int 0
testFromObject_primitive_long 0
testFromObject_primitive_short 0
testFromObject_string 0

TestJsDateJsonBeanProcessor

testProcessBean 0.004
testProcessBean_sqlDate 0.001

TestJSONObject$SwapPropertyNameProcessor

TestNotPropertyFilter

testApply_true 0.001
testApply_false 0

TestJSONArrayStaticBuilders_String

testFromObject 0.019
testFromObject_excludes 0.019
testFromObject_excludes_ignoreDefaults 0.086

TestMappingPropertyFilter

testApply 0.001

TestJSONBuilder

testCreateArray 0.002
testCreateEmptyArray 0
testCreateEmptyArrayWithNullObjects 0
testCreateEmptyObject 0
testCreateFunctionArray 0
testCreateSimpleObject 0.002

TestJSONArrayStaticBuilders_JSONString

testFromObject 0.018
testFromObject_excludes 0.06
testFromObject_excludes_ignoreDefaults 0.081

TestJSONObject

testFromObject_array 0.003
testDiscard 0.002
testElement_boolean 0
testElement_Boolean 0
testElement_Collection 0
testElement_double 0.001
testElement_int 0
testElement_JSON 0.001
testElement_JSONFunction 0
testElement_JSONString 0.003
testElement_JSONTokener 0.001
testElement_long 0
testElement_Map 0.001
testElement_Number 0
testElement_Object 0.003
testElement_String 0
testElement_String_JSON 0.001
testElement_String_null 0.001
testFromObject_JSONString 0
testFromObject_Map 0.002
testAccumulate 0.001
testAccumulate__nullObject 0
testConstructor_Object__nullJSONObject 0
testConstructor_Object_String_Array__nullObject 0.001
testCycleDetection_beans_noprop 0.005
testCycleDetection_beans_null 0.002
testCycleDetection_beans_strict 0.002
testElement__duplicateProperty 0
testElement__duplicateProperty_2 0.001
testElement_Bean 0.009
testElement_Bean_exclusions 0.003
testElement_Bean_exclusions_ignoreDefault 0.004
testElement_Class 0
testElement_Collection2 0.006
testElement_Collection2_exclusions 0.004
testElement_Collection2_exclusions_ignoreDefault 0.003
testElement_Map2 0.001
testElement_Map2_exclusions 0.001
testElement_Map2_exclusions_ignoreDefault 0.001
testElement_null_key 0
testFromBean_array 0
testFromBean_ClassBean 0.001
testFromBean_DynaBean 0.003
testFromBean_JSONObject 0.001
testFromBean_JSONString 0
testFromBean_JSONTokener 0
testFromBean_Map 0
testFromBean_noReadMethod 0
testFromBean_null 0
testFromBean_String 0.001
testFromBean_use_wrappers 0.001
testFromDynaBean_full 0.002
testFromDynaBean_null 0
testFromJSONTokener 0.001
testFromMap_nested_null_object 0
testFromMap_null_Map 0
testFromObject_Bean 0.001
testFromObject_BeanWithFunc 0.001
testFromObject_DynaBean 0.001
testFromObject_emptyBean 0.006
testFromObject_ExtendedBean 0.002
testFromObject_ignoreTransientFields 0.002
testFromObject_JSONObject 0.002
testFromObject_JSONTokener 0
testFromObject_nested_bean 0.002
testFromObject_null 0
testFromObject_ObjectBean 0.003
testFromObject_ObjectBean_empty 0.002
testFromObject_String 0.001
testFromObject_toBean_DynaBean 0.01
testFromObject_use_wrappers 0
testFromObject_withCustomDefaultValueProcessor 0.003
testFromObject_withCustomDefaultValueProcessor_andMatcher 0.002
testFromObject_withFilters 0.003
testFromObject_withFiltersAndExcludes 0.002
testFromString_null_String 0
testHas 0
testLength 0
testLength_nullObject 0
testOptBoolean 0.001
testOptBoolean_defaultValue 0
testOptDouble 0
testOptDouble_defaultValue 0.001
testOptInt 0
testOptInt_defaultValue 0
testOptJSONArray 0
testOptJSONObject 0.001
testOptLong 0
testOptLong_defaultValue 0
testOptString 0
testOptString_defaultValue 0
testToBean 0.003
testToBean_BeanA 0.001
testToBean_BeanB 0.003
testToBean_ClassBean 0
testToBean_DynaBean__BigInteger_BigDecimal 0.01
testToBean_emptyBean 0.008
testToBean_interface 0
testToBean_Map 0.001
testToBean_nested 0.005
testToBean_nested_beans__null_object 0.002
testToBean_nested_beans_in_list__beans 0.004
testToBean_nested_beans_in_list__DynaBean 0.004
testToBean_nested_beans_in_map__beans 0.002
testToBean_nested_beans_in_map__DynaBean 0.003
testToBean_nested_beans_in_set__beans 0.003
testToBean_nested_beans_in_set__DynaBean 0.005
testToBean_nested_dynabeans__null_object 0.003
testtoBean_noWriteMethod 0.006
testToBean_null 0
testToBean_null_2 0
testToBean_null_object 0
testToBean_null_values 0.003
testToBean_NumberBean 0.004
testToBean_NumberBean_2 0.009
testToBean_ObjectBean 0.007
testToBean_ObjectBean_empty 0.003
testToBean_rootObject 0.001
testToBean_withFilters 0.001
testToBean_withNonJavaIdentifier_camelCase_Strategy 0.002
testToBean_withNonJavaIdentifier_underScore_Strategy 0
testToBean_withNonJavaIdentifier_whitespace_Strategy 0
testToBean_withPropertySetStrategy 0.002
testToBeanWithPropertyNameProcessor 0.001
testToJSONArray 0.002

TestJSONUtils

testIsArray 0
testDoubleToString_infinite 0
testDoubleToString_nan 0
testDoubleToString_trailingZeros 0
testGetFunctionParams 0
testIsFunction 0
testNumberToString_null 0.001
testQuote_emptyString 0
testQuote_escapeChars 0
testQuote_jsonFunction 0
testQuote_nullString 0
testStripQuotes_singleChar_doubleeQuote 0
testStripQuotes_singleChar_singleQuote 0
testStripQuotes_twoChars_doubleeQuote 0
testStripQuotes_twoChars_singleQuote 0.001
testValidity_inifiniteDouble 0
testValidity_inifiniteFloat 0
testValidity_nanDouble 0.001
testValidity_nanFloat 0

TestJSONObjectAsMap

testClear 0.001
testIsEmpty 0.002
testRemove 0.001
testContainsKey 0.001
testContainsValue 0.001
testPut 0.001
testPutAll 0.001

TestJSONObjectEvents

testFromObject_error 0
testFromObject_string 0.002
testFromObject_JSONObject 0.001
testFromObject_bean 0.001
testFromObject_bean2 0.002
testFromObject_dynaBean 0.001
testFromObject_map 0.001

TestJSONArrayAsList

testAdd 0.001
testAdd_index_value 0.001
testAddAll 0.002
testAddAll_index_value 0.001
testClear 0.001
testContains 0
testContainsAll 0
testIndexOf 0.001
testIsEmpty 0.001
testLastIndexOf 0.001
testRemove 0.001
testRemove_index 0
testRemoveAll 0.002
testRetainAll 0.002
testSubList 0.001

TestJSONTokener

testLength 0
testDehexchar 0
testNextChar 0
testReset 0

TestXMLSerializer_writes

testWrite_null 0.072
testWriteBooleanArray 0.007
testWriteEmptyObject 0.001
testWriteFunctionArray 0.003
testWriteFunctionArray_noTypeHintsCompatibility 0.002
testWriteJSONArray_collapseProperties 0.003
testWriteJSONNull 0.002
testWriteJSONNull_encoding 0.001
testWriteJSONObject_collapseProperties 0.003
testWriteMultiBooleanArray 0.005
testWriteMultiNumberArray 0.004
testWriteMultiStringArray 0.004
testWriteNestedNullObject 0.003
testWriteNullObject 0.003
testWriteNullObject_noTypeHintsCompatibility 0.001
testWriteNullObjectArray 0.003
testWriteNullObjectArray_noTypeHintsCompatibility 0.004
testWriteNumberArray 0.002
testWriteObject 0.003
testWriteObject_full_types 0.008
testWriteObject_withAttributes 0.003
testWriteObject_withNamespacePrefix 0.001
testWriteObject_withNamespaces 0.003
testWriteObject_withNamespaces_element 0.003
testWriteObject_withText 0.002
testWriteObject_withText_2 0.004
testWriteObjectArray 0.003
testWriteStringArray 0.002
testWriteWithNamespace 0.002

TestJSONObjectStaticBuilders_DynaBean

testFromObject 0.003
testFromObject_excludes 0.004
testFromObject_excludes_ignoreDefaults 0.003

TestWebUtils

testProtect_comments 0.002
testProtect_comments_and_shrink 0
testProtect_inifiniteLoop 0
testProtect_inifiniteLoop_and_shrink 0.108
testToString_array_noquotes 0.001
testToString_array_withquotes1 0
testToString_array_withquotes2 0
testToString_object_noquotes 0.001
testToString_object_withquotes1 0
testToString_object_withquotes2 0

TestUserSubmitted

testReadFromXMLToJSON_1735732 0.138
testReadFromXMLToJSON_1739066 0.068
testIgnoreWhitespaceWhileReading 0.122
testXMLRoundtrip 0.029
testXMLWithArraySingleElement 0.014

TestJSONNullAsJSON

testIsArray 0
testToString 0.001
testToString_indentFactor 0
testToString_indentFactor_indent 0
testWrite 0

TestJSONAssert

testArrayWithNullsShouldFail 0.002
testArrayWithNullsShouldPass 0
testAssertEquals_JSON_JSON__actual_null 0
testAssertEquals_JSON_JSON__expected_null 0
testAssertEquals_JSON_JSON__JSONArray_JSONArray 0.001
testAssertEquals_JSON_JSON__JSONArray_JSONObject 0.001
testAssertEquals_JSON_JSON__JSONNull_JSONArray 0
testAssertEquals_JSON_JSON__JSONNull_JSONNull 0
testAssertEquals_JSON_JSON__JSONObject_JSONArray 0.001
testAssertEquals_JSON_JSON__JSONObject_JSONObject 0
testAssertEquals_JSONArray_JSONArray 0.003
testAssertEquals_JSONArray_JSONArray__actual_null 0.001
testAssertEquals_JSONArray_JSONArray__different_length 0
testAssertEquals_JSONArray_JSONArray__expected_null 0.001
testAssertEquals_JSONArray_JSONArray__nulls 0.001
testAssertEquals_JSONArray_String 0.001
testAssertEquals_JSONArray_String_fail 0.001
testAssertEquals_JSONFunction_String 0
testAssertEquals_JSONFunction_String__actual_null 0
testAssertEquals_JSONFunction_String__expected_null 0
testAssertEquals_JSONFunction_String_fail 0
testAssertEquals_JSONNull_String 0
testAssertEquals_JSONNull_String__actual_null 0
testAssertEquals_JSONNull_String__expected_null 0
testAssertEquals_JSONObject_JSONObject_ 0.005
testAssertEquals_JSONObject_JSONObject__actual_null 0
testAssertEquals_JSONObject_JSONObject__expected_null 0
testAssertEquals_JSONObject_JSONObject_names 0.001
testAssertEquals_JSONObject_JSONObject_nullObjects 0
testAssertEquals_JSONObject_JSONObject_nullObjects_fail1 0
testAssertEquals_JSONObject_JSONObject_nullObjects_fail2 0.001
testAssertEquals_JSONObject_String 0
testAssertEquals_JSONObject_String_fail 0
testAssertEquals_String_JSONArray 0.001
testAssertEquals_String_JSONArray_fail 0
testAssertEquals_String_JSONFunction 0
testAssertEquals_String_JSONFunction_fail 0
testAssertEquals_String_JSONNull 0
testAssertEquals_String_JSONObject 0.002
testAssertEquals_String_JSONObject_fail 0.004
testAssertJsonEquals_garbage_json 0
testAssertJsonEquals_json_garbage 0
testAssertJsonEquals_jsonArray_jsonArray 0.001
testAssertJsonEquals_jsonNull_jsonNull 0
testAssertJsonEquals_jsonObject_jsonObject 0.001
testAssertNotNull_JSONNull 0
testAssertNotNull_jsonObject_null 0
testAssertNotNull_null 0
testAssertNull_JSONNull 0
testAssertNull_jsonObject_null 0
testAssertNull_null 0

TestMappingPropertyFilter$SampleMappingPropertyFilter

TestJSONArrayStaticBuilders_Array_DynaBean

testFromObject 0.008
testFromObject_excludes 0.007
testFromObject_excludes_ignoreDefaults 0.007

TestAndPropertyFilter

testApply_false_false 0.001
testApply_false_true 0
testApply_true_false 0
testApply_true_true 0

TestJSONObjectStaticBuilders_ObjectBean

testFromObject 0.047
testFromObject_excludes 0.004
testFromObject_excludes_ignoreDefaults 0.004

TestJSONObjectStaticBuilders_String

testFromObject 0.011
testFromObject_excludes 0.009
testFromObject_excludes_ignoreDefaults 0.009

TestJavaIdentifierTransformer

testCamelCase 0.001
testUnderscore 0.001
testWhitespace 0

TestJSONObject$NumberDefaultValueProcessorMatcher

TestJsonGroovyBuilder

testBuildDefaultRootEmptyObject 0.018
testBuildDefaultRootEmptyArray 0.001
testBuildDefaultRootObjectWithClosure 0.008
testBuildDefaultRootObjectWithMap 0.002
testBuildDefaultRootArrayWithList 0.001
testBuildDefaultRootNestedObjects 0.016
testBuildDefaultRootArrayWithMultipleArgs 0.013
testBuildDefaultRootArrayWithMultipleArgs2 0.005
testBuildObjectWithMaps 0.012
testBuildObjectWithBeans 0.011
testBuildObjectWithClosures 0.015
testBuildObjectWithClosures2 0.018
testBuildObjectWithClosures3 0.016
testBuildObjectWithClosures4 0.014
testBuildObjectWithMultipleClosures 0.007
testBuildObject_Map_with_Closure 0.004
testBuildObject_Map_with_Map 0.002
testBuildObject_Map_with_List 0.001
testBuildObject_List_with_Closure 0.003
testBuildObject_List_with_Map 0
testBuildObject_List_with_List 0
testBuildObject_GString_with_JSON 0.008
testBuildObject_GString_text 0.004
testBuildObject_Method_with_Map 0.003
testBuildObject_Method_with_List 0.004
testBuildObject_Method_with_Map_multipleArgs 0.004
testBuildObject_Method_with_List_multipleArgs 0.004

TestJSONObjectGroovy

testEqualsOperator 0.001
testLessThanOperator 0
testGreaterThanOperator 0
testSpaceshipOperator 0.001
testLeftShift_with_map 0.001
testLeftShift_with_map2 0.004
testLeftShift_with_list 0.001
testLeftShift_with_list2 0.002

TestJSONObjectStaticBuilders_Map

testFromObject 0.004
testFromObject_excludes 0.007
testFromObject_excludes_ignoreDefaults 0.005

TestJSONObjectEqualsHashCodeCompareTo

testCompareTo_different_size 0
testCompareTo_null 0
testCompareTo_object 0
testCompareTo_same_array 0.001
testCompareTo_same_size_different_values 0
testCompareTo_same_size_similar_values 0
testEquals_different_key_same_size 0
testEquals_different_sizes 0
testEquals_nullObject_other 0
testEquals_nullObjects_different 0
testEquals_other_nullObject 0
testEquals_same 0
testEquals_same_key_different_value 0.001
testEquals_strings_values 0.001
testEquals_to_null 0
testEquals_to_other 0
testEquals_values_strings 0
testHashCode_different_size 0.001
testHashCode_nullObject_other 0
testHashCode_nullObjects_different 0
testHashCode_other_nullObject 0
testHashCode_same 0
testHashCode_same_key_different_value 0.001
testHashCode_strings_values 0
testHashCode_to_other 0