Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.Linq.JObjectTests

Symbol Coverage: 96.61% (655 of 678)

Branch Coverage: 76.77% (76 of 99)

Method Coverage: 100.00% (93 of 93)

Cyclomatic Complexity Avg: 1.05 Max:3

Methods: 93


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
Blog() : void  50.00% : 1 of 2
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericCollectionCopyToArrayIndexEqualGreaterToArrayLengthShouldThrow() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericCollectionCopyToNegativeArrayIndexShouldThrow() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericCollectionCopyToNullArrayShouldThrow() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
IBindingListAddNew() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
IBindingListApplySort() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
IBindingListFind() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
IBindingListRemoveSort() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
Parse_ShouldThrowOnUnexpectedToken() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
SetValueWithInvalidPropertyName() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
DuplicatePropertyNameShouldThrow() : void  75.00% : 3 of 4
0.00% : 0 of 1
100.00% : 1 of 1
1
InvalidPropertyValueCastExceptionMessage() : void  75.00% : 3 of 4
0.00% : 0 of 1
100.00% : 1 of 1
1
InvalidValueCastExceptionMessage() : void  75.00% : 3 of 4
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericListJTokenAddBadToken() : void  80.00% : 4 of 5
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericListJTokenAddBadValue() : void  80.00% : 4 of 5
0.00% : 0 of 1
100.00% : 1 of 1
1
IListAddBadToken() : void  80.00% : 4 of 5
0.00% : 0 of 1
100.00% : 1 of 1
1
IListAddBadValue() : void  80.00% : 4 of 5
0.00% : 0 of 1
100.00% : 1 of 1
1
IListSetItemInvalid() : void  80.00% : 4 of 5
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericCollectionCopyToInsufficientArrayCapacity() : void  83.33% : 5 of 6
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericListJTokenAddPropertyWithExistingName() : void  83.33% : 5 of 6
0.00% : 0 of 1
100.00% : 1 of 1
1
IListAddPropertyWithExistingName() : void  83.33% : 5 of 6
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericListJTokenSetItemAlreadyExists() : void  85.71% : 6 of 7
0.00% : 0 of 1
100.00% : 1 of 1
1
IListSetItemAlreadyExists() : void  85.71% : 6 of 7
0.00% : 0 of 1
100.00% : 1 of 1
1
<IBindingListAddNewWithEvent>b__c(System.Object s,System.ComponentModel.AddingNewEventArgs e) : void [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
DeserializeClassManually() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeFromRaw() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
DictionaryItemShouldSet() : void  100.00% : 14 of 14
100.00% : 1 of 1
100.00% : 1 of 1
1
Example() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
FromObjectRaw() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericCollectionAdd() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericCollectionClear() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericCollectionContains() : void  100.00% : 15 of 15
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericCollectionCopyTo() : void  100.00% : 16 of 16
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericCollectionRemove() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericDictionaryAdd() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericDictionaryContains() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenAdd() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenClear() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenContains() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenCopyTo() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenIndexOf() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenInsert() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenIsReadOnly() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenRemove() : void  100.00% : 15 of 15
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenRemoveAt() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericListJTokenSetItem() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericValueCast() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
GetGeocodeAddress() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListAddIndex() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListAddNewWithEvent() : void  100.00% : 9 of 9
100.00% : 2 of 2
100.00% : 1 of 1
2
IBindingListAllowEdit() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListAllowNew() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListAllowRemove() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListIsSorted() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListRemoveIndex() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListSortDirection() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListSortProperty() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListSupportsChangeNotification() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListSupportsSearching() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IBindingListSupportsSorting() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IListAdd() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
IListClear() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
IListContains() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
IListCopyTo() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
IListIndexOf() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
IListInsert() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
IListIsFixedSize() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IListIsReadOnly() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
IListIsSynchronized() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
IListRemove() : void  100.00% : 15 of 15
100.00% : 1 of 1
100.00% : 1 of 1
1
IListRemoveAt() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
IListSetItem() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
IListSyncRoot() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
ImplicitValueConversions() : void  100.00% : 15 of 15
100.00% : 1 of 1
100.00% : 1 of 1
1
Iterate() : void  100.00% : 12 of 12
100.00% : 4 of 4
100.00% : 1 of 1
3
ITypedListGetItemProperties() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
ITypedListGetListName() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
JObjectContainingHtml() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
JTokenReader() : void  100.00% : 21 of 21
100.00% : 1 of 1
100.00% : 1 of 1
1
KeyValuePairIterate() : void  100.00% : 11 of 11
100.00% : 4 of 4
100.00% : 1 of 1
3
ListChanged() : void  100.00% : 23 of 23
100.00% : 1 of 1
100.00% : 1 of 1
1
ParseJavaScriptDate() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
ParseMultipleProperties() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
PropertyChanged() : void  100.00% : 25 of 25
100.00% : 1 of 1
100.00% : 1 of 1
1
PropertyChanging() : void  100.00% : 38 of 38
100.00% : 1 of 1
100.00% : 1 of 1
1
RawChildValues() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
Remove() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
ReplaceJPropertyWithJPropertyWithSameName() : void  100.00% : 21 of 21
100.00% : 1 of 1
100.00% : 1 of 1
1
SetValue() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
TryGetValue() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
WriteObjectNullDBNullValue() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
WriteObjectNullStringValue() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor() : void  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
1