NDepend Report Build Summary
|
[ For beginners: Where to start ]
[ Quick tips ]
[ NDepend site ]
The present HTML report is a summary of data gathered by the analysis. It is recommended to use the NDepend interactive UI capabilities to make the most of NDepend by mastering all aspects of your code. |
| Compare with project {Db4o v7.12.156.14667 Final} most recent analysis (analysis made on 2010 November - 09 Tuesday 21:01) | ||
| Loaded! Code Coverage metrics, CQL Queries and Rules relative to code Coverage, can be used. |
Diagrams |
Application Metrics | Note: Further Application Statistics are available. |
Third Party Usage | Percentage … |
| CQL Rules summary |
|
» Number of CQL Rules or Queries that did not compile : 0» Number of CQL Rules violated : 76
Summary of CQL Rules violated
| |||||||||
|
Application Statistics
| Stat | # Occurences | Avg | StdDev | Max |
|---|---|---|---|---|
| Stat | # Occurences | Avg | StdDev | Max |
| Properties on interfaces | 315 interfaces | 0.13 | 0.58 | 5 properties on Db4objects.Db4o.Internal.IInternalObjectContainer |
| Methods on interfaces | 315 interfaces | 3.52 | 5.78 | 57 methods on Db4objects.Db4o.Config.IConfiguration |
| Arguments on methods on interfaces | 1,108 methods | 0.86 | 0.84 | 7 arguments on Db4objects.Db4o.Reflect.Generic.IReflectClassBuilder.CreateField(IReflectClass,String,IReflectClass,Boolean,Boolean,Boolean,Boolean) |
| Public properties on classes | 1,688 Classes | 0.13 | 0.58 | 8 public properties on Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> |
| Public methods on classes | 1,688 classes | 5.11 | 9.55 | 207 public methods on Db4objects.Db4o.Internal.ObjectContainerBase |
| Arguments on public methods on classes | 8,623 methods | 0.9 | 0.98 | 7 arguments on Db4objects.Db4o.Reflect.Generic.GenericClassBuilder.CreateField(IReflectClass,String,IReflectClass,Boolean,Boolean,Boolean,Boolean) |
| IL instructions in non-abstract methods | 11,646 methods | 17.78 | 22.23 | 438 IL instructions in Db4objects.Db4o.DTrace.Init() |
| Cyclomatic complexity on non abstract Methods | 11,646 Methods | 1.82 | 1.84 | CC = 43 for Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
Assemblies Metrics
If you wish to define thresholds on assemblies' Code Metrics, consider writing some CQL Rules.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
| Assemblies | # lines of code | # IL instruction | # Types | # Abstract Types | # lines of comment | % Comment | % Coverage | Afferent Coupling | Efferent Coupling | Relational Cohesion | Instability | Abstractness | Distance |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Assemblies | # lines of code | # IL instruction | # Types | # Abstract Types | # lines of comment | % Comment | % Coverage | Afferent Coupling | Efferent Coupling | Relational Cohesion | Instability | Abstractness | Distance |
| Db4objects.Db4o v8.0.146.14426 | 23459 | 151573 | 1322 | 297 | 25680 | 52 | 42 | 376 | 185 | 5.96 | 0.33 | 0.22 | 0.32 |
| Db4objects.Db4o.Linq v8.0.146.14426 | 948 | 6365 | 72 | 14 | 712 | 42 | 73 | 1 | 102 | 2.53 | 0.99 | 0.19 | 0.13 |
| Db4oUnit v8.0.146.14426 | 1145 | 8345 | 154 | 15 | 1442 | 55 | 26 | 74 | 66 | 3.05 | 0.47 | 0.1 | 0.3 |
| Db4objects.Db4o.CS v8.0.146.14426 | 2515 | 15910 | 190 | 34 | 2895 | 53 | 51 | 17 | 202 | 4.34 | 0.92 | 0.18 | 0.08 |
| Db4oUnit.Extensions v8.0.146.14426 | 908 | 5925 | 106 | 29 | 1531 | 62 | 19 | 0 | 175 | 2.59 | 1 | 0.28 | 0.2 |
| Db4objects.Db4o.Instrumentation v8.0.146.14426 | 110 | 650 | 19 | 8 | 329 | 74 | - | 15 | 43 | 2.74 | 0.74 | 0.42 | 0.11 |
| Db4objects.Db4o.NativeQueries v8.0.146.14426 | 1017 | 6639 | 46 | 9 | 646 | 38 | - | 0 | 123 | 5.26 | 1 | 0.22 | 0.15 |
| Db4oBench v8.0.146.14426 | 538 | 3529 | 22 | 1 | 374 | 41 | - | 0 | 50 | 1.59 | 1 | 0.05 | 0.03 |
| Db4objects.Db4o.Optional v8.0.146.14426 | 953 | 6500 | 49 | 3 | 675 | 41 | - | 2 | 134 | 1.53 | 0.99 | 0.06 | 0.03 |
| Db4objects.Db4o.Data.Services v8.0.146.14426 | 91 | 982 | 10 | 1 | 35 | 27 | - | 0 | 45 | 1.3 | 1 | 0.1 | 0.07 |
| DB4objects.Db4o.CS.Optional v8.0.146.14426 | 108 | 688 | 17 | 1 | 243 | 69 | - | 0 | 50 | 1.18 | 1 | 0.06 | 0.04 |
Types Metrics : Code Quality
For a particular Code Metric defined for types, values in red represent the 15% highest values.
If you wish to define thresholds on types' Code Metrics, consider writing some CQL Rule.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
If you wish to define thresholds on types' Code Metrics, consider writing some CQL Rule.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
If the code base analyzed has too many types, NDepend doesn't list Types Metrics to avoid a too big report. The section Types Metrics can be activated by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Hide section Types Metrics if...
It is recommended to use the NDepend interactive UI capabilities to browse large applications.
NDepend Project Properties > Report > Avoid too big report for large code base > Hide section Types Metrics if...
It is recommended to use the NDepend interactive UI capabilities to browse large applications.
| Type Name | Type Rank | # Lines Of Code | # IL Instructions | # Lines Of Comment | % Comment | Cyclomatic Complexity | IL Cyclomatic Complexity | % Coverage | Afferent Coupling | Efferent Coupling | Type Namespace |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type Name | Type Rank | # Lines Of Code | # IL Instructions | # Lines Of Comment | Percentage Comment | Cyclomatic Complexity | IL Cyclomatic Complexity | % coverage | Afferent Coupling | Efferent Coupling | Type Namespace |
Types Metrics : Code Members and Inheritance
| Type Name | # Instance Methods | Nb Static Methods | Nb Properties | # Fields | # Children Classes | Depth Of Inheritance Tree | Type Namespace |
|---|---|---|---|---|---|---|---|
| Type Name | Nb Instance Methods | Nb Static Methods | Nb Properties | Nb Fields | Nb Children Classes | Depth Of Inheritance Tree | Type Namespace |
Types Metrics : Lack Of Cohesion Of Methods and Association Between Classes
| Type Name | Lack Of Cohesion Of Methods | Lack Of Cohesion Of Methods HS | Association Between Classes | Type Namespace |
|---|---|---|---|---|
| Type Name | Lack Of Cohesion Of Methods | Lack Of Cohesion Of Methods HS | Association Between Classes | Type Namespace |
Namespaces Metrics
If you wish to define thresholds on namespaces' Code Metrics, consider writing some CQL Rules.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
| Namespaces | # lines of code | # IL instruction | # Types | # lines of comment | % Comment | % Coverage | Afferent Coupling | Efferent Coupling |
|---|---|---|---|---|---|---|---|---|
| Namespaces | # lines of code | # IL instruction | # Types | # lines of comment | % Comment | % Coverage | Afferent Coupling | Efferent Coupling |
| Sharpen | 69 | 493 | 2 | 1 | 1 | 46 | 41 | 8 |
| Sharpen.IO | 101 | 745 | 14 | 0 | 0 | 31 | 13 | 4 |
| Sharpen.Util | 76 | 475 | 4 | 2 | 2 | 10 | 5 | 3 |
| Sharpen.Net | 43 | 276 | 3 | 0 | 0 | 83 | 2 | 5 |
| Sharpen.Text | 4 | 21 | 1 | 0 | 0 | - | 1 | 1 |
| Sharpen.Lang | 310 | 1885 | 14 | 8 | 2 | 78 | 21 | 9 |
| Sharpen.Lang.Reflect | 0 | 3 | 1 | 3 | 100 | - | 0 | 1 |
| Db4objects.Db4o | 346 | 2136 | 28 | 1423 | 80 | 6 | 55 | 22 |
| Db4objects.Db4o.Ext | 154 | 1103 | 38 | 1379 | 89 | 25 | 41 | 17 |
| Db4objects.Db4o.Types | 0 | 0 | 8 | 278 | 100 | - | 6 | 3 |
| Db4objects.Db4o.Marshall | 0 | 0 | 8 | 127 | 100 | - | 21 | 5 |
| Db4objects.Db4o.Query | 36 | 218 | 10 | 601 | 94 | - | 25 | 6 |
| Db4objects.Db4o.Collections | 488 | 3139 | 9 | 145 | 22 | - | 3 | 15 |
| Db4objects.Db4o.Events | 49 | 288 | 13 | 320 | 86 | 34 | 9 | 8 |
| Db4objects.Db4o.Messaging | 0 | 0 | 3 | 58 | 100 | - | 6 | 3 |
| Db4objects.Db4o.TA | 100 | 592 | 14 | 212 | 67 | - | 4 | 14 |
| Db4objects.Db4o.Activation | 0 | 0 | 2 | 22 | 100 | - | 7 | 1 |
| Db4objects.Db4o.dll::Db4objects.Db4o.IO | 694 | 4441 | 36 | 552 | 44 | 28 | 19 | 13 |
| Db4objects.Db4o.Diagnostic | 61 | 421 | 16 | 107 | 63 | - | 8 | 6 |
| Db4objects.Db4o.Replication | 0 | 0 | 2 | 106 | 100 | - | 3 | 3 |
| Db4objects.Db4o.Defragment | 468 | 2923 | 33 | 424 | 47 | - | 6 | 20 |
| Db4objects.Db4o.Constraints | 40 | 259 | 4 | 42 | 51 | - | 0 | 12 |
| Db4objects.Db4o.Internal | 7466 | 48690 | 220 | 921 | 10 | 48 | 70 | 66 |
| Db4objects.Db4o.Internal.Slots | 165 | 1099 | 12 | 25 | 13 | 47 | 18 | 7 |
| Db4objects.Db4o.Internal.Metadata | 105 | 650 | 13 | 8 | 7 | 49 | 3 | 7 |
| Db4objects.Db4o.Internal.Marshall | 718 | 4433 | 46 | 87 | 10 | 63 | 13 | 19 |
| Db4objects.Db4o.Internal.Mapping | 34 | 218 | 6 | 13 | 27 | - | 4 | 6 |
| Db4objects.Db4o.Internal.Fileheader | 395 | 2343 | 12 | 111 | 21 | 55 | 2 | 13 |
| Db4objects.Db4o.Internal.Fieldindex | 270 | 1721 | 14 | 2 | 0 | 35 | 1 | 6 |
| Db4objects.Db4o.Internal.Encoding | 126 | 850 | 7 | 23 | 15 | 52 | 10 | 7 |
| Db4objects.Db4o.Internal.Collections | 149 | 1013 | 6 | 8 | 5 | - | 2 | 17 |
| Db4objects.Db4o.Internal.Activation | 241 | 1543 | 34 | 48 | 16 | 31 | 12 | 12 |
| Db4objects.Db4o.Internal.References | 98 | 587 | 12 | 10 | 9 | 60 | 6 | 6 |
| Db4objects.Db4o.Internal.Delete | 32 | 220 | 2 | 2 | 5 | - | 5 | 10 |
| Db4objects.Db4o.Internal.Callbacks | 9 | 83 | 2 | 0 | 0 | 55 | 5 | 5 |
| Db4objects.Db4o.Internal.Ids | 443 | 2879 | 32 | 30 | 6 | 67 | 11 | 13 |
| Db4objects.Db4o.Internal.Freespace | 416 | 2609 | 22 | 53 | 11 | 34 | 7 | 11 |
| Db4objects.Db4o.Internal.Config | 112 | 624 | 8 | 6 | 5 | 10 | 7 | 11 |
| Db4objects.Db4o.Internal.Caching | 301 | 1947 | 16 | 45 | 13 | 46 | 6 | 4 |
| Db4objects.Db4o.Internal.Events | 149 | 1047 | 11 | 4 | 2 | 19 | 1 | 8 |
| Db4objects.Db4o.Internal.Transactionlog | 152 | 830 | 6 | 7 | 4 | - | 1 | 9 |
| Db4objects.Db4o.Internal.Threading | 38 | 253 | 4 | 2 | 5 | 73 | 7 | 5 |
| Db4objects.Db4o.Internal.Classindex | 48 | 331 | 4 | 8 | 14 | 50 | 5 | 7 |
| Db4objects.Db4o.Internal.Replication | 0 | 0 | 2 | 2 | 100 | - | 1 | 2 |
| Db4objects.Db4o.Internal.Weakref | 31 | 180 | 5 | 2 | 6 | 64 | 1 | 7 |
| Db4objects.Db4o.Internal.Diagnostic | 38 | 268 | 1 | 1 | 2 | 5 | 5 | 6 |
| Db4objects.Db4o.Internal.IO | 5 | 33 | 1 | 0 | 0 | 80 | 0 | 3 |
| Db4objects.Db4o.dll::Db4objects.Db4o.Internal.Query | 290 | 1900 | 24 | 19 | 6 | 27 | 6 | 23 |
| Db4objects.Db4o.Internal.Query.Result | 226 | 1507 | 19 | 15 | 6 | 34 | 6 | 13 |
| Db4objects.Db4o.Internal.Query.Processor | 1827 | 11469 | 60 | 302 | 14 | 59 | 9 | 25 |
| Db4objects.Db4o.Internal.Handlers | 849 | 6026 | 68 | 101 | 10 | 39 | 12 | 21 |
| Db4objects.Db4o.Internal.Handlers.Versions | 102 | 538 | 4 | 4 | 3 | 2 | 1 | 12 |
| Db4objects.Db4o.Internal.Handlers.Array | 407 | 2624 | 17 | 50 | 10 | 42 | 3 | 16 |
| Db4objects.Db4o.Internal.Btree | 1386 | 8765 | 43 | 110 | 7 | 46 | 13 | 13 |
| Db4objects.Db4o.Internal.Btree.Algebra | 70 | 458 | 8 | 8 | 10 | - | 1 | 4 |
| Db4objects.Db4o.Internal.Convert | 34 | 218 | 5 | 8 | 19 | 23 | 2 | 4 |
| Db4objects.Db4o.Internal.Convert.Conversions | 53 | 332 | 10 | 13 | 19 | - | 2 | 8 |
| Db4objects.Db4o.Internal.Reflect | 29 | 202 | 7 | 3 | 9 | 6 | 1 | 8 |
| Db4objects.Db4o.Internal.Reflect.Emitters | 67 | 473 | 7 | 3 | 4 | - | 1 | 7 |
| Db4objects.Db4o.Internal.Reflect.Generic | 28 | 171 | 2 | 0 | 0 | - | 1 | 6 |
| Db4objects.Db4o.Typehandlers | 345 | 2102 | 22 | 115 | 25 | 29 | 16 | 23 |
| Db4objects.Db4o.Typehandlers.Internal | 3 | 12 | 1 | 1 | 25 | - | 1 | 2 |
| Db4objects.Db4o.Reflect | 10 | 66 | 9 | 100 | 90 | 80 | 29 | 2 |
| Db4objects.Db4o.Reflect.Generic | 510 | 3279 | 20 | 132 | 20 | 38 | 16 | 8 |
| Db4objects.Db4o.Reflect.Core | 122 | 755 | 7 | 33 | 21 | 38 | 4 | 6 |
| Db4objects.Db4o.Reflect.Net | 242 | 1535 | 7 | 6 | 2 | 59 | 7 | 13 |
| Db4objects.Db4o.Foundation | 1980 | 13406 | 162 | 375 | 15 | 53 | 70 | 14 |
| Db4objects.Db4o.Foundation.Collections | 71 | 451 | 7 | 0 | 0 | - | 1 | 5 |
| Db4objects.Db4o.Foundation.IO | 4 | 32 | 1 | 0 | 0 | - | 3 | 2 |
| Db4objects.Db4o.dll::Db4objects.Db4o.Config | 179 | 1111 | 44 | 2738 | 93 | 12 | 27 | 19 |
| Db4objects.Db4o.Config.Encoding | 3 | 21 | 2 | 17 | 85 | 33 | 4 | 2 |
| Db4objects.Db4o.Config.Attributes | 29 | 174 | 3 | 0 | 0 | 72 | 1 | 4 |
| Db4objects.Db4o.native.Db4objects.Db4o.Internal | 8 | 43 | 1 | 0 | 0 | - | 0 | 4 |
| Db4objects.Db4o.native.Db4objects.Db4o.Typehandlers | 5 | 34 | 1 | 0 | 0 | 100 | 1 | 3 |
| Db4objects.Db4o.Linq | 44 | 377 | 14 | 26 | 37 | 90 | 5 | 12 |
| Db4objects.Db4o.Linq.Expressions | 689 | 4508 | 25 | 1 | 0 | 70 | 2 | 19 |
| Db4objects.Db4o.Linq.Caching | 33 | 239 | 9 | 5 | 13 | 66 | 2 | 7 |
| Db4objects.Db4o.Linq.CodeAnalysis | 49 | 360 | 6 | 2 | 3 | 85 | 1 | 11 |
| Db4objects.Db4o.Linq.Internals | 133 | 874 | 17 | 18 | 11 | 84 | 3 | 17 |
| Db4objects.Db4o.Internal.Linq | 0 | 7 | 1 | 0 | 0 | - | 0 | 2 |
| Db4oUnit | 541 | 3641 | 44 | 63 | 10 | 40 | 9 | 11 |
| Db4oUnit.Fixtures | 166 | 1081 | 30 | 9 | 5 | 31 | 6 | 5 |
| Db4oUnit.Util | 7 | 52 | 2 | 0 | 0 | 71 | 1 | 1 |
| Db4oUnit.Data | 69 | 456 | 10 | 2 | 2 | - | 1 | 5 |
| Db4oUnit.Mocking | 55 | 380 | 9 | 19 | 25 | 45 | 3 | 4 |
| Db4oUnit.Tests | 136 | 1062 | 29 | 9 | 6 | - | 1 | 8 |
| Db4oUnit.Tests.Fixtures | 137 | 1411 | 25 | 4 | 2 | - | 1 | 7 |
| Db4oUnit.Tests.Data | 34 | 262 | 5 | 0 | 0 | - | 1 | 5 |
| Db4objects.Db4o.CS | 8 | 72 | 1 | 97 | 92 | - | 0 | 6 |
| Db4objects.Db4o.CS.dll::Db4objects.Db4o.CS.Foundation | 53 | 355 | 10 | 36 | 40 | 50 | 6 | 7 |
| Db4objects.Db4o.CS.dll::Db4objects.Db4o.CS.Config | 0 | 0 | 7 | 211 | 100 | - | 6 | 6 |
| Db4objects.Db4o.CS.Caching | 0 | 0 | 1 | 0 | 0 | - | 3 | 2 |
| Db4objects.Db4o.CS.Internal | 1325 | 8432 | 52 | 135 | 9 | 53 | 5 | 35 |
| Db4objects.Db4o.CS.Internal.Objectexchange | 181 | 1013 | 16 | 5 | 2 | 80 | 2 | 10 |
| Db4objects.Db4o.CS.Internal.Messages | 813 | 5189 | 90 | 79 | 8 | 45 | 1 | 28 |
| Db4objects.Db4o.CS.Internal.Config | 109 | 679 | 7 | 18 | 14 | 32 | 4 | 12 |
| Db4objects.Db4o.CS.Internal.Caching | 26 | 170 | 6 | 1 | 3 | 3 | 1 | 9 |
| Db4oUnit.Extensions | 342 | 2382 | 38 | 53 | 13 | 13 | 3 | 29 |
| Db4oUnit.Extensions.Fixtures | 239 | 1461 | 29 | 100 | 29 | 53 | 3 | 20 |
| Db4oUnit.Extensions.Util | 78 | 475 | 4 | 3 | 3 | 5 | 2 | 12 |
| Db4oUnit.Extensions.Concurrency | 84 | 523 | 5 | 11 | 11 | - | 1 | 11 |
| Db4oUnit.Extensions.Dbmock | 85 | 270 | 3 | 78 | 47 | - | 0 | 11 |
| Db4oUnit.Extensions.Tests | 80 | 814 | 27 | 9 | 10 | - | 0 | 19 |
| Db4objects.Db4o.Instrumentation.Cecil | 104 | 618 | 8 | 2 | 1 | - | 1 | 9 |
| Db4objects.Db4o.Instrumentation.Api | 5 | 22 | 10 | 9 | 64 | - | 6 | 4 |
| Db4objects.Db4o.Instrumentation.Core | 1 | 10 | 1 | 2 | 66 | - | 1 | 3 |
| Db4objects.Db4o.NativeQueries | 365 | 2196 | 6 | 11 | 2 | - | 0 | 25 |
| Db4objects.Db4o.NativeQueries.Instrumentation | 192 | 1252 | 4 | 4 | 2 | - | 0 | 11 |
| Db4objects.Db4o.NativeQueries.Optimization | 137 | 898 | 4 | 1 | 0 | - | 2 | 11 |
| Db4objects.Db4o.NativeQueries.Expr | 78 | 637 | 11 | 4 | 4 | - | 5 | 3 |
| Db4objects.Db4o.NativeQueries.Expr.Build | 81 | 543 | 1 | 6 | 6 | - | 0 | 4 |
| Db4objects.Db4o.NativeQueries.Expr.Cmp | 23 | 115 | 2 | 1 | 4 | - | 6 | 1 |
| Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand | 125 | 882 | 14 | 0 | 0 | - | 5 | 6 |
| Db4objects.Db4o.NativeQueries.dll::Db4objects.Db4o.Internal.Query | 16 | 116 | 4 | 3 | 15 | - | 1 | 3 |
| Db4objects.Db4o.Bench | 100 | 577 | 1 | 17 | 14 | - | 0 | 13 |
| Db4objects.Db4o.Bench.Delaying | 127 | 865 | 4 | 13 | 9 | - | 1 | 6 |
| Db4objects.Db4o.Bench.Timing | 8 | 68 | 2 | 0 | 0 | - | 1 | 1 |
| Db4objects.Db4o.Bench.Crud | 49 | 256 | 2 | 11 | 18 | - | 1 | 6 |
| Db4objects.Db4o.Bench.Util | 14 | 94 | 1 | 0 | 0 | - | 1 | 3 |
| Db4objects.Db4o.Bench.Logging | 41 | 283 | 2 | 15 | 26 | - | 5 | 8 |
| Db4objects.Db4o.Bench.Logging.Statistics | 133 | 964 | 3 | 3 | 2 | - | 0 | 6 |
| Db4objects.Db4o.Bench.Logging.Replay | 55 | 350 | 1 | 0 | 0 | - | 1 | 8 |
| Db4objects.Db4o.Bench.Logging.Replay.Commands | 11 | 72 | 6 | 0 | 0 | - | 1 | 2 |
| Db4objects.Db4o.Optional.dll::Db4objects.Db4o.Config | 23 | 163 | 1 | 0 | 0 | - | 0 | 6 |
| Db4objects.Db4o.Optional.dll::Db4objects.Db4o.IO | 58 | 441 | 3 | 144 | 71 | - | 0 | 5 |
| Db4objects.Db4o.Cluster | 25 | 171 | 1 | 23 | 47 | - | 1 | 6 |
| Db4objects.Db4o.Tools | 95 | 608 | 6 | 15 | 13 | - | 0 | 11 |
| Db4objects.Db4o.Reflect.Self | 343 | 2458 | 9 | 27 | 7 | - | 0 | 5 |
| Db4objects.Db4o.Internal.Cluster | 173 | 1168 | 5 | 10 | 5 | - | 1 | 12 |
| Db4objects.Db4o.Monitoring | 201 | 1288 | 21 | 4 | 1 | - | 2 | 19 |
| Db4objects.Db4o.Monitoring.Internal | 35 | 203 | 3 | 1 | 2 | - | 1 | 5 |
| 0 | 204 | 2 | - | - | - | 1 | 5 | |
| Db4objects.Db4o.Data.Services | 91 | 778 | 8 | 5 | 5 | - | 0 | 11 |
| Db4objects.Db4o.CS.Monitoring | 60 | 402 | 11 | 3 | 4 | - | 0 | 15 |
| DB4objects.Db4o.CS.Optional.dll::Db4objects.Db4o.CS.Foundation | 42 | 240 | 4 | 0 | 0 | - | 1 | 6 |
| DB4objects.Db4o.CS.Optional.dll::Db4objects.Db4o.CS.Config | 6 | 46 | 2 | 0 | 0 | - | 0 | 8 |
| Code Quality |
|
|
| Critical Rule warning: Methods too complex - critical (ILCyclomaticComplexity) |
// <Name>Methods too complex - critical (ILCyclomaticComplexity)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
ILCyclomaticComplexity > 40 AND
ILNestingDepth > 4
ORDER BY ILCyclomaticComplexity DESC
// METHODS WHERE ILCyclomaticComplexity > 40
// are really too complex and should be split
// in smaller methods, or even types.
// (except if they are automatically generated by a tool).
// See the definition of the ILCyclomaticComplexity metric here
// http://www.ndepend.com/Metrics.aspx#ILCC
// See the definition of the ILNestingDepth metric here
// http://www.NDepend.com/Metrics.aspx#ILNestingDepth
WARN IF Count > 0 IN SELECT METHODS WHERE
ILCyclomaticComplexity > 40 AND
ILNestingDepth > 4
ORDER BY ILCyclomaticComplexity DESC
// METHODS WHERE ILCyclomaticComplexity > 40
// are really too complex and should be split
// in smaller methods, or even types.
// (except if they are automatically generated by a tool).
// See the definition of the ILCyclomaticComplexity metric here
// http://www.ndepend.com/Metrics.aspx#ILCC
// See the definition of the ILNestingDepth metric here
// http://www.NDepend.com/Metrics.aspx#ILNestingDepth
1 methods matched
| methods | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | Full Name |
|---|---|---|---|
| methods | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | Full Name |
| LogEnd(Int64,Int64,Int64,String) | 43 | 7 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
Statistics
| Stat | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth |
|---|---|---|
| Sum: | 43 | 7 |
| Average: | 43 | 7 |
| Minimum: | 43 | 7 |
| Maximum: | 43 | 7 |
| Standard deviation: | 0 | 0 |
| Variance: | 0 | 0 |
| Rule warning: Quick summary of methods to refactor |
// <Name>Quick summary of methods to refactor</Name>
WARN IF Count > 0 IN SELECT
METHODS /*OUT OF "YourGeneratedCode" */ WHERE
// Metrics' definitions
( NbLinesOfCode > 30 OR // http://www.ndepend.com/Metrics.aspx#NbLinesOfCode
NbILInstructions > 200 OR // http://www.ndepend.com/Metrics.aspx#NbILInstructions
CyclomaticComplexity > 20 OR // http://www.ndepend.com/Metrics.aspx#CC
ILCyclomaticComplexity > 50 OR // http://www.ndepend.com/Metrics.aspx#ILCC
ILNestingDepth > 4 OR // http://www.ndepend.com/Metrics.aspx#ILNestingDepth
NbParameters > 5 OR // http://www.ndepend.com/Metrics.aspx#NbParameters
NbVariables > 8 OR // http://www.ndepend.com/Metrics.aspx#NbVariables
NbOverloads > 6 ) // http://www.ndepend.com/Metrics.aspx#NbOverloads
AND
// Here are some ways to avoid taking account of generated methods.
!( NameIs "InitializeComponent()" OR
// NDepend.CQL.GeneratedAttribute is defined in
// the redistributable assembly $NDependInstallDir$\Lib\NDepend.CQL.dll
// You can define your own attribute to mark "Generated".
HasAttribute "OPTIONAL:NDepend.CQL.GeneratedAttribute")
WARN IF Count > 0 IN SELECT
METHODS /*OUT OF "YourGeneratedCode" */ WHERE
// Metrics' definitions
( NbLinesOfCode > 30 OR // http://www.ndepend.com/Metrics.aspx#NbLinesOfCode
NbILInstructions > 200 OR // http://www.ndepend.com/Metrics.aspx#NbILInstructions
CyclomaticComplexity > 20 OR // http://www.ndepend.com/Metrics.aspx#CC
ILCyclomaticComplexity > 50 OR // http://www.ndepend.com/Metrics.aspx#ILCC
ILNestingDepth > 4 OR // http://www.ndepend.com/Metrics.aspx#ILNestingDepth
NbParameters > 5 OR // http://www.ndepend.com/Metrics.aspx#NbParameters
NbVariables > 8 OR // http://www.ndepend.com/Metrics.aspx#NbVariables
NbOverloads > 6 ) // http://www.ndepend.com/Metrics.aspx#NbOverloads
AND
// Here are some ways to avoid taking account of generated methods.
!( NameIs "InitializeComponent()" OR
// NDepend.CQL.GeneratedAttribute is defined in
// the redistributable assembly $NDependInstallDir$\Lib\NDepend.CQL.dll
// You can define your own attribute to mark "Generated".
HasAttribute "OPTIONAL:NDepend.CQL.GeneratedAttribute")
226 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 226 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | # lines of code (LOC) | # IL instructions | Cyclomatic Complexity (CC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Full Name |
|---|---|---|---|---|---|---|---|---|---|
| methods | # lines of code (LOC) | # IL instructions | Cyclomatic Complexity (CC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Full Name |
| NextToken() | 19 | 118 | 13 | 15 | 5 | 0 | 4 | 1 | Sharpen.Lang.TypeReferenceLexer.NextToken() |
| Id() | 6 | 55 | 10 | 6 | 8 | 0 | 3 | 1 | Sharpen.Lang.TypeReferenceLexer.Id() |
| Query() | N/A | 0 | N/A | 0 | 0 | 0 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query() |
| Query(Type) | N/A | 0 | N/A | 0 | 0 | 1 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query(Type) |
| Query(Predicate) | N/A | 0 | N/A | 0 | 0 | 1 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query(Predicate) |
| Query(Predicate,IQueryComparator) | N/A | 0 | N/A | 0 | 0 | 2 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query(Predicate,IQueryComparator) |
| Query(Predicate,IComparer) | N/A | 0 | N/A | 0 | 0 | 2 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query(Predicate,IComparer) |
| Query<Extent>(Predicate<Extent>) | N/A | 0 | N/A | 0 | 0 | 1 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>(Predicate<Extent>) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | N/A | 0 | N/A | 0 | 0 | 2 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>(Predicate<Extent> ,IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | N/A | 0 | N/A | 0 | 0 | 2 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>(Predicate<Extent> ,Comparison<Extent>) |
| Query<ElementType>(Type) | N/A | 0 | N/A | 0 | 0 | 1 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query<ElementType>(Type) |
| Query<Extent>() | N/A | 0 | N/A | 0 | 0 | 0 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>() |
| Query<Extent>(IComparer<Extent>) | N/A | 0 | N/A | 0 | 0 | 1 | 0 | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>(IComparer<Extent>) |
| Init() | 73 | 438 | 2 | 2 | 1 | 0 | 1 | 1 | Db4objects.Db4o.DTrace.Init() |
| LogEnd(Int64,Int64,Int64,String) | 62 | 374 | 28 | 43 | 7 | 4 | 4 | 3 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
| .ctor() | 2 | 9 | 1 | 1 | 0 | 0 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor() |
| .ctor(IEqualityComparer<TKey>) | 3 | 13 | 1 | 1 | 0 | 1 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IEqualityComparer<TKey>) |
| .ctor(IDictionary<TKey,TValue>,IEqualityComparer<TKey>) | 3 | 14 | 1 | 1 | 0 | 2 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IDictionary<TKey,TValue>,IEqualityComparer<TKey>) |
| .ctor(IDictionary<TKey,TValue>) | 3 | 13 | 1 | 1 | 0 | 1 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IDictionary<TKey,TValue>) |
| .ctor(Int32) | 3 | 13 | 1 | 1 | 0 | 1 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (Int32) |
| .ctor(Int32,IEqualityComparer<TKey>) | 3 | 14 | 1 | 1 | 0 | 2 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (Int32,IEqualityComparer<TKey>) |
| .ctor(SerializationInfo,StreamingContext) | 5 | 50 | 1 | 1 | 0 | 2 | 4 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (SerializationInfo,StreamingContext) |
| Read(Int64,Byte[],Int32) | 15 | 78 | 3 | 5 | 1 | 3 | 9 | 1 | Db4objects.Db4o.IO.PagingMemoryBin.Read(Int64,Byte[],Int32) |
| .ctor(String,Boolean,Int64,Boolean,IoAdapter,Int32,Int32) | 9 | 37 | 1 | 1 | 0 | 7 | 0 | 3 | Db4objects.Db4o.IO.CachedIoAdapter..ctor(String,Boolean,Int64,Boolean ,IoAdapter,Int32,Int32) |
| Defrag(DefragmentConfig,IDefragmentListener) | 29 | 148 | 6 | 8 | 2 | 2 | 9 | 4 | Db4objects.Db4o.Defragment.Defragment.Defrag(DefragmentConfig ,IDefragmentListener) |
| Descend(Transaction,Object,String[]) | 22 | 144 | 7 | 9 | 6 | 3 | 10 | 2 | Db4objects.Db4o.Internal.ObjectContainerBase.Descend(Transaction ,Object,String[]) |
| Query(Transaction,Predicate) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction ,Predicate) |
| Query(Transaction,Predicate,IQueryComparator) | 2 | 25 | 1 | 2 | 1 | 3 | 2 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction ,Predicate,IQueryComparator) |
| Query(Transaction,Type) | 1 | 9 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction,Type) |
| Query(Transaction) | 1 | 11 | 1 | 1 | 0 | 1 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction) |
| Store3(Transaction,Object,IUpdateDepth,Boolean) | 31 | 222 | 14 | 18 | 3 | 4 | 6 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase.Store3(Transaction,Object ,IUpdateDepth,Boolean) |
| Query() | N/A | 0 | N/A | 0 | 0 | 0 | 0 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query() |
| Query(Type) | N/A | 0 | N/A | 0 | 0 | 1 | 0 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Type) |
| Query(Predicate) | N/A | 0 | N/A | 0 | 0 | 1 | 0 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Predicate) |
| Query(Predicate,IQueryComparator) | N/A | 0 | N/A | 0 | 0 | 2 | 0 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Predicate ,IQueryComparator) |
| Query(Predicate,IComparer) | 3 | 22 | 2 | 2 | 1 | 2 | 2 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Predicate,IComparer ) |
| Query<Extent>(Predicate<Extent>) | 1 | 9 | 1 | 1 | 0 | 1 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>,IComparer<Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>,IComparer<Extent>) | 2 | 17 | 2 | 3 | 1 | 3 | 2 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>,IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>,Comparison<Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>,Comparison<Extent>) | 2 | 17 | 2 | 3 | 1 | 3 | 2 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>,Comparison<Extent>) |
| Query<ElementType>(Type) | 1 | 10 | 1 | 1 | 0 | 1 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType>(Type) |
| Query<ElementType>(Transaction,Type) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType> (Transaction,Type) |
| Query<ElementType>(Type,IComparer<ElementType>) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType>(Type ,IComparer<ElementType>) |
| Query<ElementType>(Transaction,Type,IComparer<ElementType>) | 8 | 46 | 2 | 3 | 1 | 3 | 5 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType> (Transaction,Type,IComparer<ElementType>) |
| Query<Extent>() | 1 | 9 | 1 | 1 | 0 | 0 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>() |
| Query<Extent>(IComparer<Extent>) | 1 | 10 | 1 | 1 | 0 | 1 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(IComparer <Extent>) |
| .cctor() | 64 | 194 | 1 | 1 | 0 | 0 | 0 | 1 | Db4objects.Db4o.Internal.Config4Impl..cctor() |
| CollectConstraints(Transaction,QConObject,Object,IVisitor4) | 18 | 108 | 9 | 10 | 6 | 4 | 6 | 1 | Db4objects.Db4o.Internal.FieldMetadata.CollectConstraints(Transaction ,QConObject,Object,IVisitor4) |
| .ctor(ClassMetadata,String,Int32,Boolean,Boolean,Boolean) | 2 | 15 | 1 | 1 | 0 | 6 | 0 | 5 | Db4objects.Db4o.Internal.FieldMetadata..ctor(ClassMetadata,String ,Int32,Boolean,Boolean,Boolean) |
| Run() | 26 | 158 | 6 | 8 | 6 | 0 | 6 | 1 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_624.Run() |
| Read(Transaction,ByteArrayBuffer,Object,IActivationDepth,Int32,Boolean ) | 4 | 22 | 1 | 1 | 0 | 6 | 2 | 2 | Db4objects.Db4o.Internal.ObjectReference.Read(Transaction ,ByteArrayBuffer,Object,IActivationDepth,Int32,Boolean) |
| IsCollectionTranslator(Config4Class) | 5 | 41 | 7 | 6 | 5 | 1 | 3 | 1 | Db4objects.Db4o.Internal.Platform4.IsCollectionTranslator(Config4Class ) |
| Invoke(Object,String) | 1 | 12 | 1 | 1 | 0 | 2 | 1 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object,String) |
| Invoke(Object,String,Object[]) | 6 | 41 | 2 | 3 | 1 | 3 | 4 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object,String,Object[]) |
| Invoke(Object,String,Type[],Object[]) | 1 | 12 | 1 | 1 | 0 | 4 | 1 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object,String,Type[] ,Object[]) |
| Invoke(Type,String,Type[],Object[]) | 1 | 11 | 1 | 1 | 0 | 4 | 1 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Type,String,Type[] ,Object[]) |
| Invoke(Type,String,Type[],Object[],Object) | 1 | 12 | 1 | 1 | 0 | 5 | 1 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Type,String,Type[] ,Object[],Object) |
| Invoke(String,String,Type[],Object[],Object) | 2 | 14 | 1 | 1 | 0 | 5 | 2 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(String,String,Type[] ,Object[],Object) |
| Invoke(Object[],Object,MethodInfo) | 10 | 42 | 5 | 3 | 1 | 3 | 5 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object[],Object,MethodInfo ) |
| Invoke(Object,String,Type,Object) | 1 | 24 | 1 | 1 | 0 | 4 | 3 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object,String,Type,Object) |
| Read(Int32) | 57 | 361 | 23 | 28 | 3 | 1 | 10 | 1 | Db4objects.Db4o.Internal.ConfigBlock.Read(Int32) |
| ServerFile(String,Boolean) | 26 | 208 | 9 | 14 | 4 | 2 | 8 | 1 | Db4objects.Db4o.Internal.BlobImpl.ServerFile(String,Boolean) |
| InitializeAspects() | 38 | 238 | 19 | 22 | 3 | 0 | 6 | 1 | Db4objects.Db4o.Internal.ClassMetadata.InitializeAspects() |
| AddFieldIndex(ObjectIdContextImpl) | 21 | 119 | 8 | 8 | 2 | 1 | 10 | 1 | Db4objects.Db4o.Internal.UUIDFieldMetadata.AddFieldIndex (ObjectIdContextImpl) |
| ForInterface(IReflectClass) | 18 | 103 | 8 | 11 | 7 | 1 | 9 | 1 | Db4objects.Db4o.Internal.ClassMetadataRepository.ForInterface (IReflectClass) |
| ApplyReadAs() | 15 | 85 | 4 | 5 | 3 | 0 | 9 | 1 | Db4objects.Db4o.Internal.ClassMetadataRepository.ApplyReadAs() |
| Query() | 3 | 25 | 1 | 2 | 1 | 0 | 2 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query() |
| Query(Type) | 3 | 26 | 1 | 2 | 1 | 1 | 2 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Type) |
| Query(Predicate) | 3 | 26 | 1 | 2 | 1 | 1 | 2 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Predicate) |
| Query(Predicate,IQueryComparator) | 3 | 27 | 1 | 2 | 1 | 2 | 2 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Predicate ,IQueryComparator) |
| Query(Predicate,IComparer) | 1 | 13 | 1 | 1 | 0 | 2 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Predicate ,IComparer) |
| Query<Extent>(Predicate<Extent>) | 1 | 11 | 1 | 1 | 0 | 1 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (Predicate<Extent>) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | 1 | 12 | 1 | 1 | 0 | 2 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (Predicate<Extent>,IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | 1 | 12 | 1 | 1 | 0 | 2 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (Predicate<Extent>,Comparison<Extent>) |
| Query<ElementType>(Type) | 1 | 12 | 1 | 1 | 0 | 1 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<ElementType> (Type) |
| Query<ElementType>(Type,IComparer<ElementType>) | 1 | 12 | 1 | 1 | 0 | 2 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<ElementType> (Type,IComparer<ElementType>) |
| Query<Extent>() | 1 | 9 | 1 | 1 | 0 | 0 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent>() |
| Query<Extent>(IComparer<Extent>) | 1 | 10 | 1 | 1 | 0 | 1 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (IComparer<Extent>) |
| Load() | 2 | 303 | 2 | 2 | 1 | 0 | 2 | 1 | Db4objects.Db4o.Internal.Messages.Load() |
| Merge(MarshallingContext,Int32,MarshallingBuffer,MarshallingBuffer ,MarshallingBuffer,Int32) | 9 | 50 | 1 | 1 | 0 | 6 | 2 | 1 | Db4objects.Db4o.Internal.MarshallingBuffer.Merge(MarshallingContext ,Int32,MarshallingBuffer,MarshallingBuffer,MarshallingBuffer,Int32) |
| CollectIdsInternal(CollectIdContext,ITypeHandler4,Int32,Boolean) | 21 | 112 | 5 | 6 | 1 | 4 | 10 | 1 | Db4objects.Db4o.Internal.Handlers4.CollectIdsInternal(CollectIdContext ,ITypeHandler4,Int32,Boolean) |
| RegisterBuiltinHandlers() | 29 | 123 | 1 | 1 | 0 | 0 | 9 | 1 | Db4objects.Db4o.Internal.HandlerRegistry.RegisterBuiltinHandlers() |
| .ctor(ClassMarshaller,IntByRef,Int32,ClassMetadata,LatinStringIO ,DefragmentContextImpl) | 7 | 24 | 1 | 1 | 0 | 6 | 0 | 1 | Db4objects.Db4o.Internal.Marshall.ClassMarshaller+_IProcedure4_136. .ctor(ClassMarshaller,IntByRef,Int32,ClassMetadata,LatinStringIO ,DefragmentContextImpl) |
| .ctor(Transaction,QCandidates,Int32,IReadBuffer,Int32 ,IdObjectCollector) | 6 | 24 | 1 | 1 | 0 | 6 | 0 | 4 | Db4objects.Db4o.Internal.Marshall.QueryingReadContext..ctor (Transaction,QCandidates,Int32,IReadBuffer,Int32,IdObjectCollector) |
| VersionsAreConsistentAndSeek(ByteArrayBuffer) | 36 | 198 | 13 | 18 | 3 | 1 | 11 | 1 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart2 .VersionsAreConsistentAndSeek(ByteArrayBuffer) |
| NewInstance(LocalObjectContainer) | 19 | 90 | 9 | 10 | 2 | 1 | 10 | 1 | Db4objects.Db4o.Internal.Ids.StandardIdSystemFactory.NewInstance (LocalObjectContainer) |
| Free(Slot) | 32 | 200 | 10 | 16 | 2 | 1 | 6 | 1 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager.Free(Slot) |
| Free(Slot) | 31 | 186 | 12 | 16 | 2 | 1 | 8 | 1 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager.Free(Slot) |
| Produce(Object,IFunction4,IProcedure4) | 43 | 230 | 10 | 11 | 3 | 3 | 10 | 1 | Db4objects.Db4o.Internal.Caching.LRULongCache.Produce(Object ,IFunction4,IProcedure4) |
| Produce(Object,IFunction4,IProcedure4) | 43 | 230 | 10 | 11 | 3 | 3 | 10 | 1 | Db4objects.Db4o.Internal.Caching.LRUIntCache.Produce(Object,IFunction4 ,IProcedure4) |
| ExecuteImpl<Extent>(IQuery,Object,Object,MethodBase,Predicate<Extent> ,IQueryComparator) | 15 | 78 | 6 | 4 | 5 | 6 | 7 | 1 | Db4objects.Db4o.Internal.Query.NativeQueryHandler.ExecuteImpl<Extent> (IQuery,Object,Object,MethodBase,Predicate<Extent>,IQueryComparator) |
| ExecuteLocal(IdListQueryResult) | 22 | 115 | 8 | 12 | 3 | 1 | 9 | 1 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.ExecuteLocal (IdListQueryResult) |
| ExecuteSnapshot() | 12 | 54 | 3 | 5 | 1 | 0 | 9 | 1 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.ExecuteSnapshot() |
| CreateCandidateCollection() | 16 | 66 | 4 | 6 | 2 | 0 | 9 | 1 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .CreateCandidateCollection() |
| Attach(QQuery,String) | 27 | 184 | 9 | 13 | 2 | 2 | 13 | 1 | Db4objects.Db4o.Internal.Query.Processor.QCon.Attach(QQuery,String) |
| Join1(QCon,Boolean) | 22 | 118 | 5 | 8 | 2 | 2 | 10 | 1 | Db4objects.Db4o.Internal.Query.Processor.QCon.Join1(QCon,Boolean) |
| CreateChild(QCandidates) | 57 | 337 | 20 | 24 | 6 | 1 | 17 | 1 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.CreateChild (QCandidates) |
| EvaluateSelf() | 7 | 65 | 7 | 9 | 5 | 0 | 1 | 1 | Db4objects.Db4o.Internal.Query.Processor.QConClass.EvaluateSelf() |
Statistics
| Stat | # lines of code (LOC) | # IL instructions | Cyclomatic Complexity (CC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads |
|---|---|---|---|---|---|---|---|---|
| Sum: | 2 131 | 12 517 | 800 | 935 | 214 | 390 | 622 | 1 799 |
| Average: | 9.4292 | 55.385 | 3.5398 | 4.1372 | 0.9469 | 1.7257 | 2.7522 | 7.9602 |
| Minimum: | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| Maximum: | 73 | 438 | 49 | 43 | 8 | 7 | 29 | 21 |
| Standard deviation: | 14.512 | 83.882 | 6.0763 | 6.0348 | 1.6149 | 1.5414 | 4.1881 | 5.8494 |
| Variance: | 210.61 | 7 036 | 36.921 | 36.419 | 2.6078 | 2.3761 | 17.54 | 34.215 |
| Rule warning: Methods too big (NbLinesOfCode) |
// <Name>Methods too big (NbLinesOfCode)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbLinesOfCode > 30
ORDER BY NbLinesOfCode DESC
// METHODS WHERE NbLinesOfCode > 30 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbLinesOfCode metric here
// http://www.ndepend.com/Metrics.aspx#NbLinesOfCode
WARN IF Count > 0 IN SELECT METHODS WHERE
NbLinesOfCode > 30
ORDER BY NbLinesOfCode DESC
// METHODS WHERE NbLinesOfCode > 30 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbLinesOfCode metric here
// http://www.ndepend.com/Metrics.aspx#NbLinesOfCode
22 methods matched
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| Init() | 73 | Db4objects.Db4o.DTrace.Init() |
| .cctor() | 69 | Db4objects.Db4o.CS.Internal.Messages.Msg..cctor() |
| .cctor() | 64 | Db4objects.Db4o.Internal.Config4Impl..cctor() |
| LogEnd(Int64,Int64,Int64,String) | 62 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
| ShapeArray(Object[],Object) | 57 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.ShapeArray (Object[],Object) |
| CreateChild(QCandidates) | 57 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.CreateChild (QCandidates) |
| FlattenArray(Object,Object[]) | 57 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.FlattenArray (Object,Object[]) |
| Read(Int32) | 57 | Db4objects.Db4o.Internal.ConfigBlock.Read(Int32) |
| Produce(Object,IFunction4,IProcedure4) | 43 | Db4objects.Db4o.Internal.Caching.LRULongCache.Produce(Object ,IFunction4,IProcedure4) |
| Produce(Object,IFunction4,IProcedure4) | 43 | Db4objects.Db4o.Internal.Caching.LRUIntCache.Produce(Object,IFunction4 ,IProcedure4) |
| OutputStatistics() | 42 | Db4objects.Db4o.Bench.Logging.Statistics.LogStatistics .OutputStatistics() |
| PrintStats(IObjectContainer,String) | 38 | Db4objects.Db4o.Tools.Statistics.PrintStats(IObjectContainer,String) |
| CheckBoolean(IExpression,IExpression,IExpression) | 38 | Db4objects.Db4o.NativeQueries.Expr.Build.ExpressionBuilder .CheckBoolean(IExpression,IExpression,IExpression) |
| AdjustDelay(Delays,Int32) | 38 | Db4objects.Db4o.Bench.Delaying.DelayCalculation.AdjustDelay(Delays ,Int32) |
| InitializeAspects() | 38 | Db4objects.Db4o.Internal.ClassMetadata.InitializeAspects() |
| Qsort(ISortable4,Int32,Int32) | 38 | Db4objects.Db4o.Foundation.Algorithms4.Qsort(ISortable4,Int32,Int32) |
| VersionsAreConsistentAndSeek(ByteArrayBuffer) | 36 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart2 .VersionsAreConsistentAndSeek(ByteArrayBuffer) |
| WriteThis(Transaction,ByteArrayBuffer) | 33 | Db4objects.Db4o.Internal.Btree.BTreeNode.WriteThis(Transaction ,ByteArrayBuffer) |
| Free(Slot) | 32 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager.Free(Slot) |
| Visit(Expression) | 32 | Db4objects.Db4o.Linq.Expressions.ExpressionVisitor.Visit(Expression) |
| Free(Slot) | 31 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager.Free(Slot) |
| Store3(Transaction,Object,IUpdateDepth,Boolean) | 31 | Db4objects.Db4o.Internal.ObjectContainerBase.Store3(Transaction,Object ,IUpdateDepth,Boolean) |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 1 009 |
| Average: | 45.864 |
| Minimum: | 31 |
| Maximum: | 73 |
| Standard deviation: | 13.119 |
| Variance: | 172.12 |
| Rule warning: Methods too big (NbILInstructions) |
// <Name>Methods too big (NbILInstructions)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbILInstructions > 200
ORDER BY NbILInstructions DESC
// METHODS WHERE NbILInstructions > 200 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbILInstructions metric here
// http://www.ndepend.com/Metrics.aspx#NbILInstructions
WARN IF Count > 0 IN SELECT METHODS WHERE
NbILInstructions > 200
ORDER BY NbILInstructions DESC
// METHODS WHERE NbILInstructions > 200 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbILInstructions metric here
// http://www.ndepend.com/Metrics.aspx#NbILInstructions
17 methods matched
| methods | # IL instructions | Full Name |
|---|---|---|
| methods | # IL instructions | Full Name |
| Init() | 438 | Db4objects.Db4o.DTrace.Init() |
| OutputStatistics() | 376 | Db4objects.Db4o.Bench.Logging.Statistics.LogStatistics .OutputStatistics() |
| LogEnd(Int64,Int64,Int64,String) | 374 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
| Read(Int32) | 361 | Db4objects.Db4o.Internal.ConfigBlock.Read(Int32) |
| ShapeArray(Object[],Object) | 342 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.ShapeArray (Object[],Object) |
| FlattenArray(Object,Object[]) | 342 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.FlattenArray (Object,Object[]) |
| CreateChild(QCandidates) | 337 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.CreateChild (QCandidates) |
| Load() | 303 | Db4objects.Db4o.Internal.Messages.Load() |
| Qsort(ISortable4,Int32,Int32) | 302 | Db4objects.Db4o.Foundation.Algorithms4.Qsort(ISortable4,Int32,Int32) |
| InitializeAspects() | 238 | Db4objects.Db4o.Internal.ClassMetadata.InitializeAspects() |
| PrintStats(IObjectContainer,String) | 238 | Db4objects.Db4o.Tools.Statistics.PrintStats(IObjectContainer,String) |
| Produce(Object,IFunction4,IProcedure4) | 230 | Db4objects.Db4o.Internal.Caching.LRUIntCache.Produce(Object,IFunction4 ,IProcedure4) |
| Produce(Object,IFunction4,IProcedure4) | 230 | Db4objects.Db4o.Internal.Caching.LRULongCache.Produce(Object ,IFunction4,IProcedure4) |
| Store3(Transaction,Object,IUpdateDepth,Boolean) | 222 | Db4objects.Db4o.Internal.ObjectContainerBase.Store3(Transaction,Object ,IUpdateDepth,Boolean) |
| CheckBoolean(IExpression,IExpression,IExpression) | 216 | Db4objects.Db4o.NativeQueries.Expr.Build.ExpressionBuilder .CheckBoolean(IExpression,IExpression,IExpression) |
| ServerFile(String,Boolean) | 208 | Db4objects.Db4o.Internal.BlobImpl.ServerFile(String,Boolean) |
| AdjustDelay(Delays,Int32) | 204 | Db4objects.Db4o.Bench.Delaying.DelayCalculation.AdjustDelay(Delays ,Int32) |
Statistics
| Stat | # IL instructions |
|---|---|
| Sum: | 4 961 |
| Average: | 291.82 |
| Minimum: | 204 |
| Maximum: | 438 |
| Standard deviation: | 71.166 |
| Variance: | 5 064 |
| Rule warning: Methods too complex (CyclomaticComplexity) |
// <Name>Methods too complex (CyclomaticComplexity)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
CyclomaticComplexity > 20
ORDER BY CyclomaticComplexity DESC
// METHODS WHERE CyclomaticComplexity > 15 are hard to understand and maintain.
// METHODS WHERE CyclomaticComplexity > 30 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the CyclomaticComplexity metric here
// http://www.ndepend.com/Metrics.aspx#CC
WARN IF Count > 0 IN SELECT METHODS WHERE
CyclomaticComplexity > 20
ORDER BY CyclomaticComplexity DESC
// METHODS WHERE CyclomaticComplexity > 15 are hard to understand and maintain.
// METHODS WHERE CyclomaticComplexity > 30 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the CyclomaticComplexity metric here
// http://www.ndepend.com/Metrics.aspx#CC
4 methods matched
| methods | Cyclomatic Complexity (CC) | Full Name |
|---|---|---|
| methods | Cyclomatic Complexity (CC) | Full Name |
| Visit(Expression) | 49 | Db4objects.Db4o.Linq.Expressions.ExpressionTransformer.Visit (Expression) |
| Visit(Expression) | 49 | Db4objects.Db4o.Linq.Expressions.ExpressionVisitor.Visit(Expression) |
| LogEnd(Int64,Int64,Int64,String) | 28 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
| Read(Int32) | 23 | Db4objects.Db4o.Internal.ConfigBlock.Read(Int32) |
Statistics
| Stat | Cyclomatic Complexity (CC) |
|---|---|
| Sum: | 149 |
| Average: | 37.25 |
| Minimum: | 23 |
| Maximum: | 49 |
| Standard deviation: | 11.882 |
| Variance: | 141.19 |
| Rule warning: Methods too complex (ILCyclomaticComplexity) |
// <Name>Methods too complex (ILCyclomaticComplexity)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
ILCyclomaticComplexity > 40
ORDER BY ILCyclomaticComplexity DESC
// METHODS WHERE ILCyclomaticComplexity > 20
// are hard to understand and maintain.
// METHODS WHERE ILCyclomaticComplexity > 40
// are extremely complex and should be split
// in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the ILCyclomaticComplexity metric here
// http://www.ndepend.com/Metrics.aspx#ILCC
WARN IF Count > 0 IN SELECT METHODS WHERE
ILCyclomaticComplexity > 40
ORDER BY ILCyclomaticComplexity DESC
// METHODS WHERE ILCyclomaticComplexity > 20
// are hard to understand and maintain.
// METHODS WHERE ILCyclomaticComplexity > 40
// are extremely complex and should be split
// in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the ILCyclomaticComplexity metric here
// http://www.ndepend.com/Metrics.aspx#ILCC
1 methods matched
| methods | IL Cyclomatic Complexity (ILCC) | Full Name |
|---|---|---|
| methods | IL Cyclomatic Complexity (ILCC) | Full Name |
| LogEnd(Int64,Int64,Int64,String) | 43 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
Statistics
| Stat | IL Cyclomatic Complexity (ILCC) |
|---|---|
| Sum: | 43 |
| Average: | 43 |
| Minimum: | 43 |
| Maximum: | 43 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Methods too complex (ILNestingDepth) |
// <Name>Methods too complex (ILNestingDepth)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
ILNestingDepth > 4
ORDER BY ILNestingDepth DESC
// METHODS WHERE ILNestingDepth > 4 are hard
// to understand and maintain.
// METHODS WHERE ILNestingDepth > 8 is higher
// than 8 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbILInstructions metric here
// http://www.NDepend.com/Metrics.aspx#ILNestingDepth
WARN IF Count > 0 IN SELECT METHODS WHERE
ILNestingDepth > 4
ORDER BY ILNestingDepth DESC
// METHODS WHERE ILNestingDepth > 4 are hard
// to understand and maintain.
// METHODS WHERE ILNestingDepth > 8 is higher
// than 8 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbILInstructions metric here
// http://www.NDepend.com/Metrics.aspx#ILNestingDepth
16 methods matched
| methods | IL Nesting Depth | Full Name |
|---|---|---|
| methods | IL Nesting Depth | Full Name |
| Id() | 8 | Sharpen.Lang.TypeReferenceLexer.Id() |
| LogEnd(Int64,Int64,Int64,String) | 7 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
| ForInterface(IReflectClass) | 7 | Db4objects.Db4o.Internal.ClassMetadataRepository.ForInterface (IReflectClass) |
| ProcessMessage(Msg) | 6 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl.ProcessMessage (Msg) |
| CreateChild(QCandidates) | 6 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.CreateChild (QCandidates) |
| Run() | 6 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_624.Run() |
| Descend(Transaction,Object,String[]) | 6 | Db4objects.Db4o.Internal.ObjectContainerBase.Descend(Transaction ,Object,String[]) |
| CollectConstraints(Transaction,QConObject,Object,IVisitor4) | 6 | Db4objects.Db4o.Internal.FieldMetadata.CollectConstraints(Transaction ,QConObject,Object,IVisitor4) |
| MessageLoop() | 5 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl.MessageLoop() |
| ProcessStringMethod(MethodInvocationExpression ,MethodReferenceExpression) | 5 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor .ProcessStringMethod(MethodInvocationExpression ,MethodReferenceExpression) |
| PushFieldValueForTarget(FieldReferenceExpression,Expression) | 5 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor .PushFieldValueForTarget(FieldReferenceExpression,Expression) |
| ProcessStringMethod(MethodCallExpression) | 5 | Db4objects.Db4o.Linq.Expressions.WhereClauseVisitor .ProcessStringMethod(MethodCallExpression) |
| NextToken() | 5 | Sharpen.Lang.TypeReferenceLexer.NextToken() |
| IsCollectionTranslator(Config4Class) | 5 | Db4objects.Db4o.Internal.Platform4.IsCollectionTranslator(Config4Class ) |
| EvaluateSelf() | 5 | Db4objects.Db4o.Internal.Query.Processor.QConClass.EvaluateSelf() |
| ExecuteImpl<Extent>(IQuery,Object,Object,MethodBase,Predicate<Extent> ,IQueryComparator) | 5 | Db4objects.Db4o.Internal.Query.NativeQueryHandler.ExecuteImpl<Extent> (IQuery,Object,Object,MethodBase,Predicate<Extent>,IQueryComparator) |
Statistics
| Stat | IL Nesting Depth |
|---|---|
| Sum: | 92 |
| Average: | 5.75 |
| Minimum: | 5 |
| Maximum: | 8 |
| Standard deviation: | 0.90139 |
| Variance: | 0.8125 |
| Rule warning: Methods poorly commented (PercentageComment) |
// <Name>Methods poorly commented (PercentageComment)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
PercentageComment < 20 AND
NbLinesOfCode > 10
ORDER BY PercentageComment ASC
// METHODS WHERE %Comment < 20 and that have
// at least 10 lines of code should be more commented.
// See the definition of the PercentageComment metric here
// http://www.ndepend.com/Metrics.aspx#PercentageComment
WARN IF Count > 0 IN SELECT METHODS WHERE
PercentageComment < 20 AND
NbLinesOfCode > 10
ORDER BY PercentageComment ASC
// METHODS WHERE %Comment < 20 and that have
// at least 10 lines of code should be more commented.
// See the definition of the PercentageComment metric here
// http://www.ndepend.com/Metrics.aspx#PercentageComment
397 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 397 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | Percentage Comment | # lines of code (LOC) | Full Name |
|---|---|---|---|
| methods | Percentage Comment | # lines of code (LOC) | Full Name |
| KeyChanged(Transaction,BTreeNode) | 0 | 12 | Db4objects.Db4o.Internal.Btree.BTreeNode.KeyChanged(Transaction ,BTreeNode) |
| PrepareWrite(Transaction) | 0 | 12 | Db4objects.Db4o.Internal.Btree.BTreeNode.PrepareWrite(Transaction) |
| FindLowestLeafMatch(Transaction,IPreparedComparison,ByteArrayBuffer ,Int32) | 0 | 17 | Db4objects.Db4o.Internal.Btree.BTreeNode.FindLowestLeafMatch (Transaction,IPreparedComparison,ByteArrayBuffer,Int32) |
| Add(Transaction,IPreparedComparison,Object) | 0 | 29 | Db4objects.Db4o.Internal.Btree.BTreeNode.Add(Transaction ,IPreparedComparison,Object) |
| SearchLeaf(Transaction,IPreparedComparison,SearchTarget) | 0 | 12 | Db4objects.Db4o.Internal.Btree.BTreeNode.SearchLeaf(Transaction ,IPreparedComparison,SearchTarget) |
| Split(Transaction) | 0 | 28 | Db4objects.Db4o.Internal.Btree.BTreeNode.Split(Transaction) |
| Size(Transaction) | 0 | 12 | Db4objects.Db4o.Internal.Btree.BTreeNode.Size(Transaction) |
| Union(BTreeRangeUnion,BTreeRangeSingle) | 0 | 14 | Db4objects.Db4o.Internal.Btree.Algebra.BTreeAlgebra.Union (BTreeRangeUnion,BTreeRangeSingle) |
| ToString() | 0 | 22 | Db4objects.Db4o.Internal.Btree.BTreeNode.ToString() |
| TraverseKeys(Transaction,IVisitor4) | 0 | 12 | Db4objects.Db4o.Internal.Btree.BTreeNode.TraverseKeys(Transaction ,IVisitor4) |
| WriteThis(Transaction,ByteArrayBuffer) | 0 | 33 | Db4objects.Db4o.Internal.Btree.BTreeNode.WriteThis(Transaction ,ByteArrayBuffer) |
| SearchPointer(Transaction,Object) | 0 | 13 | Db4objects.Db4o.Internal.Btree.BTree.SearchPointer(Transaction,Object) |
| Purge() | 0 | 11 | Db4objects.Db4o.Internal.Btree.BTree.Purge() |
| Defragment(IDefragmentContext,ArrayHandler) | 0 | 16 | Db4objects.Db4o.Internal.Handlers.Array.ArrayHandler0.Defragment (IDefragmentContext,ArrayHandler) |
| WriteElements(IWriteContext,Object,ArrayInfo) | 0 | 14 | Db4objects.Db4o.Internal.Handlers.Array.MultidimensionalArrayHandler .WriteElements(IWriteContext,Object,ArrayInfo) |
| MoveNext() | 0 | 15 | Db4objects.Db4o.Internal.Handlers.Array.MultidimensionalArrayIterator .MoveNext() |
| ProduceNode(Int32) | 0 | 11 | Db4objects.Db4o.Internal.Btree.BTree.ProduceNode(Int32) |
| AdjustBounds() | 0 | 18 | Db4objects.Db4o.Internal.Btree.Searcher.AdjustBounds() |
| .ctor(SearchTarget,Int32) | 0 | 12 | Db4objects.Db4o.Internal.Btree.Searcher..ctor(SearchTarget,Int32) |
| Previous() | 0 | 15 | Db4objects.Db4o.Internal.Btree.BTreePointer.Previous() |
| .ctor(Transaction,BTreeConfiguration,Int32,IIndexable4,Int32) | 0 | 18 | Db4objects.Db4o.Internal.Btree.BTree..ctor(Transaction ,BTreeConfiguration,Int32,IIndexable4,Int32) |
| Next() | 0 | 16 | Db4objects.Db4o.Internal.Btree.BTreePointer.Next() |
| EmitLoadValueType() | 0 | 13 | Db4objects.Db4o.Internal.Reflect.Emitters.SetFieldEmitter .EmitLoadValueType() |
| Equals(Byte[],Byte[]) | 0 | 12 | Db4objects.Db4o.Foundation.Arrays4.Equals(Byte[],Byte[]) |
| Equals(Object[],Object[]) | 0 | 12 | Db4objects.Db4o.Foundation.Arrays4.Equals(Object[],Object[]) |
| MoveNext() | 0 | 16 | Db4objects.Db4o.Foundation.AbstractTreeIterator.MoveNext() |
| NextMatching(IPredicate4) | 0 | 14 | Db4objects.Db4o.Foundation.NonblockingQueue.NextMatching(IPredicate4) |
| Equals(Object) | 0 | 18 | Db4objects.Db4o.Foundation.Pair.Equals(Object) |
| Qsort(ISortable4,Int32,Int32) | 0 | 38 | Db4objects.Db4o.Foundation.Algorithms4.Qsort(ISortable4,Int32,Int32) |
| RemoveAt(Int32) | 0 | 13 | Db4objects.Db4o.Foundation.CircularIntBuffer4.RemoveAt(Int32) |
| BuildCRCTable() | 0 | 13 | Db4objects.Db4o.Foundation.CRC32.BuildCRCTable() |
| RemoveAt(Int32) | 0 | 13 | Db4objects.Db4o.Foundation.CircularBuffer4.RemoveAt(Int32) |
| MiddleValueIndex(ISortable4,Int32,Int32,Int32) | 0 | 11 | Db4objects.Db4o.Foundation.Algorithms4.MiddleValueIndex(ISortable4 ,Int32,Int32,Int32) |
| MoveNext() | 0 | 15 | Db4objects.Db4o.Foundation.FlatteningIterator.MoveNext() |
| ForName(String) | 0 | 12 | Db4objects.Db4o.Reflect.Generic.KnownClassesRepository.ForName(String) |
| ForClass(Type) | 0 | 16 | Db4objects.Db4o.Reflect.Generic.GenericReflector.ForClass(Type) |
| IsAssignableFrom(IReflectClass) | 0 | 11 | Db4objects.Db4o.Reflect.Generic.GenericClass.IsAssignableFrom (IReflectClass) |
| Activate(IReferenceActivationContext) | 0 | 13 | Db4objects.Db4o.Typehandlers.MapTypeHandler.Activate (IReferenceActivationContext) |
| DeepClone(Object) | 0 | 12 | Db4objects.Db4o.Reflect.Generic.GenericClass.DeepClone(Object) |
| Dimensions(Object) | 0 | 14 | Db4objects.Db4o.Reflect.Core.AbstractReflectArray.Dimensions(Object) |
| RemoveNode(Tree) | 0 | 11 | Db4objects.Db4o.Foundation.Tree.RemoveNode(Tree) |
| Traverse(Tree,ICancellableVisitor4) | 0 | 19 | Db4objects.Db4o.Foundation.Tree.Traverse(Tree,ICancellableVisitor4) |
| Add(Tree,Int32) | 0 | 18 | Db4objects.Db4o.Foundation.Tree.Add(Tree,Int32) |
| CreateConstructor(IConstructorAwareReflectClass,Type ,IReflectorConfiguration,IReflectConstructor[]) | 0 | 16 | Db4objects.Db4o.Reflect.Core.ConstructorSupport.CreateConstructor (IConstructorAwareReflectClass,Type,IReflectorConfiguration ,IReflectConstructor[]) |
| FindConstructor(IReflectClass,Tree) | 0 | 11 | Db4objects.Db4o.Reflect.Core.ConstructorSupport.FindConstructor (IReflectClass,Tree) |
| AddInterfaceConstraint(IReflectClass) | 0 | 16 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .AddInterfaceConstraint(IReflectClass) |
| ExecuteLocal(IdListQueryResult) | 0 | 22 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.ExecuteLocal (IdListQueryResult) |
| IntroduceClassConstrain(IReflectClass) | 0 | 12 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .IntroduceClassConstrain(IReflectClass) |
| FitsIntoExistingConstraintHierarchy(QCon) | 0 | 15 | Db4objects.Db4o.Internal.Query.Processor.QCandidates .FitsIntoExistingConstraintHierarchy(QCon) |
| AttachToExistingConstraints(Collection4,Object,Boolean) | 0 | 16 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .AttachToExistingConstraints(Collection4,Object,Boolean) |
| SingleClassConstraint() | 0 | 11 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .SingleClassConstraint() |
| ForEachConstraintRecursively(IFunction4) | 0 | 16 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .ForEachConstraintRecursively(IFunction4) |
| Visit(Object) | 0 | 13 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase+_IVisitor4_374 .Visit(Object) |
| CreateQCandidatesList() | 0 | 13 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .CreateQCandidatesList() |
| ExecuteSnapshot() | 0 | 12 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.ExecuteSnapshot() |
| CreateCandidateCollection() | 0 | 16 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .CreateCandidateCollection() |
| LockFileSignalsInterruptedTransaction() | 0 | 12 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler .LockFileSignalsInterruptedTransaction() |
| ApplySlotChanges(IVisitable,Int32,Slot) | 0 | 17 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler .ApplySlotChanges(IVisitable,Int32,Slot) |
| CompleteInterruptedTransaction(Int32,Int32) | 0 | 16 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler .CompleteInterruptedTransaction(Int32,Int32) |
| Produce(Object,IFunction4,IProcedure4) | 0 | 14 | Db4objects.Db4o.Internal.Caching.LRU2QCache.Produce(Object,IFunction4 ,IProcedure4) |
| Produce(Object,IFunction4,IProcedure4) | 0 | 13 | Db4objects.Db4o.Internal.Caching.LRU2QLongCache.Produce(Object ,IFunction4,IProcedure4) |
| CompleteInterruptedTransaction(Int32,Int32) | 0 | 12 | Db4objects.Db4o.Internal.Transactionlog.EmbeddedTransactionLogHandler .CompleteInterruptedTransaction(Int32,Int32) |
| ConfigureQuery(IQuery,Predicate) | 0 | 19 | Db4objects.Db4o.Internal.Query.NativeQueryHandler.ConfigureQuery (IQuery,Predicate) |
| TryAddConstraint(QCon) | 0 | 17 | Db4objects.Db4o.Internal.Query.Processor.QCandidates.TryAddConstraint (QCon) |
| ExecuteImpl<Extent>(IQuery,Object,Object,MethodBase,Predicate<Extent> ,IQueryComparator) | 0 | 15 | Db4objects.Db4o.Internal.Query.NativeQueryHandler.ExecuteImpl<Extent> (IQuery,Object,Object,MethodBase,Predicate<Extent>,IQueryComparator) |
| ApplySlotChanges(IVisitable,Int32,Slot) | 0 | 19 | Db4objects.Db4o.Internal.Transactionlog.EmbeddedTransactionLogHandler .ApplySlotChanges(IVisitable,Int32,Slot) |
| CheckClassHasFields(ClassMetadata) | 0 | 11 | Db4objects.Db4o.Internal.Diagnostic.DiagnosticProcessor .CheckClassHasFields(ClassMetadata) |
| Attach(QQuery,String) | 0 | 27 | Db4objects.Db4o.Internal.Query.Processor.QCon.Attach(QQuery,String) |
| Write(Object,Byte[],Int32) | 0 | 11 | Db4objects.Db4o.Internal.Handlers.DecimalHandler.Write(Object,Byte[] ,Int32) |
| Write(IWriteContext,Object) | 0 | 13 | Db4objects.Db4o.Internal.Handlers.DecimalHandler.Write(IWriteContext ,Object) |
| Poll(ObjectContainerBase) | 0 | 15 | Db4objects.Db4o.Internal.Handlers.WeakReferenceHandlerQueue.Poll (ObjectContainerBase) |
| PrepareComparison(IContext,Object) | 0 | 11 | Db4objects.Db4o.Internal.Handlers.StandardReferenceTypeHandler .PrepareComparison(IContext,Object) |
| CompareTo(Object) | 0 | 11 | Db4objects.Db4o.Internal.Handlers .StandardReferenceTypeHandler+PreparedComparisonImpl.CompareTo(Object) |
| Read(IReadContext) | 0 | 14 | Db4objects.Db4o.Internal.Handlers.Versions.OpenTypeHandler7.Read (IReadContext) |
| DefragmentSlot(IDefragmentContext) | 0 | 15 | Db4objects.Db4o.Internal.Handlers.Array.ArrayHandler.DefragmentSlot (IDefragmentContext) |
| Run() | 0 | 11 | Db4objects.Db4o.Internal.Handlers.Array.ArrayHandler+_IRunnable_80.Run () |
| CopyDependentSlot(IDefragmentContext,Int32) | 0 | 14 | Db4objects.Db4o.Internal.Handlers.Versions.OpenTypeHandler0 .CopyDependentSlot(IDefragmentContext,Int32) |
| Defragment(IDefragmentContext) | 0 | 13 | Db4objects.Db4o.Internal.Handlers.Versions.OpenTypeHandler7.Defragment (IDefragmentContext) |
| WriteUpdate(Transaction,IUpdateDepth) | 0 | 15 | Db4objects.Db4o.Internal.Handlers.Versions .OpenTypeHandler7+_ObjectReference_74.WriteUpdate(Transaction ,IUpdateDepth) |
| Visit(Object) | 0 | 11 | Db4objects.Db4o.Internal.Query.Processor.QConObject.Visit(Object) |
| PrepareComparison(ObjectContainerBase,Object) | 0 | 21 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.PrepareComparison (ObjectContainerBase,Object) |
| Unmarshall(Transaction) | 0 | 13 | Db4objects.Db4o.Internal.Query.Processor.QConObject.Unmarshall (Transaction) |
| ProduceTopLevelJoin() | 0 | 17 | Db4objects.Db4o.Internal.Query.Processor.QCon.ProduceTopLevelJoin() |
| EvaluateEvaluationsExec(QCandidates,Boolean) | 0 | 12 | Db4objects.Db4o.Internal.Query.Processor.QConObject .EvaluateEvaluationsExec(QCandidates,Boolean) |
| ReadSubCandidate(QCandidates) | 0 | 12 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.ReadSubCandidate (QCandidates) |
| WriteIndexEntry(IContext,ByteArrayBuffer,Object) | 0 | 15 | Db4objects.Db4o.Internal.Handlers.StringHandler.WriteIndexEntry (IContext,ByteArrayBuffer,Object) |
| Defragment(IDefragmentContext) | 0 | 12 | Db4objects.Db4o.Internal.Handlers.StringHandler0.Defragment (IDefragmentContext) |
| UseField(QField) | 0 | 21 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.UseField(QField) |
| ReadClassMetadata() | 0 | 11 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.ReadClassMetadata( ) |
| ToString() | 0 | 12 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.ToString() |
| BuildMethodReferences() | 0 | 11 | Db4objects.Db4o.NativeQueries.Instrumentation.SODAMethodBuilder .BuildMethodReferences() |
| Constrain(ComparisonOperator) | 0 | 24 | Db4objects.Db4o.NativeQueries.Instrumentation .SODAMethodBuilder+SODAExpressionBuilder.Constrain(ComparisonOperator) |
| ArithmeticType(IComparisonOperand) | 0 | 16 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.ArithmeticType(IComparisonOperand ) |
| PushFieldValueForTarget(FieldReferenceExpression,Expression) | 0 | 17 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor .PushFieldValueForTarget(FieldReferenceExpression,Expression) |
| Visit(ArithmeticExpression) | 0 | 17 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(ArithmeticExpression) |
| Visit(ComparisonExpression) | 0 | 26 | Db4objects.Db4o.NativeQueries.Optimization .SODAQueryBuilder+SODAQueryVisitor.Visit(ComparisonExpression) |
| CheckBoolean(IExpression,IExpression,IExpression) | 0 | 38 | Db4objects.Db4o.NativeQueries.Expr.Build.ExpressionBuilder .CheckBoolean(IExpression,IExpression,IExpression) |
| RunBenchmark(Int32) | 0 | 11 | Db4objects.Db4o.Bench.IoBenchmark.RunBenchmark(Int32) |
| Or(IExpression,IExpression) | 0 | 11 | Db4objects.Db4o.NativeQueries.Expr.Build.ExpressionBuilder.Or (IExpression,IExpression) |
| Visit(ArithmeticExpression) | 0 | 13 | Db4objects.Db4o.NativeQueries.Optimization .ComparisonQueryGeneratingVisitor.Visit(ArithmeticExpression) |
Statistics
| Stat | Percentage Comment | # lines of code (LOC) |
|---|---|---|
| Sum: | 686 | 6 571 |
| Average: | 1.728 | 16.552 |
| Minimum: | 0 | 11 |
| Maximum: | 19 | 73 |
| Standard deviation: | 4.0147 | 8.4171 |
| Variance: | 16.117 | 70.847 |
| Rule warning: Methods with too many parameters (NbParameters) |
// <Name>Methods with too many parameters (NbParameters)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbParameters > 5
ORDER BY NbParameters DESC
// METHODS WHERE NbParameters > 5 might be painful to call
// and might degrade performance. You should prefer using
// additional properties/fields to the declaring type to
// handle numerous states. Another alternative is to provide
// a class or structure dedicated to handle arguments passing
// (for example see the class System.Diagnostics.ProcessStartInfo
// and the method System.Diagnostics.Process.Start(ProcessStartInfo))
// See the definition of the NbParameters metric here
// http://www.ndepend.com/Metrics.aspx#NbParameters
WARN IF Count > 0 IN SELECT METHODS WHERE
NbParameters > 5
ORDER BY NbParameters DESC
// METHODS WHERE NbParameters > 5 might be painful to call
// and might degrade performance. You should prefer using
// additional properties/fields to the declaring type to
// handle numerous states. Another alternative is to provide
// a class or structure dedicated to handle arguments passing
// (for example see the class System.Diagnostics.ProcessStartInfo
// and the method System.Diagnostics.Process.Start(ProcessStartInfo))
// See the definition of the NbParameters metric here
// http://www.ndepend.com/Metrics.aspx#NbParameters
14 methods matched
| methods | # Parameters | Full Name |
|---|---|---|
| methods | # Parameters | Full Name |
| .ctor(IoAdapter,String,Boolean,Int64,String,Int32,TextWriter) | 7 | Db4objects.Db4o.Bench.Logging.LoggingIoAdapter..ctor(IoAdapter,String ,Boolean,Int64,String,Int32,TextWriter) |
| CreateField(IReflectClass,String,IReflectClass,Boolean,Boolean,Boolean ,Boolean) | 7 | Db4objects.Db4o.Reflect.Generic.IReflectClassBuilder.CreateField (IReflectClass,String,IReflectClass,Boolean,Boolean,Boolean,Boolean) |
| CreateField(IReflectClass,String,IReflectClass,Boolean,Boolean,Boolean ,Boolean) | 7 | Db4objects.Db4o.Reflect.Generic.GenericClassBuilder.CreateField (IReflectClass,String,IReflectClass,Boolean,Boolean,Boolean,Boolean) |
| .ctor(String,Boolean,Int64,Boolean,IoAdapter,Int32,Int32) | 7 | Db4objects.Db4o.IO.CachedIoAdapter..ctor(String,Boolean,Int64,Boolean ,IoAdapter,Int32,Int32) |
| .ctor(ClassMetadata,String,Int32,Boolean,Boolean,Boolean) | 6 | Db4objects.Db4o.Internal.FieldMetadata..ctor(ClassMetadata,String ,Int32,Boolean,Boolean,Boolean) |
| .ctor(ObjectServerImpl,ClientTransactionHandle,ISocket4,Int32,Boolean ,Object) | 6 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl..ctor (ObjectServerImpl,ClientTransactionHandle,ISocket4,Int32,Boolean ,Object) |
| ExecuteImpl<Extent>(IQuery,Object,Object,MethodBase,Predicate<Extent> ,IQueryComparator) | 6 | Db4objects.Db4o.Internal.Query.NativeQueryHandler.ExecuteImpl<Extent> (IQuery,Object,Object,MethodBase,Predicate<Extent>,IQueryComparator) |
| .ctor(IoAdapter,String,Boolean,Int64,String,Int32) | 6 | Db4objects.Db4o.Bench.Logging.LoggingIoAdapter..ctor(IoAdapter,String ,Boolean,Int64,String,Int32) |
| .ctor(Transaction,ByteArrayBuffer,BTree,BTreeNode,Int32,Boolean) | 6 | Db4objects.Db4o.Internal.Btree.BTreeNodeSearchResult..ctor(Transaction ,ByteArrayBuffer,BTree,BTreeNode,Int32,Boolean) |
| .ctor(ClassMarshaller,IntByRef,Int32,ClassMetadata,LatinStringIO ,DefragmentContextImpl) | 6 | Db4objects.Db4o.Internal.Marshall.ClassMarshaller+_IProcedure4_136. .ctor(ClassMarshaller,IntByRef,Int32,ClassMetadata,LatinStringIO ,DefragmentContextImpl) |
| Merge(MarshallingContext,Int32,MarshallingBuffer,MarshallingBuffer ,MarshallingBuffer,Int32) | 6 | Db4objects.Db4o.Internal.MarshallingBuffer.Merge(MarshallingContext ,Int32,MarshallingBuffer,MarshallingBuffer,MarshallingBuffer,Int32) |
| .ctor(Transaction,QCandidates,Int32,IReadBuffer,Int32 ,IdObjectCollector) | 6 | Db4objects.Db4o.Internal.Marshall.QueryingReadContext..ctor (Transaction,QCandidates,Int32,IReadBuffer,Int32,IdObjectCollector) |
| .ctor(BTree,Int32,Boolean,Int32,Int32,Int32) | 6 | Db4objects.Db4o.Internal.Btree.BTreeNode..ctor(BTree,Int32,Boolean ,Int32,Int32,Int32) |
| Read(Transaction,ByteArrayBuffer,Object,IActivationDepth,Int32,Boolean ) | 6 | Db4objects.Db4o.Internal.ObjectReference.Read(Transaction ,ByteArrayBuffer,Object,IActivationDepth,Int32,Boolean) |
Statistics
| Stat | # Parameters |
|---|---|
| Sum: | 88 |
| Average: | 6.2857 |
| Minimum: | 6 |
| Maximum: | 7 |
| Standard deviation: | 0.45176 |
| Variance: | 0.20408 |
| Rule warning: Methods with too many local variables (NbVariables) |
// <Name>Methods with too many local variables (NbVariables)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbVariables > 15
ORDER BY NbVariables DESC
// METHODS WHERE NbVariables > 8 are hard to understand and maintain.
// METHODS WHERE NbVariables > 15 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the Nbvariables metric here
// http://www.ndepend.com/Metrics.aspx#Nbvariables
WARN IF Count > 0 IN SELECT METHODS WHERE
NbVariables > 15
ORDER BY NbVariables DESC
// METHODS WHERE NbVariables > 8 are hard to understand and maintain.
// METHODS WHERE NbVariables > 15 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the Nbvariables metric here
// http://www.ndepend.com/Metrics.aspx#Nbvariables
2 methods matched
| methods | # Variables | Full Name |
|---|---|---|
| methods | # Variables | Full Name |
| OutputStatistics() | 29 | Db4objects.Db4o.Bench.Logging.Statistics.LogStatistics .OutputStatistics() |
| CreateChild(QCandidates) | 17 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.CreateChild (QCandidates) |
Statistics
| Stat | # Variables |
|---|---|
| Sum: | 46 |
| Average: | 23 |
| Minimum: | 17 |
| Maximum: | 29 |
| Standard deviation: | 6 |
| Variance: | 36 |
| Rule warning: Methods with too many overloads (NbOverloads) |
// <Name>Methods with too many overloads (NbOverloads)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbOverloads > 6
ORDER BY NbOverloads DESC
// METHODS WHERE NbOverloads > 6 might
// be a problem to maintain and provoke higher coupling
// than necessary.
// This might also reveal a potential misused of the
// C# and VB.NET language that since C#3 and VB9 support
// object initialization. This feature helps reducing the number
// of constructors of a class.
// See the definition of the NbOverloads metric here
// http://www.ndepend.com/Metrics.aspx#NbOverloads
WARN IF Count > 0 IN SELECT METHODS WHERE
NbOverloads > 6
ORDER BY NbOverloads DESC
// METHODS WHERE NbOverloads > 6 might
// be a problem to maintain and provoke higher coupling
// than necessary.
// This might also reveal a potential misused of the
// C# and VB.NET language that since C#3 and VB9 support
// object initialization. This feature helps reducing the number
// of constructors of a class.
// See the definition of the NbOverloads metric here
// http://www.ndepend.com/Metrics.aspx#NbOverloads
151 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 151 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | # Overloads | Full Name |
|---|---|---|
| methods | # Overloads | Full Name |
| Query(Predicate,IQueryComparator) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Predicate ,IQueryComparator) |
| Query(Predicate) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Predicate) |
| Query(Predicate,IComparer) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Predicate,IComparer ) |
| Query<Extent>(Transaction,Predicate<Extent>) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>) |
| Query<Extent>(Predicate<Extent>) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>) |
| Query(Type) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Type) |
| Query(Transaction,Type) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction,Type) |
| Query(Transaction) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction) |
| Query(Transaction,Predicate,IQueryComparator) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction ,Predicate,IQueryComparator) |
| Query() | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query() |
| Query(Transaction,Predicate) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction ,Predicate) |
| Query<ElementType>(Transaction,Type,IComparer<ElementType>) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType> (Transaction,Type,IComparer<ElementType>) |
| Query<ElementType>(Type,IComparer<ElementType>) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType>(Type ,IComparer<ElementType>) |
| Query<Extent>() | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>() |
| Query<ElementType>(Type) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType>(Type) |
| Query<Extent>(IComparer<Extent>) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(IComparer <Extent>) |
| Query<ElementType>(Transaction,Type) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType> (Transaction,Type) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>,IComparer<Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>,IComparer<Extent>) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>,IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>,Comparison<Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>,Comparison<Extent>) | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>,Comparison<Extent>) |
| Visit(MethodCallValue) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (MethodCallValue) |
| Visit(ArithmeticExpression) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (ArithmeticExpression) |
| Visit(ConstValue) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (ConstValue) |
| Visit(ComparisonExpression) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (ComparisonExpression) |
| Visit(NotExpression) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (NotExpression) |
| Visit(PredicateFieldRoot) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (PredicateFieldRoot) |
| Visit(StaticFieldRoot) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (StaticFieldRoot) |
| Visit(FieldValue) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (FieldValue) |
| Visit(CandidateFieldRoot) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (CandidateFieldRoot) |
| Visit(AndExpression) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (AndExpression) |
| Visit(ArrayAccessValue) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (ArrayAccessValue) |
| Visit(OrExpression) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (OrExpression) |
| Visit(BoolConstExpression) | 13 | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor.Visit (BoolConstExpression) |
| Query() | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query() |
| Query(Type) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Type) |
| Query<Extent>() | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent>() |
| Query<ElementType>(Type,IComparer<ElementType>) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<ElementType> (Type,IComparer<ElementType>) |
| Query<ElementType>(Type) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<ElementType> (Type) |
| Query(Predicate,IComparer) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Predicate ,IComparer) |
| Query(Predicate,IQueryComparator) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Predicate ,IQueryComparator) |
| Query<Extent>(Predicate<Extent>) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (Predicate<Extent>) |
| Query(Predicate) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Predicate) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (Predicate<Extent>,IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (Predicate<Extent>,Comparison<Extent>) |
| Query<Extent>(IComparer<Extent>) | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query<Extent>(Predicate<Extent >,Comparison<Extent>) |
| Query<ElementType>(Type) | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query<ElementType>(Type) |
| Query<Extent>(Predicate<Extent>) | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query<Extent>(Predicate<Extent >) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query<Extent>(Predicate<Extent >,IComparer<Extent>) |
| Query<Extent>() | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query<Extent>() |
| Query() | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query() |
| Query(Type) | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query(Type) |
| Query(Predicate) | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query(Predicate) |
| Query<Extent>(IComparer<Extent>) | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query<Extent>(IComparer<Extent >) |
| Query(Predicate,IQueryComparator) | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query(Predicate,IQueryComparator ) |
| Query(Predicate,IComparer) | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query(Predicate,IComparer) |
| Query<Extent>(IComparer<Extent>) | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query<Extent>(IComparer<Extent>) |
| Query() | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query() |
| Query(Type) | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query(Type) |
| Query(Predicate) | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query(Predicate) |
| Query<Extent>() | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query<Extent>() |
| Query<Extent>(Predicate<Extent>) | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query<Extent>(Predicate<Extent>) |
| Query(Predicate,IComparer) | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query(Predicate,IComparer) |
| Query(Predicate,IQueryComparator) | 11 | Db4oUnit.Extensions.Dbmock.MockEmbedded.Query(Predicate ,IQueryComparator) |
| Query<ElementType>(Type) | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query<ElementType>(Type) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query<Extent>(Predicate<Extent> ,Comparison<Extent>) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | 11 | Db4oUnit.Extensions.Dbmock.MockClient.Query<Extent>(Predicate<Extent> ,IComparer<Extent>) |
| Query(Predicate,IQueryComparator) | 11 | Db4objects.Db4o.IObjectContainer.Query(Predicate,IQueryComparator) |
| Query(Predicate,IComparer) | 11 | Db4objects.Db4o.IObjectContainer.Query(Predicate,IComparer) |
| Query(Type) | 11 | Db4objects.Db4o.IObjectContainer.Query(Type) |
| Query(Predicate) | 11 | Db4objects.Db4o.IObjectContainer.Query(Predicate) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>(Predicate<Extent> ,IComparer<Extent>) |
| Query<Extent>() | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>() |
| Query<Extent>(IComparer<Extent>) | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>(IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>(Predicate<Extent> ,Comparison<Extent>) |
| Query<ElementType>(Type) | 11 | Db4objects.Db4o.IObjectContainer.Query<ElementType>(Type) |
| Query<Extent>(Predicate<Extent>) | 11 | Db4objects.Db4o.IObjectContainer.Query<Extent>(Predicate<Extent>) |
| Query() | 11 | Db4objects.Db4o.IObjectContainer.Query() |
| Visit(AssignExpression) | 9 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (AssignExpression) |
| Visit(CastExpression) | 9 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (CastExpression) |
| Visit(MethodInvocationExpression) | 9 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (MethodInvocationExpression) |
| Visit(FieldReferenceExpression) | 9 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (FieldReferenceExpression) |
| Visit(ArgumentReferenceExpression) | 9 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (ArgumentReferenceExpression) |
| Visit(UnaryExpression) | 9 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (UnaryExpression) |
| Visit(LiteralExpression) | 9 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (LiteralExpression) |
| Visit(VariableReferenceExpression) | 9 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (VariableReferenceExpression) |
| Visit(BinaryExpression) | 9 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (BinaryExpression) |
| Visit(MethodCallValue) | 8 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(MethodCallValue) |
| Visit(CandidateFieldRoot) | 8 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(CandidateFieldRoot) |
| Visit(FieldValue) | 8 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(FieldValue) |
| Visit(ConstValue) | 8 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(ConstValue) |
| Visit(PredicateFieldRoot) | 8 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(PredicateFieldRoot) |
| Visit(MethodCallValue) | 8 | Db4objects.Db4o.NativeQueries.Instrumentation.TypeDeducingVisitor .Visit(MethodCallValue) |
| Visit(ArrayAccessValue) | 8 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(ArrayAccessValue) |
| Visit(StaticFieldRoot) | 8 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(StaticFieldRoot) |
| Visit(FieldValue) | 8 | Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand .IComparisonOperandVisitor.Visit(FieldValue) |
| Visit(CandidateFieldRoot) | 8 | Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand .IComparisonOperandVisitor.Visit(CandidateFieldRoot) |
| Visit(ArithmeticExpression) | 8 | Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand .IComparisonOperandVisitor.Visit(ArithmeticExpression) |
| Visit(ConstValue) | 8 | Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand .IComparisonOperandVisitor.Visit(ConstValue) |
Statistics
| Stat | # Overloads |
|---|---|
| Sum: | 1 695 |
| Average: | 11.225 |
| Minimum: | 7 |
| Maximum: | 21 |
| Standard deviation: | 4.3126 |
| Variance: | 18.598 |
| Type Metrics |
|
|
| Critical Rule warning: Types too big - critical (NbLinesOfCode) |
// <Name>Types too big - critical (NbLinesOfCode)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
NbLinesOfCode > 500 OR
NbILInstructions > 3000
ORDER BY NbLinesOfCode DESC
// METHODS WHERE NbLinesOfCode > 500 are extremely complex
// and should be split in a smaller group of types.
// (except if they are automatically generated by a tool).
// See the definition of the NbLinesOfCode metric here
// http://www.ndepend.com/Metrics.aspx#NbLinesOfCode
// In average, a line of code is compiled to around
// 6 IL instructions. This is why the code metric
// NbILInstructions is used here, in case the
// code metric NbLinesOfCode is un-available because
// of missing assemblies corresponding PDB files.
// See the definition of the NbILInstructions metric here
// http://www.ndepend.com/Metrics.aspx#NbILInstructions
WARN IF Count > 0 IN SELECT TYPES WHERE
NbLinesOfCode > 500 OR
NbILInstructions > 3000
ORDER BY NbLinesOfCode DESC
// METHODS WHERE NbLinesOfCode > 500 are extremely complex
// and should be split in a smaller group of types.
// (except if they are automatically generated by a tool).
// See the definition of the NbLinesOfCode metric here
// http://www.ndepend.com/Metrics.aspx#NbLinesOfCode
// In average, a line of code is compiled to around
// 6 IL instructions. This is why the code metric
// NbILInstructions is used here, in case the
// code metric NbLinesOfCode is un-available because
// of missing assemblies corresponding PDB files.
// See the definition of the NbILInstructions metric here
// http://www.ndepend.com/Metrics.aspx#NbILInstructions
4 types matched
| types | # lines of code (LOC) | # IL instructions | Full Name |
|---|---|---|---|
| types | # lines of code (LOC) | # IL instructions | Full Name |
| ClassMetadata | 848 | 5 427 | Db4objects.Db4o.Internal.ClassMetadata |
| ObjectContainerBase | 836 | 5 540 | Db4objects.Db4o.Internal.ObjectContainerBase |
| BTreeNode | 641 | 3 981 | Db4objects.Db4o.Internal.Btree.BTreeNode |
| ClientObjectContainer | 503 | 3 201 | Db4objects.Db4o.CS.Internal.ClientObjectContainer |
Statistics
| Stat | # lines of code (LOC) | # IL instructions |
|---|---|---|
| Sum: | 2 828 | 18 149 |
| Average: | 707 | 4 537 |
| Minimum: | 503 | 3 201 |
| Maximum: | 848 | 5 540 |
| Standard deviation: | 143.61 | 986.43 |
| Variance: | 20 623 | 973 034 |
| Rule warning: Types with too many methods |
// <Name>Types with too many methods</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
NbMethods > 20
ORDER BY NbMethods DESC
// TYPES WHERE NbMethods > 20 might be hard to
// understand and maintain
// but there might be cases where it is relevant
// to have a high value for NbMethods.
// For example, the System.Windows.Forms.DataGridView
// standard class has more than 1000 methods.
// See the definition of the NbMethods metric here
// http://www.ndepend.com/Metrics.aspx#NbMethods
WARN IF Count > 0 IN SELECT TYPES WHERE
NbMethods > 20
ORDER BY NbMethods DESC
// TYPES WHERE NbMethods > 20 might be hard to
// understand and maintain
// but there might be cases where it is relevant
// to have a high value for NbMethods.
// For example, the System.Windows.Forms.DataGridView
// standard class has more than 1000 methods.
// See the definition of the NbMethods metric here
// http://www.ndepend.com/Metrics.aspx#NbMethods
112 types matched
The following list of types is truncated and contains only the first 100 types of the 112 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | # Methods | Full Name |
|---|---|---|
| types | # Methods | Full Name |
| ObjectContainerBase | 301 | Db4objects.Db4o.Internal.ObjectContainerBase |
| ClassMetadata | 209 | Db4objects.Db4o.Internal.ClassMetadata |
| Config4Impl | 178 | Db4objects.Db4o.Internal.Config4Impl |
| ClientObjectContainer | 123 | Db4objects.Db4o.CS.Internal.ClientObjectContainer |
| FieldMetadata | 109 | Db4objects.Db4o.Internal.FieldMetadata |
| BTreeNode | 103 | Db4objects.Db4o.Internal.Btree.BTreeNode |
| LocalObjectContainer | 96 | Db4objects.Db4o.Internal.LocalObjectContainer |
| QCon | 86 | Db4objects.Db4o.Internal.Query.Processor.QCon |
| ObjectContainerSession | 77 | Db4objects.Db4o.Internal.ObjectContainerSession |
| ObjectReference | 76 | Db4objects.Db4o.Internal.ObjectReference |
| AbstractDb4oTestCase | 73 | Db4oUnit.Extensions.AbstractDb4oTestCase |
| BTree | 73 | Db4objects.Db4o.Internal.Btree.BTree |
| QQueryBase | 71 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase |
| ArrayList4<E> | 70 | Db4objects.Db4o.Collections.ArrayList4<E> |
| ArrayHandler | 67 | Db4objects.Db4o.Internal.Handlers.Array.ArrayHandler |
| Platform4 | 66 | Db4objects.Db4o.Internal.Platform4 |
| EventRegistryImpl | 64 | Db4objects.Db4o.Internal.Events.EventRegistryImpl |
| DefragmentContextImpl | 61 | Db4objects.Db4o.Internal.DefragmentContextImpl |
| ObjectServerImpl | 60 | Db4objects.Db4o.CS.Internal.ObjectServerImpl |
| ActivatableList<T> | 59 | Db4objects.Db4o.Collections.ActivatableList<T> |
| MockClient | 59 | Db4oUnit.Extensions.Dbmock.MockClient |
| IConfiguration | 57 | Db4objects.Db4o.Config.IConfiguration |
| TransportObjectContainer | 55 | Db4objects.Db4o.Internal.TransportObjectContainer |
| Tree | 51 | Db4objects.Db4o.Foundation.Tree |
| MarshallingContext | 51 | Db4objects.Db4o.Internal.Marshall.MarshallingContext |
| ClassMetadataRepository | 50 | Db4objects.Db4o.Internal.ClassMetadataRepository |
| DefragmentServicesImpl | 49 | Db4objects.Db4o.Defragment.DefragmentServicesImpl |
| HandlerRegistry | 47 | Db4objects.Db4o.Internal.HandlerRegistry |
| Iterators | 46 | Db4objects.Db4o.Foundation.Iterators |
| Assert | 43 | Db4oUnit.Assert |
| QConObject | 42 | Db4objects.Db4o.Internal.Query.Processor.QConObject |
| StandardReferenceTypeHandler | 42 | Db4objects.Db4o.Internal.Handlers.StandardReferenceTypeHandler |
| ActivatableDictionary<TKey,TValue> | 42 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> |
| ByteArrayBuffer | 42 | Db4objects.Db4o.Internal.ByteArrayBuffer |
| Config4Class | 42 | Db4objects.Db4o.Internal.Config4Class |
| QCandidate | 41 | Db4objects.Db4o.Internal.Query.Processor.QCandidate |
| Runtime | 40 | Sharpen.Runtime |
| QueryExpressionBuilder+Visitor | 39 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor |
| Collection4 | 39 | Db4objects.Db4o.Foundation.Collection4 |
| ServerMessageDispatcherImpl | 39 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl |
| Transaction | 38 | Db4objects.Db4o.Internal.Transaction |
| MarshallingBuffer | 38 | Db4objects.Db4o.Internal.MarshallingBuffer |
| Db4oDataContext | 37 | Db4objects.Db4o.Data.Services.Db4oDataContext |
| BigSet<E> | 36 | Db4objects.Db4o.Internal.Collections.BigSet<E> |
| Handlers4 | 36 | Db4objects.Db4o.Internal.Handlers4 |
| IEventRegistry | 36 | Db4objects.Db4o.Events.IEventRegistry |
| ExternalObjectContainer | 36 | Db4objects.Db4o.Internal.ExternalObjectContainer |
| Msg | 35 | Db4objects.Db4o.CS.Internal.Messages.Msg |
| ArrayDictionary4<K,V> | 35 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V> |
| WhereClauseVisitor | 34 | Db4objects.Db4o.Linq.Expressions.WhereClauseVisitor |
| AbstractFreespaceManager | 33 | Db4objects.Db4o.Internal.Freespace.AbstractFreespaceManager |
| LocalTransaction | 32 | Db4objects.Db4o.Internal.LocalTransaction |
| BTreeFreespaceManager | 32 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager |
| IExtObjectContainer | 32 | Db4objects.Db4o.Ext.IExtObjectContainer |
| CommonConfigurationImpl | 32 | Db4objects.Db4o.Internal.Config.CommonConfigurationImpl |
| ObjectSetFacade | 32 | Db4objects.Db4o.Internal.Query.ObjectSetFacade |
| StatefulBuffer | 32 | Db4objects.Db4o.Internal.StatefulBuffer |
| GenericClass | 31 | Db4objects.Db4o.Reflect.Generic.GenericClass |
| SystemData | 31 | Db4objects.Db4o.Internal.SystemData |
| Db4oNetworking | 31 | Db4oUnit.Extensions.Fixtures.Db4oNetworking |
| DTrace | 31 | Db4objects.Db4o.DTrace |
| MsgD | 30 | Db4objects.Db4o.CS.Internal.Messages.MsgD |
| CachedIoAdapter | 30 | Db4objects.Db4o.IO.CachedIoAdapter |
| ICommonConfiguration | 30 | Db4objects.Db4o.Config.ICommonConfiguration |
| QCandidates | 30 | Db4objects.Db4o.Internal.Query.Processor.QCandidates |
| PrimitiveHandler | 29 | Db4objects.Db4o.Internal.Handlers.PrimitiveHandler |
| StringHandler | 29 | Db4objects.Db4o.Internal.Handlers.StringHandler |
| QueryExpressionBuilder | 29 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder |
| OpenTypeHandler | 28 | Db4objects.Db4o.Internal.OpenTypeHandler |
| TransactionalIdSystemImpl | 28 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl |
| IndexedNodeCollector | 28 | Db4objects.Db4o.Internal.Fieldindex.IndexedNodeCollector |
| PrimitiveTypeMetadata | 28 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata |
| BTreeRangeSingle | 27 | Db4objects.Db4o.Internal.Btree.BTreeRangeSingle |
| NetClass | 27 | Db4objects.Db4o.Reflect.Net.NetClass |
| KnownClassesRepository | 27 | Db4objects.Db4o.Reflect.Generic.KnownClassesRepository |
| AbstractDb4oFixture | 26 | Db4oUnit.Extensions.Fixtures.AbstractDb4oFixture |
| MockEmbedded | 26 | Db4oUnit.Extensions.Dbmock.MockEmbedded |
| Hashtable4 | 26 | Db4objects.Db4o.Foundation.Hashtable4 |
| DefragmentConfig | 26 | Db4objects.Db4o.Defragment.DefragmentConfig |
| IoAdaptedObjectContainer | 26 | Db4objects.Db4o.Internal.IoAdaptedObjectContainer |
| AbstractQueryResult | 26 | Db4objects.Db4o.Internal.Query.Result.AbstractQueryResult |
| InMemoryFreespaceManager | 25 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager |
| ExpressionTransformer | 25 | Db4objects.Db4o.Linq.Expressions.ExpressionTransformer |
| ExpressionVisitor | 25 | Db4objects.Db4o.Linq.Expressions.ExpressionVisitor |
| VirtualFieldMetadata | 25 | Db4objects.Db4o.Internal.VirtualFieldMetadata |
| ExpressionQueryBuilder | 25 | Db4objects.Db4o.Linq.Expressions.ExpressionQueryBuilder |
| HashSet | 25 | Sharpen.Util.HashSet |
| TreeInt | 25 | Db4objects.Db4o.Internal.TreeInt |
| GenericCollectionTypeHandler | 25 | Db4objects.Db4o.Typehandlers.GenericCollectionTypeHandler |
| SlotChange | 25 | Db4objects.Db4o.Internal.Slots.SlotChange |
| IoBenchmark | 24 | Db4objects.Db4o.Bench.IoBenchmark |
| GenericReflector | 24 | Db4objects.Db4o.Reflect.Generic.GenericReflector |
| FileHeader | 24 | Db4objects.Db4o.Internal.Fileheader.FileHeader |
| SelfClass | 23 | Db4objects.Db4o.Reflect.Self.SelfClass |
| FileBasedTransactionLogHandler | 23 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler |
| BlobImpl | 23 | Db4objects.Db4o.Internal.BlobImpl |
| InMemoryObjectContainer | 23 | Db4objects.Db4o.Internal.InMemoryObjectContainer |
| NullCallbacks | 23 | Db4objects.Db4o.Internal.Callbacks.NullCallbacks |
| ICallbacks | 22 | Db4objects.Db4o.Internal.Callbacks.ICallbacks |
| IObjectContainer | 22 | Db4objects.Db4o.IObjectContainer |
Statistics
| Stat | # Methods |
|---|---|
| Sum: | 4 920 |
| Average: | 43.929 |
| Minimum: | 21 |
| Maximum: | 301 |
| Standard deviation: | 37.683 |
| Variance: | 1 419 |
| Rule warning: Types with too many fields |
// <Name>Types with too many fields</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
NbFields > 20 AND
!IsEnumeration
ORDER BY NbFields DESC
// TYPES WHERE NbFields > 20 AND !IsEnumeration
// might be hard to understand and maintain
// but there might be cases where it is relevant
// to have a high value for NbFields.
// For example, the System.Windows.Forms.Control
// standard class has more than 200 fields.
// The value of the metric NbFields might be a better
// indicator of complex type.
// See the definition of the NbFields metric here
// http://www.ndepend.com/Metrics.aspx#NbFields
WARN IF Count > 0 IN SELECT TYPES WHERE
NbFields > 20 AND
!IsEnumeration
ORDER BY NbFields DESC
// TYPES WHERE NbFields > 20 AND !IsEnumeration
// might be hard to understand and maintain
// but there might be cases where it is relevant
// to have a high value for NbFields.
// For example, the System.Windows.Forms.Control
// standard class has more than 200 fields.
// The value of the metric NbFields might be a better
// indicator of complex type.
// See the definition of the NbFields metric here
// http://www.ndepend.com/Metrics.aspx#NbFields
9 types matched
| types | # Fields | Full Name |
|---|---|---|
| types | # Fields | Full Name |
| DTrace | 94 | Db4objects.Db4o.DTrace |
| Const4 | 93 | Db4objects.Db4o.Internal.Const4 |
| Config4Impl | 74 | Db4objects.Db4o.Internal.Config4Impl |
| Msg | 73 | Db4objects.Db4o.CS.Internal.Messages.Msg |
| HandlerRegistry | 33 | Db4objects.Db4o.Internal.HandlerRegistry |
| ObjectContainerBase | 25 | Db4objects.Db4o.Internal.ObjectContainerBase |
| PerformanceCounterSpec | 24 | Db4objects.Db4o.Monitoring.PerformanceCounterSpec |
| ClientObjectContainer | 24 | Db4objects.Db4o.CS.Internal.ClientObjectContainer |
| ClassMetadata | 21 | Db4objects.Db4o.Internal.ClassMetadata |
Statistics
| Stat | # Fields |
|---|---|
| Sum: | 461 |
| Average: | 51.222 |
| Minimum: | 21 |
| Maximum: | 94 |
| Standard deviation: | 29.784 |
| Variance: | 887.06 |
| Rule warning: Types with poor cohesion (LCOM) |
// <Name>Types with poor cohesion (LCOM)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
LCOM > 0.8 AND
NbFields > 10 AND
NbMethods >10
ORDER BY LCOM DESC
// TYPES WHERE LCOM > 0.8 AND NbFields > 10
// AND NbMethods >10 might be problematic.
// However, it is very hard to avoid such
// non-cohesive types. The LCOMHS metric
// is often considered as more efficient to
// detect non-cohesive types.
// See the definition of the LCOM metric here
// http://www.ndepend.com/Metrics.aspx#LCOM
WARN IF Count > 0 IN SELECT TYPES WHERE
LCOM > 0.8 AND
NbFields > 10 AND
NbMethods >10
ORDER BY LCOM DESC
// TYPES WHERE LCOM > 0.8 AND NbFields > 10
// AND NbMethods >10 might be problematic.
// However, it is very hard to avoid such
// non-cohesive types. The LCOMHS metric
// is often considered as more efficient to
// detect non-cohesive types.
// See the definition of the LCOM metric here
// http://www.ndepend.com/Metrics.aspx#LCOM
25 types matched
| types | Lack of Cohesion Of Methods (LCOM) | # Fields | # Methods | Full Name |
|---|---|---|---|---|
| types | Lack of Cohesion Of Methods (LCOM) | # Fields | # Methods | Full Name |
| ObjectContainerBase | 0.97393 | 25 | 301 | Db4objects.Db4o.Internal.ObjectContainerBase |
| ClientObjectContainer | 0.97188 | 24 | 123 | Db4objects.Db4o.CS.Internal.ClientObjectContainer |
| ClassMetadata | 0.96582 | 21 | 209 | Db4objects.Db4o.Internal.ClassMetadata |
| HandlerRegistry | 0.95196 | 33 | 47 | Db4objects.Db4o.Internal.HandlerRegistry |
| LocalObjectContainer | 0.95105 | 12 | 96 | Db4objects.Db4o.Internal.LocalObjectContainer |
| EventRegistryImpl | 0.95066 | 19 | 64 | Db4objects.Db4o.Internal.Events.EventRegistryImpl |
| BTree | 0.94204 | 15 | 73 | Db4objects.Db4o.Internal.Btree.BTree |
| QCon | 0.93953 | 11 | 86 | Db4objects.Db4o.Internal.Query.Processor.QCon |
| ObjectServerImpl | 0.93889 | 19 | 60 | Db4objects.Db4o.CS.Internal.ObjectServerImpl |
| FieldMetadata | 0.93578 | 15 | 109 | Db4objects.Db4o.Internal.FieldMetadata |
| SystemData | 0.93548 | 15 | 31 | Db4objects.Db4o.Internal.SystemData |
| Config4Class | 0.92857 | 16 | 42 | Db4objects.Db4o.Internal.Config4Class |
| MarshallingContext | 0.92513 | 12 | 51 | Db4objects.Db4o.Internal.Marshall.MarshallingContext |
| QQueryBase | 0.91933 | 11 | 71 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase |
| ServerMessageDispatcherImpl | 0.91282 | 15 | 39 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl |
| DTrace | 0.91129 | 94 | 31 | Db4objects.Db4o.DTrace |
| ObjectReference | 0.90072 | 11 | 76 | Db4objects.Db4o.Internal.ObjectReference |
| Msg | 0.9 | 73 | 35 | Db4objects.Db4o.CS.Internal.Messages.Msg |
| Db4oNetworking | 0.89862 | 12 | 31 | Db4oUnit.Extensions.Fixtures.Db4oNetworking |
| DefragmentConfig | 0.89615 | 13 | 26 | Db4objects.Db4o.Defragment.DefragmentConfig |
| Config4Impl | 0.89537 | 74 | 178 | Db4objects.Db4o.Internal.Config4Impl |
| LogStatistics | 0.86364 | 11 | 22 | Db4objects.Db4o.Bench.Logging.Statistics.LogStatistics |
| GenericClass | 0.85484 | 13 | 31 | Db4objects.Db4o.Reflect.Generic.GenericClass |
| BTreeNode | 0.84466 | 11 | 103 | Db4objects.Db4o.Internal.Btree.BTreeNode |
| CachedIoAdapter | 0.83333 | 11 | 30 | Db4objects.Db4o.IO.CachedIoAdapter |
Statistics
| Stat | Lack of Cohesion Of Methods (LCOM) | # Fields | # Methods |
|---|---|---|---|
| Sum: | 22.942 | 586 | 1 965 |
| Average: | 0.91766 | 23.44 | 78.6 |
| Minimum: | 0.83333 | 11 | 22 |
| Maximum: | 0.97393 | 94 | 301 |
| Standard deviation: | 0.037655 | 21.918 | 64.75 |
| Variance: | 0.0014179 | 480.41 | 4 192 |
| Rule warning: Types with poor cohesion (LCOMHS) |
// <Name>Types with poor cohesion (LCOMHS)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
LCOMHS > 0.95 AND
NbFields > 10 AND
NbMethods >10
ORDER BY LCOMHS DESC
// TYPES WHERE LCOMHS > 1.0 AND NbFields > 10 AND
// NbMethods >10 should be avoided.
// Note that this rule is stronger
// than the rule
// TYPES WHERE LCOM > 0.8 AND NbFields > 10 AND NbMethods >10.
// See the definition of the LCOMHS metric here
// http://www.ndepend.com/Metrics.aspx#LCOMHS
WARN IF Count > 0 IN SELECT TYPES WHERE
LCOMHS > 0.95 AND
NbFields > 10 AND
NbMethods >10
ORDER BY LCOMHS DESC
// TYPES WHERE LCOMHS > 1.0 AND NbFields > 10 AND
// NbMethods >10 should be avoided.
// Note that this rule is stronger
// than the rule
// TYPES WHERE LCOM > 0.8 AND NbFields > 10 AND NbMethods >10.
// See the definition of the LCOMHS metric here
// http://www.ndepend.com/Metrics.aspx#LCOMHS
11 types matched
| types | LCOM Henderson-Sellers (LCOMHS) | # Fields | # Methods | Full Name |
|---|---|---|---|---|
| types | LCOM Henderson-Sellers (LCOMHS) | # Fields | # Methods | Full Name |
| ClientObjectContainer | 0.97985 | 24 | 123 | Db4objects.Db4o.CS.Internal.ClientObjectContainer |
| ObjectContainerBase | 0.9783 | 25 | 301 | Db4objects.Db4o.Internal.ObjectContainerBase |
| HandlerRegistry | 0.97265 | 33 | 47 | Db4objects.Db4o.Internal.HandlerRegistry |
| ClassMetadata | 0.97047 | 21 | 209 | Db4objects.Db4o.Internal.ClassMetadata |
| SystemData | 0.96667 | 15 | 31 | Db4objects.Db4o.Internal.SystemData |
| EventRegistryImpl | 0.96575 | 19 | 64 | Db4objects.Db4o.Internal.Events.EventRegistryImpl |
| LocalObjectContainer | 0.96162 | 12 | 96 | Db4objects.Db4o.Internal.LocalObjectContainer |
| BTree | 0.95513 | 15 | 73 | Db4objects.Db4o.Internal.Btree.BTree |
| ObjectServerImpl | 0.9548 | 19 | 60 | Db4objects.Db4o.CS.Internal.ObjectServerImpl |
| Config4Class | 0.95122 | 16 | 42 | Db4objects.Db4o.Internal.Config4Class |
| QCon | 0.95059 | 11 | 86 | Db4objects.Db4o.Internal.Query.Processor.QCon |
Statistics
| Stat | LCOM Henderson-Sellers (LCOMHS) | # Fields | # Methods |
|---|---|---|---|
| Sum: | 10.607 | 210 | 1 132 |
| Average: | 0.96428 | 19.091 | 102.91 |
| Minimum: | 0.95059 | 11 | 31 |
| Maximum: | 0.97985 | 33 | 301 |
| Standard deviation: | 0.0099649 | 6.1416 | 78.329 |
| Variance: | 9.9299E-05 | 37.719 | 6 135 |
| Design |
|
|
| Rule warning: Assembly should not contain namespaces dependency cycles |
// <Name>Assembly should not contain namespaces dependency cycles</Name>
WARN IF Count > 0 IN SELECT ASSEMBLIES WHERE
ContainsNamespaceDependencyCycle
// Dependency cycles between namespaces must be avoided
// in order to have a levelized and comprehensive design.
// More info available on the screencast 'Reduce the complexity'
// http://s3.amazonaws.com/NDependOnlineDemos/NDependReducingComplexity_viewlet_swf.html
// You can also read this article
// http://www.theserverside.net/tt/articles/showarticle.tss?id=ControllingDependencies
// For any assembly matched, to display internal namespaces dependency cycle(s),
// just right-click the assembly and select:
// --> View internal Dependency Cycles on Graph ... or ...
// --> View internal Dependency Cycles on Matrix (Recommended)
// In the Matrix, dependency cycles are represented with red squares and black cells.
// To browse easily dependency cycles, the Matrix comes with the option:
// --> Display Direct and Indirect Dependencies
WARN IF Count > 0 IN SELECT ASSEMBLIES WHERE
ContainsNamespaceDependencyCycle
// Dependency cycles between namespaces must be avoided
// in order to have a levelized and comprehensive design.
// More info available on the screencast 'Reduce the complexity'
// http://s3.amazonaws.com/NDependOnlineDemos/NDependReducingComplexity_viewlet_swf.html
// You can also read this article
// http://www.theserverside.net/tt/articles/showarticle.tss?id=ControllingDependencies
// For any assembly matched, to display internal namespaces dependency cycle(s),
// just right-click the assembly and select:
// --> View internal Dependency Cycles on Graph ... or ...
// --> View internal Dependency Cycles on Matrix (Recommended)
// In the Matrix, dependency cycles are represented with red squares and black cells.
// To browse easily dependency cycles, the Matrix comes with the option:
// --> Display Direct and Indirect Dependencies
7 assemblies matched
| assemblies | # lines of code (LOC) | Full Name |
|---|---|---|
| assemblies | # lines of code (LOC) | Full Name |
| Db4objects.Db4o | 23 459 | Db4objects.Db4o |
| Db4objects.Db4o.Linq | 948 | Db4objects.Db4o.Linq |
| Db4oUnit | 1 145 | Db4oUnit |
| Db4objects.Db4o.CS | 2 515 | Db4objects.Db4o.CS |
| Db4oUnit.Extensions | 908 | Db4oUnit.Extensions |
| Db4objects.Db4o.NativeQueries | 1 017 | Db4objects.Db4o.NativeQueries |
| Db4objects.Db4o.Optional | 953 | Db4objects.Db4o.Optional |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 30 945 |
| Average: | 4 420 |
| Minimum: | 908 |
| Maximum: | 23 459 |
| Standard deviation: | 7 790 |
| Variance: | 60 689 660 |
| Rule warning: Type should not have too many responsibilities (Efferent Coupling) |
// <Name>Type should not have too many responsibilities (Efferent Coupling)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCe > 50
ORDER BY TypeCe DESC
// The Efferent Coupling (TypeCe) for a particular type is
// the number of types it directly depends on. Notice that
// types declared in third party assemblies are taken into account.
// Types that depends on too many others type (more than 50)
// are complex and have more than one responsibility. They
// are good candidate for refactoring.
// More information available in this article:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/02/15/code-metrics-on-coupling-dead-code-design-flaws-and-re-engineering.aspx
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCe > 50
ORDER BY TypeCe DESC
// The Efferent Coupling (TypeCe) for a particular type is
// the number of types it directly depends on. Notice that
// types declared in third party assemblies are taken into account.
// Types that depends on too many others type (more than 50)
// are complex and have more than one responsibility. They
// are good candidate for refactoring.
// More information available in this article:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/02/15/code-metrics-on-coupling-dead-code-design-flaws-and-re-engineering.aspx
23 types matched
| types | Efferent coupling (TypeCe) | Full Name |
|---|---|---|
| types | Efferent coupling (TypeCe) | Full Name |
| ObjectContainerBase | 180 | Db4objects.Db4o.Internal.ObjectContainerBase |
| ClientObjectContainer | 168 | Db4objects.Db4o.CS.Internal.ClientObjectContainer |
| ClassMetadata | 154 | Db4objects.Db4o.Internal.ClassMetadata |
| Platform4 | 106 | Db4objects.Db4o.Internal.Platform4 |
| Config4Impl | 98 | Db4objects.Db4o.Internal.Config4Impl |
| FieldMetadata | 96 | Db4objects.Db4o.Internal.FieldMetadata |
| Msg | 95 | Db4objects.Db4o.CS.Internal.Messages.Msg |
| LocalObjectContainer | 93 | Db4objects.Db4o.Internal.LocalObjectContainer |
| QQueryBase | 81 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase |
| StandardReferenceTypeHandler | 80 | Db4objects.Db4o.Internal.Handlers.StandardReferenceTypeHandler |
| HandlerRegistry | 78 | Db4objects.Db4o.Internal.HandlerRegistry |
| BTree | 71 | Db4objects.Db4o.Internal.Btree.BTree |
| ObjectServerImpl | 71 | Db4objects.Db4o.CS.Internal.ObjectServerImpl |
| QueryExpressionBuilder | 69 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder |
| QCandidate | 69 | Db4objects.Db4o.Internal.Query.Processor.QCandidate |
| DefragmentServicesImpl | 64 | Db4objects.Db4o.Defragment.DefragmentServicesImpl |
| QueryExpressionBuilder+Visitor | 64 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor |
| ObjectContainerSession | 63 | Db4objects.Db4o.Internal.ObjectContainerSession |
| QCandidates | 59 | Db4objects.Db4o.Internal.Query.Processor.QCandidates |
| ArrayHandler | 57 | Db4objects.Db4o.Internal.Handlers.Array.ArrayHandler |
| AbstractDb4oTestCase | 53 | Db4oUnit.Extensions.AbstractDb4oTestCase |
| UUIDFieldMetadata | 51 | Db4objects.Db4o.Internal.UUIDFieldMetadata |
| ObjectReference | 51 | Db4objects.Db4o.Internal.ObjectReference |
Statistics
| Stat | Efferent coupling (TypeCe) |
|---|---|
| Sum: | 1 971 |
| Average: | 85.696 |
| Minimum: | 51 |
| Maximum: | 180 |
| Standard deviation: | 35.334 |
| Variance: | 1 248 |
| Rule warning: A stateless class or structure might be turned into a static type |
// <Name>A stateless class or structure might be turned into a static type</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
SizeOfInst ==0 AND
// For accuracy, this rule doesn't take
// account of types that implement some interfaces.
// and classes that have a base class and don't
// derive directly from System.Object, or classes
// that have sub-classes children.
NbInterfacesImplemented == 0 AND
((IsClass AND DepthOfInheritance == 1
AND NbChildren == 0)
OR IsStructure) AND
!IsStatic AND
!IsGeneric
// this rule indicates stateless types that might
// eventually be turned into static classes.
// See the definition of the SizeOfInst metric here
// http://www.ndepend.com/Metrics.aspx#SizeOfInst
WARN IF Count > 0 IN SELECT TYPES WHERE
SizeOfInst ==0 AND
// For accuracy, this rule doesn't take
// account of types that implement some interfaces.
// and classes that have a base class and don't
// derive directly from System.Object, or classes
// that have sub-classes children.
NbInterfacesImplemented == 0 AND
((IsClass AND DepthOfInheritance == 1
AND NbChildren == 0)
OR IsStructure) AND
!IsStatic AND
!IsGeneric
// this rule indicates stateless types that might
// eventually be turned into static classes.
// See the definition of the SizeOfInst metric here
// http://www.ndepend.com/Metrics.aspx#SizeOfInst
114 types matched
The following list of types is truncated and contains only the first 100 types of the 114 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | Size of instance | # interfaces implemented | Depth of inheritance | # Children | Full Name |
|---|---|---|---|---|---|
| types | Size of instance | # interfaces implemented | Depth of inheritance | # Children | Full Name |
| Collections | 0 | 0 | 1 | 0 | Sharpen.Collections |
| Runtime | 0 | 0 | 1 | 0 | Sharpen.Runtime |
| Arrays | 0 | 0 | 1 | 0 | Sharpen.Util.Arrays |
| IdentityHashCodeProvider | 0 | 0 | 1 | 0 | Sharpen.Lang.IdentityHashCodeProvider |
| ThreadLocal | 0 | 0 | 1 | 0 | Sharpen.Lang.ThreadLocal |
| __fixme__ | 0 | 0 | 1 | 0 | Sharpen.Lang.Reflect.__fixme__ |
| Db4oEmbedded | 0 | 0 | 1 | 0 | Db4objects.Db4o.Db4oEmbedded |
| Dynamic | 0 | 0 | 1 | 0 | Db4objects.Db4o.Dynamic |
| Deploy | 0 | 0 | 1 | 0 | Db4objects.Db4o.Deploy |
| Db4oVersion | 0 | 0 | 1 | 0 | Db4objects.Db4o.Db4oVersion |
| Compat | 0 | 0 | 1 | 0 | Db4objects.Db4o.Compat |
| Debug4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Debug4 |
| Status | 0 | 0 | 1 | 0 | Db4objects.Db4o.Ext.Status |
| VirtualField | 0 | 0 | 1 | 0 | Db4objects.Db4o.Ext.VirtualField |
| PredicatePlatform | 0 | 0 | 1 | 0 | Db4objects.Db4o.Query.PredicatePlatform |
| EventRegistryFactory | 0 | 0 | 1 | 0 | Db4objects.Db4o.Events.EventRegistryFactory |
| RandomAccessFileFactory | 0 | 0 | 1 | 0 | Db4objects.Db4o.IO.RandomAccessFileFactory |
| Defragment | 0 | 0 | 1 | 0 | Db4objects.Db4o.Defragment.Defragment |
| InMemoryObjectContainer+ConstructionMode | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.InMemoryObjectContainer+ConstructionMode |
| Platform4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Platform4 |
| Reflection4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Reflection4 |
| Serializer | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Serializer |
| InCallback | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.InCallback |
| Renames | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Renames |
| ObjectContainerFactory | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.ObjectContainerFactory |
| ReflectPlatform | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.ReflectPlatform |
| Const4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Const4 |
| LegacyDb4oAssemblyNameMapper | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.LegacyDb4oAssemblyNameMapper |
| Messages | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Messages |
| Handlers4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Handlers4 |
| Exceptions4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Exceptions4 |
| EventDispatchers | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.EventDispatchers |
| MarshallingConstants0 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Marshall.MarshallingConstants0 |
| MarshallerFamily+FamilyVersion | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Marshall.MarshallerFamily+FamilyVersion |
| ActivationMode | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Activation.ActivationMode |
| DepthUtil | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Activation.DepthUtil |
| StandardIdSystemFactory | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Ids.StandardIdSystemFactory |
| Db4oLegacyConfigurationBridge | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Config.Db4oLegacyConfigurationBridge |
| CacheFactory | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Caching.CacheFactory |
| WeakReferenceSupportFactory | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Weakref.WeakReferenceSupportFactory |
| NQOptimizerFactory | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Query.NQOptimizerFactory |
| BTreeAlgebra | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Btree.Algebra.BTreeAlgebra |
| CommonConversions | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Convert.Conversions.CommonConversions |
| ReflectClasses | 0 | 0 | 1 | 0 | Db4objects.Db4o.Internal.Reflect.ReflectClasses |
| ReflectorUtils | 0 | 0 | 1 | 0 | Db4objects.Db4o.Reflect.Core.ReflectorUtils |
| ConstructorSupport | 0 | 0 | 1 | 0 | Db4objects.Db4o.Reflect.Core.ConstructorSupport |
| Coercion4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Coercion4 |
| PrimitiveCodec | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.PrimitiveCodec |
| Arrays4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Arrays4 |
| Algorithms4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Algorithms4 |
| Iterators | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Iterators |
| Closures4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Closures4 |
| Cool | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Cool |
| Collections4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Collections4 |
| Lock4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Lock4 |
| Environments | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Environments |
| SignatureGenerator | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.SignatureGenerator |
| CRC32 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.CRC32 |
| NativeCollections | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.NativeCollections |
| IntIterators | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.IntIterators |
| Runnable4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Runnable4 |
| CollectionInitializer | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.Collections.CollectionInitializer |
| File4 | 0 | 0 | 1 | 0 | Db4objects.Db4o.Foundation.IO.File4 |
| StringEncodings | 0 | 0 | 1 | 0 | Db4objects.Db4o.Config.Encoding.StringEncodings |
| ExpressionCacheFactory | 0 | 0 | 1 | 0 | Db4objects.Db4o.Linq.Expressions.ExpressionCacheFactory |
| OptimizeableMethodConstrains | 0 | 0 | 1 | 0 | Db4objects.Db4o.Linq.Internals.OptimizeableMethodConstrains |
| IteratorAssert | 0 | 0 | 1 | 0 | Db4oUnit.IteratorAssert |
| TestPlatform | 0 | 0 | 1 | 0 | Db4oUnit.TestPlatform |
| Iterator4Assert | 0 | 0 | 1 | 0 | Db4oUnit.Iterator4Assert |
| ArrayAssert | 0 | 0 | 1 | 0 | Db4oUnit.ArrayAssert |
| JaggedArrayAssert | 0 | 0 | 1 | 0 | Db4oUnit.JaggedArrayAssert |
| Iterable4Assert | 0 | 0 | 1 | 0 | Db4oUnit.Iterable4Assert |
| StringAssert | 0 | 0 | 1 | 0 | Db4oUnit.StringAssert |
| Assert | 0 | 0 | 1 | 0 | Db4oUnit.Assert |
| Check | 0 | 0 | 1 | 0 | Db4oUnit.Check |
| PlatformInformation | 0 | 0 | 1 | 0 | Db4oUnit.Util.PlatformInformation |
| Streams | 0 | 0 | 1 | 0 | Db4oUnit.Data.Streams |
| Generators | 0 | 0 | 1 | 0 | Db4oUnit.Data.Generators |
| CodeGenerator | 0 | 0 | 1 | 0 | Db4oUnit.Mocking.CodeGenerator |
| MethodCall+_object_9 | 0 | 0 | 1 | 0 | Db4oUnit.Mocking.MethodCall+_object_9 |
| MethodCall+Conditions | 0 | 0 | 1 | 0 | Db4oUnit.Mocking.MethodCall+Conditions |
| ReflectionTestSuiteBuilderTestCase+NonTestFixture | 0 | 0 | 1 | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+NonTestFixture |
| Db4oClientServer | 0 | 0 | 1 | 0 | Db4objects.Db4o.CS.Db4oClientServer |
| DebugCS | 0 | 0 | 1 | 0 | Db4objects.Db4o.CS.Internal.DebugCS |
| ClientServerPlatform | 0 | 0 | 1 | 0 | Db4objects.Db4o.CS.Internal.ClientServerPlatform |
| FatalServerShutdown | 0 | 0 | 1 | 0 | Db4objects.Db4o.CS.Internal.FatalServerShutdown |
| ObjectExchangeStrategyFactory | 0 | 0 | 1 | 0 | Db4objects.Db4o.CS.Internal.Objectexchange .ObjectExchangeStrategyFactory |
| Db4oClientServerLegacyConfigurationBridge | 0 | 0 | 1 | 0 | Db4objects.Db4o.CS.Internal.Config .Db4oClientServerLegacyConfigurationBridge |
| IntArrays4 | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.IntArrays4 |
| ExpectingVisitor+_object_24 | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.ExpectingVisitor+_object_24 |
| Db4oUnitPlatform | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.Db4oUnitPlatform |
| BTreeAssert | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.BTreeAssert |
| ContainerServices | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.ContainerServices |
| Db4oAssert | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.Db4oAssert |
| ObjectSetAssert | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.ObjectSetAssert |
| Db4oFixtureVariable | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.Db4oFixtureVariable |
| Db4oFixtures | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.Fixtures.Db4oFixtures |
| IOUtil | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.Util.IOUtil |
| CrossPlatformServices | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.Util.CrossPlatformServices |
| IOServices | 0 | 0 | 1 | 0 | Db4oUnit.Extensions.Util.IOServices |
Statistics
| Stat | Size of instance | # interfaces implemented | Depth of inheritance | # Children |
|---|---|---|---|---|
| Sum: | 0 | 0 | 114 | 0 |
| Average: | 0 | 0 | 1 | 0 |
| Minimum: | 0 | 0 | 1 | 0 |
| Maximum: | 0 | 0 | 1 | 0 |
| Standard deviation: | 0 | 0 | 0 | 0 |
| Variance: | 0 | 0 | 0 | 0 |
| Rule warning: Class shouldn't be too deep in inheritance tree |
// <Name>Class shouldn't be too deep in inheritance tree </Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
DepthOfInheritance >= 6
ORDER BY DepthOfInheritance DESC
// Branches too long in the derivation should be avoided.
// See the definition of the DepthOfInheritance metric here
// http://www.ndepend.com/Metrics.aspx#DIT
// You can discard specific classes with by-design high
// DepthOfInheritance with such condition for example:
// AND !DeriveFrom "System.Windows.Forms.Form"
WARN IF Count > 0 IN SELECT TYPES WHERE
DepthOfInheritance >= 6
ORDER BY DepthOfInheritance DESC
// Branches too long in the derivation should be avoided.
// See the definition of the DepthOfInheritance metric here
// http://www.ndepend.com/Metrics.aspx#DIT
// You can discard specific classes with by-design high
// DepthOfInheritance with such condition for example:
// AND !DeriveFrom "System.Windows.Forms.Form"
1 types matched
| types | Depth of inheritance | Full Name |
|---|---|---|
| types | Depth of inheritance | Full Name |
| FreespaceSlotChange | 6 | Db4objects.Db4o.Internal.Slots.FreespaceSlotChange |
Statistics
| Stat | Depth of inheritance |
|---|---|
| Sum: | 6 |
| Average: | 6 |
| Minimum: | 6 |
| Maximum: | 6 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Class with no descendant should be sealed if possible |
// <Name>Class with no descendant should be sealed if possible</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsClass AND
NbChildren ==0 AND
!IsSealed AND
!IsStatic
// AND !IsPublic <-- You might want to add this condition
// if you are developping a framework
// with classes that are intended to be
// sub-classed by your clients.
ORDER BY NbLinesOfCode
WARN IF Count > 0 IN SELECT TYPES WHERE
IsClass AND
NbChildren ==0 AND
!IsSealed AND
!IsStatic
// AND !IsPublic <-- You might want to add this condition
// if you are developping a framework
// with classes that are intended to be
// sub-classed by your clients.
ORDER BY NbLinesOfCode
913 types matched
The following list of types is truncated and contains only the first 100 types of the 913 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | # Children | # lines of code (LOC) | Full Name |
|---|---|---|---|
| types | # Children | # lines of code (LOC) | Full Name |
| MetaField | 0 | 0 | Db4objects.Db4o.MetaField |
| MError | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MError |
| MetaClass | 0 | 0 | Db4objects.Db4o.MetaClass |
| Iterable4Assert | 0 | 0 | Db4oUnit.Iterable4Assert |
| Status | 0 | 0 | Db4objects.Db4o.Ext.Status |
| DatabaseClosedException | 0 | 0 | Db4objects.Db4o.Ext.DatabaseClosedException |
| Db4oEmbeddedSessionFixtureTestCase+OptOutAllButNetworkingCSTest | 0 | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+OptOutAllButNetworkingCSTest |
| Defragment+NullListener | 0 | 0 | Db4objects.Db4o.Defragment.Defragment+NullListener |
| MQueryResult | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MQueryResult |
| CorruptionException | 0 | 0 | Db4objects.Db4o.CorruptionException |
| Compat | 0 | 0 | Db4objects.Db4o.Compat |
| Db4oEmbeddedSessionFixtureTestCase+OptOutNetworkingTest | 0 | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+OptOutNetworkingTest |
| BackupInProgressException | 0 | 0 | Db4objects.Db4o.Ext.BackupInProgressException |
| MIDList | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MIDList |
| UnsupportedOldFormatException | 0 | 0 | Db4objects.Db4o.Ext.UnsupportedOldFormatException |
| Db4oEmbeddedSessionFixtureTestCase+Db4oTest | 0 | 0 | Db4oUnit.Extensions.Tests.Db4oEmbeddedSessionFixtureTestCase+Db4oTest |
| InvalidPasswordException | 0 | 0 | Db4objects.Db4o.Ext.InvalidPasswordException |
| DatabaseMaximumSizeReachedException | 0 | 0 | Db4objects.Db4o.Ext.DatabaseMaximumSizeReachedException |
| Db4oEmbeddedSessionFixtureTestCase+RegularTest | 0 | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+RegularTest |
| DatabaseReadOnlyException | 0 | 0 | Db4objects.Db4o.Ext.DatabaseReadOnlyException |
| LinqQueryMonitorImpl | 0 | 0 | Db4objects.Db4o.Internal.Linq.LinqQueryMonitorImpl |
| EmergencyShutdownReadOnlyException | 0 | 0 | Db4objects.Db4o.Ext.EmergencyShutdownReadOnlyException |
| Db4oEmbeddedSessionFixtureTestCase+OptOutTest | 0 | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+OptOutTest |
| MSuccess | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MSuccess |
| Db4oFileHeaderCorruptionException | 0 | 0 | Db4objects.Db4o.Ext.Db4oFileHeaderCorruptionException |
| __fixme__ | 0 | 0 | Sharpen.Lang.Reflect.__fixme__ |
| MNull | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MNull |
| MLength | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MLength |
| ServerClosedEventArgs | 0 | 0 | Db4objects.Db4o.CS.Internal.ServerClosedEventArgs |
| MOK | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MOK |
| ReflectionTestSuiteBuilderTestCase+Accepted | 0 | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+Accepted |
| MLoginOK | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MLoginOK |
| InvalidIteratorException | 0 | 0 | Db4objects.Db4o.Foundation.InvalidIteratorException |
| MClassID | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MClassID |
| IllegalComparisonException | 0 | 0 | Db4objects.Db4o.Internal.IllegalComparisonException |
| MarshallerFamily+FamilyVersion | 0 | 0 | Db4objects.Db4o.Internal.Marshall.MarshallerFamily+FamilyVersion |
| PlainObjectHandler | 0 | 0 | Db4objects.Db4o.Internal.Handlers.PlainObjectHandler |
| ReflectionTestSuiteBuilderTestCase+NotAccepted | 0 | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+NotAccepted |
| AcceptedTestCase | 0 | 0 | Db4oUnit.Extensions.Tests.AcceptedTestCase |
| SimpleDb4oTestCase+Data | 0 | 0 | Db4oUnit.Extensions.Tests.SimpleDb4oTestCase+Data |
| ExcludingReflectorTestCase+Excluded | 0 | 0 | Db4oUnit.Extensions.Tests.ExcludingReflectorTestCase+Excluded |
| DebugCS | 0 | 0 | Db4objects.Db4o.CS.Internal.DebugCS |
| ReflectionTestSuiteBuilderTestCase+NonTestFixture | 0 | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+NonTestFixture |
| MFailed | 0 | 0 | Db4objects.Db4o.CS.Internal.Messages.MFailed |
| GlobalOnlyConfigException | 0 | 0 | Db4objects.Db4o.Config.GlobalOnlyConfigException |
| RunsRed | 0 | 1 | Db4oUnit.Tests.RunsRed |
| NonFlushingStorage+NonFlushingBin | 0 | 1 | Db4objects.Db4o.IO.NonFlushingStorage+NonFlushingBin |
| RunsGreen | 0 | 1 | Db4oUnit.Tests.RunsGreen |
| MIdentity | 0 | 1 | Db4objects.Db4o.CS.Internal.Messages.MIdentity |
| DropGuidClassIndexes_7_12 | 0 | 1 | Db4objects.Db4o.Internal.Convert.Conversions.DropGuidClassIndexes_7_12 |
| AvailableTypeFilter | 0 | 1 | Db4objects.Db4o.Defragment.AvailableTypeFilter |
| Closures4 | 0 | 1 | Db4objects.Db4o.Foundation.Closures4 |
| DiagnosticToConsole | 0 | 1 | Db4objects.Db4o.Diagnostic.DiagnosticToConsole |
| NullTextWriter | 0 | 1 | Db4oUnit.NullTextWriter |
| SetupFailureException | 0 | 1 | Db4oUnit.SetupFailureException |
| DiagnosticToTrace | 0 | 1 | Db4objects.Db4o.Diagnostic.DiagnosticToTrace |
| DefragmentConfig+NullFilter | 0 | 1 | Db4objects.Db4o.Defragment.DefragmentConfig+NullFilter |
| IOMonitoringSupport | 0 | 1 | Db4objects.Db4o.Monitoring.IOMonitoringSupport |
| ClassAspects_7_4 | 0 | 1 | Db4objects.Db4o.Internal.Convert.Conversions.ClassAspects_7_4 |
| UnhandledExceptionInThreadTestCase+ExceptionThrowingTestCase | 0 | 1 | Db4oUnit.Extensions.Tests .UnhandledExceptionInThreadTestCase+ExceptionThrowingTestCase |
| MethodCall+Conditions | 0 | 1 | Db4oUnit.Mocking.MethodCall+Conditions |
| LogFilter | 0 | 1 | Db4objects.Db4o.Bench.Logging.Statistics.LogFilter |
| Entry | 0 | 1 | Db4objects.Db4o.Config.Entry |
| MProcessDeletes | 0 | 1 | Db4objects.Db4o.CS.Internal.Messages.MProcessDeletes |
| IDHandler | 0 | 1 | Db4objects.Db4o.Internal.IDHandler |
| ExpressionCacheFactory | 0 | 1 | Db4objects.Db4o.Linq.Expressions.ExpressionCacheFactory |
| SODAQueryBuilder | 0 | 1 | Db4objects.Db4o.NativeQueries.Optimization.SODAQueryBuilder |
| AndIndexedLeaf | 0 | 1 | Db4objects.Db4o.Internal.Fieldindex.AndIndexedLeaf |
| Collections4 | 0 | 1 | Db4objects.Db4o.Foundation.Collections4 |
| HierarchyAnalyzer+Same | 0 | 1 | Db4objects.Db4o.Internal.Metadata.HierarchyAnalyzer+Same |
| MarshallingConstants0 | 0 | 1 | Db4objects.Db4o.Internal.Marshall.MarshallingConstants0 |
| MPing | 0 | 1 | Db4objects.Db4o.CS.Internal.Messages.MPing |
| My<TService> | 0 | 1 | Db4objects.Db4o.Foundation.My<TService> |
| Runnable4 | 0 | 1 | Db4objects.Db4o.Foundation.Runnable4 |
| No4 | 0 | 1 | Db4objects.Db4o.Foundation.No4 |
| SyncCommand | 0 | 1 | Db4objects.Db4o.Bench.Logging.Replay.Commands.SyncCommand |
| FreespaceCommitter+NullFreespaceCommitter | 0 | 1 | Db4objects.Db4o.Internal.Ids.FreespaceCommitter+NullFreespaceCommitter |
| NullClientSlotCache | 0 | 1 | Db4objects.Db4o.CS.Internal.Caching.NullClientSlotCache |
| CecilReferenceResolver | 0 | 1 | Db4objects.Db4o.Instrumentation.Cecil.CecilReferenceResolver |
| Db4oConcurrencyTestSuite | 0 | 1 | Db4oUnit.Extensions.Db4oConcurrencyTestSuite |
| TearDownFailureException | 0 | 1 | Db4oUnit.TearDownFailureException |
| UniqueFieldValueConstraintViolationException | 0 | 1 | Db4objects.Db4o.Constraints .UniqueFieldValueConstraintViolationException |
| AbstractInMemoryDb4oTestCase | 0 | 1 | Db4oUnit.Extensions.AbstractInMemoryDb4oTestCase |
| UnicodeStringEncoding | 0 | 1 | Db4objects.Db4o.Internal.Encoding.UnicodeStringEncoding |
| MPong | 0 | 1 | Db4objects.Db4o.CS.Internal.Messages.MPong |
| OrIndexedLeaf | 0 | 1 | Db4objects.Db4o.Internal.Fieldindex.OrIndexedLeaf |
| UnsupportedPredicateException | 0 | 1 | Db4objects.Db4o.NativeQueries.UnsupportedPredicateException |
| MRaiseVersion | 0 | 1 | Db4objects.Db4o.CS.Internal.Messages.MRaiseVersion |
| InstrumentationException | 0 | 1 | Db4objects.Db4o.Instrumentation.Api.InstrumentationException |
| DefaultNativeClassFactory | 0 | 1 | Db4objects.Db4o.Instrumentation.Core.DefaultNativeClassFactory |
| Db4oVersion | 0 | 1 | Db4objects.Db4o.Db4oVersion |
| MIsAlive | 0 | 1 | Db4objects.Db4o.CS.Internal.Messages.MIsAlive |
| EventException | 0 | 1 | Db4objects.Db4o.Events.EventException |
| PBootRecord | 0 | 1 | Db4objects.Db4o.PBootRecord |
| StandardReferenceTypeHandler0 | 0 | 1 | Db4objects.Db4o.Internal.Handlers.StandardReferenceTypeHandler0 |
| DeactivatingRollbackStrategy | 0 | 1 | Db4objects.Db4o.TA.DeactivatingRollbackStrategy |
| OldFormatException | 0 | 1 | Db4objects.Db4o.Ext.OldFormatException |
| TransientAttribute | 0 | 1 | Db4objects.Db4o.TransientAttribute |
| NotAcceptedTestCase | 0 | 1 | Db4oUnit.Extensions.Tests.NotAcceptedTestCase |
| ReferenceSystemMonitoringSupport | 0 | 1 | Db4objects.Db4o.Monitoring.ReferenceSystemMonitoringSupport |
Statistics
| Stat | # Children | # lines of code (LOC) |
|---|---|---|
| Sum: | 0 | 17 263 |
| Average: | 0 | 18.908 |
| Minimum: | 0 | 0 |
| Maximum: | 0 | 503 |
| Standard deviation: | 0 | 34.09 |
| Variance: | 0 | 1 162 |
| Rule warning: Classes that are candidate to be turned into Structures |
// <Name>Classes that are candidate to be turned into Structures</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsClass AND
!IsStatic AND
SizeOfInst > 0 AND
SizeOfInst <= 16 AND // Structure instance must not be too big,
// else it degrades performance.
NbChildren == 0 AND // Must not have children
DepthOfInheritance == 1 // Must derive directly from System.Object
// AND IsSealed <-- You might want to add this condition
// to restreint the set.
// AND IsImmutable <-- Structures should be immutable type.
// AND !IsPublic <-- You might want to add this condition if
// you are developping a framework with classes
// that are intended to be sub-classed by
// your clients.
WARN IF Count > 0 IN SELECT TYPES WHERE
IsClass AND
!IsStatic AND
SizeOfInst > 0 AND
SizeOfInst <= 16 AND // Structure instance must not be too big,
// else it degrades performance.
NbChildren == 0 AND // Must not have children
DepthOfInheritance == 1 // Must derive directly from System.Object
// AND IsSealed <-- You might want to add this condition
// to restreint the set.
// AND IsImmutable <-- Structures should be immutable type.
// AND !IsPublic <-- You might want to add this condition if
// you are developping a framework with classes
// that are intended to be sub-classed by
// your clients.
649 types matched
The following list of types is truncated and contains only the first 100 types of the 649 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | Size of instance | # Children | Depth of inheritance | Full Name |
|---|---|---|---|---|
| types | Size of instance | # Children | Depth of inheritance | Full Name |
| RandomAccessFile | 4 | 0 | 1 | Sharpen.IO.RandomAccessFile |
| File | 4 | 0 | 1 | Sharpen.IO.File |
| BufferedInputStream | 4 | 0 | 1 | Sharpen.IO.BufferedInputStream |
| BufferedOutputStream | 4 | 0 | 1 | Sharpen.IO.BufferedOutputStream |
| HashSet | 4 | 0 | 1 | Sharpen.Util.HashSet |
| Random | 4 | 0 | 1 | Sharpen.Util.Random |
| DecimalFormat | 4 | 0 | 1 | Sharpen.Text.DecimalFormat |
| Token | 8 | 0 | 1 | Sharpen.Lang.Token |
| TypeReferenceLexer | 12 | 0 | 1 | Sharpen.Lang.TypeReferenceLexer |
| Thread | 13 | 0 | 1 | Sharpen.Lang.Thread |
| TypeReferenceParser | 8 | 0 | 1 | Sharpen.Lang.TypeReferenceParser |
| DTrace | 7 | 0 | 1 | Db4objects.Db4o.DTrace |
| User | 8 | 0 | 1 | Db4objects.Db4o.User |
| Rename | 12 | 0 | 1 | Db4objects.Db4o.Rename |
| StaticClass | 8 | 0 | 1 | Db4objects.Db4o.StaticClass |
| MetaIndex | 12 | 0 | 1 | Db4objects.Db4o.MetaIndex |
| MetaClass | 8 | 0 | 1 | Db4objects.Db4o.MetaClass |
| StaticField | 8 | 0 | 1 | Db4objects.Db4o.StaticField |
| MetaField | 8 | 0 | 1 | Db4objects.Db4o.MetaField |
| MemoryFile | 12 | 0 | 1 | Db4objects.Db4o.Ext.MemoryFile |
| Db4oUUID | 12 | 0 | 1 | Db4objects.Db4o.Ext.Db4oUUID |
| Predicate | 8 | 0 | 1 | Db4objects.Db4o.Query.Predicate |
| CollectionFactory | 4 | 0 | 1 | Db4objects.Db4o.Collections.CollectionFactory |
| ArrayDictionary4<K,V> | 16 | 0 | 1 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V> |
| ArrayList4<E> | 16 | 0 | 1 | Db4objects.Db4o.Collections.ArrayList4<E> |
| TransparentActivationSupport+_IEventListener4_45 | 4 | 0 | 1 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_45 |
| TransparentActivationSupport+_IEventListener4_50 | 4 | 0 | 1 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_50 |
| TransparentActivationSupport+_IEventListener4_56 | 4 | 0 | 1 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_56 |
| TransparentActivationSupport+_IEventListener4_67 | 4 | 0 | 1 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_67 |
| TransparentActivationSupport+_IVisitor4_95 | 4 | 0 | 1 | Db4objects.Db4o.TA.TransparentActivationSupport+_IVisitor4_95 |
| TransparentActivationSupport+TADiagnosticProcessor | 8 | 0 | 1 | Db4objects.Db4o.TA.TransparentActivationSupport+TADiagnosticProcessor |
| TransactionalActivator | 8 | 0 | 1 | Db4objects.Db4o.TA.TransactionalActivator |
| CachingBin+_IProcedure4_22 | 4 | 0 | 1 | Db4objects.Db4o.IO.CachingBin+_IProcedure4_22 |
| CachingBin+_IFunction4_128 | 4 | 0 | 1 | Db4objects.Db4o.IO.CachingBin+_IFunction4_128 |
| CachingBin+_IFunction4_137 | 4 | 0 | 1 | Db4objects.Db4o.IO.CachingBin+_IFunction4_137 |
| BlockAwareBinWindow | 13 | 0 | 1 | Db4objects.Db4o.IO.BlockAwareBinWindow |
| IoAdapterStorage | 4 | 0 | 1 | Db4objects.Db4o.IO.IoAdapterStorage |
| IoAdapterStorage+IoAdapterBin | 4 | 0 | 1 | Db4objects.Db4o.IO.IoAdapterStorage+IoAdapterBin |
| BinConfiguration | 14 | 0 | 1 | Db4objects.Db4o.IO.BinConfiguration |
| FileStorage+FileBin | 8 | 0 | 1 | Db4objects.Db4o.IO.FileStorage+FileBin |
| PagingMemoryBin | 12 | 0 | 1 | Db4objects.Db4o.IO.PagingMemoryBin |
| MemoryStorage | 8 | 0 | 1 | Db4objects.Db4o.IO.MemoryStorage |
| MemoryBin | 12 | 0 | 1 | Db4objects.Db4o.IO.MemoryBin |
| PagingMemoryStorage | 8 | 0 | 1 | Db4objects.Db4o.IO.PagingMemoryStorage |
| ConstantGrowthStrategy | 4 | 0 | 1 | Db4objects.Db4o.IO.ConstantGrowthStrategy |
| DefragmentRecommendation+DefragmentRecommendationReason | 4 | 0 | 1 | Db4objects.Db4o.Diagnostic .DefragmentRecommendation+DefragmentRecommendationReason |
| DefragmentInfo | 4 | 0 | 1 | Db4objects.Db4o.Defragment.DefragmentInfo |
| DatabaseIdMapping+BTreeSpec | 4 | 0 | 1 | Db4objects.Db4o.Defragment.DatabaseIdMapping+BTreeSpec |
| DatabaseIdMapping+_IVisitable_142 | 4 | 0 | 1 | Db4objects.Db4o.Defragment.DatabaseIdMapping+_IVisitable_142 |
| DefragmentServicesImpl+_IVisitor4_230 | 8 | 0 | 1 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_IVisitor4_230 |
| DefragmentServicesImpl+_IProcedure4_313 | 4 | 0 | 1 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_IProcedure4_313 |
| InMemoryIdMapping+_IVisitable_62 | 4 | 0 | 1 | Db4objects.Db4o.Defragment.InMemoryIdMapping+_IVisitable_62 |
| InMemoryIdMapping+_IVisitable_62+_IVisitor4_64 | 4 | 0 | 1 | Db4objects.Db4o.Defragment .InMemoryIdMapping+_IVisitable_62+_IVisitor4_64 |
| IDMappingCollector | 4 | 0 | 1 | Db4objects.Db4o.Defragment.IDMappingCollector |
| FirstPassCommand | 4 | 0 | 1 | Db4objects.Db4o.Defragment.FirstPassCommand |
| SecondPassCommand | 8 | 0 | 1 | Db4objects.Db4o.Defragment.SecondPassCommand |
| SecondPassCommand+_ISlotCopyHandler_35 | 8 | 0 | 1 | Db4objects.Db4o.Defragment.SecondPassCommand+_ISlotCopyHandler_35 |
| SecondPassCommand+_ISlotCopyHandler_47 | 8 | 0 | 1 | Db4objects.Db4o.Defragment.SecondPassCommand+_ISlotCopyHandler_47 |
| SecondPassCommand+_ISlotCopyHandler_62 | 4 | 0 | 1 | Db4objects.Db4o.Defragment.SecondPassCommand+_ISlotCopyHandler_62 |
| Defragment+_IVisitor4_315 | 12 | 0 | 1 | Db4objects.Db4o.Defragment.Defragment+_IVisitor4_315 |
| UniqueFieldValueConstraint | 8 | 0 | 1 | Db4objects.Db4o.Constraints.UniqueFieldValueConstraint |
| UniqueFieldValueConstraint+_IEventListener4_46 | 12 | 0 | 1 | Db4objects.Db4o.Constraints .UniqueFieldValueConstraint+_IEventListener4_46 |
| TypeHandlerConfigurationDotNet+GenericTypeHandlerPredicate | 4 | 0 | 1 | Db4objects.Db4o.Internal .TypeHandlerConfigurationDotNet+GenericTypeHandlerPredicate |
| TypeHandlerConfigurationDotNet+GenericCollectionTypePredicate | 4 | 0 | 1 | Db4objects.Db4o.Internal .TypeHandlerConfigurationDotNet+GenericCollectionTypePredicate |
| TreeInt+_IVisitor4_97 | 4 | 0 | 1 | Db4objects.Db4o.Internal.TreeInt+_IVisitor4_97 |
| TreeInt+_IVisitor4_152 | 4 | 0 | 1 | Db4objects.Db4o.Internal.TreeInt+_IVisitor4_152 |
| ObjectContainerBase+_IRunnable_125 | 4 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+_IRunnable_125 |
| ObjectContainerBase+_IFunction4_185 | 12 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_185 |
| ObjectContainerBase+PendingActivation | 8 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingActivation |
| ObjectContainerBase+_IFunction4_395 | 4 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_395 |
| ObjectContainerBase+_IFunction4_512 | 12 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_512 |
| ObjectContainerBase+_IFunction4_561 | 13 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_561 |
| ObjectContainerBase+_IFunction4_806 | 8 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_806 |
| ObjectContainerBase+_IFunction4_888 | 4 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_888 |
| ObjectContainerBase+_IFunction4_1267 | 13 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_1267 |
| ObjectContainerBase+_IFunction4_1590 | 13 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_1590 |
| ObjectContainerBase+PendingSet | 12 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingSet |
| ObjectContainerBase+GenericComparerAdaptor<T> | 4 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+GenericComparerAdaptor<T> |
| ObjectContainerBase+SyncExecClosure4<R> | 4 | 0 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase+SyncExecClosure4<R> |
| Config4Impl+ConfigDeepCloneContext | 8 | 0 | 1 | Db4objects.Db4o.Internal.Config4Impl+ConfigDeepCloneContext |
| FieldMetadata+_IClosure4_453 | 8 | 0 | 1 | Db4objects.Db4o.Internal.FieldMetadata+_IClosure4_453 |
| FieldMetadata+_IVisitor4_871 | 12 | 0 | 1 | Db4objects.Db4o.Internal.FieldMetadata+_IVisitor4_871 |
| FieldMetadata+_IClosure4_1034 | 8 | 0 | 1 | Db4objects.Db4o.Internal.FieldMetadata+_IClosure4_1034 |
| LocalObjectContainer+_IClosure4_57 | 4 | 0 | 1 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_57 |
| LocalObjectContainer+_IClosure4_68 | 4 | 0 | 1 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_68 |
| LocalObjectContainer+_IClosure4_573 | 12 | 0 | 1 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_573 |
| LocalObjectContainer+_IClosure4_587 | 12 | 0 | 1 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_587 |
| LocalObjectContainer+_IClosure4_587+_IVisitor4_588 | 4 | 0 | 1 | Db4objects.Db4o.Internal .LocalObjectContainer+_IClosure4_587+_IVisitor4_588 |
| LocalObjectContainer+_IVisitor4_790 | 4 | 0 | 1 | Db4objects.Db4o.Internal.LocalObjectContainer+_IVisitor4_790 |
| TransactionContext | 8 | 0 | 1 | Db4objects.Db4o.Internal.TransactionContext |
| LockedTree | 8 | 0 | 1 | Db4objects.Db4o.Internal.LockedTree |
| LockedTree+_IVisitor4_51 | 4 | 0 | 1 | Db4objects.Db4o.Internal.LockedTree+_IVisitor4_51 |
| SystemInfoFileImpl | 4 | 0 | 1 | Db4objects.Db4o.Internal.SystemInfoFileImpl |
| ConfigBlock | 16 | 0 | 1 | Db4objects.Db4o.Internal.ConfigBlock |
| ClassMetadata+_IProcedure4_101 | 4 | 0 | 1 | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_101 |
| ClassMetadata+_ITraverseAspectCommand_160 | 4 | 0 | 1 | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_160 |
| ClassMetadata+_IPredicate4_544 | 4 | 0 | 1 | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_544 |
| ClassMetadata+_IFunction4_632 | 4 | 0 | 1 | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_632 |
| ClassMetadata+_IFunction4_640 | 4 | 0 | 1 | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_640 |
| ClassMetadata+_IFunction4_648 | 4 | 0 | 1 | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_648 |
Statistics
| Stat | Size of instance | # Children | Depth of inheritance |
|---|---|---|---|
| Sum: | 4 526 | 0 | 649 |
| Average: | 6.9738 | 0 | 1 |
| Minimum: | 1 | 0 | 1 |
| Maximum: | 16 | 0 | 1 |
| Standard deviation: | 3.6161 | 0 | 0 |
| Variance: | 13.076 | 0 | 0 |
| Rule warning: Avoid namespaces with few types |
// <Name>Avoid namespaces with few types</Name>
WARN IF Count > 0 IN SELECT NAMESPACES WHERE
NbTypes < 5
ORDER BY NbTypes ASC
// Make sure that there is a logical organization
// to each of your namespaces, and that there is a
// valid reason for putting types in a sparsely
// populated namespace. Namespaces should contain
// types that are used together in most scenarios.
// When their applications are mutually exclusive,
// types should be located in separate namespaces
WARN IF Count > 0 IN SELECT NAMESPACES WHERE
NbTypes < 5
ORDER BY NbTypes ASC
// Make sure that there is a logical organization
// to each of your namespaces, and that there is a
// valid reason for putting types in a sparsely
// populated namespace. Namespaces should contain
// types that are used together in most scenarios.
// When their applications are mutually exclusive,
// types should be located in separate namespaces
51 namespaces matched
| namespaces | # Types | Full Name |
|---|---|---|
| namespaces | # Types | Full Name |
| Db4objects.Db4o.NativeQueries.Expr.Build | 1 | Db4objects.Db4o.NativeQueries.Expr.Build |
| Db4objects.Db4o.Internal.Diagnostic | 1 | Db4objects.Db4o.Internal.Diagnostic |
| Db4objects.Db4o.Bench | 1 | Db4objects.Db4o.Bench |
| Db4objects.Db4o.CS | 1 | Db4objects.Db4o.CS |
| Db4objects.Db4o.Internal.IO | 1 | Db4objects.Db4o.Internal.IO |
| Db4objects.Db4o.Typehandlers.Internal | 1 | Db4objects.Db4o.Typehandlers.Internal |
| Db4objects.Db4o.Foundation.IO | 1 | Db4objects.Db4o.Foundation.IO |
| Db4objects.Db4o.Instrumentation.Core | 1 | Db4objects.Db4o.Instrumentation.Core |
| Db4objects.Db4o.CS.Caching | 1 | Db4objects.Db4o.CS.Caching |
| Db4objects.Db4o.native.Db4objects.Db4o.Internal | 1 | Db4objects.Db4o.native.Db4objects.Db4o.Internal |
| Sharpen.Lang.Reflect | 1 | Sharpen.Lang.Reflect |
| Db4objects.Db4o.Internal.Linq | 1 | Db4objects.Db4o.Internal.Linq |
| Db4objects.Db4o.Cluster | 1 | Db4objects.Db4o.Cluster |
| Sharpen.Text | 1 | Sharpen.Text |
| Db4objects.Db4o.Bench.Util | 1 | Db4objects.Db4o.Bench.Util |
| Db4objects.Db4o.Config | 1 | Db4objects.Db4o.Config |
| Db4objects.Db4o.Bench.Logging.Replay | 1 | Db4objects.Db4o.Bench.Logging.Replay |
| Db4objects.Db4o.native.Db4objects.Db4o.Typehandlers | 1 | Db4objects.Db4o.native.Db4objects.Db4o.Typehandlers |
| Db4oUnit.Util | 2 | Db4oUnit.Util |
| Db4objects.Db4o.CS.Config | 2 | Db4objects.Db4o.CS.Config |
| Db4objects.Db4o.Bench.Logging | 2 | Db4objects.Db4o.Bench.Logging |
| 2 | ||
| Db4objects.Db4o.Bench.Crud | 2 | Db4objects.Db4o.Bench.Crud |
| Db4objects.Db4o.NativeQueries.Expr.Cmp | 2 | Db4objects.Db4o.NativeQueries.Expr.Cmp |
| Db4objects.Db4o.Bench.Timing | 2 | Db4objects.Db4o.Bench.Timing |
| Db4objects.Db4o.Activation | 2 | Db4objects.Db4o.Activation |
| Db4objects.Db4o.Internal.Callbacks | 2 | Db4objects.Db4o.Internal.Callbacks |
| Db4objects.Db4o.Internal.Replication | 2 | Db4objects.Db4o.Internal.Replication |
| Db4objects.Db4o.Internal.Delete | 2 | Db4objects.Db4o.Internal.Delete |
| Db4objects.Db4o.Replication | 2 | Db4objects.Db4o.Replication |
| Sharpen | 2 | Sharpen |
| Db4objects.Db4o.Config.Encoding | 2 | Db4objects.Db4o.Config.Encoding |
| Db4objects.Db4o.Internal.Reflect.Generic | 2 | Db4objects.Db4o.Internal.Reflect.Generic |
| Db4objects.Db4o.Messaging | 3 | Db4objects.Db4o.Messaging |
| Db4objects.Db4o.Bench.Logging.Statistics | 3 | Db4objects.Db4o.Bench.Logging.Statistics |
| Sharpen.Net | 3 | Sharpen.Net |
| Db4objects.Db4o.Monitoring.Internal | 3 | Db4objects.Db4o.Monitoring.Internal |
| Db4objects.Db4o.IO | 3 | Db4objects.Db4o.IO |
| Db4oUnit.Extensions.Dbmock | 3 | Db4oUnit.Extensions.Dbmock |
| Db4objects.Db4o.Config.Attributes | 3 | Db4objects.Db4o.Config.Attributes |
| Db4oUnit.Extensions.Util | 4 | Db4oUnit.Extensions.Util |
| Db4objects.Db4o.Internal.Handlers.Versions | 4 | Db4objects.Db4o.Internal.Handlers.Versions |
| Db4objects.Db4o.Bench.Delaying | 4 | Db4objects.Db4o.Bench.Delaying |
| Db4objects.Db4o.CS.Foundation | 4 | Db4objects.Db4o.CS.Foundation |
| Sharpen.Util | 4 | Sharpen.Util |
| Db4objects.Db4o.Internal.Query | 4 | Db4objects.Db4o.Internal.Query |
| Db4objects.Db4o.Constraints | 4 | Db4objects.Db4o.Constraints |
| Db4objects.Db4o.Internal.Threading | 4 | Db4objects.Db4o.Internal.Threading |
| Db4objects.Db4o.NativeQueries.Instrumentation | 4 | Db4objects.Db4o.NativeQueries.Instrumentation |
| Db4objects.Db4o.NativeQueries.Optimization | 4 | Db4objects.Db4o.NativeQueries.Optimization |
| Db4objects.Db4o.Internal.Classindex | 4 | Db4objects.Db4o.Internal.Classindex |
Statistics
| Stat | # Types |
|---|---|
| Sum: | 113 |
| Average: | 2.2157 |
| Minimum: | 1 |
| Maximum: | 4 |
| Standard deviation: | 1.143 |
| Variance: | 1.3064 |
| Rule warning: Nested types should not be visible |
// <Name>Nested types should not be visible</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsNested AND
!IsPrivate AND
!IsInFrameworkAssembly
// A nested type is a type declared within the
// scope of another type. Nested types are useful
// for encapsulating private implementation details
// of the containing type. Used for this purpose,
// nested types should not be externally visible.
// Do not use externally visible nested types for
// logical grouping or to avoid name collisions;
// instead, use namespaces.
WARN IF Count > 0 IN SELECT TYPES WHERE
IsNested AND
!IsPrivate AND
!IsInFrameworkAssembly
// A nested type is a type declared within the
// scope of another type. Nested types are useful
// for encapsulating private implementation details
// of the containing type. Used for this purpose,
// nested types should not be externally visible.
// Do not use externally visible nested types for
// logical grouping or to avoid name collisions;
// instead, use namespaces.
73 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| IoAdapterStorage+IoAdapterBin | 12 | Db4objects.Db4o.IO.IoAdapterStorage+IoAdapterBin |
| FileStorage+FileBin | 39 | Db4objects.Db4o.IO.FileStorage+FileBin |
| DefragmentRecommendation+DefragmentRecommendationReason | 3 | Db4objects.Db4o.Diagnostic .DefragmentRecommendation+DefragmentRecommendationReason |
| DefragmentConfig+NullFilter | 1 | Db4objects.Db4o.Defragment.DefragmentConfig+NullFilter |
| DefragmentServicesImpl+DbSelector | 2 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+DbSelector |
| Defragment+NullListener | 0 | Db4objects.Db4o.Defragment.Defragment+NullListener |
| TypeHandlerConfigurationDotNet+GenericTypeHandlerPredicate | 8 | Db4objects.Db4o.Internal .TypeHandlerConfigurationDotNet+GenericTypeHandlerPredicate |
| TypeHandlerConfigurationDotNet+GenericCollectionTypePredicate | 8 | Db4objects.Db4o.Internal .TypeHandlerConfigurationDotNet+GenericCollectionTypePredicate |
| ObjectContainerBase+PendingActivation | 3 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingActivation |
| ObjectContainerBase+PendingSet | 4 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingSet |
| ObjectContainerBase+SyncExecClosure<R> | N/A | Db4objects.Db4o.Internal.ObjectContainerBase+SyncExecClosure<R> |
| ObjectContainerBase+SyncExecClosure4<R> | 3 | Db4objects.Db4o.Internal.ObjectContainerBase+SyncExecClosure4<R> |
| Config4Impl+ConfigDeepCloneContext | 3 | Db4objects.Db4o.Internal.Config4Impl+ConfigDeepCloneContext |
| InMemoryObjectContainer+ConstructionMode | 0 | Db4objects.Db4o.Internal.InMemoryObjectContainer+ConstructionMode |
| UUIDFieldMetadata+DatabaseIdentityIDAndUUID | 3 | Db4objects.Db4o.Internal.UUIDFieldMetadata+DatabaseIdentityIDAndUUID |
| TransportObjectContainer+KnownObjectIdentity | 2 | Db4objects.Db4o.Internal.TransportObjectContainer+KnownObjectIdentity |
| HierarchyAnalyzer+Diff | 11 | Db4objects.Db4o.Internal.Metadata.HierarchyAnalyzer+Diff |
| HierarchyAnalyzer+Same | 1 | Db4objects.Db4o.Internal.Metadata.HierarchyAnalyzer+Same |
| HierarchyAnalyzer+Removed | 2 | Db4objects.Db4o.Internal.Metadata.HierarchyAnalyzer+Removed |
| ModifiedAspectTraversalStrategy+ITraverseAspectCommandProcessor | N/A | Db4objects.Db4o.Internal.Metadata .ModifiedAspectTraversalStrategy+ITraverseAspectCommandProcessor |
| MarshallerFamily+FamilyVersion | 0 | Db4objects.Db4o.Internal.Marshall.MarshallerFamily+FamilyVersion |
| BTreeIdSystem+IdSlotMappingHandler | 5 | Db4objects.Db4o.Internal.Ids.BTreeIdSystem+IdSlotMappingHandler |
| InMemoryFreespaceManager+ToStringVisitor | 4 | Db4objects.Db4o.Internal.Freespace .InMemoryFreespaceManager+ToStringVisitor |
| SodaQueryComparator+Ordering | 5 | Db4objects.Db4o.Internal.Query.SodaQueryComparator+Ordering |
| SodaQueryComparator+Direction | 7 | Db4objects.Db4o.Internal.Query.SodaQueryComparator+Direction |
| SodaQueryComparator+FieldValueKey | 6 | Db4objects.Db4o.Internal.Query.SodaQueryComparator+FieldValueKey |
| QCandidates+TreeIntBuilder | 1 | Db4objects.Db4o.Internal.Query.Processor.QCandidates+TreeIntBuilder |
| QQueryBase+CreateCandidateCollectionResult | 4 | Db4objects.Db4o.Internal.Query.Processor .QQueryBase+CreateCandidateCollectionResult |
| StandardReferenceTypeHandler+PreparedComparisonImpl | 14 | Db4objects.Db4o.Internal.Handlers .StandardReferenceTypeHandler+PreparedComparisonImpl |
| IntHandler+PreparedIntComparison | 7 | Db4objects.Db4o.Internal.Handlers.IntHandler+PreparedIntComparison |
| ConversionStage+ClassCollectionAvailableStage | 2 | Db4objects.Db4o.Internal.Convert .ConversionStage+ClassCollectionAvailableStage |
| ConversionStage+SystemUpStage | 2 | Db4objects.Db4o.Internal.Convert.ConversionStage+SystemUpStage |
| KeySpec+IDeferred | N/A | Db4objects.Db4o.Foundation.KeySpec+IDeferred |
| EnumerateIterator+Tuple | 3 | Db4objects.Db4o.Foundation.EnumerateIterator+Tuple |
| Closures4+Closure | N/A | Db4objects.Db4o.Foundation.Closures4+Closure |
| Closures4+Closure4OverDelegate | 3 | Db4objects.Db4o.Foundation.Closures4+Closure4OverDelegate |
| WildcardAlias+WildcardPattern | 13 | Db4objects.Db4o.Config.WildcardAlias+WildcardPattern |
| Cache4CachingStrategyWithComparer<TKey,TValue>+UnwrappingProducer | 3 | Db4objects.Db4o.Linq.Caching.Cache4CachingStrategyWithComparer<TKey ,TValue>+UnwrappingProducer |
| Cache4CachingStrategyWithComparer<TKey,TValue>+ComparableKey | 6 | Db4objects.Db4o.Linq.Caching.Cache4CachingStrategyWithComparer<TKey ,TValue>+ComparableKey |
| ObjectSequence<T>+ObjectSequenceEnumerator | 10 | Db4objects.Db4o.Linq.Internals.ObjectSequence<T >+ObjectSequenceEnumerator |
| FixtureContext+Found | 2 | Db4oUnit.Fixtures.FixtureContext+Found |
| MethodCall+IArgumentCondition | N/A | Db4oUnit.Mocking.MethodCall+IArgumentCondition |
| MethodCall+Conditions | 1 | Db4oUnit.Mocking.MethodCall+Conditions |
| CompositeTestListenerTestCase+ListenerRecorder | 9 | Db4oUnit.Tests.CompositeTestListenerTestCase+ListenerRecorder |
| ReflectionTestSuiteBuilderTestCase+NonTestFixture | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+NonTestFixture |
| ReflectionTestSuiteBuilderTestCase+Accepted | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+Accepted |
| ReflectionTestSuiteBuilderTestCase+NotAccepted | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+NotAccepted |
| ReflectionTestSuiteBuilderTestCase+ConstructorThrows | 3 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+ConstructorThrows |
| ExceptionInTearDownDoesNotShadowTestCase+RunsWithExceptions | 2 | Db4oUnit.Tests .ExceptionInTearDownDoesNotShadowTestCase+RunsWithExceptions |
| ExceptionInTearDownDoesNotShadowTestCase+RunsWithExceptionInTearDown | 1 | Db4oUnit.Tests .ExceptionInTearDownDoesNotShadowTestCase+RunsWithExceptionInTearDown |
| FixtureContextTestCase+ContextRef | 0 | Db4oUnit.Tests.Fixtures.FixtureContextTestCase+ContextRef |
| FixtureBasedTestSuiteTestCase+TestUnit | 6 | Db4oUnit.Tests.Fixtures.FixtureBasedTestSuiteTestCase+TestUnit |
| ShutdownMode+NormalMode | 2 | Db4objects.Db4o.CS.Internal.ShutdownMode+NormalMode |
| ShutdownMode+FatalMode | 4 | Db4objects.Db4o.CS.Internal.ShutdownMode+FatalMode |
| ClientObjectContainer+IMessageListener | N/A | Db4objects.Db4o.CS.Internal.ClientObjectContainer+IMessageListener |
| MCommittedInfo+IObjectInfoEncoder | N/A | Db4objects.Db4o.CS.Internal.Messages.MCommittedInfo+IObjectInfoEncoder |
| MUserMessage+UserMessagePayload | 3 | Db4objects.Db4o.CS.Internal.Messages.MUserMessage+UserMessagePayload |
| ObjectSetAssert+ObjectSetIterator4 | 13 | Db4oUnit.Extensions.ObjectSetAssert+ObjectSetIterator4 |
| ConcurrencyTestMethod+RunnableTestMethod | 20 | Db4oUnit.Extensions.Concurrency .ConcurrencyTestMethod+RunnableTestMethod |
| FixtureConfigurationTestCase+MockFixtureConfiguration | 2 | Db4oUnit.Extensions.Tests .FixtureConfigurationTestCase+MockFixtureConfiguration |
| FixtureConfigurationTestCase+TestCase1 | 0 | Db4oUnit.Extensions.Tests.FixtureConfigurationTestCase+TestCase1 |
| FixtureConfigurationTestCase+TestCase2 | 0 | Db4oUnit.Extensions.Tests.FixtureConfigurationTestCase+TestCase2 |
| ExcludingReflectorTestCase+Excluded | 0 | Db4oUnit.Extensions.Tests.ExcludingReflectorTestCase+Excluded |
| Db4oEmbeddedSessionFixtureTestCase+RegularTest | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+RegularTest |
| Db4oEmbeddedSessionFixtureTestCase+Db4oTest | 0 | Db4oUnit.Extensions.Tests.Db4oEmbeddedSessionFixtureTestCase+Db4oTest |
| Db4oEmbeddedSessionFixtureTestCase+OptOutTest | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+OptOutTest |
| Db4oEmbeddedSessionFixtureTestCase+OptOutNetworkingTest | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+OptOutNetworkingTest |
| Db4oEmbeddedSessionFixtureTestCase+OptOutAllButNetworkingCSTest | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+OptOutAllButNetworkingCSTest |
| DynamicFixtureTestCase+FooTestUnit | 3 | Db4oUnit.Extensions.Tests.DynamicFixtureTestCase+FooTestUnit |
| DynamicFixtureTestCase+FooTestSuite | 3 | Db4oUnit.Extensions.Tests.DynamicFixtureTestCase+FooTestSuite |
| SimpleDb4oTestCase+Data | 0 | Db4oUnit.Extensions.Tests.SimpleDb4oTestCase+Data |
| UnhandledExceptionInThreadTestCase+ExceptionThrowingTestCase | 1 | Db4oUnit.Extensions.Tests .UnhandledExceptionInThreadTestCase+ExceptionThrowingTestCase |
| MonitoredStorage+MonitoredBin | 15 | Db4objects.Db4o.Monitoring.MonitoredStorage+MonitoredBin |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 290 |
| Average: | 3.9726 |
| Minimum: | 0 |
| Maximum: | 39 |
| Standard deviation: | 5.9357 |
| Variance: | 35.232 |
| Rule warning: Avoid empty interfaces |
// <Name>Avoid empty interfaces</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsInterface AND
NbMethods == 0
// Interfaces define members that provide a behavior
// or usage contract. The functionality described by
// the interface can be adopted by any type,
// regardless of where the type appears in the
// inheritance hierarchy. A type implements an
// interface by providing implementations for the
// interface's members. An empty interface does not
// define any members, and as such, does not define
// a contract that can be implemented.
// If your design includes empty interfaces that
// types are expected to implement, you are probably
// using an interface as a marker, or a way of
// identifying a group of types. If this identification
// will occur at runtime, the correct way to accomplish
// this is to use a custom attribute. Use the presence
// or absence of the attribute, or the attribute's
// properties, to identify the target types. If the
// identification must occurs at compile time, then using
// an empty interface is acceptable.
WARN IF Count > 0 IN SELECT TYPES WHERE
IsInterface AND
NbMethods == 0
// Interfaces define members that provide a behavior
// or usage contract. The functionality described by
// the interface can be adopted by any type,
// regardless of where the type appears in the
// inheritance hierarchy. A type implements an
// interface by providing implementations for the
// interface's members. An empty interface does not
// define any members, and as such, does not define
// a contract that can be implemented.
// If your design includes empty interfaces that
// types are expected to implement, you are probably
// using an interface as a marker, or a way of
// identifying a group of types. If this identification
// will occur at runtime, the correct way to accomplish
// this is to use a custom attribute. Use the presence
// or absence of the attribute, or the attribute's
// properties, to identify the target types. If the
// identification must occurs at compile time, then using
// an empty interface is acceptable.
36 types matched
| types | # Methods | Full Name |
|---|---|---|
| types | # Methods | Full Name |
| IInternal4 | 0 | Db4objects.Db4o.IInternal4 |
| IObjectInfoCollection | 0 | Db4objects.Db4o.Ext.IObjectInfoCollection |
| IUnversioned | 0 | Db4objects.Db4o.Types.IUnversioned |
| IDb4oType | 0 | Db4objects.Db4o.Types.IDb4oType |
| ITransientClass | 0 | Db4objects.Db4o.Types.ITransientClass |
| IDb4oMap | 0 | Db4objects.Db4o.Types.IDb4oMap |
| IDb4oList | 0 | Db4objects.Db4o.Types.IDb4oList |
| IActivatableCollection<T> | 0 | Db4objects.Db4o.Collections.IActivatableCollection<T> |
| IActivatableInstrumented | 0 | Db4objects.Db4o.TA.IActivatableInstrumented |
| IDiagnostic | 0 | Db4objects.Db4o.Diagnostic.IDiagnostic |
| IObjectContainerSpec | 0 | Db4objects.Db4o.Internal.IObjectContainerSpec |
| IVariableLengthTypeHandler | 0 | Db4objects.Db4o.Internal.Handlers.IVariableLengthTypeHandler |
| ITypeFamilyTypeHandler | 0 | Db4objects.Db4o.Typehandlers.ITypeFamilyTypeHandler |
| IDb4oLinqQueryable<T> | 0 | Db4objects.Db4o.Linq.IDb4oLinqQueryable<T> |
| IDb4oLinqQuery | 0 | Db4objects.Db4o.Linq.IDb4oLinqQuery |
| IDb4oLinqQuery<T> | 0 | Db4objects.Db4o.Linq.IDb4oLinqQuery<T> |
| ITestCase | 0 | Db4oUnit.ITestCase |
| ITestSuiteBuilder | 0 | Db4oUnit.ITestSuiteBuilder |
| IClientMessageDispatcher | 0 | Db4objects.Db4o.CS.Internal.IClientMessageDispatcher |
| IMessage | 0 | Db4objects.Db4o.CS.Internal.Messages.IMessage |
| IDb4oTestCase | 0 | Db4oUnit.Extensions.IDb4oTestCase |
| IOptOutSilverlight | 0 | Db4oUnit.Extensions.IOptOutSilverlight |
| IOptOutTA | 0 | Db4oUnit.Extensions.IOptOutTA |
| IOptOutAndroid | 0 | Db4oUnit.Extensions.IOptOutAndroid |
| IOptOutFromTestFixture | 0 | Db4oUnit.Extensions.Fixtures.IOptOutFromTestFixture |
| IOptOutNoFileSystemData | 0 | Db4oUnit.Extensions.Fixtures.IOptOutNoFileSystemData |
| IOptOutSolo | 0 | Db4oUnit.Extensions.Fixtures.IOptOutSolo |
| IOptOutNonStandardBlockSize | 0 | Db4oUnit.Extensions.Fixtures.IOptOutNonStandardBlockSize |
| IOptOutMultiSession | 0 | Db4oUnit.Extensions.Fixtures.IOptOutMultiSession |
| IOptOutNetworkingCS | 0 | Db4oUnit.Extensions.Fixtures.IOptOutNetworkingCS |
| IOptOutAllButNetworkingCS | 0 | Db4oUnit.Extensions.Fixtures.IOptOutAllButNetworkingCS |
| IOptOutDefragSolo | 0 | Db4oUnit.Extensions.Fixtures.IOptOutDefragSolo |
| IOptOutIdSystem | 0 | Db4oUnit.Extensions.Fixtures.IOptOutIdSystem |
| IOptOutInMemory | 0 | Db4oUnit.Extensions.Fixtures.IOptOutInMemory |
| IOptOutBTreeFreespaceManager | 0 | Db4oUnit.Extensions.Fixtures.IOptOutBTreeFreespaceManager |
| IExpressionPart | 0 | Db4objects.Db4o.NativeQueries.Expr.IExpressionPart |
Statistics
| Stat | # Methods |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Avoid interfaces with too many methods |
// <Name>Avoid interfaces with too many methods</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsInterface AND
NbMethods > 20
// An interface should abstract a clear and well-defined concept.
// Such concept shoudln't be represented with too many methods.
// Here the metric NbMethods might be a bit biased by the fact
// that a read/write property lead to 2 accessor methods,
// the getter and the setter. The same remark applies with event
// add and remove accessor.
// See the definition of the NbMethods metric here
// http://www.ndepend.com/Metrics.aspx#NbMethods
WARN IF Count > 0 IN SELECT TYPES WHERE
IsInterface AND
NbMethods > 20
// An interface should abstract a clear and well-defined concept.
// Such concept shoudln't be represented with too many methods.
// Here the metric NbMethods might be a bit biased by the fact
// that a read/write property lead to 2 accessor methods,
// the getter and the setter. The same remark applies with event
// add and remove accessor.
// See the definition of the NbMethods metric here
// http://www.ndepend.com/Metrics.aspx#NbMethods
7 types matched
| types | # Methods | Full Name |
|---|---|---|
| types | # Methods | Full Name |
| IObjectContainer | 22 | Db4objects.Db4o.IObjectContainer |
| IExtObjectContainer | 32 | Db4objects.Db4o.Ext.IExtObjectContainer |
| IEventRegistry | 36 | Db4objects.Db4o.Events.IEventRegistry |
| ICallbacks | 22 | Db4objects.Db4o.Internal.Callbacks.ICallbacks |
| IConfiguration | 57 | Db4objects.Db4o.Config.IConfiguration |
| ICommonConfiguration | 30 | Db4objects.Db4o.Config.ICommonConfiguration |
| IServerMessageDispatcher | 21 | Db4objects.Db4o.CS.Internal.IServerMessageDispatcher |
Statistics
| Stat | # Methods |
|---|---|
| Sum: | 220 |
| Average: | 31.429 |
| Minimum: | 21 |
| Maximum: | 57 |
| Standard deviation: | 11.733 |
| Variance: | 137.67 |
| Rule warning: Declare types in namespaces |
// <Name>Declare types in namespaces</Name>
WARN IF Count > 0 IN SELECT NAMESPACES WHERE
NameIs "" AND
!IsInFrameworkAssembly
// Types are declared within namespaces to
// prevent name collisions, and as a way of
// organizing related types in an object hierarchy.
// Types outside any named namespace are in a
// global namespace that cannot be referenced
// in code. If an anonymous namespace can be found,
// it means that it contains types outside of namespaces.
WARN IF Count > 0 IN SELECT NAMESPACES WHERE
NameIs "" AND
!IsInFrameworkAssembly
// Types are declared within namespaces to
// prevent name collisions, and as a way of
// organizing related types in an object hierarchy.
// Types outside any named namespace are in a
// global namespace that cannot be referenced
// in code. If an anonymous namespace can be found,
// it means that it contains types outside of namespaces.
1 namespaces matched
| namespaces | # lines of code (LOC) | Full Name |
|---|---|---|
| namespaces | # lines of code (LOC) | Full Name |
| 0 |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Empty static constructor can be discarded |
// <Name>Empty static constructor can be discarded</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
IsClassConstructor AND
NbLinesOfCode == 0
WARN IF Count > 0 IN SELECT METHODS WHERE
IsClassConstructor AND
NbLinesOfCode == 0
1 methods matched
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| .cctor() | 0 | Db4objects.Db4o.CS.Internal.ClientObjectContainer..cctor() |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Assemblies with poor cohesion (RelationalCohesion) |
// <Name>Assemblies with poor cohesion (RelationalCohesion)</Name>
WARN IF Count > 0 IN SELECT ASSEMBLIES WHERE
NbTypes > 20 AND // Relational Cohesion metrics is relevant only if there are several types
(RelationalCohesion < 1.5 OR
RelationalCohesion > 4.0)
// As classes inside an assembly should be strongly related,
// the cohesion should be high. On the other hand, a value
// which is too high may indicate over-coupling. A good range
// for RelationalCohesion is 1.5 to 4.0.
// See the definition of the RelationalCohesion metric here
// http://www.ndepend.com/Metrics.aspx#RelationalCohesion
WARN IF Count > 0 IN SELECT ASSEMBLIES WHERE
NbTypes > 20 AND // Relational Cohesion metrics is relevant only if there are several types
(RelationalCohesion < 1.5 OR
RelationalCohesion > 4.0)
// As classes inside an assembly should be strongly related,
// the cohesion should be high. On the other hand, a value
// which is too high may indicate over-coupling. A good range
// for RelationalCohesion is 1.5 to 4.0.
// See the definition of the RelationalCohesion metric here
// http://www.ndepend.com/Metrics.aspx#RelationalCohesion
3 assemblies matched
| assemblies | # Types | Relational cohesion | Full Name |
|---|---|---|---|
| assemblies | # Types | Relational cohesion | Full Name |
| Db4objects.Db4o | 1 322 | 5.9614 | Db4objects.Db4o |
| Db4objects.Db4o.CS | 190 | 4.3368 | Db4objects.Db4o.CS |
| Db4objects.Db4o.NativeQueries | 46 | 5.2609 | Db4objects.Db4o.NativeQueries |
Statistics
| Stat | # Types | Relational cohesion |
|---|---|---|
| Sum: | 1 558 | 15.559 |
| Average: | 519.33 | 5.1864 |
| Minimum: | 46 | 4.3368 |
| Maximum: | 1 322 | 5.9614 |
| Standard deviation: | 570.61 | 0.66532 |
| Variance: | 325 592 | 0.44265 |
| Performance |
|
|
| Rule warning: Instances size shouldn't be too big (SizeOfInst) |
// <Name>Instances size shouldn't be too big (SizeOfInst)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
SizeOfInst > 64
ORDER BY SizeOfInst DESC
// TYPES WHERE SizeOfInst > 64 might degrade performance
// (depending on the number of instances created at runtime)
// and might be hard to maintain. However it is not a rule
// since sometime there is no alternative (the size of
// instances of the System.Net.NetworkInformation.SystemIcmpV6Statistics
// standard class is 2064 bytes).
// See the definition of the SizeOfInst metric here
// http://www.ndepend.com/Metrics.aspx#SizeOfInst
WARN IF Count > 0 IN SELECT TYPES WHERE
SizeOfInst > 64
ORDER BY SizeOfInst DESC
// TYPES WHERE SizeOfInst > 64 might degrade performance
// (depending on the number of instances created at runtime)
// and might be hard to maintain. However it is not a rule
// since sometime there is no alternative (the size of
// instances of the System.Net.NetworkInformation.SystemIcmpV6Statistics
// standard class is 2064 bytes).
// See the definition of the SizeOfInst metric here
// http://www.ndepend.com/Metrics.aspx#SizeOfInst
17 types matched
| types | Size of instance | Full Name |
|---|---|---|
| types | Size of instance | Full Name |
| ClientObjectContainer | 184 | Db4objects.Db4o.CS.Internal.ClientObjectContainer |
| IoAdaptedObjectContainer | 161 | Db4objects.Db4o.Internal.IoAdaptedObjectContainer |
| InMemoryObjectContainer | 154 | Db4objects.Db4o.Internal.InMemoryObjectContainer |
| TransportObjectContainer | 149 | Db4objects.Db4o.Internal.TransportObjectContainer |
| LocalObjectContainer | 141 | Db4objects.Db4o.Internal.LocalObjectContainer |
| HandlerRegistry | 121 | Db4objects.Db4o.Internal.HandlerRegistry |
| ObjectContainerBase | 100 | Db4objects.Db4o.Internal.ObjectContainerBase |
| ExternalObjectContainer | 100 | Db4objects.Db4o.Internal.ExternalObjectContainer |
| ObjectTypeMetadata | 83 | Db4objects.Db4o.Internal.ObjectTypeMetadata |
| ClassMetadata | 83 | Db4objects.Db4o.Internal.ClassMetadata |
| PrimitiveTypeMetadata | 83 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata |
| ClientEventRegistryImpl | 76 | Db4objects.Db4o.Internal.Events.ClientEventRegistryImpl |
| EventRegistryImpl | 76 | Db4objects.Db4o.Internal.Events.EventRegistryImpl |
| QConClass | 72 | Db4objects.Db4o.Internal.Query.Processor.QConClass |
| QConPath | 72 | Db4objects.Db4o.Internal.Query.Processor.QConPath |
| LogStatistics | 68 | Db4objects.Db4o.Bench.Logging.Statistics.LogStatistics |
| ObjectServerImpl | 66 | Db4objects.Db4o.CS.Internal.ObjectServerImpl |
Statistics
| Stat | Size of instance |
|---|---|
| Sum: | 1 789 |
| Average: | 105.24 |
| Minimum: | 66 |
| Maximum: | 184 |
| Standard deviation: | 37.194 |
| Variance: | 1 383 |
| Rule warning: Boxing/unboxing should be avoided (Type) |
// <Name>Boxing/unboxing should be avoided (Type)</Name>
WARN IF Percentage > 5 IN SELECT TYPES WHERE
IsUsingBoxing OR
IsUsingUnboxing
// Thanks to generics, boxing and unboxing should be rare.
WARN IF Percentage > 5 IN SELECT TYPES WHERE
IsUsingBoxing OR
IsUsingUnboxing
// Thanks to generics, boxing and unboxing should be rare.
239 types matched
The following list of types is truncated and contains only the first 100 types of the 239 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| Random | 5 | Sharpen.Util.Random |
| Arrays | 21 | Sharpen.Util.Arrays |
| Socket | 24 | Sharpen.Net.Socket |
| Token | 4 | Sharpen.Lang.Token |
| TypeReferenceLexer | 55 | Sharpen.Lang.TypeReferenceLexer |
| TypeReferenceParser | 116 | Sharpen.Lang.TypeReferenceParser |
| DTrace | 254 | Db4objects.Db4o.DTrace |
| InvalidIDException | 2 | Db4objects.Db4o.Ext.InvalidIDException |
| InvalidSlotException | 2 | Db4objects.Db4o.Ext.InvalidSlotException |
| Db4oDatabase | 73 | Db4objects.Db4o.Ext.Db4oDatabase |
| Db4oUUID | 29 | Db4objects.Db4o.Ext.Db4oUUID |
| Predicate | 31 | Db4objects.Db4o.Query.Predicate |
| PredicatePlatform | 5 | Db4objects.Db4o.Query.PredicatePlatform |
| ActivatableDictionary<TKey,TValue> | 78 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> |
| ArrayDictionary4<K,V> | 127 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V> |
| ArrayList4<E> | 146 | Db4objects.Db4o.Collections.ArrayList4<E> |
| ActivatableList<T> | 116 | Db4objects.Db4o.Collections.ActivatableList<T> |
| ArrayDictionary4<K,V>+<GetEnumerator>d__0 | 5 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V>+<GetEnumerator>d__0 |
| ArrayList4<E>+<GetEnumerator>d__0 | 9 | Db4objects.Db4o.Collections.ArrayList4<E>+<GetEnumerator>d__0 |
| CachingBin | 70 | Db4objects.Db4o.IO.CachingBin |
| CachingBin+_IFunction4_128 | 5 | Db4objects.Db4o.IO.CachingBin+_IFunction4_128 |
| CachingBin+_IFunction4_137 | 5 | Db4objects.Db4o.IO.CachingBin+_IFunction4_137 |
| IoAdapterStorage+IoAdapterBin | 12 | Db4objects.Db4o.IO.IoAdapterStorage+IoAdapterBin |
| BinConfiguration | 10 | Db4objects.Db4o.IO.BinConfiguration |
| UpdateDepthGreaterOne | 5 | Db4objects.Db4o.Diagnostic.UpdateDepthGreaterOne |
| AbstractIdMapping | 10 | Db4objects.Db4o.Defragment.AbstractIdMapping |
| DefragmentServicesImpl | 121 | Db4objects.Db4o.Defragment.DefragmentServicesImpl |
| DefragmentServicesImpl+_IVisitor4_230 | 5 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_IVisitor4_230 |
| InMemoryIdMapping | 17 | Db4objects.Db4o.Defragment.InMemoryIdMapping |
| IDMappingCollector | 15 | Db4objects.Db4o.Defragment.IDMappingCollector |
| SecondPassCommand | 13 | Db4objects.Db4o.Defragment.SecondPassCommand |
| Defragment+_IVisitor4_315 | 10 | Db4objects.Db4o.Defragment.Defragment+_IVisitor4_315 |
| TreeInt | 62 | Db4objects.Db4o.Internal.TreeInt |
| ObjectContainerBase | 836 | Db4objects.Db4o.Internal.ObjectContainerBase |
| ObjectContainerBase+_IFunction4_1590 | 6 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_1590 |
| ObjectContainerBase+GenericComparerAdaptor<T> | 3 | Db4objects.Db4o.Internal.ObjectContainerBase+GenericComparerAdaptor<T> |
| ObjectContainerBase+GenericComparisonAdaptor<T> | 3 | Db4objects.Db4o.Internal.ObjectContainerBase+GenericComparisonAdaptor <T> |
| ObjectContainerBase+SyncExecClosure4<R> | 3 | Db4objects.Db4o.Internal.ObjectContainerBase+SyncExecClosure4<R> |
| LocalObjectContainer+_IVisitor4_790 | 3 | Db4objects.Db4o.Internal.LocalObjectContainer+_IVisitor4_790 |
| ObjectReference | 392 | Db4objects.Db4o.Internal.ObjectReference |
| Platform4 | 226 | Db4objects.Db4o.Internal.Platform4 |
| InCallback | 3 | Db4objects.Db4o.Internal.InCallback |
| InCallback+_DynamicVariable_12 | 2 | Db4objects.Db4o.Internal.InCallback+_DynamicVariable_12 |
| BlobImpl | 101 | Db4objects.Db4o.Internal.BlobImpl |
| UUIDFieldMetadata | 118 | Db4objects.Db4o.Internal.UUIDFieldMetadata |
| ByteArrayBuffer | 84 | Db4objects.Db4o.Internal.ByteArrayBuffer |
| ObjectID | 9 | Db4objects.Db4o.Internal.ObjectID |
| LocalTransaction | 109 | Db4objects.Db4o.Internal.LocalTransaction |
| ClassMetadataRepository | 297 | Db4objects.Db4o.Internal.ClassMetadataRepository |
| ClassMetadataRepository+ClassIDIterator | 2 | Db4objects.Db4o.Internal.ClassMetadataRepository+ClassIDIterator |
| Messages | 26 | Db4objects.Db4o.Internal.Messages |
| StatefulBuffer | 62 | Db4objects.Db4o.Internal.StatefulBuffer |
| EventDispatchers+EventDispatcherImpl | 16 | Db4objects.Db4o.Internal.EventDispatchers+EventDispatcherImpl |
| SlotChange | 72 | Db4objects.Db4o.Internal.Slots.SlotChange |
| Slot | 31 | Db4objects.Db4o.Internal.Slots.Slot |
| UnmarshallingContext | 62 | Db4objects.Db4o.Internal.Marshall.UnmarshallingContext |
| PrimitiveMarshaller1 | 7 | Db4objects.Db4o.Internal.Marshall.PrimitiveMarshaller1 |
| PrimitiveMarshaller0 | 33 | Db4objects.Db4o.Internal.Marshall.PrimitiveMarshaller0 |
| MarshallingContext | 104 | Db4objects.Db4o.Internal.Marshall.MarshallingContext |
| MarshallerFamily | 34 | Db4objects.Db4o.Internal.Marshall.MarshallerFamily |
| MappingNotFoundException | 4 | Db4objects.Db4o.Internal.Mapping.MappingNotFoundException |
| MappedIDPair | 6 | Db4objects.Db4o.Internal.Mapping.MappedIDPair |
| IdSource | 4 | Db4objects.Db4o.Internal.Mapping.IdSource |
| MappedIDPairHandler | 15 | Db4objects.Db4o.Internal.Mapping.MappedIDPairHandler |
| IndexedPathIterator | 4 | Db4objects.Db4o.Internal.Fieldindex.IndexedPathIterator |
| FieldIndexProcessorResult+_MappingIterator_46 | 3 | Db4objects.Db4o.Internal.Fieldindex .FieldIndexProcessorResult+_MappingIterator_46 |
| BigSet<E> | 94 | Db4objects.Db4o.Internal.Collections.BigSet<E> |
| BigSetBTreeManager | 23 | Db4objects.Db4o.Internal.Collections.BigSetBTreeManager |
| BigSet<E>+GetEnumerator>d__0 | 3 | Db4objects.Db4o.Internal.Collections.BigSet<E>+GetEnumerator>d__0 |
| FixedUpdateDepth | 24 | Db4objects.Db4o.Internal.Activation.FixedUpdateDepth |
| IdSlotMapping | 11 | Db4objects.Db4o.Internal.Ids.IdSlotMapping |
| BTreeIdSystem+_IFunction4_52 | 3 | Db4objects.Db4o.Internal.Ids.BTreeIdSystem+_IFunction4_52 |
| BTreeIdSystem+_IVisitor4_168 | 3 | Db4objects.Db4o.Internal.Ids.BTreeIdSystem+_IVisitor4_168 |
| PointerBasedIdSystem+_IVisitor4_51 | 3 | Db4objects.Db4o.Internal.Ids.PointerBasedIdSystem+_IVisitor4_51 |
| InMemoryIdSystem+_IFunction4_32 | 4 | Db4objects.Db4o.Internal.Ids.InMemoryIdSystem+_IFunction4_32 |
| InMemoryIdSystem+_IVisitor4_233 | 3 | Db4objects.Db4o.Internal.Ids.InMemoryIdSystem+_IVisitor4_233 |
| SequentialIdGenerator | 34 | Db4objects.Db4o.Internal.Ids.SequentialIdGenerator |
| FreeSlotNode | 49 | Db4objects.Db4o.Internal.Freespace.FreeSlotNode |
| LRULongCache | 62 | Db4objects.Db4o.Internal.Caching.LRULongCache |
| LRULongCache+Entry | 4 | Db4objects.Db4o.Internal.Caching.LRULongCache+Entry |
| LRU2QXCache | 39 | Db4objects.Db4o.Internal.Caching.LRU2QXCache |
| LRUIntCache | 62 | Db4objects.Db4o.Internal.Caching.LRUIntCache |
| LRUIntCache+Entry | 4 | Db4objects.Db4o.Internal.Caching.LRUIntCache+Entry |
| LRU2QLongCache | 29 | Db4objects.Db4o.Internal.Caching.LRU2QLongCache |
| CacheStatistics | 9 | Db4objects.Db4o.Internal.Caching.CacheStatistics |
| BTreeClassIndexStrategy | 33 | Db4objects.Db4o.Internal.Classindex.BTreeClassIndexStrategy |
| BlockSizeImpl | 5 | Db4objects.Db4o.Internal.IO.BlockSizeImpl |
| GenericPredicateEvaluation<T> | 4 | Db4objects.Db4o.Internal.Query.GenericPredicateEvaluation<T> |
| GenericObjectSetFacade<T> | 24 | Db4objects.Db4o.Internal.Query.GenericObjectSetFacade<T> |
| GenericObjectSetFacade<T>+ObjectSetImplEnumerator<T> | 10 | Db4objects.Db4o.Internal.Query.GenericObjectSetFacade<T >+ObjectSetImplEnumerator<T> |
| SodaQueryComparator | 74 | Db4objects.Db4o.Internal.Query.SodaQueryComparator |
| AbstractQueryResult+_MappingIterator_56 | 9 | Db4objects.Db4o.Internal.Query.Result .AbstractQueryResult+_MappingIterator_56 |
| IdListQueryResult | 40 | Db4objects.Db4o.Internal.Query.Result.IdListQueryResult |
| IdListQueryResult+_IVisitor4_107 | 3 | Db4objects.Db4o.Internal.Query.Result.IdListQueryResult+_IVisitor4_107 |
| IdListQueryResult+_IVisitor4_130 | 8 | Db4objects.Db4o.Internal.Query.Result.IdListQueryResult+_IVisitor4_130 |
| QCandidates+_IFunction4_159 | 9 | Db4objects.Db4o.Internal.Query.Processor.QCandidates+_IFunction4_159 |
| QCandidates+_IFunction4_208 | 9 | Db4objects.Db4o.Internal.Query.Processor.QCandidates+_IFunction4_208 |
| QCandidates+_IVisitor4_349 | 4 | Db4objects.Db4o.Internal.Query.Processor.QCandidates+_IVisitor4_349 |
| QQueryBase | 358 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase |
| QQueryBase+_IPredicate4_569 | 7 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase+_IPredicate4_569 |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 10 355 |
| Average: | 43.326 |
| Minimum: | 0 |
| Maximum: | 836 |
| Standard deviation: | 90.959 |
| Variance: | 8 273 |
| Rule warning: Attribute classes should be sealed |
// <Name>Attribute classes should be sealed</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsAttributeClass AND
!IsSealed AND
!IsAbstract AND
IsPublic AND
!IsInFrameworkAssembly
// The .NET Framework class library provides methods
// for retrieving custom attributes. By default,
// these methods search the attribute inheritance
// hierarchy; for example System.Attribute.GetCustomAttribute
// searches for the specified attribute type, or any
// attribute type that extends the specified attribute
// type. Sealing the attribute eliminates the search
// through the inheritance hierarchy, and can improve
// performance.
WARN IF Count > 0 IN SELECT TYPES WHERE
IsAttributeClass AND
!IsSealed AND
!IsAbstract AND
IsPublic AND
!IsInFrameworkAssembly
// The .NET Framework class library provides methods
// for retrieving custom attributes. By default,
// these methods search the attribute inheritance
// hierarchy; for example System.Attribute.GetCustomAttribute
// searches for the specified attribute type, or any
// attribute type that extends the specified attribute
// type. Sealing the attribute eliminates the search
// through the inheritance hierarchy, and can improve
// performance.
3 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| TransientAttribute | 1 | Db4objects.Db4o.TransientAttribute |
| TagAttribute | 3 | Db4objects.Db4o.Internal.TagAttribute |
| IndexedAttribute | 2 | Db4objects.Db4o.Config.Attributes.IndexedAttribute |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 6 |
| Average: | 2 |
| Minimum: | 1 |
| Maximum: | 3 |
| Standard deviation: | 0.8165 |
| Variance: | 0.66667 |
| Code Diff |
|
|
| Rule warning: API Breaking Changes: Types |
// <Name>API Breaking Changes: Types</Name>
WARN IF Count > 0 IN SELECT TYPES
WHERE IsPublic AND (VisibilityWasChanged OR WasRemoved)
// This rule warns if a public type is not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
WARN IF Count > 0 IN SELECT TYPES
WHERE IsPublic AND (VisibilityWasChanged OR WasRemoved)
// This rule warns if a public type is not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
17 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| IContextIDMapping | N/A | Db4objects.Db4o.Defragment.IContextIDMapping |
| AbstractContextIDMapping | N/A | Db4objects.Db4o.Defragment.AbstractContextIDMapping |
| BTreeIDMapping | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping |
| TreeIDMapping | N/A | Db4objects.Db4o.Defragment.TreeIDMapping |
| CacheablePersistentBase | N/A | Db4objects.Db4o.Internal.CacheablePersistentBase |
| ISlotChangeCollector | N/A | Db4objects.Db4o.Internal.ISlotChangeCollector |
| FreespaceBTree | N/A | Db4objects.Db4o.Internal.Freespace.FreespaceBTree |
| RamFreespaceManager | N/A | Db4objects.Db4o.Internal.Freespace.RamFreespaceManager |
| TransactionLogHandler | N/A | Db4objects.Db4o.Internal.Ids.TransactionLogHandler |
| EmbeddedTransactionLogHandler | N/A | Db4objects.Db4o.Internal.Ids.EmbeddedTransactionLogHandler |
| FileBasedTransactionLogHandler | N/A | Db4objects.Db4o.Internal.Ids.FileBasedTransactionLogHandler |
| IdSystem | N/A | Db4objects.Db4o.Internal.Ids.IdSystem |
| IdentityHashtable4 | N/A | Db4objects.Db4o.Foundation.IdentityHashtable4 |
| IdentityHashtable4+IdentityEntry | N/A | Db4objects.Db4o.Foundation.IdentityHashtable4+IdentityEntry |
| MethodAnalyser | N/A | Db4objects.Db4o.Linq.CodeAnalysis.MethodAnalyser |
| ClientTransactionPool+ContainerCount | N/A | Db4objects.Db4o.CS.Internal.ClientTransactionPool+ContainerCount |
| SaveAsStorage | N/A | Db4objects.Db4o.IO.SaveAsStorage |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| API Breaking Changes |
|
|
| Rule warning: API Breaking Changes: Methods |
// <Name>API Breaking Changes: Methods</Name>
WARN IF Count > 0 IN SELECT METHODS
WHERE
IsPublic AND
(VisibilityWasChanged OR WasRemoved)
// This rule warns if a public method is
// not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
WARN IF Count > 0 IN SELECT METHODS
WHERE
IsPublic AND
(VisibilityWasChanged OR WasRemoved)
// This rule warns if a public method is
// not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
646 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 646 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| LogEnd(Int64,Int64,String) | N/A | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,String) |
| MappedID(Int32,Boolean) | N/A | Db4objects.Db4o.Defragment.IContextIDMapping.MappedID(Int32,Boolean) |
| MapIDs(Int32,Int32,Boolean) | N/A | Db4objects.Db4o.Defragment.IContextIDMapping.MapIDs(Int32,Int32 ,Boolean) |
| Open() | N/A | Db4objects.Db4o.Defragment.IContextIDMapping.Open() |
| Close() | N/A | Db4objects.Db4o.Defragment.IContextIDMapping.Close() |
| MapIDs(Int32,Int32,Boolean) | N/A | Db4objects.Db4o.Defragment.AbstractContextIDMapping.MapIDs(Int32,Int32 ,Boolean) |
| Close() | N/A | Db4objects.Db4o.Defragment.AbstractContextIDMapping.Close() |
| MappedID(Int32,Boolean) | N/A | Db4objects.Db4o.Defragment.AbstractContextIDMapping.MappedID(Int32 ,Boolean) |
| Open() | N/A | Db4objects.Db4o.Defragment.AbstractContextIDMapping.Open() |
| MappedID(Int32,Boolean) | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping.MappedID(Int32,Boolean) |
| Open() | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping.Open() |
| Close() | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping.Close() |
| .ctor(String) | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping..ctor(String) |
| .ctor(String,Int32,Int32) | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping..ctor(String,Int32,Int32) |
| NodeSize() | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping+BTreeSpec.NodeSize() |
| .ctor(Int32) | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping+BTreeSpec..ctor(Int32) |
| ProcessCopy(DefragmentContextImpl) | N/A | Db4objects.Db4o.Defragment.Defragment+_ISlotCopyHandler_220 .ProcessCopy(DefragmentContextImpl) |
| .ctor() | N/A | Db4objects.Db4o.Defragment.Defragment+_ISlotCopyHandler_220..ctor() |
| Visit(Object) | N/A | Db4objects.Db4o.Defragment.Defragment+_IVisitor4_313.Visit(Object) |
| .ctor(IPassCommand,DefragmentServicesImpl,ClassMetadata) | N/A | Db4objects.Db4o.Defragment.Defragment+_IVisitor4_313..ctor (IPassCommand,DefragmentServicesImpl,ClassMetadata) |
| .ctor(String,String,IContextIDMapping) | N/A | Db4objects.Db4o.Defragment.DefragmentConfig..ctor(String,String ,IContextIDMapping) |
| .ctor() | N/A | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_DbSelector_37..ctor () |
| .ctor() | N/A | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_DbSelector_43..ctor () |
| Visit(Object) | N/A | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_IVisitor4_224.Visit (Object) |
| .ctor(DefragmentServicesImpl,IDMappingCollector) | N/A | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_IVisitor4_224..ctor (DefragmentServicesImpl,IDMappingCollector) |
| Apply(Object) | N/A | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_IProcedure4_320 .Apply(Object) |
| .ctor(BooleanByRef) | N/A | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_IProcedure4_320. .ctor(BooleanByRef) |
| MappedID(Int32,Boolean) | N/A | Db4objects.Db4o.Defragment.TreeIDMapping.MappedID(Int32,Boolean) |
| Open() | N/A | Db4objects.Db4o.Defragment.TreeIDMapping.Open() |
| Close() | N/A | Db4objects.Db4o.Defragment.TreeIDMapping.Close() |
| .ctor() | N/A | Db4objects.Db4o.Defragment.TreeIDMapping..ctor() |
| ObjectContainer() | N/A | Db4objects.Db4o.Events.TransactionalEventArgs.ObjectContainer() |
| IsOwnCommit() | N/A | Db4objects.Db4o.Events.CommitEventArgs.IsOwnCommit() |
| .ctor(Transaction,CallbackObjectInfoCollections,Boolean) | N/A | Db4objects.Db4o.Events.CommitEventArgs..ctor(Transaction ,CallbackObjectInfoCollections,Boolean) |
| get_MaxStackDepth() | N/A | Db4objects.Db4o.Config.ICommonConfiguration.get_MaxStackDepth() |
| set_MaxStackDepth(Int32) | N/A | Db4objects.Db4o.Config.ICommonConfiguration.set_MaxStackDepth(Int32) |
| MaxStackDepth() | N/A | Db4objects.Db4o.Config.IConfiguration.MaxStackDepth() |
| MaxStackDepth(Int32) | N/A | Db4objects.Db4o.Config.IConfiguration.MaxStackDepth(Int32) |
| BeginProcessing() | N/A | Db4objects.Db4o.Internal.PersistentBase.BeginProcessing() |
| EndProcessing() | N/A | Db4objects.Db4o.Internal.PersistentBase.EndProcessing() |
| Free(Transaction) | N/A | Db4objects.Db4o.Internal.PersistentBase.Free(Transaction) |
| GetID() | N/A | Db4objects.Db4o.Internal.PersistentBase.GetID() |
| IsActive() | N/A | Db4objects.Db4o.Internal.PersistentBase.IsActive() |
| IsDirty() | N/A | Db4objects.Db4o.Internal.PersistentBase.IsDirty() |
| IsNew() | N/A | Db4objects.Db4o.Internal.PersistentBase.IsNew() |
| SetID(Int32) | N/A | Db4objects.Db4o.Internal.PersistentBase.SetID(Int32) |
| SetStateClean() | N/A | Db4objects.Db4o.Internal.PersistentBase.SetStateClean() |
| SetStateDeactivated() | N/A | Db4objects.Db4o.Internal.PersistentBase.SetStateDeactivated() |
| SetStateDirty() | N/A | Db4objects.Db4o.Internal.PersistentBase.SetStateDirty() |
| IsFreespaceComponent() | N/A | Db4objects.Db4o.Internal.PersistentBase.IsFreespaceComponent() |
| GetHashCode() | N/A | Db4objects.Db4o.Internal.PersistentBase.GetHashCode() |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.CacheablePersistentBase+_IFunction4_21.Apply (Object) |
| .ctor(CacheablePersistentBase,Transaction) | N/A | Db4objects.Db4o.Internal.CacheablePersistentBase+_IFunction4_21..ctor (CacheablePersistentBase,Transaction) |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.CacheablePersistentBase+_IFunction4_36.Apply (Object) |
| .ctor(CacheablePersistentBase,Int32) | N/A | Db4objects.Db4o.Internal.CacheablePersistentBase+_IFunction4_36..ctor (CacheablePersistentBase,Int32) |
| RemainingByteCount() | N/A | Db4objects.Db4o.Internal.ByteArrayBuffer.RemainingByteCount() |
| AddFieldIndices(StatefulBuffer,Slot) | N/A | Db4objects.Db4o.Internal.ClassMetadata.AddFieldIndices(StatefulBuffer ,Slot) |
| AdjustUpdateDepth(Transaction,Int32) | N/A | Db4objects.Db4o.Internal.ClassMetadata.AdjustUpdateDepth(Transaction ,Int32) |
| AdjustCollectionDepthToBorders(Int32) | N/A | Db4objects.Db4o.Internal.ClassMetadata.AdjustCollectionDepthToBorders (Int32) |
| AdjustDepthToBorders(Int32) | N/A | Db4objects.Db4o.Internal.ClassMetadata.AdjustDepthToBorders(Int32) |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_102.Apply(Object) |
| .ctor(BooleanByRef) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_102..ctor (BooleanByRef) |
| ProcessAspectOnMissingClass(ClassAspect,Int32) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_161 .ProcessAspectOnMissingClass(ClassAspect,Int32) |
| ProcessAspect(ClassAspect,Int32) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_161 .ProcessAspect(ClassAspect,Int32) |
| DeclaredAspectCount(ClassMetadata) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_161 .DeclaredAspectCount(ClassMetadata) |
| Cancelled() | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_161 .Cancelled() |
| .ctor(IActivationContext) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_161. .ctor(IActivationContext) |
| .ctor(Transaction,QConObject,Object,IVisitor4) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_TraverseFieldCommand_550..ctor (Transaction,QConObject,Object,IVisitor4) |
| Match(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_560.Match(Object) |
| .ctor(String) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_560..ctor(String) |
| Match(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_569.Match(Object) |
| .ctor() | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_569..ctor() |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_656.Apply(Object) |
| .ctor(ClassMetadata) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_656..ctor (ClassMetadata) |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_664.Apply(Object) |
| .ctor(ClassMetadata) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_664..ctor (ClassMetadata) |
| ProcessAspectOnMissingClass(ClassAspect,Int32) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_717 .ProcessAspectOnMissingClass(ClassAspect,Int32) |
| ProcessAspect(ClassAspect,Int32) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_717 .ProcessAspect(ClassAspect,Int32) |
| DeclaredAspectCount(ClassMetadata) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_717 .DeclaredAspectCount(ClassMetadata) |
| Cancelled() | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_717 .Cancelled() |
| .ctor(IActivationContext) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_717. .ctor(IActivationContext) |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_1040.Apply(Object) |
| .ctor(Collection4) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_1040..ctor (Collection4) |
| .ctor(String,ByRef) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_TraverseFieldCommand_1057. .ctor(String,ByRef) |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_1585.Apply(Object) |
| .ctor() | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_1585..ctor() |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_1610.Apply(Object) |
| .ctor(String,String,BooleanByRef) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_1610..ctor(String ,String,BooleanByRef) |
| .ctor(ByRef,String,ClassMetadata) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_TraverseFieldCommand_1704. .ctor(ByRef,String,ClassMetadata) |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_1764.Apply(Object) |
| .ctor(ClassMetadata,StaticField[],Transaction) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_1764..ctor (ClassMetadata,StaticField[],Transaction) |
| Apply(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_1792.Apply(Object) |
| .ctor(ClassMetadata) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_1792..ctor (ClassMetadata) |
| Match(Object) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_1821.Match(Object) |
| .ctor() | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_1821..ctor() |
| Run() | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IClosure4_2062.Run() |
| .ctor(IInstantiatingTypeHandler,UnmarshallingContext) | N/A | Db4objects.Db4o.Internal.ClassMetadata+_IClosure4_2062..ctor (IInstantiatingTypeHandler,UnmarshallingContext) |
| StoreTransientFields() | N/A | Db4objects.Db4o.Internal.Config4Class.StoreTransientFields() |
| ConfigClass(String) | N/A | Db4objects.Db4o.Internal.Config4Impl.ConfigClass(String) |
| SlotCacheSize(Int32) | N/A | Db4objects.Db4o.Internal.Config4Impl.SlotCacheSize(Int32) |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Critical Rule warning: API Breaking Changes: Types |
// <Name>API Breaking Changes: Types</Name>
WARN IF Count > 0 IN SELECT TYPES
WHERE IsPublic AND (VisibilityWasChanged OR WasRemoved)
// This rule warns if a public type is not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
WARN IF Count > 0 IN SELECT TYPES
WHERE IsPublic AND (VisibilityWasChanged OR WasRemoved)
// This rule warns if a public type is not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
17 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| IContextIDMapping | N/A | Db4objects.Db4o.Defragment.IContextIDMapping |
| AbstractContextIDMapping | N/A | Db4objects.Db4o.Defragment.AbstractContextIDMapping |
| BTreeIDMapping | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping |
| TreeIDMapping | N/A | Db4objects.Db4o.Defragment.TreeIDMapping |
| CacheablePersistentBase | N/A | Db4objects.Db4o.Internal.CacheablePersistentBase |
| ISlotChangeCollector | N/A | Db4objects.Db4o.Internal.ISlotChangeCollector |
| FreespaceBTree | N/A | Db4objects.Db4o.Internal.Freespace.FreespaceBTree |
| RamFreespaceManager | N/A | Db4objects.Db4o.Internal.Freespace.RamFreespaceManager |
| TransactionLogHandler | N/A | Db4objects.Db4o.Internal.Ids.TransactionLogHandler |
| EmbeddedTransactionLogHandler | N/A | Db4objects.Db4o.Internal.Ids.EmbeddedTransactionLogHandler |
| FileBasedTransactionLogHandler | N/A | Db4objects.Db4o.Internal.Ids.FileBasedTransactionLogHandler |
| IdSystem | N/A | Db4objects.Db4o.Internal.Ids.IdSystem |
| IdentityHashtable4 | N/A | Db4objects.Db4o.Foundation.IdentityHashtable4 |
| IdentityHashtable4+IdentityEntry | N/A | Db4objects.Db4o.Foundation.IdentityHashtable4+IdentityEntry |
| MethodAnalyser | N/A | Db4objects.Db4o.Linq.CodeAnalysis.MethodAnalyser |
| ClientTransactionPool+ContainerCount | N/A | Db4objects.Db4o.CS.Internal.ClientTransactionPool+ContainerCount |
| SaveAsStorage | N/A | Db4objects.Db4o.IO.SaveAsStorage |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Critical Rule warning: API Breaking Changes: Interfaces |
// <Name>API Breaking Changes: Interfaces</Name>
WARN IF Count > 0 IN SELECT TYPES
WHERE IsInterface AND IsPublic AND (WasChanged AND !CommentsWereChanged)
// This rule warns if a public interface has been changed, but not because of comment change.
// This can break the code of your clients that implements such interface.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
WARN IF Count > 0 IN SELECT TYPES
WHERE IsInterface AND IsPublic AND (WasChanged AND !CommentsWereChanged)
// This rule warns if a public interface has been changed, but not because of comment change.
// This can break the code of your clients that implements such interface.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
8 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| IDefragmentServices | N/A | Db4objects.Db4o.Defragment.IDefragmentServices |
| IInternalObjectContainer | N/A | Db4objects.Db4o.Internal.IInternalObjectContainer |
| IInternalReadContext | N/A | Db4objects.Db4o.Internal.Marshall.IInternalReadContext |
| ICallbacks | N/A | Db4objects.Db4o.Internal.Callbacks.ICallbacks |
| IFreespaceManager | N/A | Db4objects.Db4o.Internal.Freespace.IFreespaceManager |
| IFieldAwareTypeHandler | N/A | Db4objects.Db4o.Internal.Handlers.IFieldAwareTypeHandler |
| IConfiguration | N/A | Db4objects.Db4o.Config.IConfiguration |
| ICommonConfiguration | N/A | Db4objects.Db4o.Config.ICommonConfiguration |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Code Coverage |
|
|
| Rule warning: Complex methods should be 100% covered by tests |
// <Name>Complex methods should be 100% covered by tests</Name>
WARN IF Count > 0 IN SELECT METHODS
/*OUT OF "YourGeneratedCode" */
WHERE
// These metrics' definitions are available here:
// http://www.ndepend.com/Metrics.aspx#MetricsOnMethods
( NbLinesOfCode > 30 OR
ILCyclomaticComplexity > 50 OR
ILNestingDepth > 4 OR
NbParameters > 5 OR
NbVariables > 8 OR
NbOverloads > 6 ) AND
// Take care only of complex methods
// already covered a bit, but not completely covered.
PercentageCoverage > 0 AND
PercentageCoverage < 100
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this rule properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
WARN IF Count > 0 IN SELECT METHODS
/*OUT OF "YourGeneratedCode" */
WHERE
// These metrics' definitions are available here:
// http://www.ndepend.com/Metrics.aspx#MetricsOnMethods
( NbLinesOfCode > 30 OR
ILCyclomaticComplexity > 50 OR
ILNestingDepth > 4 OR
NbParameters > 5 OR
NbVariables > 8 OR
NbOverloads > 6 ) AND
// Take care only of complex methods
// already covered a bit, but not completely covered.
PercentageCoverage > 0 AND
PercentageCoverage < 100
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this rule properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
26 methods matched
| methods | # lines of code (LOC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Percentage Coverage | # lines of code not covered | Full Name |
|---|---|---|---|---|---|---|---|---|---|
| methods | # lines of code (LOC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Percentage Coverage | # lines of code not covered | Full Name |
| Init() | 73 | 2 | 1 | 0 | 1 | 1 | 2 | 72 | Db4objects.Db4o.DTrace.Init() |
| CreateChild(QCandidates) | 57 | 24 | 6 | 1 | 17 | 1 | 87 | 7 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.CreateChild (QCandidates) |
| Produce(Object,IFunction4,IProcedure4) | 43 | 11 | 3 | 3 | 10 | 1 | 81 | 8 | Db4objects.Db4o.Internal.Caching.LRULongCache.Produce(Object ,IFunction4,IProcedure4) |
| Produce(Object,IFunction4,IProcedure4) | 43 | 11 | 3 | 3 | 10 | 1 | 34 | 29 | Db4objects.Db4o.Internal.Caching.LRUIntCache.Produce(Object,IFunction4 ,IProcedure4) |
| InitializeAspects() | 38 | 22 | 3 | 0 | 6 | 1 | 76 | 9 | Db4objects.Db4o.Internal.ClassMetadata.InitializeAspects() |
| Qsort(ISortable4,Int32,Int32) | 38 | 19 | 2 | 3 | 9 | 1 | 69 | 12 | Db4objects.Db4o.Foundation.Algorithms4.Qsort(ISortable4,Int32,Int32) |
| VersionsAreConsistentAndSeek(ByteArrayBuffer) | 36 | 18 | 3 | 1 | 11 | 1 | 43 | 21 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart2 .VersionsAreConsistentAndSeek(ByteArrayBuffer) |
| WriteThis(Transaction,ByteArrayBuffer) | 33 | 13 | 3 | 2 | 9 | 1 | 61 | 13 | Db4objects.Db4o.Internal.Btree.BTreeNode.WriteThis(Transaction ,ByteArrayBuffer) |
| Free(Slot) | 32 | 16 | 2 | 1 | 6 | 1 | 90 | 3 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager.Free(Slot) |
| Visit(Expression) | 32 | 18 | 1 | 1 | 2 | 1 | 54 | 15 | Db4objects.Db4o.Linq.Expressions.ExpressionVisitor.Visit(Expression) |
| Store3(Transaction,Object,IUpdateDepth,Boolean) | 31 | 18 | 3 | 4 | 6 | 1 | 81 | 6 | Db4objects.Db4o.Internal.ObjectContainerBase.Store3(Transaction,Object ,IUpdateDepth,Boolean) |
| Attach(QQuery,String) | 27 | 13 | 2 | 2 | 13 | 1 | 67 | 9 | Db4objects.Db4o.Internal.Query.Processor.QCon.Attach(QQuery,String) |
| ProcessMessage(Msg) | 26 | 5 | 6 | 1 | 7 | 1 | 37 | 17 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl.ProcessMessage (Msg) |
| PrefetchObjects(ClientObjectContainer,Transaction,IIntIterator4 ,Object[],Int32) | 25 | 13 | 3 | 5 | 10 | 1 | 96 | 1 | Db4objects.Db4o.CS.Internal.SingleMessagePrefetchingStrategy .PrefetchObjects(ClientObjectContainer,Transaction,IIntIterator4 ,Object[],Int32) |
| ExecuteLocal(IdListQueryResult) | 22 | 12 | 3 | 1 | 9 | 1 | 87 | 3 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.ExecuteLocal (IdListQueryResult) |
| Join1(QCon,Boolean) | 22 | 8 | 2 | 2 | 10 | 1 | 39 | 14 | Db4objects.Db4o.Internal.Query.Processor.QCon.Join1(QCon,Boolean) |
| NextToken() | 19 | 15 | 5 | 0 | 4 | 1 | 85 | 3 | Sharpen.Lang.TypeReferenceLexer.NextToken() |
| NewInstance(LocalObjectContainer) | 19 | 10 | 2 | 1 | 10 | 1 | 40 | 12 | Db4objects.Db4o.Internal.Ids.StandardIdSystemFactory.NewInstance (LocalObjectContainer) |
| CollectConstraints(Transaction,QConObject,Object,IVisitor4) | 18 | 10 | 6 | 4 | 6 | 1 | 73 | 5 | Db4objects.Db4o.Internal.FieldMetadata.CollectConstraints(Transaction ,QConObject,Object,IVisitor4) |
| CreateCandidateCollection() | 16 | 6 | 2 | 0 | 9 | 1 | 82 | 3 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .CreateCandidateCollection() |
| ApplyReadAs() | 15 | 5 | 3 | 0 | 9 | 1 | 25 | 12 | Db4objects.Db4o.Internal.ClassMetadataRepository.ApplyReadAs() |
| ReplyFromServer() | 14 | 7 | 3 | 0 | 10 | 1 | 93 | 1 | Db4objects.Db4o.CS.Internal.Messages.MLogin.ReplyFromServer() |
| ProcessStringMethod(MethodCallExpression) | 9 | 10 | 5 | 1 | 1 | 1 | 90 | 1 | Db4objects.Db4o.Linq.Expressions.WhereClauseVisitor .ProcessStringMethod(MethodCallExpression) |
| MessageLoop() | 7 | 7 | 5 | 0 | 2 | 1 | 37 | 5 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl.MessageLoop() |
| AreEqual(Double,Double,String) | 3 | 3 | 1 | 3 | 1 | 8 | 75 | 1 | Db4oUnit.Assert.AreEqual(Double,Double,String) |
| AreEqual(Int32,Int32,String) | 3 | 3 | 1 | 3 | 1 | 8 | 75 | 1 | Db4oUnit.Assert.AreEqual(Int32,Int32,String) |
Statistics
| Stat | # lines of code (LOC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Percentage Coverage | # lines of code not covered |
|---|---|---|---|---|---|---|---|---|
| Sum: | 701 | 299 | 79 | 42 | 189 | 40 | 1 679 | 283 |
| Average: | 26.962 | 11.5 | 3.0385 | 1.6154 | 7.2692 | 1.5385 | 64.577 | 10.885 |
| Minimum: | 3 | 2 | 1 | 0 | 1 | 1 | 2 | 1 |
| Maximum: | 73 | 24 | 6 | 5 | 17 | 8 | 96 | 72 |
| Standard deviation: | 15.844 | 5.8786 | 1.5312 | 1.4432 | 4.072 | 1.8653 | 24.483 | 14.004 |
| Variance: | 251.04 | 34.558 | 2.3447 | 2.0828 | 16.581 | 3.4793 | 599.4 | 196.1 |
| Dead Code |
|
|
| Rule warning: Potentially unused types |
// <Name>Potentially unused types</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The type is not used in the
// context of this application.
// Type Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#TypeCa
!IsPublic AND // Public and Protected types
!IsProtected AND // might be used by client
// applications of your assemblies.
!NameIs "Program" // Generally, types named Program
// contain a Main() entry-point
// method and this condition avoid
// to consider such type as
// unused code.
// Caution: Types used only by reflection might be matched.
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The type is not used in the
// context of this application.
// Type Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#TypeCa
!IsPublic AND // Public and Protected types
!IsProtected AND // might be used by client
// applications of your assemblies.
!NameIs "Program" // Generally, types named Program
// contain a Main() entry-point
// method and this condition avoid
// to consider such type as
// unused code.
// Caution: Types used only by reflection might be matched.
3 types matched
| types | Afferent coupling (TypeCa) | Full Name |
|---|---|---|
| types | Afferent coupling (TypeCa) | Full Name |
| __fixme__ | 0 | Sharpen.Lang.Reflect.__fixme__ |
| ShutDownRunnable | 0 | Db4objects.Db4o.Internal.ShutDownRunnable |
| CollectionUpdateDepthEntry | 0 | Db4objects.Db4o.Reflect.Generic.CollectionUpdateDepthEntry |
Statistics
| Stat | Afferent coupling (TypeCa) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Potentially unused methods |
// <Name>Potentially unused methods</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
MethodCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The method is not used in the
// context of this application.
// Method Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#MethodCa
!IsPublic AND // Public and Protected methods
!IsProtected AND // might be used by client
// applications of your assemblies..
!IsEntryPoint AND // Main() method is not used by-design.
!IsExplicitInterfaceImpl // The IL code never explicitely
AND // calls explicit interface methods
// implementation.
!IsClassConstructor AND // The IL code never explicitely
// calls class constructors.
!IsFinalizer // The IL code never explicitely
// calls finalizers.
// Caution: Methods used only by reflection might be matched.
WARN IF Count > 0 IN SELECT METHODS WHERE
MethodCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The method is not used in the
// context of this application.
// Method Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#MethodCa
!IsPublic AND // Public and Protected methods
!IsProtected AND // might be used by client
// applications of your assemblies..
!IsEntryPoint AND // Main() method is not used by-design.
!IsExplicitInterfaceImpl // The IL code never explicitely
AND // calls explicit interface methods
// implementation.
!IsClassConstructor AND // The IL code never explicitely
// calls class constructors.
!IsFinalizer // The IL code never explicitely
// calls finalizers.
// Caution: Methods used only by reflection might be matched.
140 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 140 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | Afferent coupling (MethodCa) | Full Name |
|---|---|---|
| methods | Afferent coupling (MethodCa) | Full Name |
| RemoveTrailingSlash(String) | 0 | Sharpen.IO.File.RemoveTrailingSlash(String) |
| SetSimpleName(String) | 0 | Sharpen.Lang.SimpleTypeReference.SetSimpleName(String) |
| TurnAllOffExceptFor(DTrace[]) | 0 | Db4objects.Db4o.DTrace.TurnAllOffExceptFor(DTrace[]) |
| Reflector() | 0 | Db4objects.Db4o.Db4oFactory.Reflector() |
| .ctor() | 0 | Db4objects.Db4o.Debug4..ctor() |
| MoveNext() | 0 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V>+<GetEnumerator>d__0 .MoveNext() |
| MoveNext() | 0 | Db4objects.Db4o.Collections.ArrayList4<E>+<GetEnumerator>d__0.MoveNext () |
| Transaction(EventArgs) | 0 | Db4objects.Db4o.TA.TransparentActivationSupport.Transaction(EventArgs) |
| Db(DefragmentServicesImpl) | 0 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_DbSelector_38.Db (DefragmentServicesImpl) |
| Db(DefragmentServicesImpl) | 0 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_DbSelector_44.Db (DefragmentServicesImpl) |
| DeepClone() | 0 | Db4objects.Db4o.Internal.TreeInt.DeepClone() |
| ConfiguredForAutomaticShutDown() | 0 | Db4objects.Db4o.Internal.ObjectContainerBase .ConfiguredForAutomaticShutDown() |
| IsIgnoredClass(String) | 0 | Db4objects.Db4o.Internal.Config4Impl.IsIgnoredClass(String) |
| OptimizeNQ() | 0 | Db4objects.Db4o.Internal.Config4Impl.OptimizeNQ() |
| IsServer() | 0 | Db4objects.Db4o.Internal.LocalObjectContainer.IsServer() |
| HasCollections() | 0 | Db4objects.Db4o.Internal.Platform4.HasCollections() |
| WrapEvaluation(Object) | 0 | Db4objects.Db4o.Internal.Platform4.WrapEvaluation(Object) |
| AddToIndex(Transaction,Int32) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.AddToIndex(Transaction ,Int32) |
| AllowsQueries() | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.AllowsQueries() |
| CacheDirty(Collection4) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.CacheDirty(Collection4) |
| DeleteMembers(DeleteContextImpl,ArrayType,Boolean) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.DeleteMembers (DeleteContextImpl,ArrayType,Boolean) |
| InstantiateFields(UnmarshallingContext) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.InstantiateFields (UnmarshallingContext) |
| RemoveFromIndex(Transaction,Int32) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.RemoveFromIndex (Transaction,Int32) |
| CanAddToQuery(String) | 0 | Db4objects.Db4o.Internal.VirtualFieldMetadata.CanAddToQuery(String) |
| CollectConstraints(Transaction,QConObject,Object,IVisitor4) | 0 | Db4objects.Db4o.Internal.VirtualFieldMetadata.CollectConstraints (Transaction,QConObject,Object,IVisitor4) |
| Instantiate1(ObjectReferenceContext) | 0 | Db4objects.Db4o.Internal.UUIDFieldMetadata.Instantiate1 (ObjectReferenceContext) |
| Marshall(Transaction,ObjectReference,IWriteBuffer,Boolean,Boolean) | 0 | Db4objects.Db4o.Internal.UUIDFieldMetadata.Marshall(Transaction ,ObjectReference,IWriteBuffer,Boolean,Boolean) |
| MarshallIgnore(IWriteBuffer) | 0 | Db4objects.Db4o.Internal.UUIDFieldMetadata.MarshallIgnore(IWriteBuffer ) |
| ReplaceWith(Byte[]) | 0 | Db4objects.Db4o.Internal.ByteArrayBuffer.ReplaceWith(Byte[]) |
| InitializeEssentialClasses() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer .InitializeEssentialClasses() |
| InitNewClassCollection() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer .InitNewClassCollection() |
| CanUpdate() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.CanUpdate() |
| ConfigureNewFile() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.ConfigureNewFile() |
| Message(String) | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.Message(String) |
| ReadThis() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.ReadThis() |
| StateMessages() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.StateMessages() |
| ClassName() | 0 | Db4objects.Db4o.Internal.Config4Class.ClassName() |
| ClassReflector() | 0 | Db4objects.Db4o.Internal.Config4Class.ClassReflector() |
| TranslateOnDemand(String) | 0 | Db4objects.Db4o.Internal.Config4Class.TranslateOnDemand(String) |
| MaintainMetaClass(Boolean) | 0 | Db4objects.Db4o.Internal.Config4Class.MaintainMetaClass(Boolean) |
| ClassName() | 0 | Db4objects.Db4o.Internal.Config4Field.ClassName() |
| Refresh() | 0 | Db4objects.Db4o.Internal.TranslatedAspect.Refresh() |
| SupportsVirtualFields() | 0 | Db4objects.Db4o.Internal.TransactionObjectCarrier .SupportsVirtualFields() |
| ReReadClassMetadata(ClassMetadata) | 0 | Db4objects.Db4o.Internal.ClassMetadataRepository.ReReadClassMetadata (ClassMetadata) |
| VariableLength() | 0 | Db4objects.Db4o.Internal.TreeIntObject.VariableLength() |
| CheckXBytes(Int32,Int32,Int32) | 0 | Db4objects.Db4o.Internal.IoAdaptedObjectContainer.CheckXBytes(Int32 ,Int32,Int32) |
| Instantiate1(ObjectReferenceContext) | 0 | Db4objects.Db4o.Internal.VersionFieldMetadata.Instantiate1 (ObjectReferenceContext) |
| Marshall(Transaction,ObjectReference,IWriteBuffer,Boolean,Boolean) | 0 | Db4objects.Db4o.Internal.VersionFieldMetadata.Marshall(Transaction ,ObjectReference,IWriteBuffer,Boolean,Boolean) |
| MarshallIgnore(IWriteBuffer) | 0 | Db4objects.Db4o.Internal.VersionFieldMetadata.MarshallIgnore (IWriteBuffer) |
| MoveNext() | 0 | Db4objects.Db4o.Internal.Collections.BigSet<E>+GetEnumerator>d__0 .MoveNext() |
| .ctor() | 0 | Db4objects.Db4o.Internal.Activation.DepthUtil..ctor() |
| FreespaceBeginCommit() | 0 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl .FreespaceBeginCommit() |
| FreespaceEndCommit() | 0 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl .FreespaceEndCommit() |
| CommitFreespace() | 0 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl.CommitFreespace () |
| DebugCheckBuffer(ByteArrayBuffer,FreeSlotNode) | 0 | Db4objects.Db4o.Internal.Freespace.FreeSlotNode.DebugCheckBuffer (ByteArrayBuffer,FreeSlotNode) |
| ObjectContainer() | 0 | Db4objects.Db4o.Internal.Query.ObjectSetFacade.ObjectContainer() |
| .ctor() | 0 | Db4objects.Db4o.Internal.Query.SodaQueryComparator+Direction..ctor() |
| MoveNext() | 0 | Db4objects.Db4o.Internal.Query.ObjectSetFacade+<GetEnumerator>d__0 .MoveNext() |
| Add(QE) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEAbstract.Add(QE) |
| IsDefault() | 0 | Db4objects.Db4o.Internal.Query.Processor.QEAbstract.IsDefault() |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEStringCmp.Evaluate (QConObject,QCandidate,Object) |
| LogConstraints() | 0 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.LogConstraints() |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEIdentity.Evaluate (QConObject,QCandidate,Object) |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEGreater.Evaluate(QConObject ,QCandidate,Object) |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QESmaller.Evaluate(QConObject ,QCandidate,Object) |
| Log(String) | 0 | Db4objects.Db4o.Internal.Query.Processor.QCon.Log(String) |
| LogObject() | 0 | Db4objects.Db4o.Internal.Query.Processor.QCon.LogObject() |
| Join(IConstraint,Boolean) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConstraints.Join(IConstraint ,Boolean) |
| EvaluateSimpleExec(QCandidates) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConUnconditional .EvaluateSimpleExec(QCandidates) |
| Evaluate(QCandidate) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConUnconditional.Evaluate (QCandidate) |
| Evaluate(QCandidate) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.Evaluate (QCandidate) |
| EvaluateEvaluationsExec(QCandidates,Boolean) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject .EvaluateEvaluationsExec(QCandidates,Boolean) |
| EvaluateSelf() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.EvaluateSelf() |
| Collect(QCandidates) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.Collect (QCandidates) |
| EvaluateSimpleExec(QCandidates) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.EvaluateSimpleExec (QCandidates) |
| GetYapClass() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.GetYapClass() |
| IsNullConstraint() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.IsNullConstraint() |
| Log(String) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.Log(String) |
| LogObject() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.LogObject() |
| RemoveChildrenJoins() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject .RemoveChildrenJoins() |
| ShareParent(Object,BooleanByRef) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.ShareParent(Object ,BooleanByRef) |
| ShareParentForClass(IReflectClass,BooleanByRef) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject .ShareParentForClass(IReflectClass,BooleanByRef) |
| Add(QE) | 0 | Db4objects.Db4o.Internal.Query.Processor.QENot.Add(QE) |
| IsDefault() | 0 | Db4objects.Db4o.Internal.Query.Processor.QENot.IsDefault() |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QENot.Evaluate(QConObject ,QCandidate,Object) |
| Not(Boolean) | 0 | Db4objects.Db4o.Internal.Query.Processor.QENot.Not(Boolean) |
| DoNotInclude(QCandidate) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConJoin.DoNotInclude (QCandidate) |
| ExchangeConstraint(QCon,QCon) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConJoin.ExchangeConstraint (QCon,QCon) |
| LogObject() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConJoin.LogObject() |
| EvaluateEvaluationsExec(QCandidates,Boolean) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConEvaluation .EvaluateEvaluationsExec(QCandidates,Boolean) |
| Marshall() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConEvaluation.Marshall() |
| Unmarshall(Transaction) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConEvaluation.Unmarshall (Transaction) |
| SupportsIndex() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConEvaluation.SupportsIndex( ) |
| Add(QE) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEMulti.Add(QE) |
| IsDefault() | 0 | Db4objects.Db4o.Internal.Query.Processor.QEMulti.IsDefault() |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEMulti.Evaluate(QConObject ,QCandidate,Object) |
| Evaluate(QCandidate) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConClass.Evaluate(QCandidate ) |
| EvaluateSelf() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConClass.EvaluateSelf() |
| IsNullConstraint() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConClass.IsNullConstraint() |
| LogObject() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConClass.LogObject() |
Statistics
| Stat | Afferent coupling (MethodCa) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Potentially unused fields |
// <Name>Potentially unused fields</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
FieldCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The field is not used in the
// context of this application.
// Field Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#FieldCa
!IsPublic AND // Although not recommended,
!IsProtected AND // Public and Protected fields
// might be used by client
// applications of your assemblies.
!IsLiteral AND // The IL code never explicitely
// uses literal fields.
!IsEnumValue AND // The IL code never explicitely
// uses enumeration value.
!NameIs "value__" // Field named 'value__' are relative
// to enumerations and the IL code
// never explicitely uses them.
// Caution: Fields used only by reflection might be matched.
WARN IF Count > 0 IN SELECT FIELDS WHERE
FieldCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The field is not used in the
// context of this application.
// Field Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#FieldCa
!IsPublic AND // Although not recommended,
!IsProtected AND // Public and Protected fields
// might be used by client
// applications of your assemblies.
!IsLiteral AND // The IL code never explicitely
// uses literal fields.
!IsEnumValue AND // The IL code never explicitely
// uses enumeration value.
!NameIs "value__" // Field named 'value__' are relative
// to enumerations and the IL code
// never explicitely uses them.
// Caution: Fields used only by reflection might be matched.
1 fields matched
| fields | Afferent coupling (FieldCa) | Full Name |
|---|---|---|
| fields | Afferent coupling (FieldCa) | Full Name |
| _debugPrepend | 0 | Db4objects.Db4o.Internal.Marshall.MarshallingContext._debugPrepend |
Statistics
| Stat | Afferent coupling (FieldCa) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Code Quality from Now! |
|
|
| Rule warning: From now, all methods added or refactored should respect basic quality principles |
// <Name>From now, all methods added or refactored should respect basic quality principles</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
// *** Only new or modified methods since Baseline for Comparison ***
(WasAdded OR CodeWasChanged) AND
// Low Quality methods// Metrics' definitions
( NbLinesOfCode > 30 OR // http://www.ndepend.com/Metrics.aspx#NbLinesOfCode
NbILInstructions > 200 OR// http://www.ndepend.com/Metrics.aspx#NbILInstructions
CyclomaticComplexity > 20 OR // http://www.ndepend.com/Metrics.aspx#CC
ILCyclomaticComplexity > 50 OR // http://www.ndepend.com/Metrics.aspx#ILCC
ILNestingDepth > 4 OR // http://www.ndepend.com/Metrics.aspx#ILNestingDepth
NbParameters > 5 OR// http://www.ndepend.com/Metrics.aspx#NbParameters
NbVariables > 8 OR // http://www.ndepend.com/Metrics.aspx#NbVariables
NbOverloads > 6 ) // http://www.ndepend.com/Metrics.aspx#NbOverloads
// This rule warns if a method with
// low-quality has been added or refactored.
// With NDepend and such rule, you can
// Ensure Quality From Now! as explained here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/01/ensure-the-quality-of-the-code-that-will-be-developed-this-year.aspx
// To run this rule properly 2 analysis
// must be compared. This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
WARN IF Count > 0 IN SELECT METHODS WHERE
// *** Only new or modified methods since Baseline for Comparison ***
(WasAdded OR CodeWasChanged) AND
// Low Quality methods// Metrics' definitions
( NbLinesOfCode > 30 OR // http://www.ndepend.com/Metrics.aspx#NbLinesOfCode
NbILInstructions > 200 OR// http://www.ndepend.com/Metrics.aspx#NbILInstructions
CyclomaticComplexity > 20 OR // http://www.ndepend.com/Metrics.aspx#CC
ILCyclomaticComplexity > 50 OR // http://www.ndepend.com/Metrics.aspx#ILCC
ILNestingDepth > 4 OR // http://www.ndepend.com/Metrics.aspx#ILNestingDepth
NbParameters > 5 OR// http://www.ndepend.com/Metrics.aspx#NbParameters
NbVariables > 8 OR // http://www.ndepend.com/Metrics.aspx#NbVariables
NbOverloads > 6 ) // http://www.ndepend.com/Metrics.aspx#NbOverloads
// This rule warns if a method with
// low-quality has been added or refactored.
// With NDepend and such rule, you can
// Ensure Quality From Now! as explained here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/01/ensure-the-quality-of-the-code-that-will-be-developed-this-year.aspx
// To run this rule properly 2 analysis
// must be compared. This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
201 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 201 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | # lines of code (LOC) | # IL instructions | Cyclomatic Complexity (CC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Full Name |
|---|---|---|---|---|---|---|---|---|---|
| methods | # lines of code (LOC) | # IL instructions | Cyclomatic Complexity (CC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Full Name |
| NextToken() | 19 | 118 | 13 | 15 | 5 | 0 | 4 | 1 | Sharpen.Lang.TypeReferenceLexer.NextToken() |
| Id() | 6 | 55 | 10 | 6 | 8 | 0 | 3 | 1 | Sharpen.Lang.TypeReferenceLexer.Id() |
| Init() | 73 | 438 | 2 | 2 | 1 | 0 | 1 | 1 | Db4objects.Db4o.DTrace.Init() |
| LogEnd(Int64,Int64,Int64,String) | 62 | 374 | 28 | 43 | 7 | 4 | 4 | 3 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
| .ctor() | 2 | 9 | 1 | 1 | 0 | 0 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor() |
| .ctor(IEqualityComparer<TKey>) | 3 | 13 | 1 | 1 | 0 | 1 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IEqualityComparer<TKey>) |
| .ctor(IDictionary<TKey,TValue>,IEqualityComparer<TKey>) | 3 | 14 | 1 | 1 | 0 | 2 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IDictionary<TKey,TValue>,IEqualityComparer<TKey>) |
| .ctor(IDictionary<TKey,TValue>) | 3 | 13 | 1 | 1 | 0 | 1 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IDictionary<TKey,TValue>) |
| .ctor(Int32) | 3 | 13 | 1 | 1 | 0 | 1 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (Int32) |
| .ctor(Int32,IEqualityComparer<TKey>) | 3 | 14 | 1 | 1 | 0 | 2 | 0 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (Int32,IEqualityComparer<TKey>) |
| .ctor(SerializationInfo,StreamingContext) | 5 | 50 | 1 | 1 | 0 | 2 | 4 | 7 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (SerializationInfo,StreamingContext) |
| Read(Int64,Byte[],Int32) | 15 | 78 | 3 | 5 | 1 | 3 | 9 | 1 | Db4objects.Db4o.IO.PagingMemoryBin.Read(Int64,Byte[],Int32) |
| .ctor(String,Boolean,Int64,Boolean,IoAdapter,Int32,Int32) | 9 | 37 | 1 | 1 | 0 | 7 | 0 | 3 | Db4objects.Db4o.IO.CachedIoAdapter..ctor(String,Boolean,Int64,Boolean ,IoAdapter,Int32,Int32) |
| Defrag(DefragmentConfig,IDefragmentListener) | 29 | 148 | 6 | 8 | 2 | 2 | 9 | 4 | Db4objects.Db4o.Defragment.Defragment.Defrag(DefragmentConfig ,IDefragmentListener) |
| Descend(Transaction,Object,String[]) | 22 | 144 | 7 | 9 | 6 | 3 | 10 | 2 | Db4objects.Db4o.Internal.ObjectContainerBase.Descend(Transaction ,Object,String[]) |
| Query(Transaction,Predicate) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction ,Predicate) |
| Query(Transaction,Predicate,IQueryComparator) | 2 | 25 | 1 | 2 | 1 | 3 | 2 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction ,Predicate,IQueryComparator) |
| Query(Transaction,Type) | 1 | 9 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction,Type) |
| Query(Transaction) | 1 | 11 | 1 | 1 | 0 | 1 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Transaction) |
| Store3(Transaction,Object,IUpdateDepth,Boolean) | 31 | 222 | 14 | 18 | 3 | 4 | 6 | 1 | Db4objects.Db4o.Internal.ObjectContainerBase.Store3(Transaction,Object ,IUpdateDepth,Boolean) |
| Query(Predicate,IComparer) | 3 | 22 | 2 | 2 | 1 | 2 | 2 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query(Predicate,IComparer ) |
| Query<Extent>(Predicate<Extent>) | 1 | 9 | 1 | 1 | 0 | 1 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>,IComparer<Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>,IComparer<Extent>) | 2 | 17 | 2 | 3 | 1 | 3 | 2 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>,IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>,Comparison<Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>,Comparison<Extent>) | 2 | 17 | 2 | 3 | 1 | 3 | 2 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>,Comparison<Extent>) |
| Query<ElementType>(Type) | 1 | 10 | 1 | 1 | 0 | 1 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType>(Type) |
| Query<ElementType>(Transaction,Type) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType> (Transaction,Type) |
| Query<ElementType>(Type,IComparer<ElementType>) | 1 | 10 | 1 | 1 | 0 | 2 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType>(Type ,IComparer<ElementType>) |
| Query<ElementType>(Transaction,Type,IComparer<ElementType>) | 8 | 46 | 2 | 3 | 1 | 3 | 5 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType> (Transaction,Type,IComparer<ElementType>) |
| Query<Extent>() | 1 | 9 | 1 | 1 | 0 | 0 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>() |
| Query<Extent>(IComparer<Extent>) | 1 | 10 | 1 | 1 | 0 | 1 | 1 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(IComparer <Extent>) |
| .cctor() | 64 | 194 | 1 | 1 | 0 | 0 | 0 | 1 | Db4objects.Db4o.Internal.Config4Impl..cctor() |
| CollectConstraints(Transaction,QConObject,Object,IVisitor4) | 18 | 108 | 9 | 10 | 6 | 4 | 6 | 1 | Db4objects.Db4o.Internal.FieldMetadata.CollectConstraints(Transaction ,QConObject,Object,IVisitor4) |
| .ctor(ClassMetadata,String,Int32,Boolean,Boolean,Boolean) | 2 | 15 | 1 | 1 | 0 | 6 | 0 | 5 | Db4objects.Db4o.Internal.FieldMetadata..ctor(ClassMetadata,String ,Int32,Boolean,Boolean,Boolean) |
| Run() | 26 | 158 | 6 | 8 | 6 | 0 | 6 | 1 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_624.Run() |
| Read(Transaction,ByteArrayBuffer,Object,IActivationDepth,Int32,Boolean ) | 4 | 22 | 1 | 1 | 0 | 6 | 2 | 2 | Db4objects.Db4o.Internal.ObjectReference.Read(Transaction ,ByteArrayBuffer,Object,IActivationDepth,Int32,Boolean) |
| IsCollectionTranslator(Config4Class) | 5 | 41 | 7 | 6 | 5 | 1 | 3 | 1 | Db4objects.Db4o.Internal.Platform4.IsCollectionTranslator(Config4Class ) |
| Invoke(Object,String) | 1 | 12 | 1 | 1 | 0 | 2 | 1 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object,String) |
| Invoke(Object,String,Object[]) | 6 | 41 | 2 | 3 | 1 | 3 | 4 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object,String,Object[]) |
| Invoke(Object,String,Type[],Object[]) | 1 | 12 | 1 | 1 | 0 | 4 | 1 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object,String,Type[] ,Object[]) |
| Invoke(Type,String,Type[],Object[]) | 1 | 11 | 1 | 1 | 0 | 4 | 1 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Type,String,Type[] ,Object[]) |
| Invoke(Type,String,Type[],Object[],Object) | 1 | 12 | 1 | 1 | 0 | 5 | 1 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Type,String,Type[] ,Object[],Object) |
| Invoke(String,String,Type[],Object[],Object) | 2 | 14 | 1 | 1 | 0 | 5 | 2 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(String,String,Type[] ,Object[],Object) |
| Invoke(Object[],Object,MethodInfo) | 10 | 42 | 5 | 3 | 1 | 3 | 5 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object[],Object,MethodInfo ) |
| Invoke(Object,String,Type,Object) | 1 | 24 | 1 | 1 | 0 | 4 | 3 | 8 | Db4objects.Db4o.Internal.Reflection4.Invoke(Object,String,Type,Object) |
| Read(Int32) | 57 | 361 | 23 | 28 | 3 | 1 | 10 | 1 | Db4objects.Db4o.Internal.ConfigBlock.Read(Int32) |
| ServerFile(String,Boolean) | 26 | 208 | 9 | 14 | 4 | 2 | 8 | 1 | Db4objects.Db4o.Internal.BlobImpl.ServerFile(String,Boolean) |
| InitializeAspects() | 38 | 238 | 19 | 22 | 3 | 0 | 6 | 1 | Db4objects.Db4o.Internal.ClassMetadata.InitializeAspects() |
| AddFieldIndex(ObjectIdContextImpl) | 21 | 119 | 8 | 8 | 2 | 1 | 10 | 1 | Db4objects.Db4o.Internal.UUIDFieldMetadata.AddFieldIndex (ObjectIdContextImpl) |
| ForInterface(IReflectClass) | 18 | 103 | 8 | 11 | 7 | 1 | 9 | 1 | Db4objects.Db4o.Internal.ClassMetadataRepository.ForInterface (IReflectClass) |
| ApplyReadAs() | 15 | 85 | 4 | 5 | 3 | 0 | 9 | 1 | Db4objects.Db4o.Internal.ClassMetadataRepository.ApplyReadAs() |
| Query() | 3 | 25 | 1 | 2 | 1 | 0 | 2 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query() |
| Query(Type) | 3 | 26 | 1 | 2 | 1 | 1 | 2 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Type) |
| Query(Predicate) | 3 | 26 | 1 | 2 | 1 | 1 | 2 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Predicate) |
| Query(Predicate,IQueryComparator) | 3 | 27 | 1 | 2 | 1 | 2 | 2 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Predicate ,IQueryComparator) |
| Query(Predicate,IComparer) | 1 | 13 | 1 | 1 | 0 | 2 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query(Predicate ,IComparer) |
| Query<Extent>(Predicate<Extent>) | 1 | 11 | 1 | 1 | 0 | 1 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (Predicate<Extent>) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | 1 | 12 | 1 | 1 | 0 | 2 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (Predicate<Extent>,IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | 1 | 12 | 1 | 1 | 0 | 2 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (Predicate<Extent>,Comparison<Extent>) |
| Query<ElementType>(Type) | 1 | 12 | 1 | 1 | 0 | 1 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<ElementType> (Type) |
| Query<ElementType>(Type,IComparer<ElementType>) | 1 | 12 | 1 | 1 | 0 | 2 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<ElementType> (Type,IComparer<ElementType>) |
| Query<Extent>() | 1 | 9 | 1 | 1 | 0 | 0 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent>() |
| Query<Extent>(IComparer<Extent>) | 1 | 10 | 1 | 1 | 0 | 1 | 1 | 12 | Db4objects.Db4o.Internal.ObjectContainerSession.Query<Extent> (IComparer<Extent>) |
| Load() | 2 | 303 | 2 | 2 | 1 | 0 | 2 | 1 | Db4objects.Db4o.Internal.Messages.Load() |
| Merge(MarshallingContext,Int32,MarshallingBuffer,MarshallingBuffer ,MarshallingBuffer,Int32) | 9 | 50 | 1 | 1 | 0 | 6 | 2 | 1 | Db4objects.Db4o.Internal.MarshallingBuffer.Merge(MarshallingContext ,Int32,MarshallingBuffer,MarshallingBuffer,MarshallingBuffer,Int32) |
| CollectIdsInternal(CollectIdContext,ITypeHandler4,Int32,Boolean) | 21 | 112 | 5 | 6 | 1 | 4 | 10 | 1 | Db4objects.Db4o.Internal.Handlers4.CollectIdsInternal(CollectIdContext ,ITypeHandler4,Int32,Boolean) |
| RegisterBuiltinHandlers() | 29 | 123 | 1 | 1 | 0 | 0 | 9 | 1 | Db4objects.Db4o.Internal.HandlerRegistry.RegisterBuiltinHandlers() |
| .ctor(ClassMarshaller,IntByRef,Int32,ClassMetadata,LatinStringIO ,DefragmentContextImpl) | 7 | 24 | 1 | 1 | 0 | 6 | 0 | 1 | Db4objects.Db4o.Internal.Marshall.ClassMarshaller+_IProcedure4_136. .ctor(ClassMarshaller,IntByRef,Int32,ClassMetadata,LatinStringIO ,DefragmentContextImpl) |
| .ctor(Transaction,QCandidates,Int32,IReadBuffer,Int32 ,IdObjectCollector) | 6 | 24 | 1 | 1 | 0 | 6 | 0 | 4 | Db4objects.Db4o.Internal.Marshall.QueryingReadContext..ctor (Transaction,QCandidates,Int32,IReadBuffer,Int32,IdObjectCollector) |
| VersionsAreConsistentAndSeek(ByteArrayBuffer) | 36 | 198 | 13 | 18 | 3 | 1 | 11 | 1 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart2 .VersionsAreConsistentAndSeek(ByteArrayBuffer) |
| NewInstance(LocalObjectContainer) | 19 | 90 | 9 | 10 | 2 | 1 | 10 | 1 | Db4objects.Db4o.Internal.Ids.StandardIdSystemFactory.NewInstance (LocalObjectContainer) |
| Free(Slot) | 32 | 200 | 10 | 16 | 2 | 1 | 6 | 1 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager.Free(Slot) |
| Free(Slot) | 31 | 186 | 12 | 16 | 2 | 1 | 8 | 1 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager.Free(Slot) |
| Produce(Object,IFunction4,IProcedure4) | 43 | 230 | 10 | 11 | 3 | 3 | 10 | 1 | Db4objects.Db4o.Internal.Caching.LRULongCache.Produce(Object ,IFunction4,IProcedure4) |
| Produce(Object,IFunction4,IProcedure4) | 43 | 230 | 10 | 11 | 3 | 3 | 10 | 1 | Db4objects.Db4o.Internal.Caching.LRUIntCache.Produce(Object,IFunction4 ,IProcedure4) |
| ExecuteImpl<Extent>(IQuery,Object,Object,MethodBase,Predicate<Extent> ,IQueryComparator) | 15 | 78 | 6 | 4 | 5 | 6 | 7 | 1 | Db4objects.Db4o.Internal.Query.NativeQueryHandler.ExecuteImpl<Extent> (IQuery,Object,Object,MethodBase,Predicate<Extent>,IQueryComparator) |
| ExecuteLocal(IdListQueryResult) | 22 | 115 | 8 | 12 | 3 | 1 | 9 | 1 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.ExecuteLocal (IdListQueryResult) |
| ExecuteSnapshot() | 12 | 54 | 3 | 5 | 1 | 0 | 9 | 1 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.ExecuteSnapshot() |
| CreateCandidateCollection() | 16 | 66 | 4 | 6 | 2 | 0 | 9 | 1 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .CreateCandidateCollection() |
| Attach(QQuery,String) | 27 | 184 | 9 | 13 | 2 | 2 | 13 | 1 | Db4objects.Db4o.Internal.Query.Processor.QCon.Attach(QQuery,String) |
| Join1(QCon,Boolean) | 22 | 118 | 5 | 8 | 2 | 2 | 10 | 1 | Db4objects.Db4o.Internal.Query.Processor.QCon.Join1(QCon,Boolean) |
| CreateChild(QCandidates) | 57 | 337 | 20 | 24 | 6 | 1 | 17 | 1 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.CreateChild (QCandidates) |
| EvaluateSelf() | 7 | 65 | 7 | 9 | 5 | 0 | 1 | 1 | Db4objects.Db4o.Internal.Query.Processor.QConClass.EvaluateSelf() |
| CopyDependentSlot(IDefragmentContext,Int32) | 14 | 65 | 2 | 2 | 1 | 2 | 9 | 1 | Db4objects.Db4o.Internal.Handlers.Versions.OpenTypeHandler0 .CopyDependentSlot(IDefragmentContext,Int32) |
| WriteThis(Transaction,ByteArrayBuffer) | 33 | 187 | 8 | 13 | 3 | 2 | 9 | 1 | Db4objects.Db4o.Internal.Btree.BTreeNode.WriteThis(Transaction ,ByteArrayBuffer) |
| .ctor(BTree,Int32,Boolean,Int32,Int32,Int32) | 8 | 27 | 1 | 1 | 0 | 6 | 0 | 3 | Db4objects.Db4o.Internal.Btree.BTreeNode..ctor(BTree,Int32,Boolean ,Int32,Int32,Int32) |
| .ctor(Transaction,ByteArrayBuffer,BTree,BTreeNode,Int32,Boolean) | 1 | 14 | 1 | 1 | 0 | 6 | 0 | 3 | Db4objects.Db4o.Internal.Btree.BTreeNodeSearchResult..ctor(Transaction ,ByteArrayBuffer,BTree,BTreeNode,Int32,Boolean) |
| CreateField(IReflectClass,String,IReflectClass,Boolean,Boolean,Boolean ,Boolean) | 3 | 20 | 2 | 3 | 1 | 7 | 2 | 1 | Db4objects.Db4o.Reflect.Generic.GenericClassBuilder.CreateField (IReflectClass,String,IReflectClass,Boolean,Boolean,Boolean,Boolean) |
| EnsureClassRead(Int32) | 21 | 149 | 6 | 10 | 3 | 1 | 14 | 1 | Db4objects.Db4o.Reflect.Generic.KnownClassesRepository.EnsureClassRead (Int32) |
| Qsort(ISortable4,Int32,Int32) | 38 | 302 | 13 | 19 | 2 | 3 | 9 | 1 | Db4objects.Db4o.Foundation.Algorithms4.Qsort(ISortable4,Int32,Int32) |
| Visit(Expression) | 18 | 111 | 49 | 18 | 1 | 1 | 3 | 1 | Db4objects.Db4o.Linq.Expressions.ExpressionTransformer.Visit (Expression) |
| Visit(Expression) | 32 | 108 | 49 | 18 | 1 | 1 | 2 | 1 | Db4objects.Db4o.Linq.Expressions.ExpressionVisitor.Visit(Expression) |
| ProcessStringMethod(MethodCallExpression) | 9 | 65 | 5 | 10 | 5 | 1 | 1 | 1 | Db4objects.Db4o.Linq.Expressions.WhereClauseVisitor .ProcessStringMethod(MethodCallExpression) |
| AreEqual<T>(T[],T[]) | 1 | 6 | 1 | 1 | 0 | 2 | 0 | 8 | Db4oUnit.ArrayAssert.AreEqual<T>(T[],T[]) |
| AreEqual(Object[],Object[]) | 1 | 6 | 1 | 1 | 0 | 2 | 0 | 8 | Db4oUnit.ArrayAssert.AreEqual(Object[],Object[]) |
| AreEqual(Byte[],Byte[]) | 9 | 65 | 5 | 8 | 1 | 2 | 2 | 8 | Db4oUnit.ArrayAssert.AreEqual(Byte[],Byte[]) |
| AreEqual(Int32[],Int32[]) | 9 | 65 | 5 | 8 | 1 | 2 | 2 | 8 | Db4oUnit.ArrayAssert.AreEqual(Int32[],Int32[]) |
| AreEqual(Int64[],Int64[]) | 9 | 67 | 5 | 8 | 1 | 2 | 2 | 8 | Db4oUnit.ArrayAssert.AreEqual(Int64[],Int64[]) |
Statistics
| Stat | # lines of code (LOC) | # IL instructions | Cyclomatic Complexity (CC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads |
|---|---|---|---|---|---|---|---|---|
| Sum: | 2 062 | 12 377 | 799 | 934 | 214 | 358 | 622 | 1 528 |
| Average: | 10.259 | 61.577 | 3.9751 | 4.6468 | 1.0647 | 1.7811 | 3.0945 | 7.602 |
| Minimum: | 0 | 2 | 1 | 1 | 0 | 0 | 0 | 1 |
| Maximum: | 73 | 438 | 49 | 43 | 8 | 7 | 29 | 21 |
| Standard deviation: | 14.417 | 86.436 | 6.3084 | 6.2126 | 1.6753 | 1.5587 | 4.32 | 5.8285 |
| Variance: | 207.84 | 7 471 | 39.795 | 38.597 | 2.8068 | 2.4297 | 18.663 | 33.971 |
| Rule warning: From now, all types added or refactored should respect basic quality principles |
// <Name>From now, all types added or refactored should respect basic quality principles</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
// *** Only match new or modified types since Baseline for Comparison ***
(WasAdded OR CodeWasChanged) AND
// Low Quality types Metrics' definitions are available here:
// http://www.ndepend.com/Metrics.aspx#MetricsOnTypes
( // Types with too many methods
NbMethods > 20 OR
// Types with too many fields
( NbFields > 20 AND
!IsEnumeration) OR
// Types with poor cohesion
( LCOMHS > 0.95 AND
NbFields > 10 AND
NbMethods > 10) OR
// Complex Types that use more than 50 other types
TypeCe > 50 )
// This rule warns if a type with
// low-quality has been added or refactored.
// With NDepend and such rule, you can
// Ensure Quality From Now! as explained here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/01/ensure-the-quality-of-the-code-that-will-be-developed-this-year.aspx
// To run this rule properly 2 analysis
// must be compared. This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
WARN IF Count > 0 IN SELECT TYPES WHERE
// *** Only match new or modified types since Baseline for Comparison ***
(WasAdded OR CodeWasChanged) AND
// Low Quality types Metrics' definitions are available here:
// http://www.ndepend.com/Metrics.aspx#MetricsOnTypes
( // Types with too many methods
NbMethods > 20 OR
// Types with too many fields
( NbFields > 20 AND
!IsEnumeration) OR
// Types with poor cohesion
( LCOMHS > 0.95 AND
NbFields > 10 AND
NbMethods > 10) OR
// Complex Types that use more than 50 other types
TypeCe > 50 )
// This rule warns if a type with
// low-quality has been added or refactored.
// With NDepend and such rule, you can
// Ensure Quality From Now! as explained here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/01/ensure-the-quality-of-the-code-that-will-be-developed-this-year.aspx
// To run this rule properly 2 analysis
// must be compared. This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
111 types matched
The following list of types is truncated and contains only the first 100 types of the 111 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | # Methods | # Fields | LCOM Henderson-Sellers (LCOMHS) | Efferent coupling (TypeCe) | Full Name |
|---|---|---|---|---|---|
| types | # Methods | # Fields | LCOM Henderson-Sellers (LCOMHS) | Efferent coupling (TypeCe) | Full Name |
| Runtime | 40 | 5 | 0 | 30 | Sharpen.Runtime |
| HashSet | 25 | 2 | 0.58333 | 13 | Sharpen.Util.HashSet |
| DTrace | 31 | 94 | 0.94167 | 20 | Db4objects.Db4o.DTrace |
| ActivatableDictionary<TKey,TValue> | 42 | 1 | 0.41463 | 32 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> |
| ArrayDictionary4<K,V> | 35 | 4 | 0.85294 | 28 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V> |
| ArrayList4<E> | 70 | 4 | 0.92391 | 35 | Db4objects.Db4o.Collections.ArrayList4<E> |
| ActivatableList<T> | 59 | 1 | 0.94828 | 24 | Db4objects.Db4o.Collections.ActivatableList<T> |
| IoAdapter | 21 | 2 | 0.81818 | 12 | Db4objects.Db4o.IO.IoAdapter |
| CachedIoAdapter | 30 | 11 | 0.86207 | 13 | Db4objects.Db4o.IO.CachedIoAdapter |
| DefragmentConfig | 26 | 13 | 0.932 | 17 | Db4objects.Db4o.Defragment.DefragmentConfig |
| DefragmentServicesImpl | 49 | 10 | 0.91406 | 64 | Db4objects.Db4o.Defragment.DefragmentServicesImpl |
| TreeInt | 25 | 1 | 0.58333 | 20 | Db4objects.Db4o.Internal.TreeInt |
| ObjectContainerBase | 301 | 25 | 0.9783 | 180 | Db4objects.Db4o.Internal.ObjectContainerBase |
| OpenTypeHandler | 28 | 2 | 0.96296 | 49 | Db4objects.Db4o.Internal.OpenTypeHandler |
| PersistentBase | 22 | 0 | 0 | 20 | Db4objects.Db4o.Internal.PersistentBase |
| Config4Impl | 178 | 74 | 0.90042 | 98 | Db4objects.Db4o.Internal.Config4Impl |
| FieldMetadata | 109 | 15 | 0.94444 | 96 | Db4objects.Db4o.Internal.FieldMetadata |
| ExternalObjectContainer | 36 | 0 | 0 | 41 | Db4objects.Db4o.Internal.ExternalObjectContainer |
| LocalObjectContainer | 96 | 12 | 0.96162 | 93 | Db4objects.Db4o.Internal.LocalObjectContainer |
| InMemoryObjectContainer | 23 | 5 | 0.81818 | 32 | Db4objects.Db4o.Internal.InMemoryObjectContainer |
| ObjectReference | 76 | 11 | 0.91273 | 51 | Db4objects.Db4o.Internal.ObjectReference |
| Platform4 | 66 | 7 | 0 | 106 | Db4objects.Db4o.Internal.Platform4 |
| BlobImpl | 23 | 9 | 0.83523 | 29 | Db4objects.Db4o.Internal.BlobImpl |
| ClassMetadata | 209 | 21 | 0.97047 | 154 | Db4objects.Db4o.Internal.ClassMetadata |
| PrimitiveTypeMetadata | 28 | 1 | 0 | 43 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata |
| VirtualFieldMetadata | 25 | 3 | 0.97368 | 33 | Db4objects.Db4o.Internal.VirtualFieldMetadata |
| UUIDFieldMetadata | 15 | 0 | 0 | 51 | Db4objects.Db4o.Internal.UUIDFieldMetadata |
| ByteArrayBuffer | 42 | 3 | 0.62195 | 22 | Db4objects.Db4o.Internal.ByteArrayBuffer |
| TransportObjectContainer | 55 | 2 | 0.89815 | 47 | Db4objects.Db4o.Internal.TransportObjectContainer |
| Config4Class | 42 | 16 | 0.95122 | 29 | Db4objects.Db4o.Internal.Config4Class |
| Transaction | 38 | 8 | 0.93548 | 34 | Db4objects.Db4o.Internal.Transaction |
| SystemData | 31 | 15 | 0.96667 | 8 | Db4objects.Db4o.Internal.SystemData |
| Const4 | 2 | 93 | 0 | 18 | Db4objects.Db4o.Internal.Const4 |
| DefragmentContextImpl | 61 | 5 | 0.79333 | 37 | Db4objects.Db4o.Internal.DefragmentContextImpl |
| TranslatedAspect | 22 | 1 | 0.61905 | 34 | Db4objects.Db4o.Internal.TranslatedAspect |
| LocalTransaction | 32 | 5 | 0.94194 | 47 | Db4objects.Db4o.Internal.LocalTransaction |
| ClassMetadataRepository | 50 | 10 | 0.89796 | 42 | Db4objects.Db4o.Internal.ClassMetadataRepository |
| ObjectContainerSession | 77 | 3 | 0.57456 | 63 | Db4objects.Db4o.Internal.ObjectContainerSession |
| MarshallingBuffer | 38 | 7 | 0.84324 | 22 | Db4objects.Db4o.Internal.MarshallingBuffer |
| Handlers4 | 36 | 13 | 0 | 45 | Db4objects.Db4o.Internal.Handlers4 |
| StatefulBuffer | 32 | 6 | 0.82258 | 17 | Db4objects.Db4o.Internal.StatefulBuffer |
| IoAdaptedObjectContainer | 26 | 5 | 0.88 | 44 | Db4objects.Db4o.Internal.IoAdaptedObjectContainer |
| HandlerRegistry | 47 | 33 | 0.97265 | 78 | Db4objects.Db4o.Internal.HandlerRegistry |
| SlotChange | 25 | 3 | 0.77778 | 21 | Db4objects.Db4o.Internal.Slots.SlotChange |
| MarshallingContext | 51 | 12 | 0.94364 | 36 | Db4objects.Db4o.Internal.Marshall.MarshallingContext |
| FileHeader | 24 | 2 | 0 | 20 | Db4objects.Db4o.Internal.Fileheader.FileHeader |
| IndexedNodeCollector | 28 | 2 | 0.81481 | 20 | Db4objects.Db4o.Internal.Fieldindex.IndexedNodeCollector |
| BigSet<E> | 36 | 2 | 0.87143 | 39 | Db4objects.Db4o.Internal.Collections.BigSet<E> |
| ICallbacks | 22 | 0 | 0 | 9 | Db4objects.Db4o.Internal.Callbacks.ICallbacks |
| NullCallbacks | 23 | 0 | 0 | 10 | Db4objects.Db4o.Internal.Callbacks.NullCallbacks |
| TransactionalIdSystemImpl | 28 | 4 | 0.80556 | 18 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl |
| AbstractFreespaceManager | 33 | 10 | 0.93333 | 27 | Db4objects.Db4o.Internal.Freespace.AbstractFreespaceManager |
| InMemoryFreespaceManager | 25 | 4 | 0.79167 | 30 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager |
| NullFreespaceManager | 22 | 1 | 0 | 10 | Db4objects.Db4o.Internal.Freespace.NullFreespaceManager |
| BlockAwareFreespaceManager | 21 | 2 | 0.45 | 13 | Db4objects.Db4o.Internal.Freespace.BlockAwareFreespaceManager |
| BTreeFreespaceManager | 32 | 8 | 0.83468 | 35 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager |
| CommonConfigurationImpl | 32 | 1 | 0.032258 | 21 | Db4objects.Db4o.Internal.Config.CommonConfigurationImpl |
| EventRegistryImpl | 64 | 19 | 0.96575 | 34 | Db4objects.Db4o.Internal.Events.EventRegistryImpl |
| FileBasedTransactionLogHandler | 23 | 4 | 0.81818 | 21 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler |
| ObjectSetFacade | 32 | 2 | 0.77419 | 22 | Db4objects.Db4o.Internal.Query.ObjectSetFacade |
| NativeQueryHandler | 22 | 4 | 0.91667 | 39 | Db4objects.Db4o.Internal.Query.NativeQueryHandler |
| AbstractQueryResult | 26 | 1 | 0.83333 | 22 | Db4objects.Db4o.Internal.Query.Result.AbstractQueryResult |
| QCandidates | 30 | 8 | 0.90517 | 59 | Db4objects.Db4o.Internal.Query.Processor.QCandidates |
| QQueryBase | 71 | 11 | 0.93247 | 81 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase |
| QCon | 86 | 11 | 0.95059 | 46 | Db4objects.Db4o.Internal.Query.Processor.QCon |
| QConObject | 42 | 8 | 0.87805 | 45 | Db4objects.Db4o.Internal.Query.Processor.QConObject |
| QCandidate | 41 | 10 | 0.86 | 69 | Db4objects.Db4o.Internal.Query.Processor.QCandidate |
| PrimitiveHandler | 29 | 3 | 0.93939 | 35 | Db4objects.Db4o.Internal.Handlers.PrimitiveHandler |
| StringHandler | 29 | 1 | 0.96429 | 44 | Db4objects.Db4o.Internal.Handlers.StringHandler |
| StandardReferenceTypeHandler | 42 | 2 | 0.95122 | 80 | Db4objects.Db4o.Internal.Handlers.StandardReferenceTypeHandler |
| ArrayHandler | 67 | 4 | 0.84343 | 57 | Db4objects.Db4o.Internal.Handlers.Array.ArrayHandler |
| BTree | 73 | 15 | 0.95513 | 71 | Db4objects.Db4o.Internal.Btree.BTree |
| BTreeNode | 103 | 11 | 0.85294 | 38 | Db4objects.Db4o.Internal.Btree.BTreeNode |
| BTreeRangeSingle | 27 | 5 | 0.80769 | 21 | Db4objects.Db4o.Internal.Btree.BTreeRangeSingle |
| GenericCollectionTypeHandler | 25 | 1 | 0 | 48 | Db4objects.Db4o.Typehandlers.GenericCollectionTypeHandler |
| GenericClass | 31 | 13 | 0.88333 | 18 | Db4objects.Db4o.Reflect.Generic.GenericClass |
| KnownClassesRepository | 27 | 9 | 0.875 | 39 | Db4objects.Db4o.Reflect.Generic.KnownClassesRepository |
| GenericReflector | 24 | 7 | 0.90062 | 36 | Db4objects.Db4o.Reflect.Generic.GenericReflector |
| NetClass | 27 | 6 | 0.82692 | 32 | Db4objects.Db4o.Reflect.Net.NetClass |
| Tree | 51 | 3 | 0.58333 | 12 | Db4objects.Db4o.Foundation.Tree |
| HashtableBase | 22 | 6 | 0.79048 | 21 | Db4objects.Db4o.Foundation.HashtableBase |
| Iterators | 46 | 4 | 0 | 44 | Db4objects.Db4o.Foundation.Iterators |
| Hashtable4 | 26 | 0 | 0 | 19 | Db4objects.Db4o.Foundation.Hashtable4 |
| Collection4 | 39 | 4 | 0.86842 | 18 | Db4objects.Db4o.Foundation.Collection4 |
| IConfiguration | 57 | 0 | 0 | 23 | Db4objects.Db4o.Config.IConfiguration |
| ICommonConfiguration | 30 | 0 | 0 | 17 | Db4objects.Db4o.Config.ICommonConfiguration |
| ExpressionTransformer | 25 | 0 | 0 | 39 | Db4objects.Db4o.Linq.Expressions.ExpressionTransformer |
| QueryableTransformer | 22 | 3 | 0.9 | 41 | Db4objects.Db4o.Linq.Expressions.QueryableTransformer |
| ExpressionVisitor | 25 | 0 | 0 | 33 | Db4objects.Db4o.Linq.Expressions.ExpressionVisitor |
| ExpressionQueryBuilder | 25 | 1 | 0.91304 | 39 | Db4objects.Db4o.Linq.Expressions.ExpressionQueryBuilder |
| ExpressionComparison | 22 | 3 | 0.91667 | 28 | Db4objects.Db4o.Linq.Expressions.ExpressionComparison |
| WhereClauseVisitor | 34 | 15 | 0 | 37 | Db4objects.Db4o.Linq.Expressions.WhereClauseVisitor |
| Assert | 43 | 0 | 0 | 16 | Db4oUnit.Assert |
| ObjectServerImpl | 60 | 19 | 0.9548 | 71 | Db4objects.Db4o.CS.Internal.ObjectServerImpl |
| ClientObjectContainer | 123 | 24 | 0.97985 | 168 | Db4objects.Db4o.CS.Internal.ClientObjectContainer |
| ServerMessageDispatcherImpl | 39 | 15 | 0.93684 | 47 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl |
| Msg | 35 | 73 | 0.92647 | 95 | Db4objects.Db4o.CS.Internal.Messages.Msg |
| MsgD | 30 | 1 | 0.37931 | 27 | Db4objects.Db4o.CS.Internal.Messages.MsgD |
| AbstractDb4oTestCase | 73 | 2 | 0.97222 | 53 | Db4oUnit.Extensions.AbstractDb4oTestCase |
| FreespaceManagerForDebug | 21 | 1 | 0.95 | 11 | Db4oUnit.Extensions.FreespaceManagerForDebug |
Statistics
| Stat | # Methods | # Fields | LCOM Henderson-Sellers (LCOMHS) | Efferent coupling (TypeCe) |
|---|---|---|---|---|
| Sum: | 4 833 | 1 013 | 73.828 | 4 477 |
| Average: | 43.541 | 9.1261 | 0.66511 | 40.333 |
| Minimum: | 2 | 0 | 0 | 8 |
| Maximum: | 301 | 94 | 0.97985 | 180 |
| Standard deviation: | 38.176 | 15.814 | 0.37501 | 29.96 |
| Variance: | 1 457 | 250.07 | 0.14063 | 897.57 |
| Rule warning: From now, all methods added or refactored should be 100% covered by tests |
// <Name>From now, all methods added or refactored should be 100% covered by tests</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
// Match methods new or modified since Baseline for Comparison...
(WasAdded OR CodeWasChanged) AND
// ...that are not 100% covered by tests
PercentageCoverage < 100
// This rule warns if a method has been
// added or refactored and hasn't been 100% covered
// by tests. With NDepend and such rule,
// you can Ensure Quality From Now! as explained here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/01/ensure-the-quality-of-the-code-that-will-be-developed-this-year.aspx
// To run this rule properly 2 analysis
// must be compared. This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
// To run this rule properly coverage data
// must be gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
WARN IF Count > 0 IN SELECT METHODS WHERE
// Match methods new or modified since Baseline for Comparison...
(WasAdded OR CodeWasChanged) AND
// ...that are not 100% covered by tests
PercentageCoverage < 100
// This rule warns if a method has been
// added or refactored and hasn't been 100% covered
// by tests. With NDepend and such rule,
// you can Ensure Quality From Now! as explained here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/01/ensure-the-quality-of-the-code-that-will-be-developed-this-year.aspx
// To run this rule properly 2 analysis
// must be compared. This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
// To run this rule properly coverage data
// must be gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
7,805 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 7805 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | Percentage Coverage | Full Name |
|---|---|---|
| methods | Percentage Coverage | Full Name |
| AddAll(IList,IEnumerable) | 60 | Sharpen.Collections.AddAll(IList,IEnumerable) |
| AddAll<T>(ICollection<T>,IEnumerable<T>) | 0 | Sharpen.Collections.AddAll<T>(ICollection<T>,IEnumerable<T>) |
| get_Out() | 0 | Sharpen.Runtime.get_Out() |
| get_Err() | 0 | Sharpen.Runtime.get_Err() |
| GetDeclaredField(Type,String) | 0 | Sharpen.Runtime.GetDeclaredField(Type,String) |
| GetMethod(Type,String,Type[]) | 0 | Sharpen.Runtime.GetMethod(Type,String,Type[]) |
| GetParameterTypes(MethodBase) | 0 | Sharpen.Runtime.GetParameterTypes(MethodBase) |
| FloatToIntBits(Single) | 0 | Sharpen.Runtime.FloatToIntBits(Single) |
| Gc() | 0 | Sharpen.Runtime.Gc() |
| EqualsIgnoreCase(String,String) | 0 | Sharpen.Runtime.EqualsIgnoreCase(String,String) |
| GetBytesForString(String) | 0 | Sharpen.Runtime.GetBytesForString(String) |
| GetStringForBytes(Byte[],Int32,Int32) | 0 | Sharpen.Runtime.GetStringForBytes(Byte[],Int32,Int32) |
| GetStringValueOf(Object) | 0 | Sharpen.Runtime.GetStringValueOf(Object) |
| GetEnvironmentVariable(String,String) | 80 | Sharpen.Runtime.GetEnvironmentVariable(String,String) |
| GetReferenceTarget(WeakReference) | 0 | Sharpen.Runtime.GetReferenceTarget(WeakReference) |
| GetTimeForDate(DateTime) | 0 | Sharpen.Runtime.GetTimeForDate(DateTime) |
| IntBitsToFloat(Int32) | 0 | Sharpen.Runtime.IntBitsToFloat(Int32) |
| Wait(Object,Int64) | 0 | Sharpen.Runtime.Wait(Object,Int64) |
| Notify(Object) | 0 | Sharpen.Runtime.Notify(Object) |
| NotifyAll(Object) | 0 | Sharpen.Runtime.NotifyAll(Object) |
| PrintStackTrace(Exception) | 0 | Sharpen.Runtime.PrintStackTrace(Exception) |
| PrintStackTrace(Exception,TextWriter) | 0 | Sharpen.Runtime.PrintStackTrace(Exception,TextWriter) |
| RunFinalization() | 0 | Sharpen.Runtime.RunFinalization() |
| RunFinalizersOnExit(Boolean) | 0 | Sharpen.Runtime.RunFinalizersOnExit(Boolean) |
| GetType(String) | 0 | Sharpen.Runtime.GetType(String) |
| ToNetTicks(Int64) | 0 | Sharpen.Runtime.ToNetTicks(Int64) |
| get_UnderlyingStream() | 0 | Sharpen.IO.StreamAdaptor.get_UnderlyingStream() |
| Close() | 0 | Sharpen.IO.StreamAdaptor.Close() |
| Read() | 0 | Sharpen.IO.InputStream.Read() |
| Read(Byte[]) | 0 | Sharpen.IO.InputStream.Read(Byte[]) |
| .ctor(File) | 0 | Sharpen.IO.FileInputStream..ctor(File) |
| FlushFileBuffers(SafeFileHandle) | 0 | Sharpen.IO.RandomAccessFile.FlushFileBuffers(SafeFileHandle) |
| Read(Byte[]) | 0 | Sharpen.IO.RandomAccessFile.Read(Byte[]) |
| Write(Byte[]) | 0 | Sharpen.IO.RandomAccessFile.Write(Byte[]) |
| Write(Byte[],Int32,Int32) | 50 | Sharpen.IO.RandomAccessFile.Write(Byte[],Int32,Int32) |
| .ctor(String,String) | 0 | Sharpen.IO.RandomAccessFile..ctor(String,String) |
| op_Implicit(File) | 0 | Sharpen.IO.File.op_Implicit(File) |
| RemoveTrailingSlash(String) | 0 | Sharpen.IO.File.RemoveTrailingSlash(String) |
| GetCanonicalFile() | 0 | Sharpen.IO.File.GetCanonicalFile() |
| GetName() | 0 | Sharpen.IO.File.GetName() |
| GetPath() | 0 | Sharpen.IO.File.GetPath() |
| IsDirectory() | 0 | Sharpen.IO.File.IsDirectory() |
| List() | 0 | Sharpen.IO.File.List() |
| Mkdir() | 0 | Sharpen.IO.File.Mkdir() |
| Mkdirs() | 0 | Sharpen.IO.File.Mkdirs() |
| RenameTo(File) | 0 | Sharpen.IO.File.RenameTo(File) |
| ListFiles(IFilenameFilter) | 0 | Sharpen.IO.File.ListFiles(IFilenameFilter) |
| ToString() | 0 | Sharpen.IO.File.ToString() |
| .ctor(String,String) | 0 | Sharpen.IO.File..ctor(String,String) |
| Read() | 0 | Sharpen.IO.BufferedInputStream.Read() |
| Read(Byte[]) | 0 | Sharpen.IO.BufferedInputStream.Read(Byte[]) |
| Read(Byte[],Int32,Int32) | 0 | Sharpen.IO.BufferedInputStream.Read(Byte[],Int32,Int32) |
| Close() | 0 | Sharpen.IO.BufferedInputStream.Close() |
| .ctor(IInputStream) | 0 | Sharpen.IO.BufferedInputStream..ctor(IInputStream) |
| .ctor(IInputStream,Int32) | 0 | Sharpen.IO.BufferedInputStream..ctor(IInputStream,Int32) |
| Write(Int32) | 0 | Sharpen.IO.OutputStream.Write(Int32) |
| Write(Byte[]) | 0 | Sharpen.IO.OutputStream.Write(Byte[]) |
| .ctor(File) | 0 | Sharpen.IO.FileOutputStream..ctor(File) |
| Size() | 0 | Sharpen.IO.ByteArrayOutputStream.Size() |
| WriteTo(OutputStream) | 0 | Sharpen.IO.ByteArrayOutputStream.WriteTo(OutputStream) |
| ToByteArray() | 0 | Sharpen.IO.ByteArrayOutputStream.ToByteArray() |
| get_Stream() | 0 | Sharpen.IO.ByteArrayOutputStream.get_Stream() |
| .ctor() | 0 | Sharpen.IO.ByteArrayOutputStream..ctor() |
| .ctor(Int32) | 0 | Sharpen.IO.ByteArrayOutputStream..ctor(Int32) |
| .ctor(Byte[]) | 0 | Sharpen.IO.ByteArrayInputStream..ctor(Byte[]) |
| Write(Int32) | 0 | Sharpen.IO.BufferedOutputStream.Write(Int32) |
| Write(Byte[]) | 0 | Sharpen.IO.BufferedOutputStream.Write(Byte[]) |
| Write(Byte[],Int32,Int32) | 0 | Sharpen.IO.BufferedOutputStream.Write(Byte[],Int32,Int32) |
| Flush() | 0 | Sharpen.IO.BufferedOutputStream.Flush() |
| Close() | 0 | Sharpen.IO.BufferedOutputStream.Close() |
| .ctor(IOutputStream) | 0 | Sharpen.IO.BufferedOutputStream..ctor(IOutputStream) |
| .ctor(IOutputStream,Int32) | 0 | Sharpen.IO.BufferedOutputStream..ctor(IOutputStream,Int32) |
| Add(Object) | 0 | Sharpen.Util.HashSet.Add(Object) |
| AddAll(ICollection) | 0 | Sharpen.Util.HashSet.AddAll(ICollection) |
| Clear() | 0 | Sharpen.Util.HashSet.Clear() |
| Contains(Object) | 0 | Sharpen.Util.HashSet.Contains(Object) |
| ContainsAll(ICollection) | 0 | Sharpen.Util.HashSet.ContainsAll(ICollection) |
| get_IsEmpty() | 0 | Sharpen.Util.HashSet.get_IsEmpty() |
| Remove(Object) | 0 | Sharpen.Util.HashSet.Remove(Object) |
| RemoveAll(ICollection) | 0 | Sharpen.Util.HashSet.RemoveAll(ICollection) |
| CopyTo(Array,Int32) | 0 | Sharpen.Util.HashSet.CopyTo(Array,Int32) |
| get_Count() | 0 | Sharpen.Util.HashSet.get_Count() |
| get_IsSynchronized() | 0 | Sharpen.Util.HashSet.get_IsSynchronized() |
| get_SyncRoot() | 0 | Sharpen.Util.HashSet.get_SyncRoot() |
| GetEnumerator() | 0 | Sharpen.Util.HashSet.GetEnumerator() |
| System.Collections.IList.Add(Object) | 0 | Sharpen.Util.HashSet.System.Collections.IList.Add(Object) |
| System.Collections.IList.Remove(Object) | 0 | Sharpen.Util.HashSet.System.Collections.IList.Remove(Object) |
| System.Collections.IList.IndexOf(Object) | 0 | Sharpen.Util.HashSet.System.Collections.IList.IndexOf(Object) |
| System.Collections.IList.Insert(Int32,Object) | 0 | Sharpen.Util.HashSet.System.Collections.IList.Insert(Int32,Object) |
| System.Collections.IList.RemoveAt(Int32) | 0 | Sharpen.Util.HashSet.System.Collections.IList.RemoveAt(Int32) |
| System.Collections.IList.get_Item(Int32) | 0 | Sharpen.Util.HashSet.System.Collections.IList.get_Item(Int32) |
| System.Collections.IList.set_Item(Int32,Object) | 0 | Sharpen.Util.HashSet.System.Collections.IList.set_Item(Int32,Object) |
| System.Collections.IList.get_IsReadOnly() | 0 | Sharpen.Util.HashSet.System.Collections.IList.get_IsReadOnly() |
| System.Collections.IList.get_IsFixedSize() | 0 | Sharpen.Util.HashSet.System.Collections.IList.get_IsFixedSize() |
| .ctor() | 0 | Sharpen.Util.HashSet..ctor() |
| .ctor(ICollection) | 0 | Sharpen.Util.HashSet..ctor(ICollection) |
| NextLong() | 0 | Sharpen.Util.Random.NextLong() |
| NextInt() | 0 | Sharpen.Util.Random.NextInt() |
| NextInt(Int32) | 0 | Sharpen.Util.Random.NextInt(Int32) |
| .ctor() | 0 | Sharpen.Util.Random..ctor() |
Statistics
| Stat | Percentage Coverage |
|---|---|
| Sum: | 64 634 |
| Average: | 8.2811 |
| Minimum: | 0 |
| Maximum: | 96 |
| Standard deviation: | 23.554 |
| Variance: | 554.77 |
| Encapsulation |
|
|
| Rule warning: Fields should be declared as private |
// <Name>Fields should be declared as private</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
!IsPrivate AND
// These conditions filter cases where fields
// doesn't represent state that should be encapsulated.
!IsInFrameworkAssembly AND
!IsGeneratedByCompiler AND
!IsSpecialName AND
!IsInitOnly AND
!IsLiteral AND
!IsEnumValue
WARN IF Count > 0 IN SELECT FIELDS WHERE
!IsPrivate AND
// These conditions filter cases where fields
// doesn't represent state that should be encapsulated.
!IsInFrameworkAssembly AND
!IsGeneratedByCompiler AND
!IsSpecialName AND
!IsInitOnly AND
!IsLiteral AND
!IsEnumValue
337 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 337 fields matched. All matched fields could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
| fields | Size of instance | Full Name |
|---|---|---|
| fields | Size of instance | Full Name |
| _delegate | 4 | Sharpen.Net.SocketWrapper._delegate |
| _simpleName | 4 | Sharpen.Lang.SimpleTypeReference._simpleName |
| _assemblyName | 4 | Sharpen.Lang.SimpleTypeReference._assemblyName |
| _elementType | 4 | Sharpen.Lang.QualifiedTypeReference._elementType |
| Kind | 4 | Sharpen.Lang.Token.Kind |
| Value | 4 | Sharpen.Lang.Token.Value |
| enabled | 0 | Db4objects.Db4o.DTrace.enabled |
| writeToLogFile | 0 | Db4objects.Db4o.DTrace.writeToLogFile |
| writeToConsole | 0 | Db4objects.Db4o.DTrace.writeToConsole |
| _logFile | 0 | Db4objects.Db4o.DTrace._logFile |
| _eventNr | 0 | Db4objects.Db4o.DTrace._eventNr |
| AddToClassIndex | 0 | Db4objects.Db4o.DTrace.AddToClassIndex |
| BeginTopLevelCall | 0 | Db4objects.Db4o.DTrace.BeginTopLevelCall |
| Bind | 0 | Db4objects.Db4o.DTrace.Bind |
| BlockingQueueStoppedException | 0 | Db4objects.Db4o.DTrace.BlockingQueueStoppedException |
| BtreeNodeCommitOrRollback | 0 | Db4objects.Db4o.DTrace.BtreeNodeCommitOrRollback |
| BtreeNodeRemove | 0 | Db4objects.Db4o.DTrace.BtreeNodeRemove |
| BtreeProduceNode | 0 | Db4objects.Db4o.DTrace.BtreeProduceNode |
| CandidateRead | 0 | Db4objects.Db4o.DTrace.CandidateRead |
| ClassmetadataById | 0 | Db4objects.Db4o.DTrace.ClassmetadataById |
| ClassmetadataInit | 0 | Db4objects.Db4o.DTrace.ClassmetadataInit |
| ClientMessageLoopException | 0 | Db4objects.Db4o.DTrace.ClientMessageLoopException |
| Close | 0 | Db4objects.Db4o.DTrace.Close |
| CloseCalled | 0 | Db4objects.Db4o.DTrace.CloseCalled |
| CollectChildren | 0 | Db4objects.Db4o.DTrace.CollectChildren |
| Commit | 0 | Db4objects.Db4o.DTrace.Commit |
| Continueset | 0 | Db4objects.Db4o.DTrace.Continueset |
| CreateCandidate | 0 | Db4objects.Db4o.DTrace.CreateCandidate |
| Delete | 0 | Db4objects.Db4o.DTrace.Delete |
| Donotinclude | 0 | Db4objects.Db4o.DTrace.Donotinclude |
| EndTopLevelCall | 0 | Db4objects.Db4o.DTrace.EndTopLevelCall |
| EvaluateSelf | 0 | Db4objects.Db4o.DTrace.EvaluateSelf |
| FatalException | 0 | Db4objects.Db4o.DTrace.FatalException |
| FileFree | 0 | Db4objects.Db4o.DTrace.FileFree |
| Free | 0 | Db4objects.Db4o.DTrace.Free |
| FreespacemanagerGetSlot | 0 | Db4objects.Db4o.DTrace.FreespacemanagerGetSlot |
| FreespacemanagerRamFree | 0 | Db4objects.Db4o.DTrace.FreespacemanagerRamFree |
| FreespacemanagerBtreeFree | 0 | Db4objects.Db4o.DTrace.FreespacemanagerBtreeFree |
| FreeOnCommit | 0 | Db4objects.Db4o.DTrace.FreeOnCommit |
| FreeOnRollback | 0 | Db4objects.Db4o.DTrace.FreeOnRollback |
| FreePointerOnRollback | 0 | Db4objects.Db4o.DTrace.FreePointerOnRollback |
| GetSlot | 0 | Db4objects.Db4o.DTrace.GetSlot |
| GetPointerSlot | 0 | Db4objects.Db4o.DTrace.GetPointerSlot |
| GetFreespaceRam | 0 | Db4objects.Db4o.DTrace.GetFreespaceRam |
| GetYapobject | 0 | Db4objects.Db4o.DTrace.GetYapobject |
| IdTreeAdd | 0 | Db4objects.Db4o.DTrace.IdTreeAdd |
| IdTreeRemove | 0 | Db4objects.Db4o.DTrace.IdTreeRemove |
| IoCopy | 0 | Db4objects.Db4o.DTrace.IoCopy |
| JustSet | 0 | Db4objects.Db4o.DTrace.JustSet |
| NewInstance | 0 | Db4objects.Db4o.DTrace.NewInstance |
| NotifySlotCreated | 0 | Db4objects.Db4o.DTrace.NotifySlotCreated |
| NotifySlotUpdated | 0 | Db4objects.Db4o.DTrace.NotifySlotUpdated |
| NotifySlotDeleted | 0 | Db4objects.Db4o.DTrace.NotifySlotDeleted |
| ObjectReferenceCreated | 0 | Db4objects.Db4o.DTrace.ObjectReferenceCreated |
| PersistentBaseNewSlot | 0 | Db4objects.Db4o.DTrace.PersistentBaseNewSlot |
| PersistentOwnLength | 0 | Db4objects.Db4o.DTrace.PersistentOwnLength |
| PersistentbaseSetId | 0 | Db4objects.Db4o.DTrace.PersistentbaseSetId |
| PersistentbaseWrite | 0 | Db4objects.Db4o.DTrace.PersistentbaseWrite |
| ProduceSlotChange | 0 | Db4objects.Db4o.DTrace.ProduceSlotChange |
| QueryProcess | 0 | Db4objects.Db4o.DTrace.QueryProcess |
| ReadArrayWrapper | 0 | Db4objects.Db4o.DTrace.ReadArrayWrapper |
| ReadBytes | 0 | Db4objects.Db4o.DTrace.ReadBytes |
| ReadSlot | 0 | Db4objects.Db4o.DTrace.ReadSlot |
| ReferenceRemoved | 0 | Db4objects.Db4o.DTrace.ReferenceRemoved |
| RegularSeek | 0 | Db4objects.Db4o.DTrace.RegularSeek |
| RemoveFromClassIndex | 0 | Db4objects.Db4o.DTrace.RemoveFromClassIndex |
| RereadOldUuid | 0 | Db4objects.Db4o.DTrace.RereadOldUuid |
| ServerMessageLoopException | 0 | Db4objects.Db4o.DTrace.ServerMessageLoopException |
| SlotMapped | 0 | Db4objects.Db4o.DTrace.SlotMapped |
| SlotCommitted | 0 | Db4objects.Db4o.DTrace.SlotCommitted |
| SlotFreeOnCommit | 0 | Db4objects.Db4o.DTrace.SlotFreeOnCommit |
| SlotFreeOnRollbackId | 0 | Db4objects.Db4o.DTrace.SlotFreeOnRollbackId |
| SlotFreeOnRollbackAddress | 0 | Db4objects.Db4o.DTrace.SlotFreeOnRollbackAddress |
| SlotRead | 0 | Db4objects.Db4o.DTrace.SlotRead |
| TransCommit | 0 | Db4objects.Db4o.DTrace.TransCommit |
| TransDontDelete | 0 | Db4objects.Db4o.DTrace.TransDontDelete |
| TransDelete | 0 | Db4objects.Db4o.DTrace.TransDelete |
| TransFlush | 0 | Db4objects.Db4o.DTrace.TransFlush |
| WriteBytes | 0 | Db4objects.Db4o.DTrace.WriteBytes |
| WritePointer | 0 | Db4objects.Db4o.DTrace.WritePointer |
| WriteXbytes | 0 | Db4objects.Db4o.DTrace.WriteXbytes |
| WriteUpdateAdjustIndexes | 0 | Db4objects.Db4o.DTrace.WriteUpdateAdjustIndexes |
| name | 4 | Db4objects.Db4o.User.name |
| password | 4 | Db4objects.Db4o.User.password |
| rClass | 4 | Db4objects.Db4o.Rename.rClass |
| rFrom | 4 | Db4objects.Db4o.Rename.rFrom |
| rTo | 4 | Db4objects.Db4o.Rename.rTo |
| i_db | 4 | Db4objects.Db4o.PBootRecord.i_db |
| i_versionGenerator | 8 | Db4objects.Db4o.PBootRecord.i_versionGenerator |
| i_uuidMetaIndex | 4 | Db4objects.Db4o.PBootRecord.i_uuidMetaIndex |
| name | 4 | Db4objects.Db4o.StaticClass.name |
| fields | 4 | Db4objects.Db4o.StaticClass.fields |
| indexAddress | 4 | Db4objects.Db4o.MetaIndex.indexAddress |
| indexEntries | 4 | Db4objects.Db4o.MetaIndex.indexEntries |
| indexLength | 4 | Db4objects.Db4o.MetaIndex.indexLength |
| name | 4 | Db4objects.Db4o.MetaClass.name |
| fields | 4 | Db4objects.Db4o.MetaClass.fields |
| name | 4 | Db4objects.Db4o.StaticField.name |
| value | 4 | Db4objects.Db4o.StaticField.value |
| name | 4 | Db4objects.Db4o.MetaField.name |
Statistics
| Stat | Size of instance |
|---|---|
| Sum: | 953 |
| Average: | 2.8279 |
| Minimum: | 0 |
| Maximum: | 8 |
| Standard deviation: | 2.028 |
| Variance: | 4.1128 |
| Methods Optimal Encapsulation |
|
|
| Rule warning: Methods that could be declared as 'internal' in C#, 'Friend' in VB.NET |
// <Name>Methods that could be declared as 'internal' in C#, 'Friend' in VB.NET</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBeInternal AND
// Eliminate default constructor from the result.
// Whatever the visibility of the declaring class,
// default constructors are public and introduce noise
// in the current rule.
! ( IsConstructor AND
IsPublic AND
NbILInstructions == 3)
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBeInternal AND
// Eliminate default constructor from the result.
// Whatever the visibility of the declaring class,
// default constructors are public and introduce noise
// in the current rule.
! ( IsConstructor AND
IsPublic AND
NbILInstructions == 3)
1,381 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 1381 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| Remove(IDictionary,Object) | 3 | Sharpen.Collections.Remove(IDictionary,Object) |
| ToArray(ICollection) | 3 | Sharpen.Collections.ToArray(ICollection) |
| ToArray<T>(ICollection,T[]) | 2 | Sharpen.Collections.ToArray<T>(ICollection,T[]) |
| ToArray<T>(ICollection<T>,T[]) | 2 | Sharpen.Collections.ToArray<T>(ICollection<T>,T[]) |
| GetArrayLength(Object) | 1 | Sharpen.Runtime.GetArrayLength(Object) |
| SetArrayValue(Object,Int32,Object) | 1 | Sharpen.Runtime.SetArrayValue(Object,Int32,Object) |
| GetDeclaredField(Type,String) | 1 | Sharpen.Runtime.GetDeclaredField(Type,String) |
| GetDeclaredFields(Type) | 1 | Sharpen.Runtime.GetDeclaredFields(Type) |
| FloatToIntBits(Single) | 1 | Sharpen.Runtime.FloatToIntBits(Single) |
| Gc() | 1 | Sharpen.Runtime.Gc() |
| GetCharsForString(String,Int32,Int32,Char[],Int32) | 1 | Sharpen.Runtime.GetCharsForString(String,Int32,Int32,Char[],Int32) |
| IdentityHashCode(Object) | 1 | Sharpen.Runtime.IdentityHashCode(Object) |
| IntBitsToFloat(Int32) | 1 | Sharpen.Runtime.IntBitsToFloat(Int32) |
| PrintStackTrace(Exception,TextWriter) | 1 | Sharpen.Runtime.PrintStackTrace(Exception,TextWriter) |
| RunFinalization() | 1 | Sharpen.Runtime.RunFinalization() |
| get_Stream() | 1 | Sharpen.IO.RandomAccessFile.get_Stream() |
| Close() | 1 | Sharpen.IO.RandomAccessFile.Close() |
| Length() | 1 | Sharpen.IO.RandomAccessFile.Length() |
| Read(Byte[],Int32,Int32) | 1 | Sharpen.IO.RandomAccessFile.Read(Byte[],Int32,Int32) |
| Seek(Int64) | 1 | Sharpen.IO.RandomAccessFile.Seek(Int64) |
| Sync() | 2 | Sharpen.IO.RandomAccessFile.Sync() |
| GetFD() | 1 | Sharpen.IO.RandomAccessFile.GetFD() |
| Write(Byte[]) | 1 | Sharpen.IO.RandomAccessFile.Write(Byte[]) |
| Write(Byte[],Int32,Int32) | 3 | Sharpen.IO.RandomAccessFile.Write(Byte[],Int32,Int32) |
| .ctor(String,Boolean,Boolean) | 2 | Sharpen.IO.RandomAccessFile..ctor(String,Boolean,Boolean) |
| .ctor(String,String) | 1 | Sharpen.IO.RandomAccessFile..ctor(String,String) |
| Mkdirs() | 6 | Sharpen.IO.File.Mkdirs() |
| .ctor(String,String) | 2 | Sharpen.IO.File..ctor(String,String) |
| Fill<T>(T[],T) | 4 | Sharpen.Util.Arrays.Fill<T>(T[],T) |
| Fill<T>(T[],Int32,Int32,T) | 4 | Sharpen.Util.Arrays.Fill<T>(T[],Int32,Int32,T) |
| Equals<T>(T[],T[]) | 12 | Sharpen.Util.Arrays.Equals<T>(T[],T[]) |
| .ctor(Socket) | 2 | Sharpen.Net.Socket..ctor(Socket) |
| .ctor(TypeReference) | 1 | Sharpen.Lang.PointerTypeReference..ctor(TypeReference) |
| MakeArrayType(Type,Int32) | 3 | Sharpen.Lang.ArrayTypeReference.MakeArrayType(Type,Int32) |
| .ctor(TokenKind,String) | 3 | Sharpen.Lang.Token..ctor(TokenKind,String) |
| NextToken() | 19 | Sharpen.Lang.TypeReferenceLexer.NextToken() |
| .ctor(String) | 6 | Sharpen.Lang.TypeReferenceLexer..ctor(String) |
| Sleep(Int64) | 1 | Sharpen.Lang.Thread.Sleep(Int64) |
| Join(Int32) | 3 | Sharpen.Lang.Thread.Join(Int32) |
| SetDaemon(Boolean) | 1 | Sharpen.Lang.Thread.SetDaemon(Boolean) |
| IdentityHashCode(Object) | 1 | Sharpen.Lang.IdentityHashCodeProvider.IdentityHashCode(Object) |
| Parse() | 10 | Sharpen.Lang.TypeReferenceParser.Parse() |
| .ctor(String) | 3 | Sharpen.Lang.TypeReferenceParser..ctor(String) |
| Get() | 3 | Sharpen.Lang.ThreadLocal.Get() |
| Set(Object) | 3 | Sharpen.Lang.ThreadLocal.Set(Object) |
| IsField() | 1 | Db4objects.Db4o.Rename.IsField() |
| .ctor(String,String,String) | 4 | Db4objects.Db4o.Rename..ctor(String,String,String) |
| .ctor() | 1 | Db4objects.Db4o.StaticClass..ctor() |
| .ctor(String,StaticField[]) | 3 | Db4objects.Db4o.StaticClass..ctor(String,StaticField[]) |
| .ctor() | 1 | Db4objects.Db4o.StaticField..ctor() |
| .ctor(String,Object) | 3 | Db4objects.Db4o.StaticField..ctor(String,Object) |
| ExceedsMaximumBlockSize(Int32) | 3 | Db4objects.Db4o.Debug4.ExceedsMaximumBlockSize(Int32) |
| ExceedsMaximumArrayEntries(Int32,Boolean) | 3 | Db4objects.Db4o.Debug4.ExceedsMaximumArrayEntries(Int32,Boolean) |
| .ctor() | 3 | Db4objects.Db4o.Ext.MemoryFile..ctor() |
| .ctor(String) | 1 | Db4objects.Db4o.Ext.ObjectNotStorableException..ctor(String) |
| .ctor(String,Exception) | 1 | Db4objects.Db4o.Ext.DatabaseFileLockedException..ctor(String,Exception ) |
| .ctor() | 1 | Db4objects.Db4o.Ext.IncompatibleFileFormatException..ctor() |
| .ctor(String) | 1 | Db4objects.Db4o.Ext.IncompatibleFileFormatException..ctor(String) |
| .ctor(String) | 1 | Db4objects.Db4o.Ext.Db4oIllegalStateException..ctor(String) |
| .ctor(Int32) | 1 | Db4objects.Db4o.Ext.InvalidIDException..ctor(Int32) |
| .ctor(String) | 1 | Db4objects.Db4o.Ext.InvalidSlotException..ctor(String) |
| .ctor(Int32,Int32,Int32) | 1 | Db4objects.Db4o.Ext.InvalidSlotException..ctor(Int32,Int32,Int32) |
| Generate() | 3 | Db4objects.Db4o.Ext.Db4oDatabase.Generate() |
| .ctor(Int64,Byte[]) | 3 | Db4objects.Db4o.Ext.Db4oUUID..ctor(Int64,Byte[]) |
| .ctor() | 1 | Db4objects.Db4o.Ext.OldFormatException..ctor() |
| .ctor(Transaction,CallbackObjectInfoCollections) | 2 | Db4objects.Db4o.Events.CommitEventArgs..ctor(Transaction ,CallbackObjectInfoCollections) |
| .ctor(Transaction,IQuery) | 2 | Db4objects.Db4o.Events.QueryEventArgs..ctor(Transaction,IQuery) |
| .ctor(IObjectContainer) | 2 | Db4objects.Db4o.Events.ObjectContainerEventArgs..ctor(IObjectContainer ) |
| .ctor(Exception) | 1 | Db4objects.Db4o.Events.EventException..ctor(Exception) |
| .ctor(ClassMetadata) | 2 | Db4objects.Db4o.Events.ClassEventArgs..ctor(ClassMetadata) |
| .ctor(Transaction,IObjectInfo,Object) | 2 | Db4objects.Db4o.Events.CancellableObjectEventArgs..ctor(Transaction ,IObjectInfo,Object) |
| OnEvent(Object,ObjectInfoEventArgs) | 1 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_45 .OnEvent(Object,ObjectInfoEventArgs) |
| .ctor(TransparentActivationSupport) | 2 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_45. .ctor(TransparentActivationSupport) |
| OnEvent(Object,ObjectInfoEventArgs) | 1 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_50 .OnEvent(Object,ObjectInfoEventArgs) |
| .ctor(TransparentActivationSupport) | 2 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_50. .ctor(TransparentActivationSupport) |
| OnEvent(Object,ObjectContainerEventArgs) | 4 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_56 .OnEvent(Object,ObjectContainerEventArgs) |
| .ctor(TransparentActivationSupport) | 2 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_56. .ctor(TransparentActivationSupport) |
| OnEvent(Object,ClassEventArgs) | 2 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_67 .OnEvent(Object,ClassEventArgs) |
| .ctor(TransparentActivationSupport+TADiagnosticProcessor) | 2 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_67. .ctor(TransparentActivationSupport+TADiagnosticProcessor) |
| .ctor(TransparentActivationSupport) | 2 | Db4objects.Db4o.TA.TransparentActivationSupport+_IVisitor4_95..ctor (TransparentActivationSupport) |
| OnClassRegistered(ClassMetadata) | 8 | Db4objects.Db4o.TA.TransparentActivationSupport+TADiagnosticProcessor .OnClassRegistered(ClassMetadata) |
| .ctor(TransparentActivationSupport,IInternalObjectContainer) | 3 | Db4objects.Db4o.TA.TransparentActivationSupport+TADiagnosticProcessor. .ctor(TransparentActivationSupport,IInternalObjectContainer) |
| .ctor(ClassMetadata) | 2 | Db4objects.Db4o.TA.NotTransparentActivationEnabled..ctor(ClassMetadata ) |
| .ctor(Transaction,ObjectReference) | 3 | Db4objects.Db4o.TA.TransactionalActivator..ctor(Transaction ,ObjectReference) |
| .ctor(IBin,ICache4,Int32,Int32) | 8 | Db4objects.Db4o.IO.CachingBin..ctor(IBin,ICache4,Int32,Int32) |
| .ctor(CachingBin) | 2 | Db4objects.Db4o.IO.CachingBin+_IProcedure4_22..ctor(CachingBin) |
| .ctor(CachingBin) | 2 | Db4objects.Db4o.IO.CachingBin+_IFunction4_128..ctor(CachingBin) |
| .ctor(CachingBin) | 2 | Db4objects.Db4o.IO.CachingBin+_IFunction4_137..ctor(CachingBin) |
| .ctor(Int32) | 4 | Db4objects.Db4o.IO.CachingBin+Page..ctor(Int32) |
| .ctor(BlockAwareBin,Int32,Int32) | 5 | Db4objects.Db4o.IO.BlockAwareBinWindow..ctor(BlockAwareBin,Int32,Int32 ) |
| .ctor(IBin) | 1 | Db4objects.Db4o.IO.SynchronizedBin..ctor(IBin) |
| .ctor(IoAdapter) | 2 | Db4objects.Db4o.IO.IoAdapterStorage..ctor(IoAdapter) |
| .ctor(IoAdapter) | 2 | Db4objects.Db4o.IO.IoAdapterStorage+IoAdapterBin..ctor(IoAdapter) |
| NewRandomAccessFile(String,Boolean,Boolean) | 13 | Db4objects.Db4o.IO.RandomAccessFileFactory.NewRandomAccessFile(String ,Boolean,Boolean) |
| .ctor(String,Boolean,Int64,Boolean) | 5 | Db4objects.Db4o.IO.BinConfiguration..ctor(String,Boolean,Int64,Boolean ) |
| .ctor(IStorage) | 1 | Db4objects.Db4o.IO.NonFlushingStorage..ctor(IStorage) |
| .ctor(IBin) | 1 | Db4objects.Db4o.IO.NonFlushingStorage+NonFlushingBin..ctor(IBin) |
| .ctor(IStorage) | 1 | Db4objects.Db4o.IO.CachingStorage..ctor(IStorage) |
| .ctor(IBin,ICache4,Int32,Int32) | 1 | Db4objects.Db4o.IO.CachingStorage+NonFlushingCachingBin..ctor(IBin ,ICache4,Int32,Int32) |
| .ctor(IBin) | 2 | Db4objects.Db4o.IO.BlockAwareBin..ctor(IBin) |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 3 721 |
| Average: | 2.6944 |
| Minimum: | 0 |
| Maximum: | 29 |
| Standard deviation: | 2.5882 |
| Variance: | 6.6988 |
| Rule warning: Methods that could be declared as 'protected' in C#, 'Protected' in VB.NET |
// <Name>Methods that could be declared as 'protected' in C#, 'Protected' in VB.NET</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBeProtected
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBeProtected
15 methods matched
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| .ctor() | 1 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+DbSelector..ctor() |
| .ctor(Config4Impl) | 2 | Db4objects.Db4o.Internal.TypeHandlerConfiguration..ctor(Config4Impl) |
| .ctor() | N/A | Db4objects.Db4o.Internal.TransactionLocal..ctor() |
| .ctor(IMarshallingInfo) | 3 | Db4objects.Db4o.Internal.Metadata.MarshallingInfoTraverseAspectCommand ..ctor(IMarshallingInfo) |
| .ctor(Transaction,IdObjectCollector,ObjectHeader,IReadBuffer) | 2 | Db4objects.Db4o.Internal.Marshall.CollectIdContext..ctor(Transaction ,IdObjectCollector,ObjectHeader,IReadBuffer) |
| .ctor() | 1 | Db4objects.Db4o.Internal.Query.DelegateEnvelope..ctor() |
| .ctor(Delegate) | 3 | Db4objects.Db4o.Internal.Query.DelegateEnvelope..ctor(Delegate) |
| .ctor(FieldInfo,Type,Type[]) | 4 | Db4objects.Db4o.Internal.Reflect.Emitters.Emitter..ctor(FieldInfo,Type ,Type[]) |
| .ctor(Int32,Object,Object) | 2 | Db4objects.Db4o.Foundation.HashtableObjectEntry..ctor(Int32,Object ,Object) |
| .ctor() | 1 | Db4objects.Db4o.Foundation.HashtableObjectEntry..ctor() |
| .ctor() | 1 | Db4objects.Db4o.Foundation.DynamicVariable..ctor() |
| get_Recorder() | 1 | Db4objects.Db4o.Linq.Expressions.ExpressionQueryBuilder.get_Recorder() |
| .ctor(ITest) | 2 | Db4oUnit.TestDecorationAdapter..ctor(ITest) |
| .ctor(Int32) | 3 | Db4objects.Db4o.CS.Internal.Objectexchange.FixedSizeIntIterator4Base. .ctor(Int32) |
| .ctor() | N/A | Db4objects.Db4o.NativeQueries.Expr.TraversingExpressionVisitor..ctor() |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 26 |
| Average: | 1.7333 |
| Minimum: | 0 |
| Maximum: | 4 |
| Standard deviation: | 1.1235 |
| Variance: | 1.2622 |
| Rule warning: Methods that could be declared as 'private' in C#, 'Private' in VB.NET |
// <Name>Methods that could be declared as 'private' in C#, 'Private' in VB.NET</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBePrivate
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBePrivate
765 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 765 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| AddAll<T>(ICollection<T>,IEnumerable<T>) | 6 | Sharpen.Collections.AddAll<T>(ICollection<T>,IEnumerable<T>) |
| .ctor() | N/A | Sharpen.Collections..ctor() |
| GetMethod(Type,String,Type[]) | 1 | Sharpen.Runtime.GetMethod(Type,String,Type[]) |
| EqualsIgnoreCase(String,String) | 1 | Sharpen.Runtime.EqualsIgnoreCase(String,String) |
| GetBytesForString(String) | 1 | Sharpen.Runtime.GetBytesForString(String) |
| GetStringForBytes(Byte[],Int32,Int32) | 1 | Sharpen.Runtime.GetStringForBytes(Byte[],Int32,Int32) |
| GetStringValueOf(Object) | 1 | Sharpen.Runtime.GetStringValueOf(Object) |
| GetProperty(String,String) | 1 | Sharpen.Runtime.GetProperty(String,String) |
| GetEnvironmentVariable(String,String) | 4 | Sharpen.Runtime.GetEnvironmentVariable(String,String) |
| GetReferenceTarget(WeakReference) | 1 | Sharpen.Runtime.GetReferenceTarget(WeakReference) |
| GetTimeForDate(DateTime) | 1 | Sharpen.Runtime.GetTimeForDate(DateTime) |
| Wait(Object,Int64) | 1 | Sharpen.Runtime.Wait(Object,Int64) |
| Notify(Object) | 1 | Sharpen.Runtime.Notify(Object) |
| NotifyAll(Object) | 1 | Sharpen.Runtime.NotifyAll(Object) |
| RunFinalizersOnExit(Boolean) | 0 | Sharpen.Runtime.RunFinalizersOnExit(Boolean) |
| ToJavaMilliseconds(DateTime) | 1 | Sharpen.Runtime.ToJavaMilliseconds(DateTime) |
| ToJavaMilliseconds(Int64) | 1 | Sharpen.Runtime.ToJavaMilliseconds(Int64) |
| ToNetTicks(Int64) | 1 | Sharpen.Runtime.ToNetTicks(Int64) |
| .ctor() | N/A | Sharpen.Runtime..ctor() |
| Read(Byte[]) | 1 | Sharpen.IO.RandomAccessFile.Read(Byte[]) |
| GetCanonicalFile() | 1 | Sharpen.IO.File.GetCanonicalFile() |
| Mkdir() | 4 | Sharpen.IO.File.Mkdir() |
| RenameTo(File) | 1 | Sharpen.IO.File.RenameTo(File) |
| .ctor(IInputStream,Int32) | 2 | Sharpen.IO.BufferedInputStream..ctor(IInputStream,Int32) |
| Size() | 1 | Sharpen.IO.ByteArrayOutputStream.Size() |
| WriteTo(OutputStream) | 1 | Sharpen.IO.ByteArrayOutputStream.WriteTo(OutputStream) |
| .ctor(Int32) | 1 | Sharpen.IO.ByteArrayOutputStream..ctor(Int32) |
| .ctor(IOutputStream,Int32) | 2 | Sharpen.IO.BufferedOutputStream..ctor(IOutputStream,Int32) |
| AddAll(ICollection) | 6 | Sharpen.Util.HashSet.AddAll(ICollection) |
| ContainsAll(ICollection) | 6 | Sharpen.Util.HashSet.ContainsAll(ICollection) |
| get_IsEmpty() | 1 | Sharpen.Util.HashSet.get_IsEmpty() |
| RemoveAll(ICollection) | 6 | Sharpen.Util.HashSet.RemoveAll(ICollection) |
| .ctor(ICollection) | 3 | Sharpen.Util.HashSet..ctor(ICollection) |
| NextLong() | 1 | Sharpen.Util.Random.NextLong() |
| NextInt() | 1 | Sharpen.Util.Random.NextInt() |
| NextInt(Int32) | 1 | Sharpen.Util.Random.NextInt(Int32) |
| .ctor() | 2 | Sharpen.Util.Random..ctor() |
| .ctor() | N/A | Sharpen.Util.Arrays..ctor() |
| get_Rank() | 1 | Sharpen.Lang.ArrayTypeReference.get_Rank() |
| get_GenericArguments() | 1 | Sharpen.Lang.GenericTypeReference.get_GenericArguments() |
| GetName() | 1 | Sharpen.Lang.Thread.GetName() |
| IsDaemon() | 1 | Sharpen.Lang.Thread.IsDaemon() |
| .ctor() | 2 | Sharpen.Lang.Thread..ctor() |
| .ctor(Thread) | 2 | Sharpen.Lang.Thread..ctor(Thread) |
| .ctor() | N/A | Sharpen.Lang.IdentityHashCodeProvider..ctor() |
| ParseAssemblyName() | 19 | Sharpen.Lang.TypeReferenceParser.ParseAssemblyName() |
| .ctor() | N/A | Sharpen.Lang.Reflect.__fixme__..ctor() |
| AddRange(Int64) | 2 | Db4objects.Db4o.DTrace.AddRange(Int64) |
| AddRangeWithLength(Int64,Int64) | 2 | Db4objects.Db4o.DTrace.AddRangeWithLength(Int64,Int64) |
| AddRangeWithEnd(Int64,Int64) | 7 | Db4objects.Db4o.DTrace.AddRangeWithEnd(Int64,Int64) |
| NoWarnings() | 2 | Db4objects.Db4o.DTrace.NoWarnings() |
| .ctor() | 1 | Db4objects.Db4o.TransientAttribute..ctor() |
| .ctor() | 1 | Db4objects.Db4o.User..ctor() |
| .ctor() | 1 | Db4objects.Db4o.Rename..ctor() |
| OpenFile(String) | 1 | Db4objects.Db4o.Db4oEmbedded.OpenFile(String) |
| .ctor() | N/A | Db4objects.Db4o.Db4oEmbedded..ctor() |
| GetProperty(Object,String) | 6 | Db4objects.Db4o.Dynamic.GetProperty(Object,String) |
| SetProperty(Object,String,Object) | 5 | Db4objects.Db4o.Dynamic.SetProperty(Object,String,Object) |
| .ctor() | N/A | Db4objects.Db4o.Dynamic..ctor() |
| .ctor() | N/A | Db4objects.Db4o.Deploy..ctor() |
| .ctor() | N/A | Db4objects.Db4o.Db4oVersion..ctor() |
| .ctor() | N/A | Db4objects.Db4o.Compat..ctor() |
| .ctor() | N/A | Db4objects.Db4o.MetaIndex..ctor() |
| .ctor() | N/A | Db4objects.Db4o.CorruptionException..ctor() |
| .ctor() | N/A | Db4objects.Db4o.MetaClass..ctor() |
| .ctor() | N/A | Db4objects.Db4o.MetaField..ctor() |
| Expect(Boolean) | 2 | Db4objects.Db4o.Debug4.Expect(Boolean) |
| EnsureLock(Object) | 0 | Db4objects.Db4o.Debug4.EnsureLock(Object) |
| ReadBegin(IReadBuffer,Byte) | 0 | Db4objects.Db4o.Debug4.ReadBegin(IReadBuffer,Byte) |
| ReadEnd(IReadBuffer) | 1 | Db4objects.Db4o.Debug4.ReadEnd(IReadBuffer) |
| WriteBegin(IWriteBuffer,Byte) | 0 | Db4objects.Db4o.Debug4.WriteBegin(IWriteBuffer,Byte) |
| WriteEnd(IWriteBuffer) | 1 | Db4objects.Db4o.Debug4.WriteEnd(IWriteBuffer) |
| .ctor(Byte[]) | 4 | Db4objects.Db4o.Ext.MemoryFile..ctor(Byte[]) |
| .ctor() | N/A | Db4objects.Db4o.Ext.Status..ctor() |
| .ctor(Exception) | 1 | Db4objects.Db4o.Ext.Db4oUnexpectedException..ctor(Exception) |
| .ctor(String) | 1 | Db4objects.Db4o.Ext.DatabaseFileLockedException..ctor(String) |
| .ctor(Exception) | 1 | Db4objects.Db4o.Ext.Db4oIllegalStateException..ctor(Exception) |
| .ctor() | N/A | Db4objects.Db4o.Ext.VirtualField..ctor() |
| .ctor(Exception) | 1 | Db4objects.Db4o.Ext.InvalidIDException..ctor(Exception) |
| .ctor() | 1 | Db4objects.Db4o.Ext.Db4oDatabase..ctor() |
| .ctor(Byte[],Int64) | 3 | Db4objects.Db4o.Ext.Db4oDatabase..ctor(Byte[],Int64) |
| OpenMemoryFile(MemoryFile) | 1 | Db4objects.Db4o.Ext.ExtDb4oFactory.OpenMemoryFile(MemoryFile) |
| OpenMemoryFile(IConfiguration,MemoryFile) | 1 | Db4objects.Db4o.Ext.ExtDb4oFactory.OpenMemoryFile(IConfiguration ,MemoryFile) |
| .ctor() | N/A | Db4objects.Db4o.Ext.ExtDb4oFactory..ctor() |
| .ctor() | 1 | Db4objects.Db4o.Query.Predicate..ctor() |
| .ctor(Type) | 3 | Db4objects.Db4o.Query.Predicate..ctor(Type) |
| IsFilterMethod(MethodInfo) | 3 | Db4objects.Db4o.Query.PredicatePlatform.IsFilterMethod(MethodInfo) |
| GetField<T>(Object,String) | 1 | Db4objects.Db4o.Query.PredicatePlatform.GetField<T>(Object,String) |
| .ctor() | N/A | Db4objects.Db4o.Query.PredicatePlatform..ctor() |
| get_Values() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_Values() |
| ContainsValue(TValue) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .ContainsValue(TValue) |
| get_Comparer() | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_Comparer() |
| .ctor() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor() |
| .ctor(IEqualityComparer<TKey>) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IEqualityComparer<TKey>) |
| .ctor(IDictionary<TKey,TValue>,IEqualityComparer<TKey>) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IDictionary<TKey,TValue>,IEqualityComparer<TKey>) |
| .ctor(IDictionary<TKey,TValue>) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IDictionary<TKey,TValue>) |
| .ctor(Int32) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (Int32) |
| .ctor(Int32,IEqualityComparer<TKey>) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (Int32,IEqualityComparer<TKey>) |
| .ctor(SerializationInfo,StreamingContext) | 5 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (SerializationInfo,StreamingContext) |
| ForObjectContainer(IObjectContainer) | 3 | Db4objects.Db4o.Collections.CollectionFactory.ForObjectContainer (IObjectContainer) |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 1 596 |
| Average: | 2.0863 |
| Minimum: | 0 |
| Maximum: | 38 |
| Standard deviation: | 3.2006 |
| Variance: | 10.244 |
| Types Optimal Encapsulation |
|
|
| Rule warning: Types that could be declared as internal |
// <Name>Types that could be declared as internal</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
CouldBeInternal
WARN IF Count > 0 IN SELECT TYPES WHERE
CouldBeInternal
894 types matched
The following list of types is truncated and contains only the first 100 types of the 894 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| RandomAccessFile | 16 | Sharpen.IO.RandomAccessFile |
| Random | 5 | Sharpen.Util.Random |
| PointerTypeReference | 3 | Sharpen.Lang.PointerTypeReference |
| ArrayTypeReference | 13 | Sharpen.Lang.ArrayTypeReference |
| GenericTypeReference | 25 | Sharpen.Lang.GenericTypeReference |
| IdentityHashCodeProvider | 1 | Sharpen.Lang.IdentityHashCodeProvider |
| TransientAttribute | 1 | Db4objects.Db4o.TransientAttribute |
| Rename | 6 | Db4objects.Db4o.Rename |
| ITransactionAware | N/A | Db4objects.Db4o.ITransactionAware |
| ITransactionListener | N/A | Db4objects.Db4o.ITransactionListener |
| Dynamic | 15 | Db4objects.Db4o.Dynamic |
| Deploy | 0 | Db4objects.Db4o.Deploy |
| Db4oVersion | 1 | Db4objects.Db4o.Db4oVersion |
| PBootRecord | 1 | Db4objects.Db4o.PBootRecord |
| Compat | 0 | Db4objects.Db4o.Compat |
| MetaIndex | 15 | Db4objects.Db4o.MetaIndex |
| CorruptionException | 0 | Db4objects.Db4o.CorruptionException |
| MetaClass | 0 | Db4objects.Db4o.MetaClass |
| MetaField | 0 | Db4objects.Db4o.MetaField |
| Debug4 | 11 | Db4objects.Db4o.Debug4 |
| IExtObjectSet | N/A | Db4objects.Db4o.Ext.IExtObjectSet |
| IStoredField | N/A | Db4objects.Db4o.Ext.IStoredField |
| IObjectCallbacks | N/A | Db4objects.Db4o.Ext.IObjectCallbacks |
| MemoryFile | 15 | Db4objects.Db4o.Ext.MemoryFile |
| Status | 0 | Db4objects.Db4o.Ext.Status |
| IDb4oCallback | N/A | Db4objects.Db4o.Ext.IDb4oCallback |
| Db4oUnexpectedException | 1 | Db4objects.Db4o.Ext.Db4oUnexpectedException |
| BackupInProgressException | 0 | Db4objects.Db4o.Ext.BackupInProgressException |
| EmergencyShutdownReadOnlyException | 0 | Db4objects.Db4o.Ext.EmergencyShutdownReadOnlyException |
| DatabaseFileLockedException | 2 | Db4objects.Db4o.Ext.DatabaseFileLockedException |
| DatabaseReadOnlyException | 0 | Db4objects.Db4o.Ext.DatabaseReadOnlyException |
| Db4oFileHeaderCorruptionException | 0 | Db4objects.Db4o.Ext.Db4oFileHeaderCorruptionException |
| IncompatibleFileFormatException | 2 | Db4objects.Db4o.Ext.IncompatibleFileFormatException |
| Db4oIllegalStateException | 2 | Db4objects.Db4o.Ext.Db4oIllegalStateException |
| VirtualField | 1 | Db4objects.Db4o.Ext.VirtualField |
| InvalidIDException | 2 | Db4objects.Db4o.Ext.InvalidIDException |
| UnsupportedOldFormatException | 0 | Db4objects.Db4o.Ext.UnsupportedOldFormatException |
| InvalidSlotException | 2 | Db4objects.Db4o.Ext.InvalidSlotException |
| OldFormatException | 1 | Db4objects.Db4o.Ext.OldFormatException |
| ExtDb4oFactory | 2 | Db4objects.Db4o.Ext.ExtDb4oFactory |
| DatabaseMaximumSizeReachedException | 0 | Db4objects.Db4o.Ext.DatabaseMaximumSizeReachedException |
| IUnversioned | N/A | Db4objects.Db4o.Types.IUnversioned |
| IDb4oType | N/A | Db4objects.Db4o.Types.IDb4oType |
| IDb4oCollections | N/A | Db4objects.Db4o.Types.IDb4oCollections |
| IDb4oCollection | N/A | Db4objects.Db4o.Types.IDb4oCollection |
| IDb4oMap | N/A | Db4objects.Db4o.Types.IDb4oMap |
| IDb4oList | N/A | Db4objects.Db4o.Types.IDb4oList |
| IBufferContext | N/A | Db4objects.Db4o.Marshall.IBufferContext |
| IReadContext | N/A | Db4objects.Db4o.Marshall.IReadContext |
| IReferenceActivationContext | N/A | Db4objects.Db4o.Marshall.IReferenceActivationContext |
| IWriteContext | N/A | Db4objects.Db4o.Marshall.IWriteContext |
| IReservedBuffer | N/A | Db4objects.Db4o.Marshall.IReservedBuffer |
| EvaluationDelegate | N/A | Db4objects.Db4o.Query.EvaluationDelegate |
| PredicatePlatform | 5 | Db4objects.Db4o.Query.PredicatePlatform |
| ISet<T> | N/A | Db4objects.Db4o.Collections.ISet<T> |
| ActivatableDictionary<TKey,TValue> | 78 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> |
| CollectionFactory | 7 | Db4objects.Db4o.Collections.CollectionFactory |
| ArrayDictionary4<K,V> | 127 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V> |
| IActivatableCollection<T> | N/A | Db4objects.Db4o.Collections.IActivatableCollection<T> |
| ArrayList4<E> | 146 | Db4objects.Db4o.Collections.ArrayList4<E> |
| ActivatableList<T> | 116 | Db4objects.Db4o.Collections.ActivatableList<T> |
| CommitEventArgs | 5 | Db4objects.Db4o.Events.CommitEventArgs |
| EventException | 1 | Db4objects.Db4o.Events.EventException |
| ClassEventArgs | 3 | Db4objects.Db4o.Events.ClassEventArgs |
| ICancellableEventArgs | N/A | Db4objects.Db4o.Events.ICancellableEventArgs |
| CancellableObjectEventArgs | 9 | Db4objects.Db4o.Events.CancellableObjectEventArgs |
| NotTransparentActivationEnabled | 5 | Db4objects.Db4o.TA.NotTransparentActivationEnabled |
| TransparentPersistenceSupport | 9 | Db4objects.Db4o.TA.TransparentPersistenceSupport |
| IRollbackStrategy | N/A | Db4objects.Db4o.TA.IRollbackStrategy |
| IActivatableInstrumented | N/A | Db4objects.Db4o.TA.IActivatableInstrumented |
| DeactivatingRollbackStrategy | 1 | Db4objects.Db4o.TA.DeactivatingRollbackStrategy |
| IActivator | N/A | Db4objects.Db4o.Activation.IActivator |
| BlockAwareBinWindow | 17 | Db4objects.Db4o.IO.BlockAwareBinWindow |
| SynchronizedBin | 11 | Db4objects.Db4o.IO.SynchronizedBin |
| IoAdapterStorage | 8 | Db4objects.Db4o.IO.IoAdapterStorage |
| RandomAccessFileFactory | 13 | Db4objects.Db4o.IO.RandomAccessFileFactory |
| IGrowthStrategy | N/A | Db4objects.Db4o.IO.IGrowthStrategy |
| DoublingGrowthStrategy | 6 | Db4objects.Db4o.IO.DoublingGrowthStrategy |
| IBlockSize | N/A | Db4objects.Db4o.IO.IBlockSize |
| NonFlushingStorage | 2 | Db4objects.Db4o.IO.NonFlushingStorage |
| CachingStorage | 11 | Db4objects.Db4o.IO.CachingStorage |
| BlockAwareBin | 45 | Db4objects.Db4o.IO.BlockAwareBin |
| ReadOnlyBin | 2 | Db4objects.Db4o.IO.ReadOnlyBin |
| MemoryBin | 26 | Db4objects.Db4o.IO.MemoryBin |
| CachedIoAdapter | 144 | Db4objects.Db4o.IO.CachedIoAdapter |
| ConstantGrowthStrategy | 6 | Db4objects.Db4o.IO.ConstantGrowthStrategy |
| UpdateDepthGreaterOne | 5 | Db4objects.Db4o.Diagnostic.UpdateDepthGreaterOne |
| ObjectFieldDoesNotExist | 6 | Db4objects.Db4o.Diagnostic.ObjectFieldDoesNotExist |
| DescendIntoTranslator | 6 | Db4objects.Db4o.Diagnostic.DescendIntoTranslator |
| ClassHasNoFields | 5 | Db4objects.Db4o.Diagnostic.ClassHasNoFields |
| DeletionFailed | 3 | Db4objects.Db4o.Diagnostic.DeletionFailed |
| DefragmentRecommendation | 5 | Db4objects.Db4o.Diagnostic.DefragmentRecommendation |
| DefragmentRecommendation+DefragmentRecommendationReason | 3 | Db4objects.Db4o.Diagnostic .DefragmentRecommendation+DefragmentRecommendationReason |
| NativeQueryOptimizerNotLoaded | 12 | Db4objects.Db4o.Diagnostic.NativeQueryOptimizerNotLoaded |
| DiagnosticToTrace | 1 | Db4objects.Db4o.Diagnostic.DiagnosticToTrace |
| NativeQueryNotOptimized | 8 | Db4objects.Db4o.Diagnostic.NativeQueryNotOptimized |
| DiagnosticToConsole | 1 | Db4objects.Db4o.Diagnostic.DiagnosticToConsole |
| IStoredClassFilter | N/A | Db4objects.Db4o.Defragment.IStoredClassFilter |
| IDefragmentServices | N/A | Db4objects.Db4o.Defragment.IDefragmentServices |
| DatabaseIdMapping | 44 | Db4objects.Db4o.Defragment.DatabaseIdMapping |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 13 864 |
| Average: | 15.508 |
| Minimum: | 0 |
| Maximum: | 641 |
| Standard deviation: | 37.156 |
| Variance: | 1 380 |
| Rule warning: Types that could be declared as 'private' in C#, 'Private' in VB.NET |
// <Name>Types that could be declared as 'private' in C#, 'Private' in VB.NET</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
CouldBePrivate
WARN IF Count > 0 IN SELECT TYPES WHERE
CouldBePrivate
57 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| IoAdapterStorage+IoAdapterBin | 12 | Db4objects.Db4o.IO.IoAdapterStorage+IoAdapterBin |
| FileStorage+FileBin | 39 | Db4objects.Db4o.IO.FileStorage+FileBin |
| DefragmentConfig+NullFilter | 1 | Db4objects.Db4o.Defragment.DefragmentConfig+NullFilter |
| Defragment+NullListener | 0 | Db4objects.Db4o.Defragment.Defragment+NullListener |
| TypeHandlerConfigurationDotNet+GenericTypeHandlerPredicate | 8 | Db4objects.Db4o.Internal .TypeHandlerConfigurationDotNet+GenericTypeHandlerPredicate |
| TypeHandlerConfigurationDotNet+GenericCollectionTypePredicate | 8 | Db4objects.Db4o.Internal .TypeHandlerConfigurationDotNet+GenericCollectionTypePredicate |
| ObjectContainerBase+PendingActivation | 3 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingActivation |
| ObjectContainerBase+PendingSet | 4 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingSet |
| ObjectContainerBase+SyncExecClosure<R> | N/A | Db4objects.Db4o.Internal.ObjectContainerBase+SyncExecClosure<R> |
| ObjectContainerBase+SyncExecClosure4<R> | 3 | Db4objects.Db4o.Internal.ObjectContainerBase+SyncExecClosure4<R> |
| InMemoryObjectContainer+ConstructionMode | 0 | Db4objects.Db4o.Internal.InMemoryObjectContainer+ConstructionMode |
| UUIDFieldMetadata+DatabaseIdentityIDAndUUID | 3 | Db4objects.Db4o.Internal.UUIDFieldMetadata+DatabaseIdentityIDAndUUID |
| TransportObjectContainer+KnownObjectIdentity | 2 | Db4objects.Db4o.Internal.TransportObjectContainer+KnownObjectIdentity |
| HierarchyAnalyzer+Removed | 2 | Db4objects.Db4o.Internal.Metadata.HierarchyAnalyzer+Removed |
| ModifiedAspectTraversalStrategy+ITraverseAspectCommandProcessor | N/A | Db4objects.Db4o.Internal.Metadata .ModifiedAspectTraversalStrategy+ITraverseAspectCommandProcessor |
| MarshallerFamily+FamilyVersion | 0 | Db4objects.Db4o.Internal.Marshall.MarshallerFamily+FamilyVersion |
| BTreeIdSystem+IdSlotMappingHandler | 5 | Db4objects.Db4o.Internal.Ids.BTreeIdSystem+IdSlotMappingHandler |
| InMemoryFreespaceManager+ToStringVisitor | 4 | Db4objects.Db4o.Internal.Freespace .InMemoryFreespaceManager+ToStringVisitor |
| SodaQueryComparator+FieldValueKey | 6 | Db4objects.Db4o.Internal.Query.SodaQueryComparator+FieldValueKey |
| QCandidates+TreeIntBuilder | 1 | Db4objects.Db4o.Internal.Query.Processor.QCandidates+TreeIntBuilder |
| QQueryBase+CreateCandidateCollectionResult | 4 | Db4objects.Db4o.Internal.Query.Processor .QQueryBase+CreateCandidateCollectionResult |
| StandardReferenceTypeHandler+PreparedComparisonImpl | 14 | Db4objects.Db4o.Internal.Handlers .StandardReferenceTypeHandler+PreparedComparisonImpl |
| IntHandler+PreparedIntComparison | 7 | Db4objects.Db4o.Internal.Handlers.IntHandler+PreparedIntComparison |
| Closures4+Closure4OverDelegate | 3 | Db4objects.Db4o.Foundation.Closures4+Closure4OverDelegate |
| WildcardAlias+WildcardPattern | 13 | Db4objects.Db4o.Config.WildcardAlias+WildcardPattern |
| Cache4CachingStrategyWithComparer<TKey,TValue>+UnwrappingProducer | 3 | Db4objects.Db4o.Linq.Caching.Cache4CachingStrategyWithComparer<TKey ,TValue>+UnwrappingProducer |
| Cache4CachingStrategyWithComparer<TKey,TValue>+ComparableKey | 6 | Db4objects.Db4o.Linq.Caching.Cache4CachingStrategyWithComparer<TKey ,TValue>+ComparableKey |
| ObjectSequence<T>+ObjectSequenceEnumerator | 10 | Db4objects.Db4o.Linq.Internals.ObjectSequence<T >+ObjectSequenceEnumerator |
| CompositeTestListenerTestCase+ListenerRecorder | 9 | Db4oUnit.Tests.CompositeTestListenerTestCase+ListenerRecorder |
| ReflectionTestSuiteBuilderTestCase+NonTestFixture | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+NonTestFixture |
| ReflectionTestSuiteBuilderTestCase+Accepted | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+Accepted |
| ReflectionTestSuiteBuilderTestCase+NotAccepted | 0 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+NotAccepted |
| ReflectionTestSuiteBuilderTestCase+ConstructorThrows | 3 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+ConstructorThrows |
| ExceptionInTearDownDoesNotShadowTestCase+RunsWithExceptions | 2 | Db4oUnit.Tests .ExceptionInTearDownDoesNotShadowTestCase+RunsWithExceptions |
| ExceptionInTearDownDoesNotShadowTestCase+RunsWithExceptionInTearDown | 1 | Db4oUnit.Tests .ExceptionInTearDownDoesNotShadowTestCase+RunsWithExceptionInTearDown |
| FixtureContextTestCase+ContextRef | 0 | Db4oUnit.Tests.Fixtures.FixtureContextTestCase+ContextRef |
| FixtureBasedTestSuiteTestCase+TestUnit | 6 | Db4oUnit.Tests.Fixtures.FixtureBasedTestSuiteTestCase+TestUnit |
| ShutdownMode+NormalMode | 2 | Db4objects.Db4o.CS.Internal.ShutdownMode+NormalMode |
| ClientObjectContainer+IMessageListener | N/A | Db4objects.Db4o.CS.Internal.ClientObjectContainer+IMessageListener |
| MCommittedInfo+IObjectInfoEncoder | N/A | Db4objects.Db4o.CS.Internal.Messages.MCommittedInfo+IObjectInfoEncoder |
| MUserMessage+UserMessagePayload | 3 | Db4objects.Db4o.CS.Internal.Messages.MUserMessage+UserMessagePayload |
| ObjectSetAssert+ObjectSetIterator4 | 13 | Db4oUnit.Extensions.ObjectSetAssert+ObjectSetIterator4 |
| ConcurrencyTestMethod+RunnableTestMethod | 20 | Db4oUnit.Extensions.Concurrency .ConcurrencyTestMethod+RunnableTestMethod |
| FixtureConfigurationTestCase+MockFixtureConfiguration | 2 | Db4oUnit.Extensions.Tests .FixtureConfigurationTestCase+MockFixtureConfiguration |
| FixtureConfigurationTestCase+TestCase1 | 0 | Db4oUnit.Extensions.Tests.FixtureConfigurationTestCase+TestCase1 |
| FixtureConfigurationTestCase+TestCase2 | 0 | Db4oUnit.Extensions.Tests.FixtureConfigurationTestCase+TestCase2 |
| ExcludingReflectorTestCase+Excluded | 0 | Db4oUnit.Extensions.Tests.ExcludingReflectorTestCase+Excluded |
| Db4oEmbeddedSessionFixtureTestCase+RegularTest | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+RegularTest |
| Db4oEmbeddedSessionFixtureTestCase+Db4oTest | 0 | Db4oUnit.Extensions.Tests.Db4oEmbeddedSessionFixtureTestCase+Db4oTest |
| Db4oEmbeddedSessionFixtureTestCase+OptOutTest | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+OptOutTest |
| Db4oEmbeddedSessionFixtureTestCase+OptOutNetworkingTest | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+OptOutNetworkingTest |
| Db4oEmbeddedSessionFixtureTestCase+OptOutAllButNetworkingCSTest | 0 | Db4oUnit.Extensions.Tests .Db4oEmbeddedSessionFixtureTestCase+OptOutAllButNetworkingCSTest |
| DynamicFixtureTestCase+FooTestUnit | 3 | Db4oUnit.Extensions.Tests.DynamicFixtureTestCase+FooTestUnit |
| DynamicFixtureTestCase+FooTestSuite | 3 | Db4oUnit.Extensions.Tests.DynamicFixtureTestCase+FooTestSuite |
| SimpleDb4oTestCase+Data | 0 | Db4oUnit.Extensions.Tests.SimpleDb4oTestCase+Data |
| UnhandledExceptionInThreadTestCase+ExceptionThrowingTestCase | 1 | Db4oUnit.Extensions.Tests .UnhandledExceptionInThreadTestCase+ExceptionThrowingTestCase |
| MonitoredStorage+MonitoredBin | 15 | Db4objects.Db4o.Monitoring.MonitoredStorage+MonitoredBin |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 244 |
| Average: | 4.2807 |
| Minimum: | 0 |
| Maximum: | 39 |
| Standard deviation: | 6.5206 |
| Variance: | 42.518 |
| Fields Optimal Encapsulation |
|
|
| Rule warning: Fields that could be declared as internal |
// <Name>Fields that could be declared as internal</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
CouldBeInternal
WARN IF Count > 0 IN SELECT FIELDS WHERE
CouldBeInternal
267 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 267 fields matched. All matched fields could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
| fields | Size of instance | Full Name |
|---|---|---|
| fields | Size of instance | Full Name |
| separator | 0 | Sharpen.IO.File.separator |
| Kind | 4 | Sharpen.Lang.Token.Kind |
| Value | 4 | Sharpen.Lang.Token.Value |
| BeginTopLevelCall | 0 | Db4objects.Db4o.DTrace.BeginTopLevelCall |
| Bind | 0 | Db4objects.Db4o.DTrace.Bind |
| BtreeNodeCommitOrRollback | 0 | Db4objects.Db4o.DTrace.BtreeNodeCommitOrRollback |
| BtreeNodeRemove | 0 | Db4objects.Db4o.DTrace.BtreeNodeRemove |
| BtreeProduceNode | 0 | Db4objects.Db4o.DTrace.BtreeProduceNode |
| CandidateRead | 0 | Db4objects.Db4o.DTrace.CandidateRead |
| ClassmetadataById | 0 | Db4objects.Db4o.DTrace.ClassmetadataById |
| ClassmetadataInit | 0 | Db4objects.Db4o.DTrace.ClassmetadataInit |
| Close | 0 | Db4objects.Db4o.DTrace.Close |
| CloseCalled | 0 | Db4objects.Db4o.DTrace.CloseCalled |
| CollectChildren | 0 | Db4objects.Db4o.DTrace.CollectChildren |
| Commit | 0 | Db4objects.Db4o.DTrace.Commit |
| Continueset | 0 | Db4objects.Db4o.DTrace.Continueset |
| CreateCandidate | 0 | Db4objects.Db4o.DTrace.CreateCandidate |
| Delete | 0 | Db4objects.Db4o.DTrace.Delete |
| Donotinclude | 0 | Db4objects.Db4o.DTrace.Donotinclude |
| EndTopLevelCall | 0 | Db4objects.Db4o.DTrace.EndTopLevelCall |
| EvaluateSelf | 0 | Db4objects.Db4o.DTrace.EvaluateSelf |
| FatalException | 0 | Db4objects.Db4o.DTrace.FatalException |
| FileFree | 0 | Db4objects.Db4o.DTrace.FileFree |
| FreespacemanagerGetSlot | 0 | Db4objects.Db4o.DTrace.FreespacemanagerGetSlot |
| FreespacemanagerRamFree | 0 | Db4objects.Db4o.DTrace.FreespacemanagerRamFree |
| FreespacemanagerBtreeFree | 0 | Db4objects.Db4o.DTrace.FreespacemanagerBtreeFree |
| FreePointerOnRollback | 0 | Db4objects.Db4o.DTrace.FreePointerOnRollback |
| GetSlot | 0 | Db4objects.Db4o.DTrace.GetSlot |
| GetPointerSlot | 0 | Db4objects.Db4o.DTrace.GetPointerSlot |
| GetYapobject | 0 | Db4objects.Db4o.DTrace.GetYapobject |
| IdTreeAdd | 0 | Db4objects.Db4o.DTrace.IdTreeAdd |
| IoCopy | 0 | Db4objects.Db4o.DTrace.IoCopy |
| NotifySlotCreated | 0 | Db4objects.Db4o.DTrace.NotifySlotCreated |
| NotifySlotUpdated | 0 | Db4objects.Db4o.DTrace.NotifySlotUpdated |
| NotifySlotDeleted | 0 | Db4objects.Db4o.DTrace.NotifySlotDeleted |
| ObjectReferenceCreated | 0 | Db4objects.Db4o.DTrace.ObjectReferenceCreated |
| PersistentBaseNewSlot | 0 | Db4objects.Db4o.DTrace.PersistentBaseNewSlot |
| PersistentOwnLength | 0 | Db4objects.Db4o.DTrace.PersistentOwnLength |
| PersistentbaseSetId | 0 | Db4objects.Db4o.DTrace.PersistentbaseSetId |
| PersistentbaseWrite | 0 | Db4objects.Db4o.DTrace.PersistentbaseWrite |
| ProduceSlotChange | 0 | Db4objects.Db4o.DTrace.ProduceSlotChange |
| QueryProcess | 0 | Db4objects.Db4o.DTrace.QueryProcess |
| ReadBytes | 0 | Db4objects.Db4o.DTrace.ReadBytes |
| ReadSlot | 0 | Db4objects.Db4o.DTrace.ReadSlot |
| ReferenceRemoved | 0 | Db4objects.Db4o.DTrace.ReferenceRemoved |
| RegularSeek | 0 | Db4objects.Db4o.DTrace.RegularSeek |
| RemoveFromClassIndex | 0 | Db4objects.Db4o.DTrace.RemoveFromClassIndex |
| RereadOldUuid | 0 | Db4objects.Db4o.DTrace.RereadOldUuid |
| SlotMapped | 0 | Db4objects.Db4o.DTrace.SlotMapped |
| SlotCommitted | 0 | Db4objects.Db4o.DTrace.SlotCommitted |
| SlotRead | 0 | Db4objects.Db4o.DTrace.SlotRead |
| TransCommit | 0 | Db4objects.Db4o.DTrace.TransCommit |
| TransDontDelete | 0 | Db4objects.Db4o.DTrace.TransDontDelete |
| TransDelete | 0 | Db4objects.Db4o.DTrace.TransDelete |
| TransFlush | 0 | Db4objects.Db4o.DTrace.TransFlush |
| WriteBytes | 0 | Db4objects.Db4o.DTrace.WriteBytes |
| WritePointer | 0 | Db4objects.Db4o.DTrace.WritePointer |
| WriteXbytes | 0 | Db4objects.Db4o.DTrace.WriteXbytes |
| WriteUpdateAdjustIndexes | 0 | Db4objects.Db4o.DTrace.WriteUpdateAdjustIndexes |
| rClass | 4 | Db4objects.Db4o.Rename.rClass |
| rFrom | 4 | Db4objects.Db4o.Rename.rFrom |
| rTo | 4 | Db4objects.Db4o.Rename.rTo |
| Name | 0 | Db4objects.Db4o.Db4oVersion.Name |
| i_db | 4 | Db4objects.Db4o.PBootRecord.i_db |
| i_versionGenerator | 8 | Db4objects.Db4o.PBootRecord.i_versionGenerator |
| fields | 4 | Db4objects.Db4o.StaticClass.fields |
| name | 4 | Db4objects.Db4o.StaticField.name |
| value | 4 | Db4objects.Db4o.StaticField.value |
| Version | 0 | Db4objects.Db4o.Ext.VirtualField.Version |
| i_signature | 4 | Db4objects.Db4o.Ext.Db4oDatabase.i_signature |
| PredicatemethodName | 0 | Db4objects.Db4o.Query.PredicatePlatform.PredicatemethodName |
| _buffer | 4 | Db4objects.Db4o.IO.CachingBin+Page._buffer |
| _startAddress | 8 | Db4objects.Db4o.IO.CachingBin+Page._startAddress |
| _endAddress | 8 | Db4objects.Db4o.IO.CachingBin+Page._endAddress |
| _bufferSize | 4 | Db4objects.Db4o.IO.CachingBin+Page._bufferSize |
| _dirty | 1 | Db4objects.Db4o.IO.CachingBin+Page._dirty |
| DeleteEmbeded | 0 | Db4objects.Db4o.Diagnostic .DefragmentRecommendation+DefragmentRecommendationReason.DeleteEmbeded |
| Sourcedb | 0 | Db4objects.Db4o.Defragment.DefragmentServicesImpl.Sourcedb |
| _sourceDb | 4 | Db4objects.Db4o.Defragment.DefragmentServicesImpl._sourceDb |
| ref | 4 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingActivation.ref |
| depth | 4 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingActivation.depth |
| transaction | 4 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingSet.transaction |
| ref | 4 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingSet.ref |
| depth | 4 | Db4objects.Db4o.Internal.ObjectContainerBase+PendingSet.depth |
| _cloned | 4 | Db4objects.Db4o.Internal.Config4Impl+ConfigDeepCloneContext._cloned |
| _transaction | 4 | Db4objects.Db4o.Internal.TransactionContext._transaction |
| _object | 4 | Db4objects.Db4o.Internal.TransactionContext._object |
| _bootRecordID | 4 | Db4objects.Db4o.Internal.ConfigBlock._bootRecordID |
| i_database | 4 | Db4objects.Db4o.Internal.VirtualAttributes.i_database |
| i_version | 8 | Db4objects.Db4o.Internal.VirtualAttributes.i_version |
| i_uuid | 8 | Db4objects.Db4o.Internal.VirtualAttributes.i_uuid |
| databaseIdentityID | 4 | Db4objects.Db4o.Internal.UUIDFieldMetadata+DatabaseIdentityIDAndUUID .databaseIdentityID |
| uuid | 8 | Db4objects.Db4o.Internal.UUIDFieldMetadata+DatabaseIdentityIDAndUUID .uuid |
| _id | 4 | Db4objects.Db4o.Internal.TransportObjectContainer+KnownObjectIdentity ._id |
| Emtpy | 0 | Db4objects.Db4o.Internal.CallbackObjectInfoCollections.Emtpy |
| _id | 4 | Db4objects.Db4o.Internal.SerializedGraph._id |
| _bytes | 4 | Db4objects.Db4o.Internal.SerializedGraph._bytes |
| ClassCompare | 0 | Db4objects.Db4o.Internal.Const4.ClassCompare |
| ClassDb4otype | 0 | Db4objects.Db4o.Internal.Const4.ClassDb4otype |
| ClassDb4otypeimpl | 0 | Db4objects.Db4o.Internal.Const4.ClassDb4otypeimpl |
Statistics
| Stat | Size of instance |
|---|---|
| Sum: | 366 |
| Average: | 1.3708 |
| Minimum: | 0 |
| Maximum: | 8 |
| Standard deviation: | 2.0918 |
| Variance: | 4.3756 |
| Rule warning: Fields that could be declared as 'private' in C#, 'Private' in VB.NET |
// <Name>Fields that could be declared as 'private' in C#, 'Private' in VB.NET</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
CouldBePrivate
WARN IF Count > 0 IN SELECT FIELDS WHERE
CouldBePrivate
143 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 143 fields matched. All matched fields could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
| fields | Size of instance | Full Name |
|---|---|---|
| fields | Size of instance | Full Name |
| separatorChar | 0 | Sharpen.IO.File.separatorChar |
| writeToLogFile | 0 | Db4objects.Db4o.DTrace.writeToLogFile |
| writeToConsole | 0 | Db4objects.Db4o.DTrace.writeToConsole |
| _logFile | 0 | Db4objects.Db4o.DTrace._logFile |
| _eventNr | 0 | Db4objects.Db4o.DTrace._eventNr |
| Free | 0 | Db4objects.Db4o.DTrace.Free |
| FreeOnCommit | 0 | Db4objects.Db4o.DTrace.FreeOnCommit |
| FreeOnRollback | 0 | Db4objects.Db4o.DTrace.FreeOnRollback |
| GetFreespaceRam | 0 | Db4objects.Db4o.DTrace.GetFreespaceRam |
| IdTreeRemove | 0 | Db4objects.Db4o.DTrace.IdTreeRemove |
| JustSet | 0 | Db4objects.Db4o.DTrace.JustSet |
| NewInstance | 0 | Db4objects.Db4o.DTrace.NewInstance |
| ReadArrayWrapper | 0 | Db4objects.Db4o.DTrace.ReadArrayWrapper |
| ServerMessageLoopException | 0 | Db4objects.Db4o.DTrace.ServerMessageLoopException |
| SlotFreeOnCommit | 0 | Db4objects.Db4o.DTrace.SlotFreeOnCommit |
| SlotFreeOnRollbackId | 0 | Db4objects.Db4o.DTrace.SlotFreeOnRollbackId |
| SlotFreeOnRollbackAddress | 0 | Db4objects.Db4o.DTrace.SlotFreeOnRollbackAddress |
| name | 4 | Db4objects.Db4o.User.name |
| i_uuidMetaIndex | 4 | Db4objects.Db4o.PBootRecord.i_uuidMetaIndex |
| name | 4 | Db4objects.Db4o.StaticClass.name |
| indexAddress | 4 | Db4objects.Db4o.MetaIndex.indexAddress |
| indexEntries | 4 | Db4objects.Db4o.MetaIndex.indexEntries |
| indexLength | 4 | Db4objects.Db4o.MetaIndex.indexLength |
| name | 4 | Db4objects.Db4o.MetaClass.name |
| fields | 4 | Db4objects.Db4o.MetaClass.fields |
| name | 4 | Db4objects.Db4o.MetaField.name |
| index | 4 | Db4objects.Db4o.MetaField.index |
| StaticIdentity | 0 | Db4objects.Db4o.Ext.Db4oDatabase.StaticIdentity |
| i_uuid | 8 | Db4objects.Db4o.Ext.Db4oDatabase.i_uuid |
| _exceptions | 4 | Db4objects.Db4o.Ext.CompositeDb4oException._exceptions |
| PredicatemethodName | 0 | Db4objects.Db4o.Query.Predicate.PredicatemethodName |
| _producerFromDisk | 4 | Db4objects.Db4o.IO.CachingBin._producerFromDisk |
| _producerFromPool | 4 | Db4objects.Db4o.IO.CachingBin._producerFromPool |
| _endAddress | 8 | Db4objects.Db4o.IO.CachedIoAdapter+Page._endAddress |
| _bufferSize | 4 | Db4objects.Db4o.IO.CachedIoAdapter+Page._bufferSize |
| _className | 4 | Db4objects.Db4o.Diagnostic.ObjectFieldDoesNotExist._className |
| _fieldName | 4 | Db4objects.Db4o.Diagnostic.ObjectFieldDoesNotExist._fieldName |
| BackupSuffix | 0 | Db4objects.Db4o.Defragment.DefragmentConfig.BackupSuffix |
| Targetdb | 0 | Db4objects.Db4o.Defragment.DefragmentServicesImpl.Targetdb |
| _objectCommitFrequency | 4 | Db4objects.Db4o.Defragment.SecondPassCommand._objectCommitFrequency |
| _objectCount | 4 | Db4objects.Db4o.Defragment.SecondPassCommand._objectCount |
| _clazz | 4 | Db4objects.Db4o.Constraints.UniqueFieldValueConstraint._clazz |
| _fieldName | 4 | Db4objects.Db4o.Constraints.UniqueFieldValueConstraint._fieldName |
| _orig | 4 | Db4objects.Db4o.Internal.Config4Impl+ConfigDeepCloneContext._orig |
| DeferredOpenMode | 0 | Db4objects.Db4o.Internal.InMemoryObjectContainer.DeferredOpenMode |
| _hcHashcode | 4 | Db4objects.Db4o.Internal.ObjectReference._hcHashcode |
| fileName | 4 | Db4objects.Db4o.Internal.BlobImpl.fileName |
| i_ext | 4 | Db4objects.Db4o.Internal.BlobImpl.i_ext |
| i_length | 4 | Db4objects.Db4o.Internal.BlobImpl.i_length |
| Instance | 0 | Db4objects.Db4o.Internal.NullTransactionListener.Instance |
| stream | 4 | Db4objects.Db4o.Internal.MessageOutput.stream |
| ClassStaticfield | 0 | Db4objects.Db4o.Internal.Const4.ClassStaticfield |
| EmbeddedClientUser | 0 | Db4objects.Db4o.Internal.Const4.EmbeddedClientUser |
| dontRemove | 1 | Db4objects.Db4o.Internal.ShutDownRunnable.dontRemove |
| Ignore | 0 | Db4objects.Db4o.Internal.ObjectID.Ignore |
| _collection | 4 | Db4objects.Db4o.Internal.ObjectInfoCollectionImpl._collection |
| _file | 4 | Db4objects.Db4o.Internal.LocalTransaction._file |
| _server | 4 | Db4objects.Db4o.Internal.ObjectContainerSession._server |
| _transaction | 4 | Db4objects.Db4o.Internal.ObjectContainerSession._transaction |
| _trans | 4 | Db4objects.Db4o.Internal.StatefulBuffer._trans |
| NullDispatcher | 0 | Db4objects.Db4o.Internal.EventDispatchers.NullDispatcher |
| i_encryptor | 4 | Db4objects.Db4o.Internal.HandlerRegistry.i_encryptor |
| i_lastEncryptorByte | 4 | Db4objects.Db4o.Internal.HandlerRegistry.i_lastEncryptorByte |
| IclassString | 4 | Db4objects.Db4o.Internal.HandlerRegistry.IclassString |
| IclassTransientclass | 4 | Db4objects.Db4o.Internal.HandlerRegistry.IclassTransientclass |
| _marshallerFamily | 4 | Db4objects.Db4o.Internal.Marshall.ObjectHeader._marshallerFamily |
| HeaderLength | 0 | Db4objects.Db4o.Internal.Fileheader.FileHeader2.HeaderLength |
| _transparentPersistenceIsEnabled | 1 | Db4objects.Db4o.Internal.Activation .TransparentActivationDepthProviderImpl ._transparentPersistenceIsEnabled |
| _address | 4 | Db4objects.Db4o.Internal.Ids.IdSlotMapping._address |
| _length | 4 | Db4objects.Db4o.Internal.Ids.IdSlotMapping._length |
| _transactionLogHandler | 4 | Db4objects.Db4o.Internal.Ids.PointerBasedIdSystem ._transactionLogHandler |
| _delegate | 4 | Db4objects.Db4o.Internal.Query.GenericObjectSetFacade<T>._delegate |
| _predicate | 4 | Db4objects.Db4o.Internal.Query.PredicateEvaluation._predicate |
| i_trans | 4 | Db4objects.Db4o.Internal.Query.Processor.QField.i_trans |
| untypedFieldConstraintCollected | 1 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase+_IVisitor4_275 .untypedFieldConstraintCollected |
| _constraint | 4 | Db4objects.Db4o.Internal.Query.Processor.QPending._constraint |
| _bytes | 4 | Db4objects.Db4o.Internal.Query.Processor.QCandidate._bytes |
| _candidates | 4 | Db4objects.Db4o.Internal.Query.Processor.QCandidate._candidates |
| _firstUpdate | 1 | Db4objects.Db4o.Internal.Handlers.Versions .OpenTypeHandler7+_ObjectReference_74._firstUpdate |
| _processing | 4 | Db4objects.Db4o.Internal.Btree.BTree._processing |
| _btree | 4 | Db4objects.Db4o.Internal.Btree.BTreeNode._btree |
| _predicate | 4 | Db4objects.Db4o.Reflect.Generic.CollectionUpdateDepthEntry._predicate |
| _depth | 4 | Db4objects.Db4o.Reflect.Generic.CollectionUpdateDepthEntry._depth |
| i_content | 4 | Db4objects.Db4o.Foundation.IntArrayList.i_content |
| stopped | 1 | Db4objects.Db4o.Foundation.SimpleTimer.stopped |
| _objectKey | 4 | Db4objects.Db4o.Foundation.HashtableObjectEntry._objectKey |
| a | 4 | Db4objects.Db4o.Foundation.Tuple<A,B>.a |
| b | 4 | Db4objects.Db4o.Foundation.Tuple<A,B>.b |
| value | 4 | Db4objects.Db4o.Foundation.IntArrayByRef.value |
| _queue | 4 | Db4objects.Db4o.Foundation.BlockingQueue._queue |
| _lock | 4 | Db4objects.Db4o.Foundation.BlockingQueue._lock |
| _stopped | 1 | Db4objects.Db4o.Foundation.BlockingQueue._stopped |
| i | 4 | Db4objects.Db4o.Foundation.SortedCollection4+_IVisitor4_43.i |
| _next | 4 | Db4objects.Db4o.Foundation.IntIterators+_IIntIterator4_10._next |
| _current | 4 | Db4objects.Db4o.Foundation.IntIterators+_IIntIterator4_10._current |
| Disabled | 0 | Db4objects.Db4o.Config.ConfigScope.Disabled |
| Globally | 0 | Db4objects.Db4o.Config.ConfigScope.Globally |
| Out | 0 | Db4oUnit.TestPlatform.Out |
| Error | 0 | Db4oUnit.TestPlatform.Error |
| FailureException | 0 | Db4oUnit.Tests.TestRunnerTestCase.FailureException |
Statistics
| Stat | Size of instance |
|---|---|
| Sum: | 330 |
| Average: | 2.3077 |
| Minimum: | 0 |
| Maximum: | 8 |
| Standard deviation: | 2.0355 |
| Variance: | 4.1431 |
| Purity - Immutability - Side-Effects |
|
|
| Rule warning: Fields should be marked as ReadOnly when possible |
// <Name>Fields should be marked as ReadOnly when possible</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
IsImmutable AND
!IsInitOnly AND
!IsGeneratedByCompiler
// A field that matches the condition IsImmutable
// is a field that is assigned only by constructors
// of its class.
// For an instance field, this means its value
// will remain constant throught the lifetime
// of the object.
// For a static field, this means its value will
// remain constant throught the lifetime of the
// program.
// In both cases, such field can safely be marked
// with the C# readonly keyword
// (ReadOnly in VB.NET).
// The condition IsInitOnly matches fields that
// are marked with the C# readonly keyword
// (ReadOnly in VB.NET).
WARN IF Count > 0 IN SELECT FIELDS WHERE
IsImmutable AND
!IsInitOnly AND
!IsGeneratedByCompiler
// A field that matches the condition IsImmutable
// is a field that is assigned only by constructors
// of its class.
// For an instance field, this means its value
// will remain constant throught the lifetime
// of the object.
// For a static field, this means its value will
// remain constant throught the lifetime of the
// program.
// In both cases, such field can safely be marked
// with the C# readonly keyword
// (ReadOnly in VB.NET).
// The condition IsInitOnly matches fields that
// are marked with the C# readonly keyword
// (ReadOnly in VB.NET).
266 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 266 fields matched. All matched fields could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
| fields | Size of instance | Full Name |
|---|---|---|
| fields | Size of instance | Full Name |
| DIFFERENCE_IN_TICKS | 0 | Sharpen.Runtime.DIFFERENCE_IN_TICKS |
| RATIO | 0 | Sharpen.Runtime.RATIO |
| _stream | 4 | Sharpen.IO.BufferedInputStream._stream |
| _stream | 4 | Sharpen.IO.BufferedOutputStream._stream |
| _format | 4 | Sharpen.Text.DecimalFormat._format |
| _input | 4 | Sharpen.Lang.TypeReferenceLexer._input |
| _buffer | 4 | Sharpen.Lang.TypeReferenceLexer._buffer |
| _target | 4 | Sharpen.Lang.Thread._target |
| Unused | 0 | Db4objects.Db4o.DTrace.Unused |
| _tag | 4 | Db4objects.Db4o.DTrace._tag |
| _breakAfterEvent | 0 | Db4objects.Db4o.DTrace._breakAfterEvent |
| _query | 4 | Db4objects.Db4o.Events.QueryEventArgs._query |
| _clazz | 4 | Db4objects.Db4o.Events.ClassEventArgs._clazz |
| _object | 4 | Db4objects.Db4o.Events.CancellableObjectEventArgs._object |
| _class | 4 | Db4objects.Db4o.TA.NotTransparentActivationEnabled._class |
| _onDiscardPage | 4 | Db4objects.Db4o.IO.CachingBin._onDiscardPage |
| _bin | 4 | Db4objects.Db4o.IO.BlockAwareBinWindow._bin |
| _blockOff | 4 | Db4objects.Db4o.IO.BlockAwareBinWindow._blockOff |
| _len | 4 | Db4objects.Db4o.IO.BlockAwareBinWindow._len |
| _path | 4 | Db4objects.Db4o.IO.RandomAccessFileAdapter._path |
| _delegate | 4 | Db4objects.Db4o.IO.RandomAccessFileAdapter._delegate |
| DefaultPageCount | 0 | Db4objects.Db4o.IO.CachingStorage.DefaultPageCount |
| DefaultPageSize | 0 | Db4objects.Db4o.IO.CachingStorage.DefaultPageSize |
| _pageCount | 4 | Db4objects.Db4o.IO.CachingStorage._pageCount |
| _pageSize | 4 | Db4objects.Db4o.IO.CachingStorage._pageSize |
| _pages | 4 | Db4objects.Db4o.IO.PagingMemoryBin._pages |
| _growthStrategy | 4 | Db4objects.Db4o.IO.MemoryBin._growthStrategy |
| _pageSize | 4 | Db4objects.Db4o.IO.CachedIoAdapter._pageSize |
| _pageCount | 4 | Db4objects.Db4o.IO.CachedIoAdapter._pageCount |
| DefaultPageSize | 0 | Db4objects.Db4o.IO.CachedIoAdapter.DefaultPageSize |
| DefaultPageCount | 0 | Db4objects.Db4o.IO.CachedIoAdapter.DefaultPageCount |
| className | 4 | Db4objects.Db4o.Diagnostic.DescendIntoTranslator.className |
| fieldName | 4 | Db4objects.Db4o.Diagnostic.DescendIntoTranslator.fieldName |
| _reason | 4 | Db4objects.Db4o.Diagnostic.NativeQueryOptimizerNotLoaded._reason |
| _msg | 4 | Db4objects.Db4o.Defragment.DefragmentInfo._msg |
| _origPath | 4 | Db4objects.Db4o.Defragment.DefragmentConfig._origPath |
| _backupPath | 4 | Db4objects.Db4o.Defragment.DefragmentConfig._backupPath |
| _mapping | 4 | Db4objects.Db4o.Defragment.DefragmentConfig._mapping |
| _classIDs | 4 | Db4objects.Db4o.Defragment.AbstractIdMapping._classIDs |
| _fileName | 4 | Db4objects.Db4o.Defragment.DatabaseIdMapping._fileName |
| _treeSpec | 4 | Db4objects.Db4o.Defragment.DatabaseIdMapping._treeSpec |
| _commitFrequency | 4 | Db4objects.Db4o.Defragment.DatabaseIdMapping._commitFrequency |
| _nodeSize | 4 | Db4objects.Db4o.Defragment.DatabaseIdMapping+BTreeSpec._nodeSize |
| _listener | 4 | Db4objects.Db4o.Defragment.DefragmentServicesImpl._listener |
| _unindexed | 4 | Db4objects.Db4o.Defragment.DefragmentServicesImpl._unindexed |
| _defragConfig | 4 | Db4objects.Db4o.Defragment.DefragmentServicesImpl._defragConfig |
| _classIndices | 4 | Db4objects.Db4o.Defragment.DefragmentServicesImpl._classIndices |
| _collector | 4 | Db4objects.Db4o.Defragment.FirstPassCommand._collector |
| _members | 4 | Db4objects.Db4o.Internal.PendingClassInits._members |
| _statics | 4 | Db4objects.Db4o.Internal.PendingClassInits._statics |
| _writes | 4 | Db4objects.Db4o.Internal.PendingClassInits._writes |
| _inits | 4 | Db4objects.Db4o.Internal.PendingClassInits._inits |
| _topLevelCallIdGenerator | 4 | Db4objects.Db4o.Internal.ObjectContainerBase._topLevelCallIdGenerator |
| _container | 4 | Db4objects.Db4o.Internal.OpenTypeHandler._container |
| _containingClass | 4 | Db4objects.Db4o.Internal.FieldMetadata._containingClass |
| _semaphoresLock | 4 | Db4objects.Db4o.Internal.LocalObjectContainer._semaphoresLock |
| SIMPLE_CLASSES | 0 | Db4objects.Db4o.Internal.Platform4.SIMPLE_CLASSES |
| _file | 4 | Db4objects.Db4o.Internal.SystemInfoFileImpl._file |
| i_orderOnRead | 1 | Db4objects.Db4o.Internal.TreeReader.i_orderOnRead |
| _fieldAccessor | 4 | Db4objects.Db4o.Internal.ClassMetadata._fieldAccessor |
| _handler | 4 | Db4objects.Db4o.Internal.VirtualFieldMetadata._handler |
| tag | 4 | Db4objects.Db4o.Internal.TagAttribute.tag |
| _config | 4 | Db4objects.Db4o.Internal.ReflectorConfigurationImpl._config |
| _containers | 4 | Db4objects.Db4o.Internal.ShutDownRunnable._containers |
| _source | 4 | Db4objects.Db4o.Internal.DefragmentContextImpl._source |
| _target | 4 | Db4objects.Db4o.Internal.DefragmentContextImpl._target |
| _services | 4 | Db4objects.Db4o.Internal.DefragmentContextImpl._services |
| _container | 4 | Db4objects.Db4o.Internal.PreparedArrayContainsComparison._container |
| _className | 4 | Db4objects.Db4o.Internal.FieldIndexException._className |
| _fieldName | 4 | Db4objects.Db4o.Internal.FieldIndexException._fieldName |
| _initClassMetadataOnUp | 4 | Db4objects.Db4o.Internal.ClassMetadataRepository ._initClassMetadataOnUp |
| _desc | 4 | Db4objects.Db4o.Internal.CallBackMode._desc |
| _fileLock | 4 | Db4objects.Db4o.Internal.IoAdaptedObjectContainer._fileLock |
| _comparer | 4 | Db4objects.Db4o.Internal.ComparerAdaptor._comparer |
| _mapIdToTypeInfo | 4 | Db4objects.Db4o.Internal.HandlerRegistry._mapIdToTypeInfo |
| _mapReflectorToClassMetadata | 4 | Db4objects.Db4o.Internal.HandlerRegistry._mapReflectorToClassMetadata |
| _indexes | 4 | Db4objects.Db4o.Internal.HandlerRegistry._indexes |
| _storedClass | 4 | Db4objects.Db4o.Internal.Metadata.HierarchyAnalyzer._storedClass |
| _runtimeClass | 4 | Db4objects.Db4o.Internal.Metadata.HierarchyAnalyzer._runtimeClass |
| _collector | 4 | Db4objects.Db4o.Internal.Marshall.QueryingReadContext._collector |
| _addToIDTree | 4 | Db4objects.Db4o.Internal.Marshall.UnmarshallingContext._addToIDTree |
| _checkIDTree | 1 | Db4objects.Db4o.Internal.Marshall.UnmarshallingContext._checkIDTree |
| _debugPrepend | 4 | Db4objects.Db4o.Internal.Marshall.MarshallingContext._debugPrepend |
| CurrentVersion | 0 | Db4objects.Db4o.Internal.Marshall.MarshallerFamily.CurrentVersion |
| _id | 4 | Db4objects.Db4o.Internal.Mapping.MappingNotFoundException._id |
| _orig | 4 | Db4objects.Db4o.Internal.Mapping.MappedIDPair._orig |
| _mapped | 4 | Db4objects.Db4o.Internal.Mapping.MappedIDPair._mapped |
| _bitmap | 4 | Db4objects.Db4o.Internal.Fieldindex.QEBitmap._bitmap |
| _next | 4 | Db4objects.Db4o.Internal.Fieldindex.IndexedPath._next |
| _path | 4 | Db4objects.Db4o.Internal.Fieldindex.IndexedPathIterator._path |
| _depth | 4 | Db4objects.Db4o.Internal.Activation.FixedUpdateDepth._depth |
| _query | 4 | Db4objects.Db4o.Internal.Activation.TPFixedUpdateDepth._query |
| _slotChanges | 4 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl._slotChanges |
| _systemIdSystem | 4 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl._systemIdSystem |
| _delegate | 4 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager._delegate |
| _idSystem | 4 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager._idSystem |
| _exception | 4 | Db4objects.Db4o.Internal.Threading.UncaughtExceptionEventArgs ._exception |
| _predicate | 4 | Db4objects.Db4o.Internal.Query.QueryExecutionEventArgs._predicate |
| _kind | 4 | Db4objects.Db4o.Internal.Query.QueryExecutionEventArgs._kind |
| _predicate | 4 | Db4objects.Db4o.Internal.Query.NQOptimizationInfo._predicate |
Statistics
| Stat | Size of instance |
|---|---|
| Sum: | 943 |
| Average: | 3.5451 |
| Minimum: | 0 |
| Maximum: | 4 |
| Standard deviation: | 1.2014 |
| Variance: | 1.4435 |
| Rule warning: Structures should be immutable |
// <Name>Structures should be immutable</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsStructure AND
!IsImmutable AND
!IsInFrameworkAssembly
// It is deemed as a good practice to make
// your structure immutable.
// An object is immutable if its state doesn’t
// change once the object has been created.
// Consequently, a structure is immutable if
// its instances are immutable.
// Immutable types naturally simplify code by
// limiting side-effects.
// See some explanations on immutability and
// how NDepend supports it here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/13/immutable-types-understand-them-and-use-them.aspx
WARN IF Count > 0 IN SELECT TYPES WHERE
IsStructure AND
!IsImmutable AND
!IsInFrameworkAssembly
// It is deemed as a good practice to make
// your structure immutable.
// An object is immutable if its state doesn’t
// change once the object has been created.
// Consequently, a structure is immutable if
// its instances are immutable.
// Immutable types naturally simplify code by
// limiting side-effects.
// See some explanations on immutability and
// how NDepend supports it here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/13/immutable-types-understand-them-and-use-them.aspx
1 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| Tuple<A,B> | 2 | Db4objects.Db4o.Foundation.Tuple<A,B> |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 2 |
| Average: | 2 |
| Minimum: | 2 |
| Maximum: | 2 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Instance Property Getter should be immutable |
// <Name>Instance Property Getter should be immutable</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
IsPropertyGetter AND
!IsStatic AND
ChangesObjectState
// This rule might be violated in the case of object lazy initialized
// when the property getter is accessed the first time.
WARN IF Count > 0 IN SELECT METHODS WHERE
IsPropertyGetter AND
!IsStatic AND
ChangesObjectState
// This rule might be violated in the case of object lazy initialized
// when the property getter is accessed the first time.
2 methods matched
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| get_ClassConfiguration() | 3 | Db4objects.Db4o.Config.Attributes.ConfigurationIntrospector .get_ClassConfiguration() |
| get_Container() | 3 | Db4objects.Db4o.Data.Services.Db4oDataContext.get_Container() |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 6 |
| Average: | 3 |
| Minimum: | 3 |
| Maximum: | 3 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Static Property Getter should be immutable |
// <Name>Static Property Getter should be immutable</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
IsPropertyGetter AND
IsStatic AND
ChangesTypeState
// Generated property getter Resources.get_ResourceManager()
// provokes a read-only property lazy-initialized
AND !FullNameLike "Resources.get_ResourceManager()"
// This rule might be violated in the case of object lazy initialized
// when the property getter is accessed the first time.
WARN IF Count > 0 IN SELECT METHODS WHERE
IsPropertyGetter AND
IsStatic AND
ChangesTypeState
// Generated property getter Resources.get_ResourceManager()
// provokes a read-only property lazy-initialized
AND !FullNameLike "Resources.get_ResourceManager()"
// This rule might be violated in the case of object lazy initialized
// when the property getter is accessed the first time.
1 methods matched
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| get_Locals() | 4 | Sharpen.Lang.ThreadLocal.get_Locals() |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 4 |
| Average: | 4 |
| Minimum: | 4 |
| Maximum: | 4 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Naming Conventions |
|
|
| Rule warning: Instance fields should be prefixed with a 'm_' |
// <Name>Instance fields should be prefixed with a 'm_'</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
!NameLike "^m_" AND
!IsStatic AND
!IsLiteral AND
!IsGeneratedByCompiler AND
!IsSpecialName AND
!IsEventDelegateObject
// This naming convention provokes debate.
// Don't hesitate to customize the regex of
// NameLike to your preference.
WARN IF Count > 0 IN SELECT FIELDS WHERE
!NameLike "^m_" AND
!IsStatic AND
!IsLiteral AND
!IsGeneratedByCompiler AND
!IsSpecialName AND
!IsEventDelegateObject
// This naming convention provokes debate.
// Don't hesitate to customize the regex of
// NameLike to your preference.
2,236 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 2236 fields matched. All matched fields could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
| fields | Size of instance | Full Name |
|---|---|---|
| fields | Size of instance | Full Name |
| _stream | 4 | Sharpen.IO.StreamAdaptor._stream |
| _stream | 4 | Sharpen.IO.RandomAccessFile._stream |
| _path | 4 | Sharpen.IO.File._path |
| _stream | 4 | Sharpen.IO.BufferedInputStream._stream |
| _stream | 4 | Sharpen.IO.BufferedOutputStream._stream |
| _elements | 4 | Sharpen.Util.HashSet._elements |
| _random | 4 | Sharpen.Util.Random._random |
| _delegate | 4 | Sharpen.Net.SocketWrapper._delegate |
| _in | 4 | Sharpen.Net.Socket._in |
| _out | 4 | Sharpen.Net.Socket._out |
| _toString | 4 | Sharpen.Net.Socket._toString |
| _format | 4 | Sharpen.Text.DecimalFormat._format |
| _simpleName | 4 | Sharpen.Lang.SimpleTypeReference._simpleName |
| _assemblyName | 4 | Sharpen.Lang.SimpleTypeReference._assemblyName |
| _elementType | 4 | Sharpen.Lang.QualifiedTypeReference._elementType |
| _rank | 4 | Sharpen.Lang.ArrayTypeReference._rank |
| _genericArguments | 4 | Sharpen.Lang.GenericTypeReference._genericArguments |
| Kind | 4 | Sharpen.Lang.Token.Kind |
| Value | 4 | Sharpen.Lang.Token.Value |
| _input | 4 | Sharpen.Lang.TypeReferenceLexer._input |
| _index | 4 | Sharpen.Lang.TypeReferenceLexer._index |
| _buffer | 4 | Sharpen.Lang.TypeReferenceLexer._buffer |
| _target | 4 | Sharpen.Lang.Thread._target |
| _name | 4 | Sharpen.Lang.Thread._name |
| _thread | 4 | Sharpen.Lang.Thread._thread |
| _isDaemon | 1 | Sharpen.Lang.Thread._isDaemon |
| _lexer | 4 | Sharpen.Lang.TypeReferenceParser._lexer |
| _stack | 4 | Sharpen.Lang.TypeReferenceParser._stack |
| _enabled | 1 | Db4objects.Db4o.DTrace._enabled |
| _break | 1 | Db4objects.Db4o.DTrace._break |
| _log | 1 | Db4objects.Db4o.DTrace._log |
| _tag | 4 | Db4objects.Db4o.DTrace._tag |
| name | 4 | Db4objects.Db4o.User.name |
| password | 4 | Db4objects.Db4o.User.password |
| rClass | 4 | Db4objects.Db4o.Rename.rClass |
| rFrom | 4 | Db4objects.Db4o.Rename.rFrom |
| rTo | 4 | Db4objects.Db4o.Rename.rTo |
| i_db | 4 | Db4objects.Db4o.PBootRecord.i_db |
| i_versionGenerator | 8 | Db4objects.Db4o.PBootRecord.i_versionGenerator |
| i_uuidMetaIndex | 4 | Db4objects.Db4o.PBootRecord.i_uuidMetaIndex |
| name | 4 | Db4objects.Db4o.StaticClass.name |
| fields | 4 | Db4objects.Db4o.StaticClass.fields |
| indexAddress | 4 | Db4objects.Db4o.MetaIndex.indexAddress |
| indexEntries | 4 | Db4objects.Db4o.MetaIndex.indexEntries |
| indexLength | 4 | Db4objects.Db4o.MetaIndex.indexLength |
| name | 4 | Db4objects.Db4o.MetaClass.name |
| fields | 4 | Db4objects.Db4o.MetaClass.fields |
| name | 4 | Db4objects.Db4o.StaticField.name |
| value | 4 | Db4objects.Db4o.StaticField.value |
| name | 4 | Db4objects.Db4o.MetaField.name |
| index | 4 | Db4objects.Db4o.MetaField.index |
| i_bytes | 4 | Db4objects.Db4o.Ext.MemoryFile.i_bytes |
| i_initialSize | 4 | Db4objects.Db4o.Ext.MemoryFile.i_initialSize |
| i_incrementSizeBy | 4 | Db4objects.Db4o.Ext.MemoryFile.i_incrementSizeBy |
| i_signature | 4 | Db4objects.Db4o.Ext.Db4oDatabase.i_signature |
| i_uuid | 8 | Db4objects.Db4o.Ext.Db4oDatabase.i_uuid |
| i_stream | 4 | Db4objects.Db4o.Ext.Db4oDatabase.i_stream |
| i_id | 4 | Db4objects.Db4o.Ext.Db4oDatabase.i_id |
| longPart | 8 | Db4objects.Db4o.Ext.Db4oUUID.longPart |
| signaturePart | 4 | Db4objects.Db4o.Ext.Db4oUUID.signaturePart |
| _exceptions | 4 | Db4objects.Db4o.Ext.CompositeDb4oException._exceptions |
| _extentType | 4 | Db4objects.Db4o.Query.Predicate._extentType |
| cachedFilterMethod | 4 | Db4objects.Db4o.Query.Predicate.cachedFilterMethod |
| _dictionary | 4 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> ._dictionary |
| _objectContainer | 4 | Db4objects.Db4o.Collections.CollectionFactory._objectContainer |
| _keys | 4 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V>._keys |
| _values | 4 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V>._values |
| _size | 4 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V>._size |
| _activator | 4 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V>._activator |
| modCount | 4 | Db4objects.Db4o.Collections.ArrayList4<E>.modCount |
| elements | 4 | Db4objects.Db4o.Collections.ArrayList4<E>.elements |
| listSize | 4 | Db4objects.Db4o.Collections.ArrayList4<E>.listSize |
| _activator | 4 | Db4objects.Db4o.Collections.ArrayList4<E>._activator |
| _list | 4 | Db4objects.Db4o.Collections.ActivatableList<T>._list |
| _transaction | 4 | Db4objects.Db4o.Events.TransactionalEventArgs._transaction |
| _collections | 4 | Db4objects.Db4o.Events.CommitEventArgs._collections |
| _query | 4 | Db4objects.Db4o.Events.QueryEventArgs._query |
| _container | 4 | Db4objects.Db4o.Events.ObjectContainerEventArgs._container |
| _message | 4 | Db4objects.Db4o.Events.StringEventArgs._message |
| _clazz | 4 | Db4objects.Db4o.Events.ClassEventArgs._clazz |
| _info | 4 | Db4objects.Db4o.Events.ObjectInfoEventArgs._info |
| _cancelled | 1 | Db4objects.Db4o.Events.CancellableObjectEventArgs._cancelled |
| _object | 4 | Db4objects.Db4o.Events.CancellableObjectEventArgs._object |
| _enclosing | 4 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_45 ._enclosing |
| _enclosing | 4 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_50 ._enclosing |
| _enclosing | 4 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_56 ._enclosing |
| processor | 4 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_67 .processor |
| _enclosing | 4 | Db4objects.Db4o.TA.TransparentActivationSupport+_IVisitor4_95 ._enclosing |
| _container | 4 | Db4objects.Db4o.TA.TransparentActivationSupport+TADiagnosticProcessor ._container |
| _enclosing | 4 | Db4objects.Db4o.TA.TransparentActivationSupport+TADiagnosticProcessor ._enclosing |
| _class | 4 | Db4objects.Db4o.TA.NotTransparentActivationEnabled._class |
| _rollbackStrategy | 4 | Db4objects.Db4o.TA.TransparentPersistenceSupport._rollbackStrategy |
| _transaction | 4 | Db4objects.Db4o.TA.TransactionalActivator._transaction |
| _objectReference | 4 | Db4objects.Db4o.TA.TransactionalActivator._objectReference |
| _storage | 4 | Db4objects.Db4o.IO.StorageDecorator._storage |
| _bin | 4 | Db4objects.Db4o.IO.BinDecorator._bin |
| _pageSize | 4 | Db4objects.Db4o.IO.CachingBin._pageSize |
| _cache | 4 | Db4objects.Db4o.IO.CachingBin._cache |
| _pagePool | 4 | Db4objects.Db4o.IO.CachingBin._pagePool |
| _fileLength | 8 | Db4objects.Db4o.IO.CachingBin._fileLength |
Statistics
| Stat | Size of instance |
|---|---|
| Sum: | 8 732 |
| Average: | 3.9052 |
| Minimum: | 1 |
| Maximum: | 8 |
| Standard deviation: | 0.88717 |
| Variance: | 0.78707 |
| Rule warning: Static fields should be prefixed with a 's_' |
// <Name>Static fields should be prefixed with a 's_'</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
!NameLike "^s_" AND
IsStatic AND
!IsLiteral AND
!IsGeneratedByCompiler AND
!IsSpecialName AND
!IsEventDelegateObject
// This naming convention provokes debate.
// Don't hesitate to customize the regex of
// NameLike to your preference.
WARN IF Count > 0 IN SELECT FIELDS WHERE
!NameLike "^s_" AND
IsStatic AND
!IsLiteral AND
!IsGeneratedByCompiler AND
!IsSpecialName AND
!IsEventDelegateObject
// This naming convention provokes debate.
// Don't hesitate to customize the regex of
// NameLike to your preference.
539 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 539 fields matched. All matched fields could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched fields.
| fields | Size of instance | Full Name |
|---|---|---|
| fields | Size of instance | Full Name |
| DIFFERENCE_IN_TICKS | 0 | Sharpen.Runtime.DIFFERENCE_IN_TICKS |
| RATIO | 0 | Sharpen.Runtime.RATIO |
| separatorChar | 0 | Sharpen.IO.File.separatorChar |
| separator | 0 | Sharpen.IO.File.separator |
| _object | 0 | Sharpen.Util.HashSet._object |
| _locals | 0 | Sharpen.Lang.ThreadLocal._locals |
| enabled | 0 | Db4objects.Db4o.DTrace.enabled |
| writeToLogFile | 0 | Db4objects.Db4o.DTrace.writeToLogFile |
| writeToConsole | 0 | Db4objects.Db4o.DTrace.writeToConsole |
| logFilePath | 0 | Db4objects.Db4o.DTrace.logFilePath |
| logFileName | 0 | Db4objects.Db4o.DTrace.logFileName |
| Lock | 0 | Db4objects.Db4o.DTrace.Lock |
| stringIO | 0 | Db4objects.Db4o.DTrace.stringIO |
| _logFile | 0 | Db4objects.Db4o.DTrace._logFile |
| Unused | 0 | Db4objects.Db4o.DTrace.Unused |
| _rangeStart | 0 | Db4objects.Db4o.DTrace._rangeStart |
| _rangeEnd | 0 | Db4objects.Db4o.DTrace._rangeEnd |
| _rangeCount | 0 | Db4objects.Db4o.DTrace._rangeCount |
| _eventNr | 0 | Db4objects.Db4o.DTrace._eventNr |
| _breakEventNrs | 0 | Db4objects.Db4o.DTrace._breakEventNrs |
| _breakEventCount | 0 | Db4objects.Db4o.DTrace._breakEventCount |
| _breakAfterEvent | 0 | Db4objects.Db4o.DTrace._breakAfterEvent |
| _trackEventsWithoutRange | 0 | Db4objects.Db4o.DTrace._trackEventsWithoutRange |
| AddToClassIndex | 0 | Db4objects.Db4o.DTrace.AddToClassIndex |
| BeginTopLevelCall | 0 | Db4objects.Db4o.DTrace.BeginTopLevelCall |
| Bind | 0 | Db4objects.Db4o.DTrace.Bind |
| BlockingQueueStoppedException | 0 | Db4objects.Db4o.DTrace.BlockingQueueStoppedException |
| BtreeNodeCommitOrRollback | 0 | Db4objects.Db4o.DTrace.BtreeNodeCommitOrRollback |
| BtreeNodeRemove | 0 | Db4objects.Db4o.DTrace.BtreeNodeRemove |
| BtreeProduceNode | 0 | Db4objects.Db4o.DTrace.BtreeProduceNode |
| CandidateRead | 0 | Db4objects.Db4o.DTrace.CandidateRead |
| ClassmetadataById | 0 | Db4objects.Db4o.DTrace.ClassmetadataById |
| ClassmetadataInit | 0 | Db4objects.Db4o.DTrace.ClassmetadataInit |
| ClientMessageLoopException | 0 | Db4objects.Db4o.DTrace.ClientMessageLoopException |
| Close | 0 | Db4objects.Db4o.DTrace.Close |
| CloseCalled | 0 | Db4objects.Db4o.DTrace.CloseCalled |
| CollectChildren | 0 | Db4objects.Db4o.DTrace.CollectChildren |
| Commit | 0 | Db4objects.Db4o.DTrace.Commit |
| Continueset | 0 | Db4objects.Db4o.DTrace.Continueset |
| CreateCandidate | 0 | Db4objects.Db4o.DTrace.CreateCandidate |
| Delete | 0 | Db4objects.Db4o.DTrace.Delete |
| Donotinclude | 0 | Db4objects.Db4o.DTrace.Donotinclude |
| EndTopLevelCall | 0 | Db4objects.Db4o.DTrace.EndTopLevelCall |
| EvaluateSelf | 0 | Db4objects.Db4o.DTrace.EvaluateSelf |
| FatalException | 0 | Db4objects.Db4o.DTrace.FatalException |
| FileFree | 0 | Db4objects.Db4o.DTrace.FileFree |
| Free | 0 | Db4objects.Db4o.DTrace.Free |
| FreespacemanagerGetSlot | 0 | Db4objects.Db4o.DTrace.FreespacemanagerGetSlot |
| FreespacemanagerRamFree | 0 | Db4objects.Db4o.DTrace.FreespacemanagerRamFree |
| FreespacemanagerBtreeFree | 0 | Db4objects.Db4o.DTrace.FreespacemanagerBtreeFree |
| FreeOnCommit | 0 | Db4objects.Db4o.DTrace.FreeOnCommit |
| FreeOnRollback | 0 | Db4objects.Db4o.DTrace.FreeOnRollback |
| FreePointerOnRollback | 0 | Db4objects.Db4o.DTrace.FreePointerOnRollback |
| GetSlot | 0 | Db4objects.Db4o.DTrace.GetSlot |
| GetPointerSlot | 0 | Db4objects.Db4o.DTrace.GetPointerSlot |
| GetFreespaceRam | 0 | Db4objects.Db4o.DTrace.GetFreespaceRam |
| GetYapobject | 0 | Db4objects.Db4o.DTrace.GetYapobject |
| IdTreeAdd | 0 | Db4objects.Db4o.DTrace.IdTreeAdd |
| IdTreeRemove | 0 | Db4objects.Db4o.DTrace.IdTreeRemove |
| IoCopy | 0 | Db4objects.Db4o.DTrace.IoCopy |
| JustSet | 0 | Db4objects.Db4o.DTrace.JustSet |
| NewInstance | 0 | Db4objects.Db4o.DTrace.NewInstance |
| NotifySlotCreated | 0 | Db4objects.Db4o.DTrace.NotifySlotCreated |
| NotifySlotUpdated | 0 | Db4objects.Db4o.DTrace.NotifySlotUpdated |
| NotifySlotDeleted | 0 | Db4objects.Db4o.DTrace.NotifySlotDeleted |
| ObjectReferenceCreated | 0 | Db4objects.Db4o.DTrace.ObjectReferenceCreated |
| PersistentBaseNewSlot | 0 | Db4objects.Db4o.DTrace.PersistentBaseNewSlot |
| PersistentOwnLength | 0 | Db4objects.Db4o.DTrace.PersistentOwnLength |
| PersistentbaseSetId | 0 | Db4objects.Db4o.DTrace.PersistentbaseSetId |
| PersistentbaseWrite | 0 | Db4objects.Db4o.DTrace.PersistentbaseWrite |
| ProduceSlotChange | 0 | Db4objects.Db4o.DTrace.ProduceSlotChange |
| QueryProcess | 0 | Db4objects.Db4o.DTrace.QueryProcess |
| ReadArrayWrapper | 0 | Db4objects.Db4o.DTrace.ReadArrayWrapper |
| ReadBytes | 0 | Db4objects.Db4o.DTrace.ReadBytes |
| ReadSlot | 0 | Db4objects.Db4o.DTrace.ReadSlot |
| ReferenceRemoved | 0 | Db4objects.Db4o.DTrace.ReferenceRemoved |
| RegularSeek | 0 | Db4objects.Db4o.DTrace.RegularSeek |
| RemoveFromClassIndex | 0 | Db4objects.Db4o.DTrace.RemoveFromClassIndex |
| RereadOldUuid | 0 | Db4objects.Db4o.DTrace.RereadOldUuid |
| ServerMessageLoopException | 0 | Db4objects.Db4o.DTrace.ServerMessageLoopException |
| SlotMapped | 0 | Db4objects.Db4o.DTrace.SlotMapped |
| SlotCommitted | 0 | Db4objects.Db4o.DTrace.SlotCommitted |
| SlotFreeOnCommit | 0 | Db4objects.Db4o.DTrace.SlotFreeOnCommit |
| SlotFreeOnRollbackId | 0 | Db4objects.Db4o.DTrace.SlotFreeOnRollbackId |
| SlotFreeOnRollbackAddress | 0 | Db4objects.Db4o.DTrace.SlotFreeOnRollbackAddress |
| SlotRead | 0 | Db4objects.Db4o.DTrace.SlotRead |
| TransCommit | 0 | Db4objects.Db4o.DTrace.TransCommit |
| TransDontDelete | 0 | Db4objects.Db4o.DTrace.TransDontDelete |
| TransDelete | 0 | Db4objects.Db4o.DTrace.TransDelete |
| TransFlush | 0 | Db4objects.Db4o.DTrace.TransFlush |
| WriteBytes | 0 | Db4objects.Db4o.DTrace.WriteBytes |
| WritePointer | 0 | Db4objects.Db4o.DTrace.WritePointer |
| WriteXbytes | 0 | Db4objects.Db4o.DTrace.WriteXbytes |
| WriteUpdateAdjustIndexes | 0 | Db4objects.Db4o.DTrace.WriteUpdateAdjustIndexes |
| all | 0 | Db4objects.Db4o.DTrace.all |
| current | 0 | Db4objects.Db4o.DTrace.current |
| i_config | 0 | Db4objects.Db4o.Db4oFactory.i_config |
| Name | 0 | Db4objects.Db4o.Db4oVersion.Name |
| Version | 0 | Db4objects.Db4o.Ext.VirtualField.Version |
| StaticIdentity | 0 | Db4objects.Db4o.Ext.Db4oDatabase.StaticIdentity |
Statistics
| Stat | Size of instance |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Abstract base class should be suffixed with 'Base' |
// <Name>Abstract base class should be suffixed with 'Base'</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsAbstract AND
IsClass AND
// equivalent to: DepthOfDeriveFrom "System.Object" == 1
DepthOfInheritance == 1 AND
((!IsGeneric AND !NameLike "Base$") OR
( IsGeneric AND !NameLike "Base<"))
WARN IF Count > 0 IN SELECT TYPES WHERE
IsAbstract AND
IsClass AND
// equivalent to: DepthOfDeriveFrom "System.Object" == 1
DepthOfInheritance == 1 AND
((!IsGeneric AND !NameLike "Base$") OR
( IsGeneric AND !NameLike "Base<"))
58 types matched
| types | Depth of inheritance | Full Name |
|---|---|---|
| types | Depth of inheritance | Full Name |
| StreamAdaptor | 1 | Sharpen.IO.StreamAdaptor |
| TypeReference | 1 | Sharpen.Lang.TypeReference |
| Predicate | 1 | Db4objects.Db4o.Query.Predicate |
| IoAdapter | 1 | Db4objects.Db4o.IO.IoAdapter |
| AbstractIdMapping | 1 | Db4objects.Db4o.Defragment.AbstractIdMapping |
| DefragmentServicesImpl+DbSelector | 1 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+DbSelector |
| TypeHandlerConfiguration | 1 | Db4objects.Db4o.Internal.TypeHandlerConfiguration |
| AbstractBufferContext | 1 | Db4objects.Db4o.Internal.AbstractBufferContext |
| Identifiable | 1 | Db4objects.Db4o.Internal.Identifiable |
| ClassAspect | 1 | Db4objects.Db4o.Internal.ClassAspect |
| Config4Abstract | 1 | Db4objects.Db4o.Internal.Config4Abstract |
| Transaction | 1 | Db4objects.Db4o.Internal.Transaction |
| IntMatcher | 1 | Db4objects.Db4o.Internal.IntMatcher |
| TraverseFieldCommand | 1 | Db4objects.Db4o.Internal.Metadata.TraverseFieldCommand |
| MarshallingInfoTraverseAspectCommand | 1 | Db4objects.Db4o.Internal.Metadata.MarshallingInfoTraverseAspectCommand |
| SlotFormat | 1 | Db4objects.Db4o.Internal.Marshall.SlotFormat |
| AbstractFieldMarshaller | 1 | Db4objects.Db4o.Internal.Marshall.AbstractFieldMarshaller |
| ClassMarshaller | 1 | Db4objects.Db4o.Internal.Marshall.ClassMarshaller |
| PrimitiveMarshaller | 1 | Db4objects.Db4o.Internal.Marshall.PrimitiveMarshaller |
| TimerFileLock | 1 | Db4objects.Db4o.Internal.Fileheader.TimerFileLock |
| FileHeader | 1 | Db4objects.Db4o.Internal.Fileheader.FileHeader |
| FileHeaderVariablePart | 1 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart |
| JoinedLeaf | 1 | Db4objects.Db4o.Internal.Fieldindex.JoinedLeaf |
| BuiltInStringEncoding | 1 | Db4objects.Db4o.Internal.Encoding.BuiltInStringEncoding |
| ActivationDepthImpl | 1 | Db4objects.Db4o.Internal.Activation.ActivationDepthImpl |
| FixedUpdateDepth | 1 | Db4objects.Db4o.Internal.Activation.FixedUpdateDepth |
| UnspecifiedUpdateDepth | 1 | Db4objects.Db4o.Internal.Activation.UnspecifiedUpdateDepth |
| AbstractFreespaceManager | 1 | Db4objects.Db4o.Internal.Freespace.AbstractFreespaceManager |
| SlotHandler | 1 | Db4objects.Db4o.Internal.Freespace.SlotHandler |
| TransactionLogHandler | 1 | Db4objects.Db4o.Internal.Transactionlog.TransactionLogHandler |
| AbstractClassIndexStrategy | 1 | Db4objects.Db4o.Internal.Classindex.AbstractClassIndexStrategy |
| AbstractQueryResult | 1 | Db4objects.Db4o.Internal.Query.Result.AbstractQueryResult |
| QCon | 1 | Db4objects.Db4o.Internal.Query.Processor.QCon |
| PrimitiveHandler | 1 | Db4objects.Db4o.Internal.Handlers.PrimitiveHandler |
| BTreePatch | 1 | Db4objects.Db4o.Internal.Btree.BTreePatch |
| AbstractBTreeRangeIterator | 1 | Db4objects.Db4o.Internal.Btree.AbstractBTreeRangeIterator |
| BTreeRangeOperation | 1 | Db4objects.Db4o.Internal.Btree.Algebra.BTreeRangeOperation |
| Conversion | 1 | Db4objects.Db4o.Internal.Convert.Conversion |
| ConversionStage | 1 | Db4objects.Db4o.Internal.Convert.ConversionStage |
| AbstractReflectArray | 1 | Db4objects.Db4o.Reflect.Core.AbstractReflectArray |
| Tree | 1 | Db4objects.Db4o.Foundation.Tree |
| MappingIterator | 1 | Db4objects.Db4o.Foundation.MappingIterator |
| IndexedIterator | 1 | Db4objects.Db4o.Foundation.IndexedIterator |
| AbstractTreeIterator | 1 | Db4objects.Db4o.Foundation.AbstractTreeIterator |
| ExpressionTransformer | 1 | Db4objects.Db4o.Linq.Expressions.ExpressionTransformer |
| ExpressionVisitor | 1 | Db4objects.Db4o.Linq.Expressions.ExpressionVisitor |
| QueryBuilderRecordImpl | 1 | Db4objects.Db4o.Linq.Internals.QueryBuilderRecordImpl |
| ReflectionTestSuite | 1 | Db4oUnit.ReflectionTestSuite |
| Printable | 1 | Db4oUnit.Printable |
| FixtureBasedTestSuite | 1 | Db4oUnit.Fixtures.FixtureBasedTestSuite |
| ShutdownMode | 1 | Db4objects.Db4o.CS.Internal.ShutdownMode |
| Msg | 1 | Db4objects.Db4o.CS.Internal.Messages.Msg |
| AbstractDb4oFixture | 1 | Db4oUnit.Extensions.Fixtures.AbstractDb4oFixture |
| BinaryExpression | 1 | Db4objects.Db4o.NativeQueries.Expr.BinaryExpression |
| ComparisonOperandDescendant | 1 | Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand .ComparisonOperandDescendant |
| ComparisonOperandRoot | 1 | Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand.ComparisonOperandRoot |
| SelfReflectionRegistry | 1 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry |
| Db4oDataContext | 1 | Db4objects.Db4o.Data.Services.Db4oDataContext |
Statistics
| Stat | Depth of inheritance |
|---|---|
| Sum: | 58 |
| Average: | 1 |
| Minimum: | 1 |
| Maximum: | 1 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Exception class name should be suffixed with 'Exception' |
// <Name>Exception class name should be suffixed with 'Exception'</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsExceptionClass AND
!NameLike "Exception$" AND
!IsInFrameworkAssembly
// The name of an exception class should end with
// 'Exception'.
WARN IF Count > 0 IN SELECT TYPES WHERE
IsExceptionClass AND
!NameLike "Exception$" AND
!IsInFrameworkAssembly
// The name of an exception class should end with
// 'Exception'.
1 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| InternalServerError | 1 | Db4objects.Db4o.CS.Internal.InternalServerError |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 1 |
| Average: | 1 |
| Minimum: | 1 |
| Maximum: | 1 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Types name should begin with an Upper character |
// <Name>Types name should begin with an Upper character</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
// The name of a type should begin with an Upper letter.
!NameLike "^[A-Z]" AND
// Except if it is generated by compiler or ...
!IsGeneratedByCompiler AND
// ... if it is declared in a third party assembly.
!IsInFrameworkAssembly
WARN IF Count > 0 IN SELECT TYPES WHERE
// The name of a type should begin with an Upper letter.
!NameLike "^[A-Z]" AND
// Except if it is generated by compiler or ...
!IsGeneratedByCompiler AND
// ... if it is declared in a third party assembly.
!IsInFrameworkAssembly
1 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| __fixme__ | 0 | Sharpen.Lang.Reflect.__fixme__ |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Rule warning: Type names should not match namespaces |
// <Name>Type names should not match namespaces</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
NameIs "Collections" OR
NameIs "Forms" OR
NameIs "System" OR
NameIs "UI"
// Type names should not match the names of
// namespaces defined in the .NET Framework
// class library. Violating this rule can reduce
// the usability of the library.
WARN IF Count > 0 IN SELECT TYPES WHERE
NameIs "Collections" OR
NameIs "Forms" OR
NameIs "System" OR
NameIs "UI"
// Type names should not match the names of
// namespaces defined in the .NET Framework
// class library. Violating this rule can reduce
// the usability of the library.
1 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| Collections | 21 | Sharpen.Collections |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 21 |
| Average: | 21 |
| Minimum: | 21 |
| Maximum: | 21 |
| Standard deviation: | 0 |
| Variance: | 0 |
| Name too long |
|
|
| Rule warning: Avoid methods with name too long |
// <Name>Avoid methods with name too long</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NameLike "^[^\<\(]{35,}.*$" AND
!IsExplicitInterfaceImpl AND
!IsInFrameworkAssembly
// The regex matches methods with name longer
// than 35 characters.
// Method Name doesn't contain the type and namespace
// prefix, FullName does.
// The regex computes the method name length from
// the beginning until the first open parenthesis
// or first lower than (for generic methods).
// Explicit Interface Implementation methods are
// discarded because their names are prefixed
// with the interface name.
WARN IF Count > 0 IN SELECT METHODS WHERE
NameLike "^[^\<\(]{35,}.*$" AND
!IsExplicitInterfaceImpl AND
!IsInFrameworkAssembly
// The regex matches methods with name longer
// than 35 characters.
// Method Name doesn't contain the type and namespace
// prefix, FullName does.
// The regex computes the method name length from
// the beginning until the first open parenthesis
// or first lower than (for generic methods).
// Explicit Interface Implementation methods are
// discarded because their names are prefixed
// with the interface name.
25 methods matched
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| UnregisterFromTransparentPersistence(Transaction,Object) | 4 | Db4objects.Db4o.Internal.ObjectContainerBase .UnregisterFromTransparentPersistence(Transaction,Object) |
| InitializePostOpenExcludingTransportObjectContainer() | 7 | Db4objects.Db4o.Internal.ObjectContainerBase .InitializePostOpenExcludingTransportObjectContainer() |
| InstantiateWithCustomTypeHandlerIfEnabled(UnmarshallingContext) | 3 | Db4objects.Db4o.Internal.ClassMetadata .InstantiateWithCustomTypeHandlerIfEnabled(UnmarshallingContext) |
| InstantiateForVersionWithoutCustomTypeHandler(UnmarshallingContext) | 4 | Db4objects.Db4o.Internal.ClassMetadata .InstantiateForVersionWithoutCustomTypeHandler(UnmarshallingContext) |
| CreateRemovedAspectTraversalStrategy(IList) | 1 | Db4objects.Db4o.Internal.ClassMetadata .CreateRemovedAspectTraversalStrategy(IList) |
| InitializePostOpenExcludingTransportObjectContainer() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer .InitializePostOpenExcludingTransportObjectContainer() |
| CollectCommittedCallbackDeletedInfo() | 3 | Db4objects.Db4o.Internal.LocalTransaction .CollectCommittedCallbackDeletedInfo() |
| EnableTransparentPersistenceSupportFor(IInternalObjectContainer ,IRollbackStrategy) | N/A | Db4objects.Db4o.Internal.Activation .ITransparentActivationDepthProvider .EnableTransparentPersistenceSupportFor(IInternalObjectContainer ,IRollbackStrategy) |
| EnableTransparentPersistenceSupportFor(IInternalObjectContainer ,IRollbackStrategy) | 3 | Db4objects.Db4o.Internal.Activation .TransparentActivationDepthProviderImpl .EnableTransparentPersistenceSupportFor(IInternalObjectContainer ,IRollbackStrategy) |
| set_WeakReferenceCollectionInterval(Int32) | 2 | Db4objects.Db4o.Internal.Config.CommonConfigurationImpl .set_WeakReferenceCollectionInterval(Int32) |
| TriggerCancellableObjectEventArgsInCallback(Transaction,EventHandler <CancellableObjectEventArgs>,IObjectInfo,Object) | 5 | Db4objects.Db4o.Internal.Events.EventRegistryImpl .TriggerCancellableObjectEventArgsInCallback(Transaction,EventHandler <CancellableObjectEventArgs>,IObjectInfo,Object) |
| LockFileSignalsInterruptedTransaction() | 12 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler .LockFileSignalsInterruptedTransaction() |
| FitsIntoExistingConstraintHierarchy(QCon) | 15 | Db4objects.Db4o.Internal.Query.Processor.QCandidates .FitsIntoExistingConstraintHierarchy(QCon) |
| CollectIDsByInstantiatingCollection(QueryingReadContext) | 11 | Db4objects.Db4o.Internal.Handlers.StandardReferenceTypeHandler .CollectIDsByInstantiatingCollection(QueryingReadContext) |
| AdjustSizeOnRemovalByOtherTransaction(BTree,BTreeNode) | N/A | Db4objects.Db4o.Internal.Btree.BTreeUpdate .AdjustSizeOnRemovalByOtherTransaction(BTree,BTreeNode) |
| AdjustSizeOnRemovalByOtherTransaction(BTree,BTreeNode) | 0 | Db4objects.Db4o.Internal.Btree.BTreeCancelledRemoval .AdjustSizeOnRemovalByOtherTransaction(BTree,BTreeNode) |
| AdjustSizeOnRemovalByOtherTransaction(BTree,BTreeNode) | 1 | Db4objects.Db4o.Internal.Btree.BTreeRemove .AdjustSizeOnRemovalByOtherTransaction(BTree,BTreeNode) |
| set_WeakReferenceCollectionInterval(Int32) | N/A | Db4objects.Db4o.Config.ICommonConfiguration .set_WeakReferenceCollectionInterval(Int32) |
| TestConstructorFailuresAppearAsFailedTestCases() | 2 | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase .TestConstructorFailuresAppearAsFailedTestCases() |
| TestDoesNotAcceptOptOutAllButNetworkingCS() | 1 | Db4oUnit.Extensions.Tests.Db4oEmbeddedSessionFixtureTestCase .TestDoesNotAcceptOptOutAllButNetworkingCS() |
| TestSingleTestWithDifferentFixtures() | 2 | Db4oUnit.Extensions.Tests.FixtureTestCase .TestSingleTestWithDifferentFixtures() |
| IsNoSideEffectIndirectActivationInvocation(MethodInvocationExpression) | 8 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder .IsNoSideEffectIndirectActivationInvocation(MethodInvocationExpression ) |
| DeclaringTypeImplementsIActivatable(TypeDefinition) | 7 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder .DeclaringTypeImplementsIActivatable(TypeDefinition) |
| ReconstructNullComparisonIfNecessary(Expression) | 7 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor .ReconstructNullComparisonIfNecessary(Expression) |
| CounterForNetworkingClientConnections(IObjectServer) | 5 | Db4objects.Db4o.CS.Monitoring.Db4oClientServerPerformanceCounters .CounterForNetworkingClientConnections(IObjectServer) |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 103 |
| Average: | 4.12 |
| Minimum: | 0 |
| Maximum: | 15 |
| Standard deviation: | 4.0032 |
| Variance: | 16.026 |
| Rule warning: Avoid types with name too long |
// <Name>Avoid types with name too long</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
NameLike "^[^\<]{35,}.*$" AND
!IsNested AND
!IsInFrameworkAssembly
// The regex matches types with name longer
// than 35 characters.
// Type Name doesn't contain the namespace
// prefix, FullName does.
// The regex computes the type name length from
// the beginning until the end or the first lower than
// (for generic types).
// Nested types are discarded because their
// names are prefixed with outer type's name.
WARN IF Count > 0 IN SELECT TYPES WHERE
NameLike "^[^\<]{35,}.*$" AND
!IsNested AND
!IsInFrameworkAssembly
// The regex matches types with name longer
// than 35 characters.
// Type Name doesn't contain the namespace
// prefix, FullName does.
// The regex computes the type name length from
// the beginning until the end or the first lower than
// (for generic types).
// Nested types are discarded because their
// names are prefixed with outer type's name.
11 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| DatabaseMaximumSizeReachedException | 0 | Db4objects.Db4o.Ext.DatabaseMaximumSizeReachedException |
| UniqueFieldValueConstraintViolationException | 1 | Db4objects.Db4o.Constraints .UniqueFieldValueConstraintViolationException |
| MarshallingInfoTraverseAspectCommand | 16 | Db4objects.Db4o.Internal.Metadata.MarshallingInfoTraverseAspectCommand |
| ITransparentActivationDepthProvider | N/A | Db4objects.Db4o.Internal.Activation .ITransparentActivationDepthProvider |
| TransparentActivationDepthProviderImpl | 25 | Db4objects.Db4o.Internal.Activation .TransparentActivationDepthProviderImpl |
| DropDateTimeOffsetClassIndexes_7_12 | 1 | Db4objects.Db4o.Internal.Convert.Conversions .DropDateTimeOffsetClassIndexes_7_12 |
| ExceptionInTearDownDoesNotShadowTestCase | 8 | Db4oUnit.Tests.ExceptionInTearDownDoesNotShadowTestCase |
| Db4oClientServerLegacyConfigurationBridge | 4 | Db4objects.Db4o.CS.Internal.Config .Db4oClientServerLegacyConfigurationBridge |
| NetworkingConfigurationProviderImpl | 4 | Db4objects.Db4o.CS.Internal.Config.NetworkingConfigurationProviderImpl |
| ComparisonBytecodeGeneratingVisitor | 98 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor |
| Db4oClientServerPerformanceCounters | 7 | Db4objects.Db4o.CS.Monitoring.Db4oClientServerPerformanceCounters |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 164 |
| Average: | 14.909 |
| Minimum: | 0 |
| Maximum: | 98 |
| Standard deviation: | 27.281 |
| Variance: | 744.26 |
| Rule warning: Avoid fields with name too long |
// <Name>Avoid fields with name too long</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
NameLike "^[^\<]{35,}.*$" AND
!IsInFrameworkAssembly
// The regex matches fields with name longer
// than 35 characters.
// Field Name doesn't contain the type and
// namespace prefix, FullName does.
WARN IF Count > 0 IN SELECT FIELDS WHERE
NameLike "^[^\<]{35,}.*$" AND
!IsInFrameworkAssembly
// The regex matches fields with name longer
// than 35 characters.
// Field Name doesn't contain the type and
// namespace prefix, FullName does.
3 fields matched
| fields | Size of instance | Full Name |
|---|---|---|
| fields | Size of instance | Full Name |
| ClassActivationDepthConfigurableKey | 0 | Db4objects.Db4o.Internal.Config4Impl .ClassActivationDepthConfigurableKey |
| ClientQueryResultIteratorFactoryKey | 0 | Db4objects.Db4o.Internal.Config4Impl .ClientQueryResultIteratorFactoryKey |
| _prefetchSlotCacheSizeModifiedExternally | 1 | Db4objects.Db4o.Internal.Config4Impl ._prefetchSlotCacheSizeModifiedExternally |
Statistics
| Stat | Size of instance |
|---|---|
| Sum: | 1 |
| Average: | 0.33333 |
| Minimum: | 0 |
| Maximum: | 1 |
| Standard deviation: | 0.4714 |
| Variance: | 0.22222 |
| .NET Framework Usage |
|
|
| System |
|
|
| Rule warning: Mark assemblies with CLSCompliant |
// <Name>Mark assemblies with CLSCompliant</Name>
WARN IF Count > 0 IN SELECT ASSEMBLIES WHERE
!HasAttribute "OPTIONAL:System.CLSCompliantAttribute" AND
!IsFrameworkAssembly
// The Common Language Specification (CLS) defines
// naming restrictions, data types, and rules to which
// assemblies must conform if they are to be used
// across programming languages. Good design dictates
// that all assemblies explicitly indicate CLS
// compliance with CLSCompliantAttribute. If the
// attribute is not present on an assembly, the
// assembly is not compliant.
WARN IF Count > 0 IN SELECT ASSEMBLIES WHERE
!HasAttribute "OPTIONAL:System.CLSCompliantAttribute" AND
!IsFrameworkAssembly
// The Common Language Specification (CLS) defines
// naming restrictions, data types, and rules to which
// assemblies must conform if they are to be used
// across programming languages. Good design dictates
// that all assemblies explicitly indicate CLS
// compliance with CLSCompliantAttribute. If the
// attribute is not present on an assembly, the
// assembly is not compliant.
4 assemblies matched
| assemblies | # lines of code (LOC) | Full Name |
|---|---|---|
| assemblies | # lines of code (LOC) | Full Name |
| Db4oUnit | 1 145 | Db4oUnit |
| Db4oUnit.Extensions | 908 | Db4oUnit.Extensions |
| Db4objects.Db4o.NativeQueries | 1 017 | Db4objects.Db4o.NativeQueries |
| Db4oBench | 538 | Db4oBench |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 3 608 |
| Average: | 902 |
| Minimum: | 538 |
| Maximum: | 1 145 |
| Standard deviation: | 226.28 |
| Variance: | 51 201 |
| Rule warning: Mark assemblies with ComVisible |
// <Name>Mark assemblies with ComVisible</Name>
WARN IF Count > 0 IN SELECT ASSEMBLIES WHERE
!HasAttribute "OPTIONAL:System.Runtime.InteropServices.ComVisibleAttribute" AND
!IsFrameworkAssembly
// The ComVisibleAttribute attribute determines
// how COM clients access managed code. Good design
// dictates that assemblies explicitly indicate
// COM visibility. COM visibility can be set for
// an entire assembly and then overridden for
// individual types and type members. If the
// attribute is not present, the contents of
// the assembly are visible to COM clients.
WARN IF Count > 0 IN SELECT ASSEMBLIES WHERE
!HasAttribute "OPTIONAL:System.Runtime.InteropServices.ComVisibleAttribute" AND
!IsFrameworkAssembly
// The ComVisibleAttribute attribute determines
// how COM clients access managed code. Good design
// dictates that assemblies explicitly indicate
// COM visibility. COM visibility can be set for
// an entire assembly and then overridden for
// individual types and type members. If the
// attribute is not present, the contents of
// the assembly are visible to COM clients.
5 assemblies matched
| assemblies | # lines of code (LOC) | Full Name |
|---|---|---|
| assemblies | # lines of code (LOC) | Full Name |
| Db4objects.Db4o | 23 459 | Db4objects.Db4o |
| Db4oUnit | 1 145 | Db4oUnit |
| Db4oUnit.Extensions | 908 | Db4oUnit.Extensions |
| Db4objects.Db4o.Instrumentation | 110 | Db4objects.Db4o.Instrumentation |
| Db4objects.Db4o.Optional | 953 | Db4objects.Db4o.Optional |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 26 575 |
| Average: | 5 315 |
| Minimum: | 110 |
| Maximum: | 23 459 |
| Standard deviation: | 9 078 |
| Variance: | 82 426 872 |
| Rule warning: Remove calls to GC.Collect() |
// <Name>Remove calls to GC.Collect()</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
IsDirectlyUsing "OPTIONAL:System.GC.Collect()" OR
IsDirectlyUsing "OPTIONAL:System.GC.Collect(Int32)" OR
IsDirectlyUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)"
// It is preferrable to avoid calling GC.Collect()
// explicitely in order to avoid some performance pitfall.
// More in information on this here:
// http://blogs.msdn.com/ricom/archive/2004/11/29/271829.aspx
WARN IF Count > 0 IN SELECT METHODS WHERE
IsDirectlyUsing "OPTIONAL:System.GC.Collect()" OR
IsDirectlyUsing "OPTIONAL:System.GC.Collect(Int32)" OR
IsDirectlyUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)"
// It is preferrable to avoid calling GC.Collect()
// explicitely in order to avoid some performance pitfall.
// More in information on this here:
// http://blogs.msdn.com/ricom/archive/2004/11/29/271829.aspx
1 methods matched
| methods | DepthOfIsUsing "OPTIONAL:System.GC.Collect()" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32)" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)" | Full Name |
|---|---|---|---|---|
| methods | DepthOfIsUsing "OPTIONAL:System.GC.Collect()" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32)" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)" | Full Name |
| Gc() | 1 | N/A | N/A | Sharpen.Runtime.Gc() |
Statistics
| Stat | DepthOfIsUsing "OPTIONAL:System.GC.Collect()" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32)" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)" |
|---|---|---|---|
| Sum: | 1 | 0 | 0 |
| Average: | 1 | 0 | 0 |
| Minimum: | 1 | 0 | 0 |
| Maximum: | 1 | 0 | 0 |
| Standard deviation: | 0 | 0 | 0 |
| Variance: | 0 | 0 | 0 |
| Rule warning: Don't call GC.Collect() without calling GC.WaitForPendingFinalizers() |
// <Name>Don't call GC.Collect() without calling GC.WaitForPendingFinalizers()</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
(IsDirectlyUsing "OPTIONAL:System.GC.Collect()" OR
IsDirectlyUsing "OPTIONAL:System.GC.Collect(Int32)" OR
IsDirectlyUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)")
AND
!IsDirectlyUsing "OPTIONAL:System.GC.WaitForPendingFinalizers()"
// It is preferrable to avoid calling GC.Collect()
// explicitely in order to avoid some performance
// pitfall. But if you wish to call GC.Collect(),
// you must do it this way:
// GC.Collect();
// GC.WaitForPendingFinalizers();
// GC.Collect();
// To make sure that finalizer got executed, and
// object with finalizer got cleaned properly.
WARN IF Count > 0 IN SELECT METHODS WHERE
(IsDirectlyUsing "OPTIONAL:System.GC.Collect()" OR
IsDirectlyUsing "OPTIONAL:System.GC.Collect(Int32)" OR
IsDirectlyUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)")
AND
!IsDirectlyUsing "OPTIONAL:System.GC.WaitForPendingFinalizers()"
// It is preferrable to avoid calling GC.Collect()
// explicitely in order to avoid some performance
// pitfall. But if you wish to call GC.Collect(),
// you must do it this way:
// GC.Collect();
// GC.WaitForPendingFinalizers();
// GC.Collect();
// To make sure that finalizer got executed, and
// object with finalizer got cleaned properly.
1 methods matched
| methods | DepthOfIsUsing "OPTIONAL:System.GC.Collect()" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32)" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)" | DepthOfIsUsing "OPTIONAL:System.GC.WaitForPendingFinalizers()" | Full Name |
|---|---|---|---|---|---|
| methods | DepthOfIsUsing "OPTIONAL:System.GC.Collect()" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32)" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)" | DepthOfIsUsing "OPTIONAL:System.GC.WaitForPendingFinalizers()" | Full Name |
| Gc() | 1 | N/A | N/A | N/A | Sharpen.Runtime.Gc() |
Statistics
| Stat | DepthOfIsUsing "OPTIONAL:System.GC.Collect()" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32)" | DepthOfIsUsing "OPTIONAL:System.GC.Collect(Int32,GCCollectionMode)" | DepthOfIsUsing "OPTIONAL:System.GC.WaitForPendingFinalizers()" |
|---|---|---|---|---|
| Sum: | 1 | 0 | 0 | 0 |
| Average: | 1 | 0 | 0 | 0 |
| Minimum: | 1 | 0 | 0 | 0 |
| Maximum: | 1 | 0 | 0 | 0 |
| Standard deviation: | 0 | 0 | 0 | 0 |
| Variance: | 0 | 0 | 0 | 0 |
| Rule warning: Do not raise too general exception types |
// <Name>Do not raise too general exception types</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
// The following exception types are too general
// to provide sufficient information to the user:
( ( DepthOfCreateA "OPTIONAL:System.Exception" == 1 OR
DepthOfCreateA "OPTIONAL:System.ApplicationException" == 1 OR
DepthOfCreateA "OPTIONAL:System.SystemException" == 1 )
// Test for non-constructor, else this rule
// would warn on ctor of classes that derive
// from these exception types.
AND !IsConstructor )
WARN IF Count > 0 IN SELECT METHODS WHERE
// The following exception types are too general
// to provide sufficient information to the user:
( ( DepthOfCreateA "OPTIONAL:System.Exception" == 1 OR
DepthOfCreateA "OPTIONAL:System.ApplicationException" == 1 OR
DepthOfCreateA "OPTIONAL:System.SystemException" == 1 )
// Test for non-constructor, else this rule
// would warn on ctor of classes that derive
// from these exception types.
AND !IsConstructor )
24 methods matched
| methods | DepthOfCreateA "OPTIONAL:System.Exception" | DepthOfCreateA "OPTIONAL:System.ApplicationException" | DepthOfCreateA "OPTIONAL:System.SystemException" | Full Name |
|---|---|---|---|---|
| methods | DepthOfCreateA "OPTIONAL:System.Exception" | DepthOfCreateA "OPTIONAL:System.ApplicationException" | DepthOfCreateA "OPTIONAL:System.SystemException" | Full Name |
| NextToken() | 1 | N/A | N/A | Sharpen.Lang.TypeReferenceLexer.NextToken() |
| Expect(Boolean) | 1 | N/A | N/A | Db4objects.Db4o.Debug4.Expect(Boolean) |
| IsOlderThan(Db4oDatabase) | 1 | N/A | N/A | Db4objects.Db4o.Ext.Db4oDatabase.IsOlderThan(Db4oDatabase) |
| GetDefaultConfiguration(Config4Impl) | 1 | N/A | N/A | Db4objects.Db4o.Internal.Platform4.GetDefaultConfiguration(Config4Impl ) |
| ShouldNeverBeCalled() | 1 | N/A | N/A | Db4objects.Db4o.Internal.Exceptions4.ShouldNeverBeCalled() |
| ShouldNeverHappen() | 1 | N/A | N/A | Db4objects.Db4o.Internal.Exceptions4.ShouldNeverHappen() |
| VirtualException() | 1 | N/A | N/A | Db4objects.Db4o.Internal.Exceptions4.VirtualException() |
| NotSupported() | 1 | N/A | N/A | Db4objects.Db4o.Internal.Query.Processor.QCon.NotSupported() |
| Visit(Expression) | 1 | N/A | N/A | Db4objects.Db4o.Linq.Expressions.ExpressionTransformer.Visit (Expression) |
| VisitBinding(MemberBinding) | 1 | N/A | N/A | Db4objects.Db4o.Linq.Expressions.ExpressionTransformer.VisitBinding (MemberBinding) |
| Test() | 1 | N/A | N/A | Db4oUnit.Tests.CompositeTestListenerTestCase.Test() |
| .cctor() | 1 | N/A | N/A | Db4oUnit.Tests.FrameworkTestCase..cctor() |
| .cctor() | 1 | N/A | N/A | Db4oUnit.Tests.TestRunnerTestCase..cctor() |
| .cctor() | 1 | N/A | N/A | Db4oUnit.Tests.ReflectionTestSuiteBuilderTestCase+ConstructorThrows. .cctor() |
| TearDown() | 1 | N/A | N/A | Db4oUnit.Tests .ExceptionInTearDownDoesNotShadowTestCase+RunsWithExceptions.TearDown( ) |
| TestDetailerMessage() | 1 | N/A | N/A | Db4oUnit.Tests.TestExceptionWithInnerCause.TestDetailerMessage() |
| Exec(String,String) | N/A | 1 | N/A | Db4oUnit.Extensions.Util.IOServices.Exec(String,String) |
| Visit(ArithmeticExpression) | 1 | N/A | N/A | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(ArithmeticExpression) |
| Constrain(ComparisonOperator) | 1 | N/A | N/A | Db4objects.Db4o.NativeQueries.Instrumentation .SODAMethodBuilder+SODAExpressionBuilder.Constrain(ComparisonOperator) |
| Visit(ComparisonExpression) | 1 | N/A | N/A | Db4objects.Db4o.NativeQueries.Optimization .SODAQueryBuilder+SODAQueryVisitor.Visit(ComparisonExpression) |
| ExitWithError(String) | 1 | N/A | N/A | Db4objects.Db4o.Bench.IoBenchmark.ExitWithError(String) |
| ValidateArguments(String[]) | 1 | N/A | N/A | Db4objects.Db4o.Bench.Util.IoBenchmarkArgumentParser.ValidateArguments (String[]) |
| Main(String[]) | 1 | N/A | N/A | Db4objects.Db4o.Bench.Logging.Statistics.LogStatistics.Main(String[]) |
| Main(String[]) | 1 | N/A | N/A | Db4objects.Db4o.Bench.Logging.Statistics.BatchLogStatistics.Main (String[]) |
Statistics
| Stat | DepthOfCreateA "OPTIONAL:System.Exception" | DepthOfCreateA "OPTIONAL:System.ApplicationException" | DepthOfCreateA "OPTIONAL:System.SystemException" |
|---|---|---|---|
| Sum: | 23 | 1 | 0 |
| Average: | 1 | 1 | 0 |
| Minimum: | 1 | 1 | 0 |
| Maximum: | 1 | 1 | 0 |
| Standard deviation: | 0 | 0 | 0 |
| Variance: | 0 | 0 | 0 |
| Rule warning: Do not raise reserved exception types |
// <Name>Do not raise reserved exception types</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
// The following exception types are reserved
// and should be thrown only by the Common Language Runtime:
( DepthOfCreateA "OPTIONAL:System.ExecutionEngineException" == 1 OR
DepthOfCreateA "OPTIONAL:System.IndexOutOfRangeException" == 1 OR
DepthOfCreateA "OPTIONAL:System.NullReferenceException" == 1 OR
DepthOfCreateA "OPTIONAL:System.OutOfMemoryException" == 1 OR
DepthOfCreateA "OPTIONAL:System.StackOverflowException" == 1 OR
DepthOfCreateA "OPTIONAL:System.InvalidProgramException" == 1 OR
DepthOfCreateA "OPTIONAL:System.AccessViolationException" == 1 OR
DepthOfCreateA "OPTIONAL:System.CannotUnloadAppDomainException" == 1 OR
DepthOfCreateA "OPTIONAL:System.BadImageFormatException" == 1 OR
DepthOfCreateA "OPTIONAL:System.DataMisalignedException" == 1 )
WARN IF Count > 0 IN SELECT METHODS WHERE
// The following exception types are reserved
// and should be thrown only by the Common Language Runtime:
( DepthOfCreateA "OPTIONAL:System.ExecutionEngineException" == 1 OR
DepthOfCreateA "OPTIONAL:System.IndexOutOfRangeException" == 1 OR
DepthOfCreateA "OPTIONAL:System.NullReferenceException" == 1 OR
DepthOfCreateA "OPTIONAL:System.OutOfMemoryException" == 1 OR
DepthOfCreateA "OPTIONAL:System.StackOverflowException" == 1 OR
DepthOfCreateA "OPTIONAL:System.InvalidProgramException" == 1 OR
DepthOfCreateA "OPTIONAL:System.AccessViolationException" == 1 OR
DepthOfCreateA "OPTIONAL:System.CannotUnloadAppDomainException" == 1 OR
DepthOfCreateA "OPTIONAL:System.BadImageFormatException" == 1 OR
DepthOfCreateA "OPTIONAL:System.DataMisalignedException" == 1 )
3 methods matched
| methods | DepthOfCreateA "OPTIONAL:System.ExecutionEngineException" | DepthOfCreateA "OPTIONAL:System.IndexOutOfRangeException" | DepthOfCreateA "OPTIONAL:System.NullReferenceException" | DepthOfCreateA "OPTIONAL:System.OutOfMemoryException" | DepthOfCreateA "OPTIONAL:System.StackOverflowException" | DepthOfCreateA "OPTIONAL:System.InvalidProgramException" | DepthOfCreateA "OPTIONAL:System.AccessViolationException" | DepthOfCreateA "OPTIONAL:System.CannotUnloadAppDomainException" | DepthOfCreateA "OPTIONAL:System.BadImageFormatException" | DepthOfCreateA "OPTIONAL:System.DataMisalignedException" | Full Name |
|---|---|---|---|---|---|---|---|---|---|---|---|
| methods | DepthOfCreateA "OPTIONAL:System.ExecutionEngineException" | DepthOfCreateA "OPTIONAL:System.IndexOutOfRangeException" | DepthOfCreateA "OPTIONAL:System.NullReferenceException" | DepthOfCreateA "OPTIONAL:System.OutOfMemoryException" | DepthOfCreateA "OPTIONAL:System.StackOverflowException" | DepthOfCreateA "OPTIONAL:System.InvalidProgramException" | DepthOfCreateA "OPTIONAL:System.AccessViolationException" | DepthOfCreateA "OPTIONAL:System.CannotUnloadAppDomainException" | DepthOfCreateA "OPTIONAL:System.BadImageFormatException" | DepthOfCreateA "OPTIONAL:System.DataMisalignedException" | Full Name |
| RemoveRangeImpl(Int32,Int32) | N/A | 1 | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | Db4objects.Db4o.Collections.ArrayList4<E>.RemoveRangeImpl(Int32,Int32) |
| GetId(Int32) | N/A | 1 | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | Db4objects.Db4o.Internal.Query.Result.IdListQueryResult.GetId(Int32) |
| Get(Int32) | N/A | 1 | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | Db4objects.Db4o.Internal.Cluster.ClusterQueryResult.Get(Int32) |
Statistics
| Stat | DepthOfCreateA "OPTIONAL:System.ExecutionEngineException" | DepthOfCreateA "OPTIONAL:System.IndexOutOfRangeException" | DepthOfCreateA "OPTIONAL:System.NullReferenceException" | DepthOfCreateA "OPTIONAL:System.OutOfMemoryException" | DepthOfCreateA "OPTIONAL:System.StackOverflowException" | DepthOfCreateA "OPTIONAL:System.InvalidProgramException" | DepthOfCreateA "OPTIONAL:System.AccessViolationException" | DepthOfCreateA "OPTIONAL:System.CannotUnloadAppDomainException" | DepthOfCreateA "OPTIONAL:System.BadImageFormatException" | DepthOfCreateA "OPTIONAL:System.DataMisalignedException" |
|---|---|---|---|---|---|---|---|---|---|---|
| Sum: | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Average: | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Minimum: | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Maximum: | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Standard deviation: | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Variance: | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Rule warning: Uri fields should be of type System.Uri |
// <Name>Uri fields should be of type System.Uri</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
(NameLike "Uri$" OR NameLike "Url$") AND !IsOfType "OPTIONAL:System.Uri"
// A field which name end with 'Uri' is deemed
// as representing a uri. Such field should be of
// type System.Uri.
WARN IF Count > 0 IN SELECT FIELDS WHERE
(NameLike "Uri$" OR NameLike "Url$") AND !IsOfType "OPTIONAL:System.Uri"
// A field which name end with 'Uri' is deemed
// as representing a uri. Such field should be of
// type System.Uri.
2 fields matched
| fields | Size of instance | Full Name |
|---|---|---|
| fields | Size of instance | Full Name |
| _binsByUri | 4 | Db4objects.Db4o.IO.PagingMemoryStorage._binsByUri |
| DbUri | 0 | Db4oUnit.Extensions.Fixtures.Db4oInMemory.DbUri |
Statistics
| Stat | Size of instance |
|---|---|
| Sum: | 4 |
| Average: | 2 |
| Minimum: | 0 |
| Maximum: | 4 |
| Standard deviation: | 2 |
| Variance: | 4 |
| System.Collection |
|
|
| Rule warning: Don't use .NET 1.x HashTable and ArrayList |
// <Name>Don't use .NET 1.x HashTable and ArrayList</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
// Prefer using the class
// System.Collections.Generic.Dictionary<K,V> over
// System.Collections.HashTable.
CreateA "OPTIONAL:System.Collections.HashTable" OR
// Prefer using the class
// System.Collections.Generic.List<T> over
// System.Collections.ArrayList.
CreateA "OPTIONAL:System.Collections.ArrayList"
// You can be forced to use HashTable or ArrayList
// because you are using third party code that requires
// working with these classes or because you are
// coding with .NET 1.x.
WARN IF Count > 0 IN SELECT METHODS WHERE
// Prefer using the class
// System.Collections.Generic.Dictionary<K,V> over
// System.Collections.HashTable.
CreateA "OPTIONAL:System.Collections.HashTable" OR
// Prefer using the class
// System.Collections.Generic.List<T> over
// System.Collections.ArrayList.
CreateA "OPTIONAL:System.Collections.ArrayList"
// You can be forced to use HashTable or ArrayList
// because you are using third party code that requires
// working with these classes or because you are
// coding with .NET 1.x.
481 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 481 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | DepthOfCreateA "OPTIONAL:System.Collections.HashTable" | DepthOfCreateA "OPTIONAL:System.Collections.ArrayList" | Full Name |
|---|---|---|---|
| methods | DepthOfCreateA "OPTIONAL:System.Collections.HashTable" | DepthOfCreateA "OPTIONAL:System.Collections.ArrayList" | Full Name |
| .ctor() | N/A | 0 | System.Collections.ArrayList..ctor() |
| .ctor(Int32) | N/A | 0 | System.Collections.ArrayList..ctor(Int32) |
| .ctor() | N/A | 1 | Sharpen.Util.HashSet..ctor() |
| .ctor(ICollection) | N/A | 1 | Sharpen.Util.HashSet..ctor(ICollection) |
| NewConfiguration() | N/A | 3 | Db4objects.Db4o.Db4oEmbedded.NewConfiguration() |
| OpenFile(IEmbeddedConfiguration,String) | N/A | 7 | Db4objects.Db4o.Db4oEmbedded.OpenFile(IEmbeddedConfiguration,String) |
| OpenFile(String) | N/A | 4 | Db4objects.Db4o.Db4oEmbedded.OpenFile(String) |
| NewConfiguration() | N/A | 2 | Db4objects.Db4o.Db4oFactory.NewConfiguration() |
| OpenFile(String) | N/A | 8 | Db4objects.Db4o.Db4oFactory.OpenFile(String) |
| OpenFile(IConfiguration,String) | N/A | 7 | Db4objects.Db4o.Db4oFactory.OpenFile(IConfiguration,String) |
| OpenMemoryFile1(IConfiguration,MemoryFile) | N/A | 6 | Db4objects.Db4o.Db4oFactory.OpenMemoryFile1(IConfiguration,MemoryFile) |
| .cctor() | N/A | 2 | Db4objects.Db4o.Db4oFactory..cctor() |
| GetID(Transaction) | N/A | 15 | Db4objects.Db4o.Ext.Db4oDatabase.GetID(Transaction) |
| Bind(Transaction) | N/A | 14 | Db4objects.Db4o.Ext.Db4oDatabase.Bind(Transaction) |
| OpenMemoryFile(MemoryFile) | N/A | 3 | Db4objects.Db4o.Ext.ExtDb4oFactory.OpenMemoryFile(MemoryFile) |
| OpenMemoryFile(IConfiguration,MemoryFile) | N/A | 7 | Db4objects.Db4o.Ext.ExtDb4oFactory.OpenMemoryFile(IConfiguration ,MemoryFile) |
| Activate(ActivationPurpose) | N/A | 10 | Db4objects.Db4o.TA.TransactionalActivator.Activate(ActivationPurpose) |
| .ctor(Int32) | N/A | 2 | Db4objects.Db4o.IO.PagingMemoryBin..ctor(Int32) |
| .ctor(Int32,Int64) | N/A | 1 | Db4objects.Db4o.IO.PagingMemoryBin..ctor(Int32,Int64) |
| Open(BinConfiguration) | N/A | 3 | Db4objects.Db4o.IO.PagingMemoryStorage.Open(BinConfiguration) |
| ProduceBin(BinConfiguration) | N/A | 2 | Db4objects.Db4o.IO.PagingMemoryStorage.ProduceBin(BinConfiguration) |
| Db4oConfig() | N/A | 4 | Db4objects.Db4o.Defragment.DefragmentConfig.Db4oConfig() |
| BlockSize() | N/A | 5 | Db4objects.Db4o.Defragment.DefragmentConfig.BlockSize() |
| VanillaDb4oConfig(Int32) | N/A | 3 | Db4objects.Db4o.Defragment.DefragmentConfig.VanillaDb4oConfig(Int32) |
| ClonedDb4oConfig() | N/A | 5 | Db4objects.Db4o.Defragment.DefragmentConfig.ClonedDb4oConfig() |
| Open() | N/A | 5 | Db4objects.Db4o.Defragment.DatabaseIdMapping.Open() |
| FreshTempFile(String,Int32) | N/A | 4 | Db4objects.Db4o.Defragment.DefragmentServicesImpl.FreshTempFile(String ,Int32) |
| FreshTargetFile(DefragmentConfig) | N/A | 5 | Db4objects.Db4o.Defragment.DefragmentServicesImpl.FreshTargetFile (DefragmentConfig) |
| DatabaseIdentityID(DefragmentServicesImpl+DbSelector) | N/A | 16 | Db4objects.Db4o.Defragment.DefragmentServicesImpl.DatabaseIdentityID (DefragmentServicesImpl+DbSelector) |
| .ctor(DefragmentConfig,IDefragmentListener) | N/A | 5 | Db4objects.Db4o.Defragment.DefragmentServicesImpl..ctor (DefragmentConfig,IDefragmentListener) |
| ProcessClass(DefragmentServicesImpl,ClassMetadata,Int32,Int32) | N/A | 6 | Db4objects.Db4o.Defragment.FirstPassCommand.ProcessClass (DefragmentServicesImpl,ClassMetadata,Int32,Int32) |
| Defrag(String) | N/A | 6 | Db4objects.Db4o.Defragment.Defragment.Defrag(String) |
| Defrag(String,String) | N/A | 6 | Db4objects.Db4o.Defragment.Defragment.Defrag(String,String) |
| Defrag(DefragmentConfig) | N/A | 6 | Db4objects.Db4o.Defragment.Defragment.Defrag(DefragmentConfig) |
| Defrag(DefragmentConfig,IDefragmentListener) | N/A | 5 | Db4objects.Db4o.Defragment.Defragment.Defrag(DefragmentConfig ,IDefragmentListener) |
| MoveToBackup(DefragmentConfig) | N/A | 5 | Db4objects.Db4o.Defragment.Defragment.MoveToBackup(DefragmentConfig) |
| UpgradeFile(DefragmentConfig) | N/A | 5 | Db4objects.Db4o.Defragment.Defragment.UpgradeFile(DefragmentConfig) |
| SetIdentity(DefragmentConfig,Int32,Int32) | N/A | 6 | Db4objects.Db4o.Defragment.Defragment.SetIdentity(DefragmentConfig ,Int32,Int32) |
| Apply(IInternalObjectContainer) | N/A | 10 | Db4objects.Db4o.Constraints.UniqueFieldValueConstraint.Apply (IInternalObjectContainer) |
| EnsureSingleOccurence(Transaction,IObjectInfoCollection) | N/A | 8 | Db4objects.Db4o.Constraints .UniqueFieldValueConstraint+_IEventListener4_46.EnsureSingleOccurence (Transaction,IObjectInfoCollection) |
| FieldMetadata() | N/A | 7 | Db4objects.Db4o.Constraints .UniqueFieldValueConstraint+_IEventListener4_46.FieldMetadata() |
| OnEvent(Object,CommitEventArgs) | N/A | 9 | Db4objects.Db4o.Constraints .UniqueFieldValueConstraint+_IEventListener4_46.OnEvent(Object ,CommitEventArgs) |
| ObjectFor(Transaction,IObjectInfo) | N/A | 15 | Db4objects.Db4o.Constraints .UniqueFieldValueConstraint+_IEventListener4_46.ObjectFor(Transaction ,IObjectInfo) |
| CreateEnvironment(Config4Impl) | N/A | 1 | Db4objects.Db4o.Internal.ObjectContainerBase.CreateEnvironment (Config4Impl) |
| ActivatePending(Transaction) | N/A | 8 | Db4objects.Db4o.Internal.ObjectContainerBase.ActivatePending (Transaction) |
| Bind(Transaction,Object,Int64) | N/A | 13 | Db4objects.Db4o.Internal.ObjectContainerBase.Bind(Transaction,Object ,Int64) |
| DeactivateInternal(Transaction,Object,IActivationDepth) | N/A | 10 | Db4objects.Db4o.Internal.ObjectContainerBase.DeactivateInternal (Transaction,Object,IActivationDepth) |
| DeactivatePending(Transaction) | N/A | 10 | Db4objects.Db4o.Internal.ObjectContainerBase.DeactivatePending (Transaction) |
| Descend(Transaction,Object,String[]) | N/A | 6 | Db4objects.Db4o.Internal.ObjectContainerBase.Descend(Transaction ,Object,String[]) |
| TryGetByID(Transaction,Int64) | N/A | 13 | Db4objects.Db4o.Internal.ObjectContainerBase.TryGetByID(Transaction ,Int64) |
| GetByID(Transaction,Int64) | N/A | 12 | Db4objects.Db4o.Internal.ObjectContainerBase.GetByID(Transaction,Int64 ) |
| GetByID2(Transaction,Int32) | N/A | 11 | Db4objects.Db4o.Internal.ObjectContainerBase.GetByID2(Transaction ,Int32) |
| ReadActivatedObjectNotInCache(Transaction,Int32) | N/A | 9 | Db4objects.Db4o.Internal.ObjectContainerBase .ReadActivatedObjectNotInCache(Transaction,Int32) |
| GetByUUID(Transaction,Db4oUUID) | N/A | 15 | Db4objects.Db4o.Internal.ObjectContainerBase.GetByUUID(Transaction ,Db4oUUID) |
| GetHardReferenceBySignature(Transaction,Int64,Byte[]) | N/A | 14 | Db4objects.Db4o.Internal.ObjectContainerBase .GetHardReferenceBySignature(Transaction,Int64,Byte[]) |
| GetHardObjectReferenceById(Transaction,Int32) | N/A | 11 | Db4objects.Db4o.Internal.ObjectContainerBase .GetHardObjectReferenceById(Transaction,Int32) |
| PeekPersisted(Transaction,Int32,IActivationDepth,Boolean) | N/A | 13 | Db4objects.Db4o.Internal.ObjectContainerBase.PeekPersisted(Transaction ,Int32,IActivationDepth,Boolean) |
| PeekReference(Transaction,Int32,IActivationDepth,Boolean) | N/A | 12 | Db4objects.Db4o.Internal.ObjectContainerBase.PeekReference(Transaction ,Int32,IActivationDepth,Boolean) |
| StillTo1(Transaction,List4,Object,IActivationDepth) | N/A | 8 | Db4objects.Db4o.Internal.ObjectContainerBase.StillTo1(Transaction ,List4,Object,IActivationDepth) |
| StillToActivate(IActivationContext) | N/A | 9 | Db4objects.Db4o.Internal.ObjectContainerBase.StillToActivate (IActivationContext) |
| ProcessedByImmediateActivation(IActivationContext) | N/A | 8 | Db4objects.Db4o.Internal.ObjectContainerBase .ProcessedByImmediateActivation(IActivationContext) |
| StillToDeactivate(Transaction,Object,IActivationDepth,Boolean) | N/A | 9 | Db4objects.Db4o.Internal.ObjectContainerBase.StillToDeactivate (Transaction,Object,IActivationDepth,Boolean) |
| DeleteByID(Transaction,Int32,Int32) | N/A | 12 | Db4objects.Db4o.Internal.ObjectContainerBase.DeleteByID(Transaction ,Int32,Int32) |
| Query<Extent>(Predicate<Extent>) | N/A | 14 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>) | N/A | 13 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>) |
| Query<Extent>(Predicate<Extent>,IComparer<Extent>) | N/A | 14 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>,IComparer<Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>,IComparer<Extent>) | N/A | 13 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>,IComparer<Extent>) |
| Query<Extent>(Predicate<Extent>,Comparison<Extent>) | N/A | 14 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Predicate <Extent>,Comparison<Extent>) |
| Query<Extent>(Transaction,Predicate<Extent>,Comparison<Extent>) | N/A | 13 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(Transaction ,Predicate<Extent>,Comparison<Extent>) |
| Query<ElementType>(Type) | N/A | 9 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType>(Type) |
| Query<ElementType>(Transaction,Type) | N/A | 9 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType> (Transaction,Type) |
| Query<ElementType>(Type,IComparer<ElementType>) | N/A | 9 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType>(Type ,IComparer<ElementType>) |
| Query<ElementType>(Transaction,Type,IComparer<ElementType>) | N/A | 8 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<ElementType> (Transaction,Type,IComparer<ElementType>) |
| Query<Extent>() | N/A | 10 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>() |
| Query<Extent>(IComparer<Extent>) | N/A | 10 | Db4objects.Db4o.Internal.ObjectContainerBase.Query<Extent>(IComparer <Extent>) |
| ExecuteNativeQuery<Extent>(Transaction,Predicate<Extent> ,IQueryComparator) | N/A | 12 | Db4objects.Db4o.Internal.ObjectContainerBase.ExecuteNativeQuery<Extent >(Transaction,Predicate<Extent>,IQueryComparator) |
| .ctor(IConfiguration) | N/A | 2 | Db4objects.Db4o.Internal.ObjectContainerBase..ctor(IConfiguration) |
| Apply(Object) | N/A | 9 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_185.Apply (Object) |
| Apply(Object) | N/A | 11 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_512.Apply (Object) |
| Apply(Object) | N/A | 11 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_888.Apply (Object) |
| Apply(Object) | N/A | 14 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_1267.Apply (Object) |
| HasField(ObjectContainerBase,String) | N/A | 8 | Db4objects.Db4o.Internal.OpenTypeHandler.HasField(ObjectContainerBase ,String) |
| Evaluate() | N/A | 1 | Db4objects.Db4o.Internal.Config4Impl+_IDeferred_101.Evaluate() |
| CascadeActivation(IActivationContext) | N/A | 11 | Db4objects.Db4o.Internal.FieldMetadata.CascadeActivation (IActivationContext) |
| EnsureObjectIsActive(IActivationContext) | N/A | 10 | Db4objects.Db4o.Internal.FieldMetadata.EnsureObjectIsActive (IActivationContext) |
| Run() | N/A | 15 | Db4objects.Db4o.Internal.FieldMetadata+_IClosure4_453.Run() |
| Bind(Object,Int64) | N/A | 14 | Db4objects.Db4o.Internal.ExternalObjectContainer.Bind(Object,Int64) |
| Descend(Object,String[]) | N/A | 7 | Db4objects.Db4o.Internal.ExternalObjectContainer.Descend(Object ,String[]) |
| GetByID(Int64) | N/A | 13 | Db4objects.Db4o.Internal.ExternalObjectContainer.GetByID(Int64) |
| GetByUUID(Db4oUUID) | N/A | 16 | Db4objects.Db4o.Internal.ExternalObjectContainer.GetByUUID(Db4oUUID) |
| .ctor(IConfiguration) | N/A | 3 | Db4objects.Db4o.Internal.ExternalObjectContainer..ctor(IConfiguration) |
| .ctor(IConfiguration) | N/A | 4 | Db4objects.Db4o.Internal.LocalObjectContainer..ctor(IConfiguration) |
| .ctor(IConfiguration,MemoryFile) | N/A | 5 | Db4objects.Db4o.Internal.InMemoryObjectContainer..ctor(IConfiguration ,MemoryFile) |
| .ctor(Config4Impl,MemoryFile,InMemoryObjectContainer+ConstructionMode) | N/A | 5 | Db4objects.Db4o.Internal.InMemoryObjectContainer..ctor(Config4Impl ,MemoryFile,InMemoryObjectContainer+ConstructionMode) |
| Activate(ActivationPurpose) | N/A | 10 | Db4objects.Db4o.Internal.ObjectReference.Activate(ActivationPurpose) |
| ActivateOn(Transaction,ActivationPurpose) | N/A | 9 | Db4objects.Db4o.Internal.ObjectReference.ActivateOn(Transaction ,ActivationPurpose) |
| Activate(Transaction,Object,IActivationDepth) | N/A | 8 | Db4objects.Db4o.Internal.ObjectReference.Activate(Transaction,Object ,IActivationDepth) |
| ActivateInternal(IActivationContext) | N/A | 7 | Db4objects.Db4o.Internal.ObjectReference.ActivateInternal (IActivationContext) |
| ReadForActivation(IActivationContext) | N/A | 10 | Db4objects.Db4o.Internal.ObjectReference.ReadForActivation (IActivationContext) |
| Deactivate(Transaction,IActivationDepth) | N/A | 9 | Db4objects.Db4o.Internal.ObjectReference.Deactivate(Transaction ,IActivationDepth) |
Statistics
| Stat | DepthOfCreateA "OPTIONAL:System.Collections.HashTable" | DepthOfCreateA "OPTIONAL:System.Collections.ArrayList" |
|---|---|---|
| Sum: | 0 | 3 982 |
| Average: | 0 | 8.2786 |
| Minimum: | 0 | 0 |
| Maximum: | 0 | 18 |
| Standard deviation: | 0 | 4.3507 |
| Variance: | 0 | 18.929 |
| System.Runtime.InteropServices |
|
|
| Rule warning: Move P/Invokes to NativeMethods class |
// <Name>Move P/Invokes to NativeMethods class</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
!IsInFrameworkAssembly AND
HasAttribute "OPTIONAL:System.Runtime.InteropServices.DllImportAttribute" AND
!FullNameLike "NativeMethods."
// Platform Invocation methods, such as those marked
// with the System.Runtime.InteropServices.DllImportAttribute
// attribute, or methods defined by using the Declare
// keyword in Visual Basic, access unmanaged code.
// These methods should be in one of the following classes:
//
// - NativeMethods - This class does not suppress stack
// walks for unmanaged code permission.
// (System.Security.SuppressUnmanagedCodeSecurityAttribute
// must not be applied to this class.)
// This class is for methods that can be used
// anywhere because a stack walk will be performed.
//
// - SafeNativeMethods - This class suppresses
// stack walks for unmanaged code permission.
// (System.Security.SuppressUnmanagedCodeSecurityAttribute
// is applied to this class.)
// This class is for methods that are safe
// for anyone to call. Callers of these methods
// are not required to do a full security review
// to ensure that the usage is secure because
// the methods are harmless for any caller.
//
// - UnsafeNativeMethods - This class suppresses
// stack walks for unmanaged code permission.
// (System.Security.SuppressUnmanagedCodeSecurityAttribute
// is applied to this class.) This class is for
// methods that are potentially dangerous. Any
// caller of these methods must do a full security
// review to ensure that the usage is secure because
// no stack walk will be performed.
WARN IF Count > 0 IN SELECT METHODS WHERE
!IsInFrameworkAssembly AND
HasAttribute "OPTIONAL:System.Runtime.InteropServices.DllImportAttribute" AND
!FullNameLike "NativeMethods."
// Platform Invocation methods, such as those marked
// with the System.Runtime.InteropServices.DllImportAttribute
// attribute, or methods defined by using the Declare
// keyword in Visual Basic, access unmanaged code.
// These methods should be in one of the following classes:
//
// - NativeMethods - This class does not suppress stack
// walks for unmanaged code permission.
// (System.Security.SuppressUnmanagedCodeSecurityAttribute
// must not be applied to this class.)
// This class is for methods that can be used
// anywhere because a stack walk will be performed.
//
// - SafeNativeMethods - This class suppresses
// stack walks for unmanaged code permission.
// (System.Security.SuppressUnmanagedCodeSecurityAttribute
// is applied to this class.)
// This class is for methods that are safe
// for anyone to call. Callers of these methods
// are not required to do a full security review
// to ensure that the usage is secure because
// the methods are harmless for any caller.
//
// - UnsafeNativeMethods - This class suppresses
// stack walks for unmanaged code permission.
// (System.Security.SuppressUnmanagedCodeSecurityAttribute
// is applied to this class.) This class is for
// methods that are potentially dangerous. Any
// caller of these methods must do a full security
// review to ensure that the usage is secure because
// no stack walk will be performed.
1 methods matched
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| FlushFileBuffers(SafeFileHandle) | 0 | Sharpen.IO.RandomAccessFile.FlushFileBuffers(SafeFileHandle) |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
| System.Threading |
|
|
| Rule warning: Don't create threads explicitely |
// <Name>Don't create threads explicitely</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
CreateA "OPTIONAL:System.Threading.Thread"
// Prefer using the thread pool instead of
// creating manually your own thread.
// Threads are costly objects.
// They take approximately 200,000 cycles to
// create and about 100,000 cycles to destroy.
// By default they reserve 1 megabyte of virtual
// memory for its stack and use 2,000-8,000
// cycles for each context switch.
// As a consequence, it is preferrable to let
// the thread pool recycle threads.
// Creating custom thread can also be the
// sign of flawed design, where tasks and
// threads have affinity. It is preferrable
// to code tasks that can be ran on any thread.
WARN IF Count > 0 IN SELECT METHODS WHERE
CreateA "OPTIONAL:System.Threading.Thread"
// Prefer using the thread pool instead of
// creating manually your own thread.
// Threads are costly objects.
// They take approximately 200,000 cycles to
// create and about 100,000 cycles to destroy.
// By default they reserve 1 megabyte of virtual
// memory for its stack and use 2,000-8,000
// cycles for each context switch.
// As a consequence, it is preferrable to let
// the thread pool recycle threads.
// Creating custom thread can also be the
// sign of flawed design, where tasks and
// threads have affinity. It is preferrable
// to code tasks that can be ran on any thread.
8 methods matched
| methods | DepthOfCreateA "OPTIONAL:System.Threading.Thread" | Full Name |
|---|---|---|
| methods | DepthOfCreateA "OPTIONAL:System.Threading.Thread" | Full Name |
| .ctor(ThreadStart) | 0 | System.Threading.Thread..ctor(ThreadStart) |
| Start() | 1 | Sharpen.Lang.Thread.Start() |
| StartLowPriority(IRunnable) | 3 | Db4objects.Db4o.Internal.Threading.ThreadPool4Impl.StartLowPriority (IRunnable) |
| Start(IRunnable) | 3 | Db4objects.Db4o.Internal.Threading.ThreadPool4Impl.Start(IRunnable) |
| Start(String,IRunnable) | 3 | Db4objects.Db4o.Internal.Threading.ThreadPool4Impl.Start(String ,IRunnable) |
| ActivateThread(Thread) | 2 | Db4objects.Db4o.Internal.Threading.ThreadPool4Impl.ActivateThread (Thread) |
| Invoke() | 3 | Db4oUnit.Extensions.Concurrency.ConcurrencyTestMethod.Invoke() |
| InvokeConcurrencyMethod(AbstractDb4oTestCase,MethodInfo) | 2 | Db4oUnit.Extensions.Concurrency.ConcurrencyTestMethod .InvokeConcurrencyMethod(AbstractDb4oTestCase,MethodInfo) |
Statistics
| Stat | DepthOfCreateA "OPTIONAL:System.Threading.Thread" |
|---|---|
| Sum: | 17 |
| Average: | 2.125 |
| Minimum: | 0 |
| Maximum: | 3 |
| Standard deviation: | 1.0533 |
| Variance: | 1.1094 |
| Rule warning: Don't use Thread.Sleep() |
// <Name>Don't use Thread.Sleep()</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE IsDirectlyUsing "OPTIONAL:System.Threading.Thread.Sleep(Int32)"
// Usage of Thread.Sleep() is a sign of
// flawed design. More information on this here:
// http://msmvps.com/blogs/peterritchie/archive/2007/04/26/thread-sleep-is-a-sign-of-a-poorly-designed-program.aspx
WARN IF Count > 0 IN SELECT METHODS WHERE IsDirectlyUsing "OPTIONAL:System.Threading.Thread.Sleep(Int32)"
// Usage of Thread.Sleep() is a sign of
// flawed design. More information on this here:
// http://msmvps.com/blogs/peterritchie/archive/2007/04/26/thread-sleep-is-a-sign-of-a-poorly-designed-program.aspx
1 methods matched
| methods | DepthOfIsUsing "OPTIONAL:System.Threading.Thread.Sleep(Int32)" | Full Name |
|---|---|---|
| methods | DepthOfIsUsing "OPTIONAL:System.Threading.Thread.Sleep(Int32)" | Full Name |
| Sleep(Int64) | 1 | Sharpen.Lang.Thread.Sleep(Int64) |
Statistics
| Stat | DepthOfIsUsing "OPTIONAL:System.Threading.Thread.Sleep(Int32)" |
|---|---|
| Sum: | 1 |
| Average: | 1 |
| Minimum: | 1 |
| Maximum: | 1 |
| Standard deviation: | 0 |
| Variance: | 0 |
| System.Globalization |
|
|
| Rule warning: Float and Date Parsing must be culture aware |
// <Name>Float and Date Parsing must be culture aware</Name>
WARN IF Count > 0 IN SELECT METHODS
FROM TYPES "OPTIONAL:System.DateTime",
"OPTIONAL:System.Single",
"OPTIONAL:System.Double",
"OPTIONAL:System.Decimal"
// The 'NameLike' CQL clause operates on the signature
// "methodName(type1,type2...typeN)"
WHERE (NameLike "Parse\(" OR NameLike "ToString\(") AND
!NameLike "IFormatProvider"
WARN IF Count > 0 IN SELECT METHODS
FROM TYPES "OPTIONAL:System.DateTime",
"OPTIONAL:System.Single",
"OPTIONAL:System.Double",
"OPTIONAL:System.Decimal"
// The 'NameLike' CQL clause operates on the signature
// "methodName(type1,type2...typeN)"
WHERE (NameLike "Parse\(" OR NameLike "ToString\(") AND
!NameLike "IFormatProvider"
2 methods matched
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| ToString(String) | N/A | System.DateTime.ToString(String) |
| ToString(String) | N/A | System.Double.ToString(String) |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
Code Diff
| » Baseline for comparison : Compare with project {Db4o v7.12.156.14667 Final} most recent analysis (analysis made on 2010 November - 09 Tuesday 21:01) |
|
API Breaking Changes: Types
// <Name>API Breaking Changes: Types</Name>
WARN IF Count > 0 IN SELECT TYPES
WHERE IsPublic AND (VisibilityWasChanged OR WasRemoved)
// This rule warns if a public type is not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
WARN IF Count > 0 IN SELECT TYPES
WHERE IsPublic AND (VisibilityWasChanged OR WasRemoved)
// This rule warns if a public type is not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
17 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| IContextIDMapping | N/A | Db4objects.Db4o.Defragment.IContextIDMapping |
| AbstractContextIDMapping | N/A | Db4objects.Db4o.Defragment.AbstractContextIDMapping |
| BTreeIDMapping | N/A | Db4objects.Db4o.Defragment.BTreeIDMapping |
| TreeIDMapping | N/A | Db4objects.Db4o.Defragment.TreeIDMapping |
| CacheablePersistentBase | N/A | Db4objects.Db4o.Internal.CacheablePersistentBase |
| ISlotChangeCollector | N/A | Db4objects.Db4o.Internal.ISlotChangeCollector |
| FreespaceBTree | N/A | Db4objects.Db4o.Internal.Freespace.FreespaceBTree |
| RamFreespaceManager | N/A | Db4objects.Db4o.Internal.Freespace.RamFreespaceManager |
| TransactionLogHandler | N/A | Db4objects.Db4o.Internal.Ids.TransactionLogHandler |
| EmbeddedTransactionLogHandler | N/A | Db4objects.Db4o.Internal.Ids.EmbeddedTransactionLogHandler |
| FileBasedTransactionLogHandler | N/A | Db4objects.Db4o.Internal.Ids.FileBasedTransactionLogHandler |
| IdSystem | N/A | Db4objects.Db4o.Internal.Ids.IdSystem |
| IdentityHashtable4 | N/A | Db4objects.Db4o.Foundation.IdentityHashtable4 |
| IdentityHashtable4+IdentityEntry | N/A | Db4objects.Db4o.Foundation.IdentityHashtable4+IdentityEntry |
| MethodAnalyser | N/A | Db4objects.Db4o.Linq.CodeAnalysis.MethodAnalyser |
| ClientTransactionPool+ContainerCount | N/A | Db4objects.Db4o.CS.Internal.ClientTransactionPool+ContainerCount |
| SaveAsStorage | N/A | Db4objects.Db4o.IO.SaveAsStorage |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
Methods added
// <Name>Methods added</Name>
SELECT METHODS WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
SELECT METHODS WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
2,446 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 2446 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| FlushFileBuffers(SafeFileHandle) | 0 | Sharpen.IO.RandomAccessFile.FlushFileBuffers(SafeFileHandle) |
| LogLength(Int64,Int64,Int64) | 2 | Db4objects.Db4o.DTrace.LogLength(Int64,Int64,Int64) |
| LogLength(Int64,Slot) | 4 | Db4objects.Db4o.DTrace.LogLength(Int64,Slot) |
| LogEnd(Int64,Int64,Int64) | 2 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64) |
| LogEnd(Int64,Int64,Int64,String) | 62 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
| .ctor() | N/A | Db4objects.Db4o.Ext.Db4oFileHeaderCorruptionException..ctor() |
| GetEnumerator() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .GetEnumerator() |
| Remove(Object) | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.Remove (Object) |
| System.Collections.IDictionary.get_Item(Object) | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.System .Collections.IDictionary.get_Item(Object) |
| System.Collections.IDictionary.set_Item(Object,Object) | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.System .Collections.IDictionary.set_Item(Object,Object) |
| System.Collections.IEnumerable.GetEnumerator() | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.System .Collections.IEnumerable.GetEnumerator() |
| Add(KeyValuePair<TKey,TValue>) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.Add (KeyValuePair<TKey,TValue>) |
| Contains(Object) | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .Contains(Object) |
| Add(Object,Object) | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.Add (Object,Object) |
| Clear() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.Clear() |
| System.Collections.IDictionary.GetEnumerator() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.System .Collections.IDictionary.GetEnumerator() |
| Contains(KeyValuePair<TKey,TValue>) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .Contains(KeyValuePair<TKey,TValue>) |
| CopyTo(KeyValuePair<TKey,TValue>[],Int32) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.CopyTo (KeyValuePair<TKey,TValue>[],Int32) |
| Remove(KeyValuePair<TKey,TValue>) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.Remove (KeyValuePair<TKey,TValue>) |
| CopyTo(Array,Int32) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.CopyTo (Array,Int32) |
| get_Count() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_Count() |
| get_SyncRoot() | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_SyncRoot() |
| get_IsSynchronized() | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_IsSynchronized() |
| System.Collections.IDictionary.get_Values() | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.System .Collections.IDictionary.get_Values() |
| get_IsReadOnly() | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_IsReadOnly() |
| get_IsFixedSize() | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_IsFixedSize() |
| ContainsKey(TKey) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .ContainsKey(TKey) |
| Add(TKey,TValue) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.Add (TKey,TValue) |
| Remove(TKey) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.Remove (TKey) |
| TryGetValue(TKey,TValue&) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .TryGetValue(TKey,TValue&) |
| get_Item(TKey) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_Item(TKey) |
| set_Item(TKey,TValue) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .set_Item(TKey,TValue) |
| get_Keys() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_Keys() |
| System.Collections.IDictionary.get_Keys() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.System .Collections.IDictionary.get_Keys() |
| System.Collections.Generic.IDictionary<TKey,TValue>.get_Values() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.System .Collections.Generic.IDictionary<TKey,TValue>.get_Values() |
| get_Values() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_Values() |
| ContainsValue(TValue) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .ContainsValue(TValue) |
| get_Comparer() | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .get_Comparer() |
| GetObjectData(SerializationInfo,StreamingContext) | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .GetObjectData(SerializationInfo,StreamingContext) |
| OnDeserialization(Object) | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> .OnDeserialization(Object) |
| Cast<T>() | 1 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>.Cast<T> () |
| .ctor() | 2 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor() |
| .ctor(IEqualityComparer<TKey>) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IEqualityComparer<TKey>) |
| .ctor(IDictionary<TKey,TValue>,IEqualityComparer<TKey>) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IDictionary<TKey,TValue>,IEqualityComparer<TKey>) |
| .ctor(IDictionary<TKey,TValue>) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (IDictionary<TKey,TValue>) |
| .ctor(Int32) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (Int32) |
| .ctor(Int32,IEqualityComparer<TKey>) | 3 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (Int32,IEqualityComparer<TKey>) |
| .ctor(SerializationInfo,StreamingContext) | 5 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue>..ctor (SerializationInfo,StreamingContext) |
| AsReadOnly() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.AsReadOnly() |
| GetEnumerator() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.GetEnumerator() |
| System.Collections.IEnumerable.GetEnumerator() | 1 | Db4objects.Db4o.Collections.ActivatableList<T>.System.Collections .IEnumerable.GetEnumerator() |
| Add(T) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Add(T) |
| AddRange(IEnumerable<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.AddRange(IEnumerable<T> ) |
| BinarySearch(T) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.BinarySearch(T) |
| BinarySearch(Int32,Int32,T,IComparer<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.BinarySearch(Int32 ,Int32,T,IComparer<T>) |
| BinarySearch(T,IComparer<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.BinarySearch(T ,IComparer<T>) |
| Clear() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Clear() |
| Contains(T) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Contains(T) |
| CopyTo(T[],Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.CopyTo(T[],Int32) |
| CopyTo(T[]) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.CopyTo(T[]) |
| CopyTo(Int32,T[],Int32,Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.CopyTo(Int32,T[],Int32 ,Int32) |
| Equals(Object) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Equals(Object) |
| Exists(Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Exists(Predicate<T>) |
| Find(Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Find(Predicate<T>) |
| FindAll(Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.FindAll(Predicate<T>) |
| FindIndex(Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.FindIndex(Predicate<T>) |
| FindIndex(Int32,Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.FindIndex(Int32 ,Predicate<T>) |
| FindIndex(Int32,Int32,Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.FindIndex(Int32,Int32 ,Predicate<T>) |
| FindLast(Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.FindLast(Predicate<T>) |
| FindLastIndex(Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.FindLastIndex(Predicate <T>) |
| FindLastIndex(Int32,Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.FindLastIndex(Int32 ,Predicate<T>) |
| FindLastIndex(Int32,Int32,Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.FindLastIndex(Int32 ,Int32,Predicate<T>) |
| ForEach(Action<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.ForEach(Action<T>) |
| GetRange(Int32,Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.GetRange(Int32,Int32) |
| IndexOf(T) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.IndexOf(T) |
| IndexOf(T,Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.IndexOf(T,Int32) |
| IndexOf(T,Int32,Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.IndexOf(T,Int32,Int32) |
| InsertRange(Int32,IEnumerable<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.InsertRange(Int32 ,IEnumerable<T>) |
| LastIndexOf(T) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.LastIndexOf(T) |
| LastIndexOf(T,Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.LastIndexOf(T,Int32) |
| LastIndexOf(T,Int32,Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.LastIndexOf(T,Int32 ,Int32) |
| RemoveAll(Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.RemoveAll(Predicate<T>) |
| RemoveRange(Int32,Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.RemoveRange(Int32,Int32 ) |
| Reverse() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Reverse() |
| Reverse(Int32,Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Reverse(Int32,Int32) |
| Sort() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Sort() |
| Sort(IComparer<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Sort(IComparer<T>) |
| Sort(Int32,Int32,IComparer<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Sort(Int32,Int32 ,IComparer<T>) |
| Sort(Comparison<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Sort(Comparison<T>) |
| ToArray() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.ToArray() |
| TrimExcess() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.TrimExcess() |
| TrueForAll(Predicate<T>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.TrueForAll(Predicate<T> ) |
| ConvertAll<TOutput>(Converter<T,TOutput>) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.ConvertAll<TOutput> (Converter<T,TOutput>) |
| Remove(T) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Remove(T) |
| get_Count() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.get_Count() |
| get_Capacity() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.get_Capacity() |
| set_Capacity(Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.set_Capacity(Int32) |
| get_IsReadOnly() | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.get_IsReadOnly() |
| Insert(Int32,T) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.Insert(Int32,T) |
| RemoveAt(Int32) | 2 | Db4objects.Db4o.Collections.ActivatableList<T>.RemoveAt(Int32) |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 5 277 |
| Average: | 2.1574 |
| Minimum: | 0 |
| Maximum: | 62 |
| Standard deviation: | 3.2822 |
| Variance: | 10.773 |
Methods where code was changed
// <Name>Methods where code was changed</Name>
SELECT METHODS WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
SELECT METHODS WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
8,829 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 8829 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| AddAll(IList,IEnumerable) | 5 | Sharpen.Collections.AddAll(IList,IEnumerable) |
| AddAll<T>(ICollection<T>,IEnumerable<T>) | 6 | Sharpen.Collections.AddAll<T>(ICollection<T>,IEnumerable<T>) |
| Remove(IDictionary,Object) | 3 | Sharpen.Collections.Remove(IDictionary,Object) |
| ToArray(ICollection) | 3 | Sharpen.Collections.ToArray(ICollection) |
| ToArray<T>(ICollection,T[]) | 2 | Sharpen.Collections.ToArray<T>(ICollection,T[]) |
| ToArray<T>(ICollection<T>,T[]) | 2 | Sharpen.Collections.ToArray<T>(ICollection<T>,T[]) |
| get_Out() | 1 | Sharpen.Runtime.get_Out() |
| get_Err() | 1 | Sharpen.Runtime.get_Err() |
| GetArrayValue(Object,Int32) | 1 | Sharpen.Runtime.GetArrayValue(Object,Int32) |
| GetArrayLength(Object) | 1 | Sharpen.Runtime.GetArrayLength(Object) |
| SetArrayValue(Object,Int32,Object) | 1 | Sharpen.Runtime.SetArrayValue(Object,Int32,Object) |
| GetDeclaredField(Type,String) | 1 | Sharpen.Runtime.GetDeclaredField(Type,String) |
| GetDeclaredFields(Type) | 1 | Sharpen.Runtime.GetDeclaredFields(Type) |
| GetDeclaredMethod(Type,String,Type[]) | 1 | Sharpen.Runtime.GetDeclaredMethod(Type,String,Type[]) |
| GetMethod(Type,String,Type[]) | 1 | Sharpen.Runtime.GetMethod(Type,String,Type[]) |
| GetParameterTypes(MethodBase) | 7 | Sharpen.Runtime.GetParameterTypes(MethodBase) |
| CurrentTimeMillis() | 1 | Sharpen.Runtime.CurrentTimeMillis() |
| FloatToIntBits(Single) | 1 | Sharpen.Runtime.FloatToIntBits(Single) |
| Gc() | 1 | Sharpen.Runtime.Gc() |
| EqualsIgnoreCase(String,String) | 1 | Sharpen.Runtime.EqualsIgnoreCase(String,String) |
| Substring(String,Int32) | 1 | Sharpen.Runtime.Substring(String,Int32) |
| Substring(String,Int32,Int32) | 1 | Sharpen.Runtime.Substring(String,Int32,Int32) |
| GetCharsForString(String,Int32,Int32,Char[],Int32) | 1 | Sharpen.Runtime.GetCharsForString(String,Int32,Int32,Char[],Int32) |
| GetBytesForString(String) | 1 | Sharpen.Runtime.GetBytesForString(String) |
| GetStringForBytes(Byte[],Int32,Int32) | 1 | Sharpen.Runtime.GetStringForBytes(Byte[],Int32,Int32) |
| GetStringValueOf(Object) | 1 | Sharpen.Runtime.GetStringValueOf(Object) |
| GetProperty(String) | 1 | Sharpen.Runtime.GetProperty(String) |
| GetProperty(String,String) | 1 | Sharpen.Runtime.GetProperty(String,String) |
| GetEnvironmentVariable(String,String) | 4 | Sharpen.Runtime.GetEnvironmentVariable(String,String) |
| GetReferenceTarget(WeakReference) | 1 | Sharpen.Runtime.GetReferenceTarget(WeakReference) |
| GetTimeForDate(DateTime) | 1 | Sharpen.Runtime.GetTimeForDate(DateTime) |
| IdentityHashCode(Object) | 1 | Sharpen.Runtime.IdentityHashCode(Object) |
| IntBitsToFloat(Int32) | 1 | Sharpen.Runtime.IntBitsToFloat(Int32) |
| Wait(Object,Int64) | 1 | Sharpen.Runtime.Wait(Object,Int64) |
| Notify(Object) | 1 | Sharpen.Runtime.Notify(Object) |
| NotifyAll(Object) | 1 | Sharpen.Runtime.NotifyAll(Object) |
| PrintStackTrace(Exception) | 1 | Sharpen.Runtime.PrintStackTrace(Exception) |
| PrintStackTrace(Exception,TextWriter) | 1 | Sharpen.Runtime.PrintStackTrace(Exception,TextWriter) |
| RunFinalization() | 1 | Sharpen.Runtime.RunFinalization() |
| RunFinalizersOnExit(Boolean) | 0 | Sharpen.Runtime.RunFinalizersOnExit(Boolean) |
| GetType(String) | 1 | Sharpen.Runtime.GetType(String) |
| ToJavaMilliseconds(DateTime) | 1 | Sharpen.Runtime.ToJavaMilliseconds(DateTime) |
| ToJavaMilliseconds(Int64) | 1 | Sharpen.Runtime.ToJavaMilliseconds(Int64) |
| ToNetTicks(Int64) | 1 | Sharpen.Runtime.ToNetTicks(Int64) |
| get_UnderlyingStream() | 1 | Sharpen.IO.StreamAdaptor.get_UnderlyingStream() |
| Close() | 1 | Sharpen.IO.StreamAdaptor.Close() |
| .ctor(Stream) | 2 | Sharpen.IO.StreamAdaptor..ctor(Stream) |
| Read() | 1 | Sharpen.IO.InputStream.Read() |
| Read(Byte[]) | 1 | Sharpen.IO.InputStream.Read(Byte[]) |
| Read(Byte[],Int32,Int32) | 1 | Sharpen.IO.InputStream.Read(Byte[],Int32,Int32) |
| TranslateReadReturnValue(Int32) | 1 | Sharpen.IO.InputStream.TranslateReadReturnValue(Int32) |
| .ctor(Stream) | 1 | Sharpen.IO.InputStream..ctor(Stream) |
| .ctor(File) | 1 | Sharpen.IO.FileInputStream..ctor(File) |
| get_Stream() | 1 | Sharpen.IO.RandomAccessFile.get_Stream() |
| Close() | 1 | Sharpen.IO.RandomAccessFile.Close() |
| Length() | 1 | Sharpen.IO.RandomAccessFile.Length() |
| Read(Byte[],Int32,Int32) | 1 | Sharpen.IO.RandomAccessFile.Read(Byte[],Int32,Int32) |
| Read(Byte[]) | 1 | Sharpen.IO.RandomAccessFile.Read(Byte[]) |
| Seek(Int64) | 1 | Sharpen.IO.RandomAccessFile.Seek(Int64) |
| Sync() | 2 | Sharpen.IO.RandomAccessFile.Sync() |
| GetFD() | 1 | Sharpen.IO.RandomAccessFile.GetFD() |
| Write(Byte[]) | 1 | Sharpen.IO.RandomAccessFile.Write(Byte[]) |
| Write(Byte[],Int32,Int32) | 3 | Sharpen.IO.RandomAccessFile.Write(Byte[],Int32,Int32) |
| .ctor(String,Boolean,Boolean) | 2 | Sharpen.IO.RandomAccessFile..ctor(String,Boolean,Boolean) |
| .ctor(String,String) | 1 | Sharpen.IO.RandomAccessFile..ctor(String,String) |
| op_Implicit(File) | 1 | Sharpen.IO.File.op_Implicit(File) |
| Delete() | 4 | Sharpen.IO.File.Delete() |
| Exists() | 2 | Sharpen.IO.File.Exists() |
| RemoveTrailingSlash(String) | 1 | Sharpen.IO.File.RemoveTrailingSlash(String) |
| GetCanonicalPath() | 1 | Sharpen.IO.File.GetCanonicalPath() |
| GetCanonicalFile() | 1 | Sharpen.IO.File.GetCanonicalFile() |
| GetAbsolutePath() | 1 | Sharpen.IO.File.GetAbsolutePath() |
| GetName() | 2 | Sharpen.IO.File.GetName() |
| GetPath() | 1 | Sharpen.IO.File.GetPath() |
| IsDirectory() | 1 | Sharpen.IO.File.IsDirectory() |
| Length() | 1 | Sharpen.IO.File.Length() |
| List() | 1 | Sharpen.IO.File.List() |
| Mkdir() | 4 | Sharpen.IO.File.Mkdir() |
| Mkdirs() | 6 | Sharpen.IO.File.Mkdirs() |
| RenameTo(File) | 1 | Sharpen.IO.File.RenameTo(File) |
| ListFiles(IFilenameFilter) | 10 | Sharpen.IO.File.ListFiles(IFilenameFilter) |
| ToString() | 1 | Sharpen.IO.File.ToString() |
| .ctor(String) | 2 | Sharpen.IO.File..ctor(String) |
| .ctor(String,String) | 2 | Sharpen.IO.File..ctor(String,String) |
| Read() | 1 | Sharpen.IO.BufferedInputStream.Read() |
| Read(Byte[]) | 1 | Sharpen.IO.BufferedInputStream.Read(Byte[]) |
| Read(Byte[],Int32,Int32) | 1 | Sharpen.IO.BufferedInputStream.Read(Byte[],Int32,Int32) |
| Close() | 1 | Sharpen.IO.BufferedInputStream.Close() |
| .ctor(IInputStream) | 2 | Sharpen.IO.BufferedInputStream..ctor(IInputStream) |
| .ctor(IInputStream,Int32) | 2 | Sharpen.IO.BufferedInputStream..ctor(IInputStream,Int32) |
| Write(Int32) | 1 | Sharpen.IO.OutputStream.Write(Int32) |
| Write(Byte[]) | 1 | Sharpen.IO.OutputStream.Write(Byte[]) |
| Write(Byte[],Int32,Int32) | 1 | Sharpen.IO.OutputStream.Write(Byte[],Int32,Int32) |
| Flush() | 1 | Sharpen.IO.OutputStream.Flush() |
| .ctor(Stream) | 1 | Sharpen.IO.OutputStream..ctor(Stream) |
| .ctor(File) | 1 | Sharpen.IO.FileOutputStream..ctor(File) |
| Size() | 1 | Sharpen.IO.ByteArrayOutputStream.Size() |
| WriteTo(OutputStream) | 1 | Sharpen.IO.ByteArrayOutputStream.WriteTo(OutputStream) |
| ToByteArray() | 1 | Sharpen.IO.ByteArrayOutputStream.ToByteArray() |
| get_Stream() | 1 | Sharpen.IO.ByteArrayOutputStream.get_Stream() |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 26 246 |
| Average: | 2.9727 |
| Minimum: | 0 |
| Maximum: | 73 |
| Standard deviation: | 3.7989 |
| Variance: | 14.432 |
Public Types added
// <Name>Public Types added</Name>
SELECT TYPES WHERE WasAdded AND IsPublic
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
SELECT TYPES WHERE WasAdded AND IsPublic
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
242 types matched
The following list of types is truncated and contains only the first 100 types of the 242 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| Db4oFileHeaderCorruptionException | 0 | Db4objects.Db4o.Ext.Db4oFileHeaderCorruptionException |
| ActivatableDictionary<TKey,TValue> | 78 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> |
| IActivatableCollection<T> | N/A | Db4objects.Db4o.Collections.IActivatableCollection<T> |
| ActivatableList<T> | 116 | Db4objects.Db4o.Collections.ActivatableList<T> |
| DeactivatingRollbackStrategy | 1 | Db4objects.Db4o.TA.DeactivatingRollbackStrategy |
| IIdMapping | N/A | Db4objects.Db4o.Defragment.IIdMapping |
| AbstractIdMapping | 10 | Db4objects.Db4o.Defragment.AbstractIdMapping |
| DatabaseIdMapping | 44 | Db4objects.Db4o.Defragment.DatabaseIdMapping |
| InMemoryIdMapping | 17 | Db4objects.Db4o.Defragment.InMemoryIdMapping |
| Identifiable | 25 | Db4objects.Db4o.Internal.Identifiable |
| LocalPersistentBase | 10 | Db4objects.Db4o.Internal.LocalPersistentBase |
| IBlockConverter | N/A | Db4objects.Db4o.Internal.IBlockConverter |
| DisabledBlockConverter | 5 | Db4objects.Db4o.Internal.DisabledBlockConverter |
| ICallbackInfoCollector | N/A | Db4objects.Db4o.Internal.ICallbackInfoCollector |
| BlockSizeBlockConverter | 7 | Db4objects.Db4o.Internal.BlockSizeBlockConverter |
| SystemSlotChange | 4 | Db4objects.Db4o.Internal.Slots.SystemSlotChange |
| IdSystemSlotChange | 15 | Db4objects.Db4o.Internal.Slots.IdSystemSlotChange |
| FreespaceSlotChange | 2 | Db4objects.Db4o.Internal.Slots.FreespaceSlotChange |
| SlotChangeFactory | 6 | Db4objects.Db4o.Internal.Slots.SlotChangeFactory |
| FileHeaderVariablePart | 13 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart |
| FileHeaderVariablePart2 | 111 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart2 |
| NewFileHeaderBase | 32 | Db4objects.Db4o.Internal.Fileheader.NewFileHeaderBase |
| FileHeader2 | 49 | Db4objects.Db4o.Internal.Fileheader.FileHeader2 |
| IModifiedObjectQuery | N/A | Db4objects.Db4o.Internal.Activation.IModifiedObjectQuery |
| NullModifiedObjectQuery | 3 | Db4objects.Db4o.Internal.Activation.NullModifiedObjectQuery |
| ActivatableBase | 10 | Db4objects.Db4o.Internal.Activation.ActivatableBase |
| IUpdateDepth | N/A | Db4objects.Db4o.Internal.Activation.IUpdateDepth |
| FixedUpdateDepth | 24 | Db4objects.Db4o.Internal.Activation.FixedUpdateDepth |
| TPFixedUpdateDepth | 5 | Db4objects.Db4o.Internal.Activation.TPFixedUpdateDepth |
| UnspecifiedUpdateDepth | 8 | Db4objects.Db4o.Internal.Activation.UnspecifiedUpdateDepth |
| IUpdateDepthProvider | N/A | Db4objects.Db4o.Internal.Activation.IUpdateDepthProvider |
| TPUnspecifiedUpdateDepth | 5 | Db4objects.Db4o.Internal.Activation.TPUnspecifiedUpdateDepth |
| LegacyFixedUpdateDepth | 3 | Db4objects.Db4o.Internal.Activation.LegacyFixedUpdateDepth |
| IFixedDepth | N/A | Db4objects.Db4o.Internal.Activation.IFixedDepth |
| TPUpdateDepthProvider | 2 | Db4objects.Db4o.Internal.Activation.TPUpdateDepthProvider |
| DepthUtil | 5 | Db4objects.Db4o.Internal.Activation.DepthUtil |
| LegacyUpdateDepthProvider | 2 | Db4objects.Db4o.Internal.Activation.LegacyUpdateDepthProvider |
| LegacyUnspecifiedUpdateDepth | 4 | Db4objects.Db4o.Internal.Activation.LegacyUnspecifiedUpdateDepth |
| IdSlotMapping | 11 | Db4objects.Db4o.Internal.Ids.IdSlotMapping |
| FreespaceCommitter | 20 | Db4objects.Db4o.Internal.Ids.FreespaceCommitter |
| ITransactionalIdSystem | N/A | Db4objects.Db4o.Internal.Ids.ITransactionalIdSystem |
| TransactionalIdSystemImpl | 64 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl |
| IdSlotTree | 14 | Db4objects.Db4o.Internal.Ids.IdSlotTree |
| IdSlotChanges | 33 | Db4objects.Db4o.Internal.Ids.IdSlotChanges |
| IIdSystem | N/A | Db4objects.Db4o.Internal.Ids.IIdSystem |
| IStackableIdSystem | N/A | Db4objects.Db4o.Internal.Ids.IStackableIdSystem |
| BTreeIdSystem | 48 | Db4objects.Db4o.Internal.Ids.BTreeIdSystem |
| BTreeIdSystem+IdSlotMappingHandler | 5 | Db4objects.Db4o.Internal.Ids.BTreeIdSystem+IdSlotMappingHandler |
| StandardIdSystemFactory | 19 | Db4objects.Db4o.Internal.Ids.StandardIdSystemFactory |
| TransportIdSystem | 12 | Db4objects.Db4o.Internal.Ids.TransportIdSystem |
| PointerBasedIdSystem | 19 | Db4objects.Db4o.Internal.Ids.PointerBasedIdSystem |
| InMemoryIdSystem | 75 | Db4objects.Db4o.Internal.Ids.InMemoryIdSystem |
| SequentialIdGenerator | 34 | Db4objects.Db4o.Internal.Ids.SequentialIdGenerator |
| InMemoryFreespaceManager | 108 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager |
| NullFreespaceManager | 9 | Db4objects.Db4o.Internal.Freespace.NullFreespaceManager |
| BlockAwareFreespaceManager | 32 | Db4objects.Db4o.Internal.Freespace.BlockAwareFreespaceManager |
| IdSystemConfigurationImpl | 7 | Db4objects.Db4o.Internal.Config.IdSystemConfigurationImpl |
| BTreeNodeCacheEntry | 4 | Db4objects.Db4o.Internal.Btree.BTreeNodeCacheEntry |
| BTreeConfiguration | 7 | Db4objects.Db4o.Internal.Btree.BTreeConfiguration |
| IVisitable | N/A | Db4objects.Db4o.Foundation.IVisitable |
| HashtableLongEntry | 9 | Db4objects.Db4o.Foundation.HashtableLongEntry |
| ICancellableVisitor4 | N/A | Db4objects.Db4o.Foundation.ICancellableVisitor4 |
| CRC32 | 21 | Db4objects.Db4o.Foundation.CRC32 |
| Runnable4 | 1 | Db4objects.Db4o.Foundation.Runnable4 |
| IIdSystemConfiguration | N/A | Db4objects.Db4o.Config.IIdSystemConfiguration |
| IIdSystemFactory | N/A | Db4objects.Db4o.Config.IIdSystemFactory |
| IIdSystemConfigurationProvider | N/A | Db4objects.Db4o.Config.IIdSystemConfigurationProvider |
| ITestCase | N/A | Db4oUnit.ITestCase |
| ICodeBlock | N/A | Db4oUnit.ICodeBlock |
| ITestSuiteBuilder | N/A | Db4oUnit.ITestSuiteBuilder |
| ReflectionTestSuite | 2 | Db4oUnit.ReflectionTestSuite |
| IteratorAssert | 33 | Db4oUnit.IteratorAssert |
| ITestDecorator | N/A | Db4oUnit.ITestDecorator |
| ITestListener | N/A | Db4oUnit.ITestListener |
| TestPlatform | 11 | Db4oUnit.TestPlatform |
| TestException | 7 | Db4oUnit.TestException |
| AssertionException | 3 | Db4oUnit.AssertionException |
| ReflectionTestSuiteBuilder | 32 | Db4oUnit.ReflectionTestSuiteBuilder |
| ITestFactory | N/A | Db4oUnit.ITestFactory |
| TestRunner | 14 | Db4oUnit.TestRunner |
| Iterator4Assert | 28 | Db4oUnit.Iterator4Assert |
| ITest | N/A | Db4oUnit.ITest |
| ContextfulTest | 5 | Db4oUnit.ContextfulTest |
| TearDownFailureException | 1 | Db4oUnit.TearDownFailureException |
| ArrayAssert | 94 | Db4oUnit.ArrayAssert |
| ITestLifeCycle | N/A | Db4oUnit.ITestLifeCycle |
| FailingTest | 6 | Db4oUnit.FailingTest |
| JaggedArrayAssert | 20 | Db4oUnit.JaggedArrayAssert |
| TestMethod | 34 | Db4oUnit.TestMethod |
| Printable | 4 | Db4oUnit.Printable |
| TestResult | 17 | Db4oUnit.TestResult |
| TestFailureCollection | 23 | Db4oUnit.TestFailureCollection |
| Iterable4Assert | 0 | Db4oUnit.Iterable4Assert |
| ConsoleTestRunner | 31 | Db4oUnit.ConsoleTestRunner |
| TestFailure | 8 | Db4oUnit.TestFailure |
| TestDecorationAdapter | 4 | Db4oUnit.TestDecorationAdapter |
| StringAssert | 3 | Db4oUnit.StringAssert |
| CodeBlock | N/A | Db4oUnit.CodeBlock |
| Assert | 92 | Db4oUnit.Assert |
| CompositeTestListener | 11 | Db4oUnit.CompositeTestListener |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 2 873 |
| Average: | 11.872 |
| Minimum: | 0 |
| Maximum: | 116 |
| Standard deviation: | 20.043 |
| Variance: | 401.74 |
Types added
// <Name>Types added</Name>
SELECT TYPES WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
SELECT TYPES WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
492 types matched
The following list of types is truncated and contains only the first 100 types of the 492 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| Db4oFileHeaderCorruptionException | 0 | Db4objects.Db4o.Ext.Db4oFileHeaderCorruptionException |
| ActivatableDictionary<TKey,TValue> | 78 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> |
| IActivatableCollection<T> | N/A | Db4objects.Db4o.Collections.IActivatableCollection<T> |
| ActivatableList<T> | 116 | Db4objects.Db4o.Collections.ActivatableList<T> |
| DeactivatingRollbackStrategy | 1 | Db4objects.Db4o.TA.DeactivatingRollbackStrategy |
| IIdMapping | N/A | Db4objects.Db4o.Defragment.IIdMapping |
| AbstractIdMapping | 10 | Db4objects.Db4o.Defragment.AbstractIdMapping |
| DatabaseIdMapping | 44 | Db4objects.Db4o.Defragment.DatabaseIdMapping |
| DatabaseIdMapping+BTreeSpec | 3 | Db4objects.Db4o.Defragment.DatabaseIdMapping+BTreeSpec |
| DatabaseIdMapping+_IVisitable_142 | 9 | Db4objects.Db4o.Defragment.DatabaseIdMapping+_IVisitable_142 |
| DefragmentServicesImpl+_DbSelector_38 | 2 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_DbSelector_38 |
| DefragmentServicesImpl+_DbSelector_44 | 2 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_DbSelector_44 |
| DefragmentServicesImpl+_IVisitor4_230 | 5 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_IVisitor4_230 |
| DefragmentServicesImpl+_IProcedure4_313 | 5 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_IProcedure4_313 |
| InMemoryIdMapping | 17 | Db4objects.Db4o.Defragment.InMemoryIdMapping |
| InMemoryIdMapping+_IVisitable_62 | 3 | Db4objects.Db4o.Defragment.InMemoryIdMapping+_IVisitable_62 |
| InMemoryIdMapping+_IVisitable_62+_IVisitor4_64 | 5 | Db4objects.Db4o.Defragment .InMemoryIdMapping+_IVisitable_62+_IVisitor4_64 |
| Defragment+_ISlotCopyHandler_222 | 2 | Db4objects.Db4o.Defragment.Defragment+_ISlotCopyHandler_222 |
| Defragment+_IVisitor4_315 | 10 | Db4objects.Db4o.Defragment.Defragment+_IVisitor4_315 |
| ObjectContainerBase+_IRunnable_125 | 14 | Db4objects.Db4o.Internal.ObjectContainerBase+_IRunnable_125 |
| ObjectContainerBase+_IFunction4_185 | 7 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_185 |
| ObjectContainerBase+_IFunction4_395 | 5 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_395 |
| ObjectContainerBase+_IFunction4_512 | 6 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_512 |
| ObjectContainerBase+_IFunction4_561 | 7 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_561 |
| ObjectContainerBase+_TraverseFieldCommand_689 | 5 | Db4objects.Db4o.Internal.ObjectContainerBase+_TraverseFieldCommand_689 |
| ObjectContainerBase+_IFunction4_806 | 4 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_806 |
| ObjectContainerBase+_IFunction4_888 | 3 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_888 |
| ObjectContainerBase+_IFunction4_1267 | 12 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_1267 |
| ObjectContainerBase+_IFunction4_1590 | 6 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_1590 |
| OpenTypeHandler+_CollectIdContext_201 | 4 | Db4objects.Db4o.Internal.OpenTypeHandler+_CollectIdContext_201 |
| OpenTypeHandler+_CollectIdContext_201+_SlotFormatCurrent_207 | 2 | Db4objects.Db4o.Internal .OpenTypeHandler+_CollectIdContext_201+_SlotFormatCurrent_207 |
| Identifiable | 25 | Db4objects.Db4o.Internal.Identifiable |
| LocalPersistentBase | 10 | Db4objects.Db4o.Internal.LocalPersistentBase |
| Config4Impl+_IDeferred_73 | 2 | Db4objects.Db4o.Internal.Config4Impl+_IDeferred_73 |
| Config4Impl+_IDeferred_83 | 2 | Db4objects.Db4o.Internal.Config4Impl+_IDeferred_83 |
| Config4Impl+_IDeferred_101 | 2 | Db4objects.Db4o.Internal.Config4Impl+_IDeferred_101 |
| Config4Impl+_IDeferred_153 | 2 | Db4objects.Db4o.Internal.Config4Impl+_IDeferred_153 |
| Config4Impl+_IReferenceSystemFactory_191 | 2 | Db4objects.Db4o.Internal.Config4Impl+_IReferenceSystemFactory_191 |
| Config4Impl+_INameProvider_197 | 2 | Db4objects.Db4o.Internal.Config4Impl+_INameProvider_197 |
| FieldMetadata+_IClosure4_453 | 5 | Db4objects.Db4o.Internal.FieldMetadata+_IClosure4_453 |
| FieldMetadata+_IVisitor4_871 | 6 | Db4objects.Db4o.Internal.FieldMetadata+_IVisitor4_871 |
| FieldMetadata+_IClosure4_1034 | 5 | Db4objects.Db4o.Internal.FieldMetadata+_IClosure4_1034 |
| LocalObjectContainer+_IClosure4_57 | 3 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_57 |
| LocalObjectContainer+_IClosure4_68 | 3 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_68 |
| LocalObjectContainer+_IClosure4_573 | 9 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_573 |
| LocalObjectContainer+_IClosure4_587 | 7 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_587 |
| LocalObjectContainer+_IClosure4_587+_IVisitor4_588 | 3 | Db4objects.Db4o.Internal .LocalObjectContainer+_IClosure4_587+_IVisitor4_588 |
| LocalObjectContainer+_IClosure4_624 | 32 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_624 |
| LocalObjectContainer+_IVisitor4_790 | 3 | Db4objects.Db4o.Internal.LocalObjectContainer+_IVisitor4_790 |
| IBlockConverter | N/A | Db4objects.Db4o.Internal.IBlockConverter |
| DisabledBlockConverter | 5 | Db4objects.Db4o.Internal.DisabledBlockConverter |
| ClassMetadata+_IProcedure4_101 | 4 | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_101 |
| ClassMetadata+_ITraverseAspectCommand_160 | 5 | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_160 |
| ClassMetadata+_TraverseFieldCommand_534 | 7 | Db4objects.Db4o.Internal.ClassMetadata+_TraverseFieldCommand_534 |
| ClassMetadata+_IPredicate4_544 | 3 | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_544 |
| ClassMetadata+_IPredicate4_553 | 2 | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_553 |
| ClassMetadata+_IFunction4_632 | 3 | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_632 |
| ClassMetadata+_IFunction4_640 | 3 | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_640 |
| ClassMetadata+_ITraverseAspectCommand_701 | 6 | Db4objects.Db4o.Internal.ClassMetadata+_ITraverseAspectCommand_701 |
| ClassMetadata+_IProcedure4_1024 | 3 | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_1024 |
| ClassMetadata+_TraverseFieldCommand_1041 | 5 | Db4objects.Db4o.Internal.ClassMetadata+_TraverseFieldCommand_1041 |
| ClassMetadata+_IProcedure4_1572 | 2 | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_1572 |
| ClassMetadata+_IProcedure4_1597 | 8 | Db4objects.Db4o.Internal.ClassMetadata+_IProcedure4_1597 |
| ClassMetadata+_TraverseFieldCommand_1691 | 9 | Db4objects.Db4o.Internal.ClassMetadata+_TraverseFieldCommand_1691 |
| ClassMetadata+_IFunction4_1751 | 10 | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_1751 |
| ClassMetadata+_IFunction4_1779 | 3 | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_1779 |
| ClassMetadata+_IPredicate4_1808 | 2 | Db4objects.Db4o.Internal.ClassMetadata+_IPredicate4_1808 |
| ClassMetadata+_IClosure4_2046 | 4 | Db4objects.Db4o.Internal.ClassMetadata+_IClosure4_2046 |
| PrimitiveTypeMetadata+_IAspectTraversalStrategy_182 | 1 | Db4objects.Db4o.Internal .PrimitiveTypeMetadata+_IAspectTraversalStrategy_182 |
| ICallbackInfoCollector | N/A | Db4objects.Db4o.Internal.ICallbackInfoCollector |
| Transaction+_IContext_295 | 4 | Db4objects.Db4o.Internal.Transaction+_IContext_295 |
| LocalTransaction+_ICommittedCallbackDispatcher_31 | 4 | Db4objects.Db4o.Internal .LocalTransaction+_ICommittedCallbackDispatcher_31 |
| LocalTransaction+_IVisitor4_217 | 16 | Db4objects.Db4o.Internal.LocalTransaction+_IVisitor4_217 |
| LocalTransaction+_ICallbackInfoCollector_267 | 6 | Db4objects.Db4o.Internal.LocalTransaction+_ICallbackInfoCollector_267 |
| LocalTransaction+_ICallbackInfoCollector_290 | 6 | Db4objects.Db4o.Internal.LocalTransaction+_ICallbackInfoCollector_290 |
| LocalTransaction+_ICallbackInfoCollector_313 | 10 | Db4objects.Db4o.Internal.LocalTransaction+_ICallbackInfoCollector_313 |
| LegacyDb4oAssemblyNameMapper | 40 | Db4objects.Db4o.Internal.LegacyDb4oAssemblyNameMapper |
| BlockSizeBlockConverter | 7 | Db4objects.Db4o.Internal.BlockSizeBlockConverter |
| SlotChange+SlotChangeOperation | 6 | Db4objects.Db4o.Internal.Slots.SlotChange+SlotChangeOperation |
| SystemSlotChange | 4 | Db4objects.Db4o.Internal.Slots.SystemSlotChange |
| IdSystemSlotChange | 15 | Db4objects.Db4o.Internal.Slots.IdSystemSlotChange |
| FreespaceSlotChange | 2 | Db4objects.Db4o.Internal.Slots.FreespaceSlotChange |
| SlotChangeFactory | 6 | Db4objects.Db4o.Internal.Slots.SlotChangeFactory |
| SlotChangeFactory+_SlotChangeFactory_20 | 2 | Db4objects.Db4o.Internal.Slots.SlotChangeFactory+_SlotChangeFactory_20 |
| SlotChangeFactory+_SlotChangeFactory_26 | 2 | Db4objects.Db4o.Internal.Slots.SlotChangeFactory+_SlotChangeFactory_26 |
| SlotChangeFactory+_SlotChangeFactory_32 | 2 | Db4objects.Db4o.Internal.Slots.SlotChangeFactory+_SlotChangeFactory_32 |
| AbstractReadContext+_IClosure4_38 | 4 | Db4objects.Db4o.Internal.Marshall.AbstractReadContext+_IClosure4_38 |
| FileHeaderVariablePart | 13 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart |
| FileHeaderVariablePart2 | 111 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart2 |
| FileHeaderVariablePart2+_IRunnable_65 | 5 | Db4objects.Db4o.Internal.Fileheader .FileHeaderVariablePart2+_IRunnable_65 |
| FileHeaderVariablePart1+_IRunnable_84 | 8 | Db4objects.Db4o.Internal.Fileheader .FileHeaderVariablePart1+_IRunnable_84 |
| NewFileHeaderBase | 32 | Db4objects.Db4o.Internal.Fileheader.NewFileHeaderBase |
| FileHeader2 | 49 | Db4objects.Db4o.Internal.Fileheader.FileHeader2 |
| IModifiedObjectQuery | N/A | Db4objects.Db4o.Internal.Activation.IModifiedObjectQuery |
| NullModifiedObjectQuery | 3 | Db4objects.Db4o.Internal.Activation.NullModifiedObjectQuery |
| ActivatableBase | 10 | Db4objects.Db4o.Internal.Activation.ActivatableBase |
| IUpdateDepth | N/A | Db4objects.Db4o.Internal.Activation.IUpdateDepth |
| FixedUpdateDepth | 24 | Db4objects.Db4o.Internal.Activation.FixedUpdateDepth |
| TPFixedUpdateDepth | 5 | Db4objects.Db4o.Internal.Activation.TPFixedUpdateDepth |
| UnspecifiedUpdateDepth | 8 | Db4objects.Db4o.Internal.Activation.UnspecifiedUpdateDepth |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 4 195 |
| Average: | 8.5264 |
| Minimum: | 0 |
| Maximum: | 116 |
| Standard deviation: | 15.017 |
| Variance: | 225.51 |
Types where code was changed
// <Name>Types where code was changed</Name>
SELECT TYPES WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
SELECT TYPES WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
1,206 types matched
The following list of types is truncated and contains only the first 100 types of the 1206 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| Collections | 21 | Sharpen.Collections |
| Runtime | 48 | Sharpen.Runtime |
| StreamAdaptor | 4 | Sharpen.IO.StreamAdaptor |
| InputStream | 5 | Sharpen.IO.InputStream |
| FileInputStream | 1 | Sharpen.IO.FileInputStream |
| RandomAccessFile | 16 | Sharpen.IO.RandomAccessFile |
| File | 45 | Sharpen.IO.File |
| BufferedInputStream | 8 | Sharpen.IO.BufferedInputStream |
| OutputStream | 5 | Sharpen.IO.OutputStream |
| FileOutputStream | 1 | Sharpen.IO.FileOutputStream |
| ByteArrayOutputStream | 6 | Sharpen.IO.ByteArrayOutputStream |
| ByteArrayInputStream | 1 | Sharpen.IO.ByteArrayInputStream |
| BufferedOutputStream | 9 | Sharpen.IO.BufferedOutputStream |
| HashSet | 50 | Sharpen.Util.HashSet |
| Random | 5 | Sharpen.Util.Random |
| Arrays | 21 | Sharpen.Util.Arrays |
| SocketWrapper | 9 | Sharpen.Net.SocketWrapper |
| Socket | 24 | Sharpen.Net.Socket |
| ServerSocket | 10 | Sharpen.Net.ServerSocket |
| DecimalFormat | 4 | Sharpen.Text.DecimalFormat |
| TypeReference | 17 | Sharpen.Lang.TypeReference |
| SimpleTypeReference | 22 | Sharpen.Lang.SimpleTypeReference |
| QualifiedTypeReference | 6 | Sharpen.Lang.QualifiedTypeReference |
| PointerTypeReference | 3 | Sharpen.Lang.PointerTypeReference |
| ArrayTypeReference | 13 | Sharpen.Lang.ArrayTypeReference |
| GenericTypeReference | 25 | Sharpen.Lang.GenericTypeReference |
| Token | 4 | Sharpen.Lang.Token |
| TypeReferenceLexer | 55 | Sharpen.Lang.TypeReferenceLexer |
| Thread | 38 | Sharpen.Lang.Thread |
| IdentityHashCodeProvider | 1 | Sharpen.Lang.IdentityHashCodeProvider |
| TypeReferenceParser | 116 | Sharpen.Lang.TypeReferenceParser |
| ThreadLocal | 10 | Sharpen.Lang.ThreadLocal |
| DTrace | 254 | Db4objects.Db4o.DTrace |
| TransientAttribute | 1 | Db4objects.Db4o.TransientAttribute |
| User | 4 | Db4objects.Db4o.User |
| Rename | 6 | Db4objects.Db4o.Rename |
| Db4oEmbedded | 5 | Db4objects.Db4o.Db4oEmbedded |
| Dynamic | 15 | Db4objects.Db4o.Dynamic |
| Db4oFactory | 22 | Db4objects.Db4o.Db4oFactory |
| Db4oVersion | 1 | Db4objects.Db4o.Db4oVersion |
| P1Object | 3 | Db4objects.Db4o.P1Object |
| PBootRecord | 1 | Db4objects.Db4o.PBootRecord |
| StaticClass | 4 | Db4objects.Db4o.StaticClass |
| MetaIndex | 15 | Db4objects.Db4o.MetaIndex |
| StaticField | 4 | Db4objects.Db4o.StaticField |
| Debug4 | 11 | Db4objects.Db4o.Debug4 |
| MemoryFile | 15 | Db4objects.Db4o.Ext.MemoryFile |
| Db4oException | 5 | Db4objects.Db4o.Ext.Db4oException |
| Db4oFatalException | 5 | Db4objects.Db4o.Ext.Db4oFatalException |
| Db4oRecoverableException | 5 | Db4objects.Db4o.Ext.Db4oRecoverableException |
| ObjectNotStorableException | 2 | Db4objects.Db4o.Ext.ObjectNotStorableException |
| Db4oUnexpectedException | 1 | Db4objects.Db4o.Ext.Db4oUnexpectedException |
| Db4oIOException | 3 | Db4objects.Db4o.Ext.Db4oIOException |
| DatabaseFileLockedException | 2 | Db4objects.Db4o.Ext.DatabaseFileLockedException |
| IncompatibleFileFormatException | 2 | Db4objects.Db4o.Ext.IncompatibleFileFormatException |
| Db4oIllegalStateException | 2 | Db4objects.Db4o.Ext.Db4oIllegalStateException |
| InvalidIDException | 2 | Db4objects.Db4o.Ext.InvalidIDException |
| InvalidSlotException | 2 | Db4objects.Db4o.Ext.InvalidSlotException |
| Db4oDatabase | 73 | Db4objects.Db4o.Ext.Db4oDatabase |
| Db4oUUID | 29 | Db4objects.Db4o.Ext.Db4oUUID |
| OldFormatException | 1 | Db4objects.Db4o.Ext.OldFormatException |
| ExtDb4oFactory | 2 | Db4objects.Db4o.Ext.ExtDb4oFactory |
| CompositeDb4oException | 2 | Db4objects.Db4o.Ext.CompositeDb4oException |
| Predicate | 31 | Db4objects.Db4o.Query.Predicate |
| PredicatePlatform | 5 | Db4objects.Db4o.Query.PredicatePlatform |
| CollectionFactory | 7 | Db4objects.Db4o.Collections.CollectionFactory |
| ArrayDictionary4<K,V> | 127 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V> |
| ArrayList4<E> | 146 | Db4objects.Db4o.Collections.ArrayList4<E> |
| ArrayDictionary4<K,V>+<GetEnumerator>d__0 | 5 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V>+<GetEnumerator>d__0 |
| ArrayList4<E>+<GetEnumerator>d__0 | 9 | Db4objects.Db4o.Collections.ArrayList4<E>+<GetEnumerator>d__0 |
| TransactionalEventArgs | 3 | Db4objects.Db4o.Events.TransactionalEventArgs |
| CommitEventArgs | 5 | Db4objects.Db4o.Events.CommitEventArgs |
| QueryEventArgs | 3 | Db4objects.Db4o.Events.QueryEventArgs |
| ObjectContainerEventArgs | 3 | Db4objects.Db4o.Events.ObjectContainerEventArgs |
| StringEventArgs | 3 | Db4objects.Db4o.Events.StringEventArgs |
| EventRegistryFactory | 14 | Db4objects.Db4o.Events.EventRegistryFactory |
| ObjectEventArgs | 1 | Db4objects.Db4o.Events.ObjectEventArgs |
| EventException | 1 | Db4objects.Db4o.Events.EventException |
| ClassEventArgs | 3 | Db4objects.Db4o.Events.ClassEventArgs |
| ObjectInfoEventArgs | 4 | Db4objects.Db4o.Events.ObjectInfoEventArgs |
| CancellableObjectEventArgs | 9 | Db4objects.Db4o.Events.CancellableObjectEventArgs |
| TransparentActivationSupport | 35 | Db4objects.Db4o.TA.TransparentActivationSupport |
| TransparentActivationSupport+_IEventListener4_45 | 3 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_45 |
| TransparentActivationSupport+_IEventListener4_50 | 3 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_50 |
| TransparentActivationSupport+_IEventListener4_56 | 6 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_56 |
| TransparentActivationSupport+_IEventListener4_67 | 4 | Db4objects.Db4o.TA.TransparentActivationSupport+_IEventListener4_67 |
| TransparentActivationSupport+_IVisitor4_95 | 3 | Db4objects.Db4o.TA.TransparentActivationSupport+_IVisitor4_95 |
| TransparentActivationSupport+TADiagnosticProcessor | 27 | Db4objects.Db4o.TA.TransparentActivationSupport+TADiagnosticProcessor |
| NotTransparentActivationEnabled | 5 | Db4objects.Db4o.TA.NotTransparentActivationEnabled |
| TransparentPersistenceSupport | 9 | Db4objects.Db4o.TA.TransparentPersistenceSupport |
| TransactionalActivator | 4 | Db4objects.Db4o.TA.TransactionalActivator |
| StorageDecorator | 7 | Db4objects.Db4o.IO.StorageDecorator |
| BinDecorator | 8 | Db4objects.Db4o.IO.BinDecorator |
| CachingBin | 70 | Db4objects.Db4o.IO.CachingBin |
| CachingBin+_IProcedure4_22 | 4 | Db4objects.Db4o.IO.CachingBin+_IProcedure4_22 |
| CachingBin+_IFunction4_128 | 5 | Db4objects.Db4o.IO.CachingBin+_IFunction4_128 |
| CachingBin+_IFunction4_137 | 5 | Db4objects.Db4o.IO.CachingBin+_IFunction4_137 |
| CachingBin+Page | 28 | Db4objects.Db4o.IO.CachingBin+Page |
| BlockAwareBinWindow | 17 | Db4objects.Db4o.IO.BlockAwareBinWindow |
| SynchronizedBin | 11 | Db4objects.Db4o.IO.SynchronizedBin |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 27 590 |
| Average: | 22.877 |
| Minimum: | 0 |
| Maximum: | 848 |
| Standard deviation: | 57.201 |
| Variance: | 3 271 |
Namespaces added
// <Name>Namespaces added</Name>
SELECT NAMESPACES WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
SELECT NAMESPACES WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
14 namespaces matched
| namespaces | # lines of code (LOC) | Full Name |
|---|---|---|
| namespaces | # lines of code (LOC) | Full Name |
| Db4oUnit | 541 | Db4oUnit |
| Db4oUnit.Fixtures | 166 | Db4oUnit.Fixtures |
| Db4oUnit.Util | 7 | Db4oUnit.Util |
| Db4oUnit.Data | 69 | Db4oUnit.Data |
| Db4oUnit.Mocking | 55 | Db4oUnit.Mocking |
| Db4oUnit.Tests | 136 | Db4oUnit.Tests |
| Db4oUnit.Tests.Fixtures | 137 | Db4oUnit.Tests.Fixtures |
| Db4oUnit.Tests.Data | 34 | Db4oUnit.Tests.Data |
| Db4oUnit.Extensions | 342 | Db4oUnit.Extensions |
| Db4oUnit.Extensions.Fixtures | 239 | Db4oUnit.Extensions.Fixtures |
| Db4oUnit.Extensions.Util | 78 | Db4oUnit.Extensions.Util |
| Db4oUnit.Extensions.Concurrency | 84 | Db4oUnit.Extensions.Concurrency |
| Db4oUnit.Extensions.Dbmock | 85 | Db4oUnit.Extensions.Dbmock |
| Db4oUnit.Extensions.Tests | 80 | Db4oUnit.Extensions.Tests |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 2 053 |
| Average: | 146.64 |
| Minimum: | 7 |
| Maximum: | 541 |
| Standard deviation: | 137.91 |
| Variance: | 19 020 |
Namespaces where code was changed
// <Name>Namespaces where code was changed</Name>
SELECT NAMESPACES WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
SELECT NAMESPACES WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
113 namespaces matched
The following list of namespaces is truncated and contains only the first 100 namespaces of the 113 namespaces matched. All matched namespaces could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched namespaces.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched namespaces.
| namespaces | # lines of code (LOC) | Full Name |
|---|---|---|
| namespaces | # lines of code (LOC) | Full Name |
| Sharpen | 69 | Sharpen |
| Sharpen.IO | 101 | Sharpen.IO |
| Sharpen.Util | 76 | Sharpen.Util |
| Sharpen.Net | 43 | Sharpen.Net |
| Sharpen.Text | 4 | Sharpen.Text |
| Sharpen.Lang | 310 | Sharpen.Lang |
| Db4objects.Db4o | 346 | Db4objects.Db4o |
| Db4objects.Db4o.Ext | 154 | Db4objects.Db4o.Ext |
| Db4objects.Db4o.Query | 36 | Db4objects.Db4o.Query |
| Db4objects.Db4o.Collections | 488 | Db4objects.Db4o.Collections |
| Db4objects.Db4o.Events | 49 | Db4objects.Db4o.Events |
| Db4objects.Db4o.TA | 100 | Db4objects.Db4o.TA |
| Db4objects.Db4o.IO | 694 | Db4objects.Db4o.IO |
| Db4objects.Db4o.Diagnostic | 61 | Db4objects.Db4o.Diagnostic |
| Db4objects.Db4o.Defragment | 468 | Db4objects.Db4o.Defragment |
| Db4objects.Db4o.Constraints | 40 | Db4objects.Db4o.Constraints |
| Db4objects.Db4o.Internal | 7 466 | Db4objects.Db4o.Internal |
| Db4objects.Db4o.Internal.Slots | 165 | Db4objects.Db4o.Internal.Slots |
| Db4objects.Db4o.Internal.Metadata | 105 | Db4objects.Db4o.Internal.Metadata |
| Db4objects.Db4o.Internal.Marshall | 718 | Db4objects.Db4o.Internal.Marshall |
| Db4objects.Db4o.Internal.Mapping | 34 | Db4objects.Db4o.Internal.Mapping |
| Db4objects.Db4o.Internal.Fileheader | 395 | Db4objects.Db4o.Internal.Fileheader |
| Db4objects.Db4o.Internal.Fieldindex | 270 | Db4objects.Db4o.Internal.Fieldindex |
| Db4objects.Db4o.Internal.Encoding | 126 | Db4objects.Db4o.Internal.Encoding |
| Db4objects.Db4o.Internal.Collections | 149 | Db4objects.Db4o.Internal.Collections |
| Db4objects.Db4o.Internal.Activation | 241 | Db4objects.Db4o.Internal.Activation |
| Db4objects.Db4o.Internal.References | 98 | Db4objects.Db4o.Internal.References |
| Db4objects.Db4o.Internal.Delete | 32 | Db4objects.Db4o.Internal.Delete |
| Db4objects.Db4o.Internal.Callbacks | 9 | Db4objects.Db4o.Internal.Callbacks |
| Db4objects.Db4o.Internal.Ids | 443 | Db4objects.Db4o.Internal.Ids |
| Db4objects.Db4o.Internal.Freespace | 416 | Db4objects.Db4o.Internal.Freespace |
| Db4objects.Db4o.Internal.Config | 112 | Db4objects.Db4o.Internal.Config |
| Db4objects.Db4o.Internal.Caching | 301 | Db4objects.Db4o.Internal.Caching |
| Db4objects.Db4o.Internal.Events | 149 | Db4objects.Db4o.Internal.Events |
| Db4objects.Db4o.Internal.Transactionlog | 152 | Db4objects.Db4o.Internal.Transactionlog |
| Db4objects.Db4o.Internal.Threading | 38 | Db4objects.Db4o.Internal.Threading |
| Db4objects.Db4o.Internal.Classindex | 48 | Db4objects.Db4o.Internal.Classindex |
| Db4objects.Db4o.Internal.Weakref | 31 | Db4objects.Db4o.Internal.Weakref |
| Db4objects.Db4o.Internal.Diagnostic | 38 | Db4objects.Db4o.Internal.Diagnostic |
| Db4objects.Db4o.Internal.IO | 5 | Db4objects.Db4o.Internal.IO |
| Db4objects.Db4o.Internal.Query | 290 | Db4objects.Db4o.Internal.Query |
| Db4objects.Db4o.Internal.Query.Result | 226 | Db4objects.Db4o.Internal.Query.Result |
| Db4objects.Db4o.Internal.Query.Processor | 1 827 | Db4objects.Db4o.Internal.Query.Processor |
| Db4objects.Db4o.Internal.Handlers | 849 | Db4objects.Db4o.Internal.Handlers |
| Db4objects.Db4o.Internal.Handlers.Versions | 102 | Db4objects.Db4o.Internal.Handlers.Versions |
| Db4objects.Db4o.Internal.Handlers.Array | 407 | Db4objects.Db4o.Internal.Handlers.Array |
| Db4objects.Db4o.Internal.Btree | 1 386 | Db4objects.Db4o.Internal.Btree |
| Db4objects.Db4o.Internal.Btree.Algebra | 70 | Db4objects.Db4o.Internal.Btree.Algebra |
| Db4objects.Db4o.Internal.Convert | 34 | Db4objects.Db4o.Internal.Convert |
| Db4objects.Db4o.Internal.Convert.Conversions | 53 | Db4objects.Db4o.Internal.Convert.Conversions |
| Db4objects.Db4o.Internal.Reflect | 29 | Db4objects.Db4o.Internal.Reflect |
| Db4objects.Db4o.Internal.Reflect.Emitters | 67 | Db4objects.Db4o.Internal.Reflect.Emitters |
| Db4objects.Db4o.Internal.Reflect.Generic | 28 | Db4objects.Db4o.Internal.Reflect.Generic |
| Db4objects.Db4o.Typehandlers | 345 | Db4objects.Db4o.Typehandlers |
| Db4objects.Db4o.Typehandlers.Internal | 3 | Db4objects.Db4o.Typehandlers.Internal |
| Db4objects.Db4o.Reflect | 10 | Db4objects.Db4o.Reflect |
| Db4objects.Db4o.Reflect.Generic | 510 | Db4objects.Db4o.Reflect.Generic |
| Db4objects.Db4o.Reflect.Core | 122 | Db4objects.Db4o.Reflect.Core |
| Db4objects.Db4o.Reflect.Net | 242 | Db4objects.Db4o.Reflect.Net |
| Db4objects.Db4o.Foundation | 1 980 | Db4objects.Db4o.Foundation |
| Db4objects.Db4o.Foundation.Collections | 71 | Db4objects.Db4o.Foundation.Collections |
| Db4objects.Db4o.Foundation.IO | 4 | Db4objects.Db4o.Foundation.IO |
| Db4objects.Db4o.Config | 179 | Db4objects.Db4o.Config |
| Db4objects.Db4o.Config.Encoding | 3 | Db4objects.Db4o.Config.Encoding |
| Db4objects.Db4o.Config.Attributes | 29 | Db4objects.Db4o.Config.Attributes |
| Db4objects.Db4o.native.Db4objects.Db4o.Internal | 8 | Db4objects.Db4o.native.Db4objects.Db4o.Internal |
| Db4objects.Db4o.native.Db4objects.Db4o.Typehandlers | 5 | Db4objects.Db4o.native.Db4objects.Db4o.Typehandlers |
| Db4objects.Db4o.Linq | 44 | Db4objects.Db4o.Linq |
| Db4objects.Db4o.Linq.Expressions | 689 | Db4objects.Db4o.Linq.Expressions |
| Db4objects.Db4o.Linq.Caching | 33 | Db4objects.Db4o.Linq.Caching |
| Db4objects.Db4o.Linq.CodeAnalysis | 49 | Db4objects.Db4o.Linq.CodeAnalysis |
| Db4objects.Db4o.Linq.Internals | 133 | Db4objects.Db4o.Linq.Internals |
| Db4objects.Db4o.Internal.Linq | 0 | Db4objects.Db4o.Internal.Linq |
| Db4objects.Db4o.CS | 8 | Db4objects.Db4o.CS |
| Db4objects.Db4o.CS.Foundation | 53 | Db4objects.Db4o.CS.Foundation |
| Db4objects.Db4o.CS.Internal | 1 325 | Db4objects.Db4o.CS.Internal |
| Db4objects.Db4o.CS.Internal.Objectexchange | 181 | Db4objects.Db4o.CS.Internal.Objectexchange |
| Db4objects.Db4o.CS.Internal.Messages | 813 | Db4objects.Db4o.CS.Internal.Messages |
| Db4objects.Db4o.CS.Internal.Config | 109 | Db4objects.Db4o.CS.Internal.Config |
| Db4objects.Db4o.CS.Internal.Caching | 26 | Db4objects.Db4o.CS.Internal.Caching |
| Db4objects.Db4o.Instrumentation.Cecil | 104 | Db4objects.Db4o.Instrumentation.Cecil |
| Db4objects.Db4o.Instrumentation.Api | 5 | Db4objects.Db4o.Instrumentation.Api |
| Db4objects.Db4o.Instrumentation.Core | 1 | Db4objects.Db4o.Instrumentation.Core |
| Db4objects.Db4o.NativeQueries | 365 | Db4objects.Db4o.NativeQueries |
| Db4objects.Db4o.NativeQueries.Instrumentation | 192 | Db4objects.Db4o.NativeQueries.Instrumentation |
| Db4objects.Db4o.NativeQueries.Optimization | 137 | Db4objects.Db4o.NativeQueries.Optimization |
| Db4objects.Db4o.NativeQueries.Expr | 78 | Db4objects.Db4o.NativeQueries.Expr |
| Db4objects.Db4o.NativeQueries.Expr.Build | 81 | Db4objects.Db4o.NativeQueries.Expr.Build |
| Db4objects.Db4o.NativeQueries.Expr.Cmp | 23 | Db4objects.Db4o.NativeQueries.Expr.Cmp |
| Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand | 125 | Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand |
| Db4objects.Db4o.Internal.Query | 16 | Db4objects.Db4o.Internal.Query |
| Db4objects.Db4o.Bench | 100 | Db4objects.Db4o.Bench |
| Db4objects.Db4o.Bench.Delaying | 127 | Db4objects.Db4o.Bench.Delaying |
| Db4objects.Db4o.Bench.Timing | 8 | Db4objects.Db4o.Bench.Timing |
| Db4objects.Db4o.Bench.Crud | 49 | Db4objects.Db4o.Bench.Crud |
| Db4objects.Db4o.Bench.Util | 14 | Db4objects.Db4o.Bench.Util |
| Db4objects.Db4o.Bench.Logging | 41 | Db4objects.Db4o.Bench.Logging |
| Db4objects.Db4o.Bench.Logging.Statistics | 133 | Db4objects.Db4o.Bench.Logging.Statistics |
| Db4objects.Db4o.Bench.Logging.Replay | 55 | Db4objects.Db4o.Bench.Logging.Replay |
| Db4objects.Db4o.Bench.Logging.Replay.Commands | 11 | Db4objects.Db4o.Bench.Logging.Replay.Commands |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 29 739 |
| Average: | 263.18 |
| Minimum: | 0 |
| Maximum: | 7 466 |
| Standard deviation: | 756.83 |
| Variance: | 572 789 |
Third party Types that were not used and that are now used
// <Name>Third party Types that were not used and that are now used</Name>
SELECT TYPES WHERE IsUsedRecently
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
SELECT TYPES WHERE IsUsedRecently
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
13 types matched
| types | # lines of code (LOC) | Full Name |
|---|---|---|
| types | # lines of code (LOC) | Full Name |
| DebuggerDisplayAttribute | N/A | System.Diagnostics.DebuggerDisplayAttribute |
| StringWriter | N/A | System.IO.StringWriter |
| Dictionary<TKey,TValue>+ValueCollection | N/A | System.Collections.Generic.Dictionary<TKey,TValue>+ValueCollection |
| ISerializable | N/A | System.Runtime.Serialization.ISerializable |
| IDeserializationCallback | N/A | System.Runtime.Serialization.IDeserializationCallback |
| SerializationInfo | N/A | System.Runtime.Serialization.SerializationInfo |
| StreamingContext | N/A | System.Runtime.Serialization.StreamingContext |
| ILPattern | N/A | Mono.Reflection.ILPattern |
| MatchContext | N/A | Mono.Reflection.MatchContext |
| Instruction | N/A | Mono.Reflection.Instruction |
| Debug | N/A | System.Diagnostics.Debug |
| Process | N/A | System.Diagnostics.Process |
| ProcessStartInfo | N/A | System.Diagnostics.ProcessStartInfo |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
Third party Methods that were not used and that are now used
// <Name>Third party Methods that were not used and that are now used</Name>
SELECT METHODS WHERE IsUsedRecently
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
SELECT METHODS WHERE IsUsedRecently
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
110 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 110 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | # lines of code (LOC) | Full Name |
|---|---|---|
| methods | # lines of code (LOC) | Full Name |
| GetType() | N/A | System.Exception.GetType() |
| op_Subtraction(DateTime,DateTime) | N/A | System.DateTime.op_Subtraction(DateTime,DateTime) |
| .ctor(String) | N/A | System.ApplicationException..ctor(String) |
| IsWhiteSpace(Char) | N/A | System.Char.IsWhiteSpace(Char) |
| ToString() | N/A | System.Int32.ToString() |
| GetConstructor(BindingFlags,Binder,Type[],ParameterModifier[]) | N/A | System.Type.GetConstructor(BindingFlags,Binder,Type[] ,ParameterModifier[]) |
| get_Length() | N/A | System.Text.StringBuilder.get_Length() |
| GetDirectoryName(String) | N/A | System.IO.Path.GetDirectoryName(String) |
| GetFileName(String) | N/A | System.IO.Path.GetFileName(String) |
| GetTempPath() | N/A | System.IO.Path.GetTempPath() |
| ReadToEnd() | N/A | System.IO.TextReader.ReadToEnd() |
| Write(Object) | N/A | System.IO.TextWriter.Write(Object) |
| .ctor(String) | N/A | System.IO.StreamWriter..ctor(String) |
| .ctor() | N/A | System.IO.StringWriter..ctor() |
| get_SyncRoot() | N/A | System.Collections.ICollection.get_SyncRoot() |
| get_IsSynchronized() | N/A | System.Collections.ICollection.get_IsSynchronized() |
| get_IsFixedSize() | N/A | System.Collections.IDictionary.get_IsFixedSize() |
| Contains(Object) | N/A | System.Collections.Hashtable.Contains(Object) |
| get_Count() | N/A | System.Collections.Hashtable.get_Count() |
| get_IsReadOnly() | N/A | System.Collections.Generic.ICollection<T>.get_IsReadOnly() |
| set_Item(TKey,TValue) | N/A | System.Collections.Generic.IDictionary<TKey,TValue>.set_Item(TKey ,TValue) |
| get_Keys() | N/A | System.Collections.Generic.IDictionary<TKey,TValue>.get_Keys() |
| get_Values() | N/A | System.Collections.Generic.IDictionary<TKey,TValue>.get_Values() |
| Remove(TKey) | N/A | System.Collections.Generic.IDictionary<TKey,TValue>.Remove(TKey) |
| TryGetValue(TKey,TValue&) | N/A | System.Collections.Generic.IDictionary<TKey,TValue>.TryGetValue(TKey ,TValue&) |
| get_Comparer() | N/A | System.Collections.Generic.Dictionary<TKey,TValue>.get_Comparer() |
| get_Values() | N/A | System.Collections.Generic.Dictionary<TKey,TValue>.get_Values() |
| ContainsValue(TValue) | N/A | System.Collections.Generic.Dictionary<TKey,TValue>.ContainsValue (TValue) |
| .ctor(IEqualityComparer<TKey>) | N/A | System.Collections.Generic.Dictionary<TKey,TValue>..ctor (IEqualityComparer<TKey>) |
| .ctor(Int32,IEqualityComparer<TKey>) | N/A | System.Collections.Generic.Dictionary<TKey,TValue>..ctor(Int32 ,IEqualityComparer<TKey>) |
| .ctor(IDictionary<TKey,TValue>) | N/A | System.Collections.Generic.Dictionary<TKey,TValue>..ctor(IDictionary <TKey,TValue>) |
| .ctor(IDictionary<TKey,TValue>,IEqualityComparer<TKey>) | N/A | System.Collections.Generic.Dictionary<TKey,TValue>..ctor(IDictionary <TKey,TValue>,IEqualityComparer<TKey>) |
| get_Capacity() | N/A | System.Collections.Generic.List<T>.get_Capacity() |
| set_Capacity(Int32) | N/A | System.Collections.Generic.List<T>.set_Capacity(Int32) |
| get_Count() | N/A | System.Collections.Generic.List<T>.get_Count() |
| get_Item(Int32) | N/A | System.Collections.Generic.List<T>.get_Item(Int32) |
| set_Item(Int32,T) | N/A | System.Collections.Generic.List<T>.set_Item(Int32,T) |
| AddRange(IEnumerable<T>) | N/A | System.Collections.Generic.List<T>.AddRange(IEnumerable<T>) |
| AsReadOnly() | N/A | System.Collections.Generic.List<T>.AsReadOnly() |
| BinarySearch(Int32,Int32,T,IComparer<T>) | N/A | System.Collections.Generic.List<T>.BinarySearch(Int32,Int32,T ,IComparer<T>) |
| BinarySearch(T) | N/A | System.Collections.Generic.List<T>.BinarySearch(T) |
| BinarySearch(T,IComparer<T>) | N/A | System.Collections.Generic.List<T>.BinarySearch(T,IComparer<T>) |
| Clear() | N/A | System.Collections.Generic.List<T>.Clear() |
| Contains(T) | N/A | System.Collections.Generic.List<T>.Contains(T) |
| ConvertAll<TOutput>(Converter<T,TOutput>) | N/A | System.Collections.Generic.List<T>.ConvertAll<TOutput>(Converter<T ,TOutput>) |
| CopyTo(T[]) | N/A | System.Collections.Generic.List<T>.CopyTo(T[]) |
| CopyTo(Int32,T[],Int32,Int32) | N/A | System.Collections.Generic.List<T>.CopyTo(Int32,T[],Int32,Int32) |
| CopyTo(T[],Int32) | N/A | System.Collections.Generic.List<T>.CopyTo(T[],Int32) |
| Exists(Predicate<T>) | N/A | System.Collections.Generic.List<T>.Exists(Predicate<T>) |
| Find(Predicate<T>) | N/A | System.Collections.Generic.List<T>.Find(Predicate<T>) |
| FindAll(Predicate<T>) | N/A | System.Collections.Generic.List<T>.FindAll(Predicate<T>) |
| FindIndex(Predicate<T>) | N/A | System.Collections.Generic.List<T>.FindIndex(Predicate<T>) |
| FindIndex(Int32,Predicate<T>) | N/A | System.Collections.Generic.List<T>.FindIndex(Int32,Predicate<T>) |
| FindIndex(Int32,Int32,Predicate<T>) | N/A | System.Collections.Generic.List<T>.FindIndex(Int32,Int32,Predicate<T>) |
| FindLast(Predicate<T>) | N/A | System.Collections.Generic.List<T>.FindLast(Predicate<T>) |
| FindLastIndex(Predicate<T>) | N/A | System.Collections.Generic.List<T>.FindLastIndex(Predicate<T>) |
| FindLastIndex(Int32,Predicate<T>) | N/A | System.Collections.Generic.List<T>.FindLastIndex(Int32,Predicate<T>) |
| FindLastIndex(Int32,Int32,Predicate<T>) | N/A | System.Collections.Generic.List<T>.FindLastIndex(Int32,Int32,Predicate <T>) |
| ForEach(Action<T>) | N/A | System.Collections.Generic.List<T>.ForEach(Action<T>) |
| GetRange(Int32,Int32) | N/A | System.Collections.Generic.List<T>.GetRange(Int32,Int32) |
| IndexOf(T) | N/A | System.Collections.Generic.List<T>.IndexOf(T) |
| IndexOf(T,Int32) | N/A | System.Collections.Generic.List<T>.IndexOf(T,Int32) |
| IndexOf(T,Int32,Int32) | N/A | System.Collections.Generic.List<T>.IndexOf(T,Int32,Int32) |
| Insert(Int32,T) | N/A | System.Collections.Generic.List<T>.Insert(Int32,T) |
| InsertRange(Int32,IEnumerable<T>) | N/A | System.Collections.Generic.List<T>.InsertRange(Int32,IEnumerable<T>) |
| LastIndexOf(T) | N/A | System.Collections.Generic.List<T>.LastIndexOf(T) |
| LastIndexOf(T,Int32) | N/A | System.Collections.Generic.List<T>.LastIndexOf(T,Int32) |
| LastIndexOf(T,Int32,Int32) | N/A | System.Collections.Generic.List<T>.LastIndexOf(T,Int32,Int32) |
| RemoveAll(Predicate<T>) | N/A | System.Collections.Generic.List<T>.RemoveAll(Predicate<T>) |
| RemoveAt(Int32) | N/A | System.Collections.Generic.List<T>.RemoveAt(Int32) |
| RemoveRange(Int32,Int32) | N/A | System.Collections.Generic.List<T>.RemoveRange(Int32,Int32) |
| Reverse() | N/A | System.Collections.Generic.List<T>.Reverse() |
| Reverse(Int32,Int32) | N/A | System.Collections.Generic.List<T>.Reverse(Int32,Int32) |
| Sort() | N/A | System.Collections.Generic.List<T>.Sort() |
| Sort(IComparer<T>) | N/A | System.Collections.Generic.List<T>.Sort(IComparer<T>) |
| Sort(Int32,Int32,IComparer<T>) | N/A | System.Collections.Generic.List<T>.Sort(Int32,Int32,IComparer<T>) |
| Sort(Comparison<T>) | N/A | System.Collections.Generic.List<T>.Sort(Comparison<T>) |
| TrimExcess() | N/A | System.Collections.Generic.List<T>.TrimExcess() |
| TrueForAll(Predicate<T>) | N/A | System.Collections.Generic.List<T>.TrueForAll(Predicate<T>) |
| GetObjectData(SerializationInfo,StreamingContext) | N/A | System.Runtime.Serialization.ISerializable.GetObjectData (SerializationInfo,StreamingContext) |
| OnDeserialization(Object) | N/A | System.Runtime.Serialization.IDeserializationCallback .OnDeserialization(Object) |
| get_Location() | N/A | System.Reflection.Assembly.get_Location() |
| get_IsPublic() | N/A | System.Reflection.MethodBase.get_IsPublic() |
| Optional(OpCode) | N/A | Mono.Reflection.ILPattern.Optional(OpCode) |
| Optional(OpCode[]) | N/A | Mono.Reflection.ILPattern.Optional(OpCode[]) |
| Optional(ILPattern) | N/A | Mono.Reflection.ILPattern.Optional(ILPattern) |
| Sequence(ILPattern[]) | N/A | Mono.Reflection.ILPattern.Sequence(ILPattern[]) |
| OpCode(OpCode) | N/A | Mono.Reflection.ILPattern.OpCode(OpCode) |
| Either(ILPattern,ILPattern) | N/A | Mono.Reflection.ILPattern.Either(ILPattern,ILPattern) |
| Match(MatchContext) | N/A | Mono.Reflection.ILPattern.Match(MatchContext) |
| Match(MethodBase,ILPattern) | N/A | Mono.Reflection.ILPattern.Match(MethodBase,ILPattern) |
| get_IsMatch() | N/A | Mono.Reflection.MatchContext.get_IsMatch() |
| set_IsMatch(Boolean) | N/A | Mono.Reflection.MatchContext.set_IsMatch(Boolean) |
| TryGetData(Object,Object&) | N/A | Mono.Reflection.MatchContext.TryGetData(Object,Object&) |
| AddData(Object,Object) | N/A | Mono.Reflection.MatchContext.AddData(Object,Object) |
| get_Operand() | N/A | Mono.Reflection.Instruction.get_Operand() |
| Assert(Boolean) | N/A | System.Diagnostics.Debug.Assert(Boolean) |
| Assert(Boolean,String) | N/A | System.Diagnostics.Debug.Assert(Boolean,String) |
| get_ExitCode() | N/A | System.Diagnostics.Process.get_ExitCode() |
| get_StandardOutput() | N/A | System.Diagnostics.Process.get_StandardOutput() |
Statistics
| Stat | # lines of code (LOC) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
Code Coverage
Complex methods should be 100% covered by tests
// <Name>Complex methods should be 100% covered by tests</Name>
WARN IF Count > 0 IN SELECT METHODS
/*OUT OF "YourGeneratedCode" */
WHERE
// These metrics' definitions are available here:
// http://www.ndepend.com/Metrics.aspx#MetricsOnMethods
( NbLinesOfCode > 30 OR
ILCyclomaticComplexity > 50 OR
ILNestingDepth > 4 OR
NbParameters > 5 OR
NbVariables > 8 OR
NbOverloads > 6 ) AND
// Take care only of complex methods
// already covered a bit, but not completely covered.
PercentageCoverage > 0 AND
PercentageCoverage < 100
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this rule properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
WARN IF Count > 0 IN SELECT METHODS
/*OUT OF "YourGeneratedCode" */
WHERE
// These metrics' definitions are available here:
// http://www.ndepend.com/Metrics.aspx#MetricsOnMethods
( NbLinesOfCode > 30 OR
ILCyclomaticComplexity > 50 OR
ILNestingDepth > 4 OR
NbParameters > 5 OR
NbVariables > 8 OR
NbOverloads > 6 ) AND
// Take care only of complex methods
// already covered a bit, but not completely covered.
PercentageCoverage > 0 AND
PercentageCoverage < 100
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this rule properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
26 methods matched
| methods | # lines of code (LOC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Percentage Coverage | # lines of code not covered | Full Name |
|---|---|---|---|---|---|---|---|---|---|
| methods | # lines of code (LOC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Percentage Coverage | # lines of code not covered | Full Name |
| Init() | 73 | 2 | 1 | 0 | 1 | 1 | 2 | 72 | Db4objects.Db4o.DTrace.Init() |
| CreateChild(QCandidates) | 57 | 24 | 6 | 1 | 17 | 1 | 87 | 7 | Db4objects.Db4o.Internal.Query.Processor.QCandidate.CreateChild (QCandidates) |
| Produce(Object,IFunction4,IProcedure4) | 43 | 11 | 3 | 3 | 10 | 1 | 81 | 8 | Db4objects.Db4o.Internal.Caching.LRULongCache.Produce(Object ,IFunction4,IProcedure4) |
| Produce(Object,IFunction4,IProcedure4) | 43 | 11 | 3 | 3 | 10 | 1 | 34 | 29 | Db4objects.Db4o.Internal.Caching.LRUIntCache.Produce(Object,IFunction4 ,IProcedure4) |
| InitializeAspects() | 38 | 22 | 3 | 0 | 6 | 1 | 76 | 9 | Db4objects.Db4o.Internal.ClassMetadata.InitializeAspects() |
| Qsort(ISortable4,Int32,Int32) | 38 | 19 | 2 | 3 | 9 | 1 | 69 | 12 | Db4objects.Db4o.Foundation.Algorithms4.Qsort(ISortable4,Int32,Int32) |
| VersionsAreConsistentAndSeek(ByteArrayBuffer) | 36 | 18 | 3 | 1 | 11 | 1 | 43 | 21 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart2 .VersionsAreConsistentAndSeek(ByteArrayBuffer) |
| WriteThis(Transaction,ByteArrayBuffer) | 33 | 13 | 3 | 2 | 9 | 1 | 61 | 13 | Db4objects.Db4o.Internal.Btree.BTreeNode.WriteThis(Transaction ,ByteArrayBuffer) |
| Free(Slot) | 32 | 16 | 2 | 1 | 6 | 1 | 90 | 3 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager.Free(Slot) |
| Visit(Expression) | 32 | 18 | 1 | 1 | 2 | 1 | 54 | 15 | Db4objects.Db4o.Linq.Expressions.ExpressionVisitor.Visit(Expression) |
| Store3(Transaction,Object,IUpdateDepth,Boolean) | 31 | 18 | 3 | 4 | 6 | 1 | 81 | 6 | Db4objects.Db4o.Internal.ObjectContainerBase.Store3(Transaction,Object ,IUpdateDepth,Boolean) |
| Attach(QQuery,String) | 27 | 13 | 2 | 2 | 13 | 1 | 67 | 9 | Db4objects.Db4o.Internal.Query.Processor.QCon.Attach(QQuery,String) |
| ProcessMessage(Msg) | 26 | 5 | 6 | 1 | 7 | 1 | 37 | 17 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl.ProcessMessage (Msg) |
| PrefetchObjects(ClientObjectContainer,Transaction,IIntIterator4 ,Object[],Int32) | 25 | 13 | 3 | 5 | 10 | 1 | 96 | 1 | Db4objects.Db4o.CS.Internal.SingleMessagePrefetchingStrategy .PrefetchObjects(ClientObjectContainer,Transaction,IIntIterator4 ,Object[],Int32) |
| ExecuteLocal(IdListQueryResult) | 22 | 12 | 3 | 1 | 9 | 1 | 87 | 3 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.ExecuteLocal (IdListQueryResult) |
| Join1(QCon,Boolean) | 22 | 8 | 2 | 2 | 10 | 1 | 39 | 14 | Db4objects.Db4o.Internal.Query.Processor.QCon.Join1(QCon,Boolean) |
| NextToken() | 19 | 15 | 5 | 0 | 4 | 1 | 85 | 3 | Sharpen.Lang.TypeReferenceLexer.NextToken() |
| NewInstance(LocalObjectContainer) | 19 | 10 | 2 | 1 | 10 | 1 | 40 | 12 | Db4objects.Db4o.Internal.Ids.StandardIdSystemFactory.NewInstance (LocalObjectContainer) |
| CollectConstraints(Transaction,QConObject,Object,IVisitor4) | 18 | 10 | 6 | 4 | 6 | 1 | 73 | 5 | Db4objects.Db4o.Internal.FieldMetadata.CollectConstraints(Transaction ,QConObject,Object,IVisitor4) |
| CreateCandidateCollection() | 16 | 6 | 2 | 0 | 9 | 1 | 82 | 3 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .CreateCandidateCollection() |
| ApplyReadAs() | 15 | 5 | 3 | 0 | 9 | 1 | 25 | 12 | Db4objects.Db4o.Internal.ClassMetadataRepository.ApplyReadAs() |
| ReplyFromServer() | 14 | 7 | 3 | 0 | 10 | 1 | 93 | 1 | Db4objects.Db4o.CS.Internal.Messages.MLogin.ReplyFromServer() |
| ProcessStringMethod(MethodCallExpression) | 9 | 10 | 5 | 1 | 1 | 1 | 90 | 1 | Db4objects.Db4o.Linq.Expressions.WhereClauseVisitor .ProcessStringMethod(MethodCallExpression) |
| MessageLoop() | 7 | 7 | 5 | 0 | 2 | 1 | 37 | 5 | Db4objects.Db4o.CS.Internal.ServerMessageDispatcherImpl.MessageLoop() |
| AreEqual(Double,Double,String) | 3 | 3 | 1 | 3 | 1 | 8 | 75 | 1 | Db4oUnit.Assert.AreEqual(Double,Double,String) |
| AreEqual(Int32,Int32,String) | 3 | 3 | 1 | 3 | 1 | 8 | 75 | 1 | Db4oUnit.Assert.AreEqual(Int32,Int32,String) |
Statistics
| Stat | # lines of code (LOC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Percentage Coverage | # lines of code not covered |
|---|---|---|---|---|---|---|---|---|
| Sum: | 701 | 299 | 79 | 42 | 189 | 40 | 1 679 | 283 |
| Average: | 26.962 | 11.5 | 3.0385 | 1.6154 | 7.2692 | 1.5385 | 64.577 | 10.885 |
| Minimum: | 3 | 2 | 1 | 0 | 1 | 1 | 2 | 1 |
| Maximum: | 73 | 24 | 6 | 5 | 17 | 8 | 96 | 72 |
| Standard deviation: | 15.844 | 5.8786 | 1.5312 | 1.4432 | 4.072 | 1.8653 | 24.483 | 14.004 |
| Variance: | 251.04 | 34.558 | 2.3447 | 2.0828 | 16.581 | 3.4793 | 599.4 | 196.1 |
Method changed poorly covered
// <Name>Method changed poorly covered</Name>
SELECT METHODS WHERE
PercentageCoverage < 30 AND
CodeWasChanged
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly 2 analysis must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
SELECT METHODS WHERE
PercentageCoverage < 30 AND
CodeWasChanged
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly 2 analysis must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
5,258 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 5258 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
|---|---|---|---|---|
| methods | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
| Init() | 2 | 73 | 72 | Db4objects.Db4o.DTrace.Init() |
| FlattenArray(Object,Object[]) | 0 | 57 | 0 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.FlattenArray (Object,Object[]) |
| ShapeArray(Object[],Object) | 0 | 57 | 0 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.ShapeArray (Object[],Object) |
| Read(Int32) | 0 | 57 | 57 | Db4objects.Db4o.Internal.ConfigBlock.Read(Int32) |
| OutputStatistics() | 0 | 42 | 0 | Db4objects.Db4o.Bench.Logging.Statistics.LogStatistics .OutputStatistics() |
| PrintStats(IObjectContainer,String) | 0 | 38 | 0 | Db4objects.Db4o.Tools.Statistics.PrintStats(IObjectContainer,String) |
| CheckBoolean(IExpression,IExpression,IExpression) | 0 | 38 | 0 | Db4objects.Db4o.NativeQueries.Expr.Build.ExpressionBuilder .CheckBoolean(IExpression,IExpression,IExpression) |
| AdjustDelay(Delays,Int32) | 0 | 38 | 0 | Db4objects.Db4o.Bench.Delaying.DelayCalculation.AdjustDelay(Delays ,Int32) |
| Free(Slot) | 0 | 31 | 31 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager.Free(Slot) |
| GetQueryExpression(ActionFlowGraph) | 0 | 29 | 0 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder .GetQueryExpression(ActionFlowGraph) |
| Defrag(DefragmentConfig,IDefragmentListener) | 0 | 29 | 29 | Db4objects.Db4o.Defragment.Defragment.Defrag(DefragmentConfig ,IDefragmentListener) |
| Split(Transaction) | 0 | 28 | 28 | Db4objects.Db4o.Internal.Btree.BTreeNode.Split(Transaction) |
| Visit(ComparisonExpression) | 0 | 26 | 0 | Db4objects.Db4o.NativeQueries.Optimization .SODAQueryBuilder+SODAQueryVisitor.Visit(ComparisonExpression) |
| Marshall(Transaction,ObjectReference,IWriteBuffer,Boolean,Boolean) | 0 | 26 | 26 | Db4objects.Db4o.Internal.UUIDFieldMetadata.Marshall(Transaction ,ObjectReference,IWriteBuffer,Boolean,Boolean) |
| ServerFile(String,Boolean) | 0 | 26 | 26 | Db4objects.Db4o.Internal.BlobImpl.ServerFile(String,Boolean) |
| ClassMetaToGenericClass(GenericReflector,ClassInfo) | 0 | 26 | 26 | Db4objects.Db4o.CS.Internal.ClassInfoHelper.ClassMetaToGenericClass (GenericReflector,ClassInfo) |
| Constrain(ComparisonOperator) | 0 | 24 | 0 | Db4objects.Db4o.NativeQueries.Instrumentation .SODAMethodBuilder+SODAExpressionBuilder.Constrain(ComparisonOperator) |
| Visit(BinaryExpression) | 0 | 22 | 0 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor.Visit (BinaryExpression) |
| ToString() | 0 | 22 | 22 | Db4objects.Db4o.Internal.Btree.BTreeNode.ToString() |
| Descend(Transaction,Object,String[]) | 0 | 22 | 22 | Db4objects.Db4o.Internal.ObjectContainerBase.Descend(Transaction ,Object,String[]) |
| Write() | 0 | 21 | 21 | Db4objects.Db4o.Internal.ConfigBlock.Write() |
| Delete3(Transaction,ObjectReference,Object,Int32,Boolean) | 0 | 21 | 21 | Db4objects.Db4o.Internal.ObjectContainerBase.Delete3(Transaction ,ObjectReference,Object,Int32,Boolean) |
| CollectIdsInternal(CollectIdContext,ITypeHandler4,Int32,Boolean) | 0 | 21 | 21 | Db4objects.Db4o.Internal.Handlers4.CollectIdsInternal(CollectIdContext ,ITypeHandler4,Int32,Boolean) |
| EnsureClassRead(Int32) | 0 | 21 | 21 | Db4objects.Db4o.Reflect.Generic.KnownClassesRepository.EnsureClassRead (Int32) |
| .ctor(DefragmentConfig,IDefragmentListener) | 0 | 20 | 20 | Db4objects.Db4o.Defragment.DefragmentServicesImpl..ctor (DefragmentConfig,IDefragmentListener) |
| Marshall(Transaction,ObjectReference,IWriteBuffer,Boolean) | 0 | 20 | 20 | Db4objects.Db4o.Internal.VirtualFieldMetadata.Marshall(Transaction ,ObjectReference,IWriteBuffer,Boolean) |
| ProcessAtServer() | 0 | 20 | 20 | Db4objects.Db4o.CS.Internal.Messages.MWriteUpdate.ProcessAtServer() |
| ArrayFor(Type,Int32) | 0 | 19 | 0 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.ArrayFor(Type ,Int32) |
| ConfigureQuery(IQuery,Predicate) | 0 | 19 | 19 | Db4objects.Db4o.Internal.Query.NativeQueryHandler.ConfigureQuery (IQuery,Predicate) |
| ToString() | 0 | 19 | 19 | Db4objects.Db4o.Internal.ObjectReference.ToString() |
| ProcessOperatorMethodInvocation(MethodInvocationExpression ,IMemberReference) | 0 | 18 | 0 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor .ProcessOperatorMethodInvocation(MethodInvocationExpression ,IMemberReference) |
| Equals(Object) | 0 | 18 | 18 | Db4objects.Db4o.Foundation.Pair.Equals(Object) |
| WriteAllClasses() | 0 | 18 | 18 | Db4objects.Db4o.Internal.ClassMetadataRepository.WriteAllClasses() |
| ForInterface(IReflectClass) | 0 | 18 | 18 | Db4objects.Db4o.Internal.ClassMetadataRepository.ForInterface (IReflectClass) |
| Run() | 0 | 18 | 18 | Db4objects.Db4o.Internal.IoAdaptedObjectContainer+_IRunnable_71.Run() |
| Get(Transaction,Object) | 0 | 18 | 18 | Db4objects.Db4o.Internal.FieldMetadata.Get(Transaction,Object) |
| EnsureClassAvailability(Int32) | 0 | 18 | 18 | Db4objects.Db4o.Reflect.Generic.KnownClassesRepository .EnsureClassAvailability(Int32) |
| ParseLog() | 0 | 17 | 0 | Db4objects.Db4o.Bench.Delaying.MachineCharacteristics.ParseLog() |
| Visit(ArithmeticExpression) | 0 | 17 | 0 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.Visit(ArithmeticExpression) |
| ArrayLength(Object) | 0 | 17 | 0 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.ArrayLength(Object ) |
| GetArray(Object,Int32) | 0 | 17 | 0 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.GetArray(Object ,Int32) |
| PushFieldValueForTarget(FieldReferenceExpression,Expression) | 0 | 17 | 0 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor .PushFieldValueForTarget(FieldReferenceExpression,Expression) |
| ProduceTopLevelJoin() | 16 | 17 | 15 | Db4objects.Db4o.Internal.Query.Processor.QCon.ProduceTopLevelJoin() |
| ProcessClient(Socket4Adapter) | 0 | 17 | 17 | Db4objects.Db4o.CS.Internal.Messages.MWriteBlob.ProcessClient (Socket4Adapter) |
| Bind(Transaction,Object,Int64) | 0 | 17 | 17 | Db4objects.Db4o.Internal.ObjectContainerBase.Bind(Transaction,Object ,Int64) |
| ReplyFromServer() | 0 | 17 | 17 | Db4objects.Db4o.CS.Internal.Messages.MClassMeta.ReplyFromServer() |
| EnsureAllClassesRead() | 0 | 17 | 17 | Db4objects.Db4o.Internal.ClassMetadataRepository.EnsureAllClassesRead( ) |
| Run() | 0 | 17 | 17 | Db4objects.Db4o.CS.Internal.BlobProcessor.Run() |
| Write(Byte[],Int32) | 0 | 17 | 17 | Db4objects.Db4o.IO.CachedIoAdapter.Write(Byte[],Int32) |
| Equals(Object) | 0 | 17 | 17 | Db4objects.Db4o.Ext.Db4oUUID.Equals(Object) |
| TurnAllOffExceptFor(DTrace[]) | 0 | 17 | 17 | Db4objects.Db4o.DTrace.TurnAllOffExceptFor(DTrace[]) |
| Pass(DefragmentServicesImpl,DefragmentConfig,IPassCommand) | 0 | 17 | 17 | Db4objects.Db4o.Defragment.Defragment.Pass(DefragmentServicesImpl ,DefragmentConfig,IPassCommand) |
| SetArray(Object,Int32,Object) | 0 | 16 | 0 | Db4objects.Db4o.Reflect.Self.SelfReflectionRegistry.SetArray(Object ,Int32,Object) |
| EnsureClassInfoLoaded() | 0 | 16 | 0 | Db4objects.Db4o.Reflect.Self.SelfClass.EnsureClassInfoLoaded() |
| ArithmeticType(IComparisonOperand) | 0 | 16 | 0 | Db4objects.Db4o.NativeQueries.Instrumentation .ComparisonBytecodeGeneratingVisitor.ArithmeticType(IComparisonOperand ) |
| GetFilterMethod() | 0 | 16 | 16 | Db4objects.Db4o.Query.Predicate.GetFilterMethod() |
| RemoveChild(Transaction,BTreeNode) | 0 | 16 | 16 | Db4objects.Db4o.Internal.Btree.BTreeNode.RemoveChild(Transaction ,BTreeNode) |
| Defragment(IDefragmentContext,ArrayHandler) | 0 | 16 | 16 | Db4objects.Db4o.Internal.Handlers.Array.ArrayHandler0.Defragment (IDefragmentContext,ArrayHandler) |
| AddInterfaceConstraint(IReflectClass) | 0 | 16 | 16 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase .AddInterfaceConstraint(IReflectClass) |
| MovePageToHead(CachedIoAdapter+Page) | 0 | 16 | 16 | Db4objects.Db4o.IO.CachedIoAdapter.MovePageToHead(CachedIoAdapter+Page ) |
| MoveNext() | 0 | 16 | 16 | Db4objects.Db4o.Foundation.AbstractTreeIterator.MoveNext() |
| Apply(IInternalObjectContainer) | 0 | 15 | 0 | Db4objects.Db4o.Monitoring.ObjectLifecycleMonitoringSupport.Apply (IInternalObjectContainer) |
| ApplyReadAs() | 25 | 15 | 12 | Db4objects.Db4o.Internal.ClassMetadataRepository.ApplyReadAs() |
| Poll(ObjectContainerBase) | 0 | 15 | 15 | Db4objects.Db4o.Internal.Handlers.WeakReferenceHandlerQueue.Poll (ObjectContainerBase) |
| DefragmentSlot(IDefragmentContext) | 0 | 15 | 15 | Db4objects.Db4o.Internal.Handlers.Array.ArrayHandler.DefragmentSlot (IDefragmentContext) |
| CollectIDs(QueryingReadContext) | 0 | 15 | 15 | Db4objects.Db4o.Internal.OpenTypeHandler.CollectIDs (QueryingReadContext) |
| FitsIntoExistingConstraintHierarchy(QCon) | 0 | 15 | 15 | Db4objects.Db4o.Internal.Query.Processor.QCandidates .FitsIntoExistingConstraintHierarchy(QCon) |
| Delete(ObjectReference,Int32,Int32) | 0 | 15 | 15 | Db4objects.Db4o.Internal.Transaction.Delete(ObjectReference,Int32 ,Int32) |
| ReadObjectID(IInternalReadContext) | 0 | 15 | 15 | Db4objects.Db4o.Internal.OpenTypeHandler.ReadObjectID (IInternalReadContext) |
| Copy(Socket4Adapter,IOutputStream,Int32,Boolean) | 0 | 15 | 15 | Db4objects.Db4o.CS.Internal.Messages.MsgBlob.Copy(Socket4Adapter ,IOutputStream,Int32,Boolean) |
| ActivateOn(Transaction,ActivationPurpose) | 0 | 15 | 15 | Db4objects.Db4o.Internal.ObjectReference.ActivateOn(Transaction ,ActivationPurpose) |
| Previous() | 0 | 15 | 15 | Db4objects.Db4o.Internal.Btree.BTreePointer.Previous() |
| UpdateExistingStaticField(Transaction,StaticField,IReflectField) | 0 | 15 | 15 | Db4objects.Db4o.Internal.ClassMetadata.UpdateExistingStaticField (Transaction,StaticField,IReflectField) |
| MoveNext() | 0 | 15 | 15 | Db4objects.Db4o.Internal.Handlers.Array.MultidimensionalArrayIterator .MoveNext() |
| WriteIndexEntry(IContext,ByteArrayBuffer,Object) | 0 | 15 | 15 | Db4objects.Db4o.Internal.Handlers.StringHandler.WriteIndexEntry (IContext,ByteArrayBuffer,Object) |
| DeleteByID(Transaction,Int32,Int32) | 0 | 15 | 15 | Db4objects.Db4o.Internal.ObjectContainerBase.DeleteByID(Transaction ,Int32,Int32) |
| EnsureLength(Int64) | 0 | 15 | 15 | Db4objects.Db4o.IO.PagingMemoryBin.EnsureLength(Int64) |
| ExecuteImpl<Extent>(IQuery,Object,Object,MethodBase,Predicate<Extent> ,IQueryComparator) | 0 | 15 | 15 | Db4objects.Db4o.Internal.Query.NativeQueryHandler.ExecuteImpl<Extent> (IQuery,Object,Object,MethodBase,Predicate<Extent>,IQueryComparator) |
| Read(Int64,Byte[],Int32) | 0 | 15 | 15 | Db4objects.Db4o.IO.PagingMemoryBin.Read(Int64,Byte[],Int32) |
| Not(IExpression) | 0 | 14 | 0 | Db4objects.Db4o.NativeQueries.Expr.Build.ExpressionBuilder.Not (IExpression) |
| ProcessResultsFiles(String,String) | 0 | 14 | 0 | Db4objects.Db4o.Bench.IoBenchmark.ProcessResultsFiles(String,String) |
| PushComparison(Expression,Expression,ComparisonOperator) | 0 | 14 | 0 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor .PushComparison(Expression,Expression,ComparisonOperator) |
| ProcessStringMethod(MethodInvocationExpression ,MethodReferenceExpression) | 0 | 14 | 0 | Db4objects.Db4o.NativeQueries.QueryExpressionBuilder+Visitor .ProcessStringMethod(MethodInvocationExpression ,MethodReferenceExpression) |
| Run(String) | 0 | 14 | 0 | Db4objects.Db4o.Tools.Statistics.Run(String) |
| Remove(Transaction,IPreparedComparison,Object,Int32) | 20 | 14 | 12 | Db4objects.Db4o.Internal.Btree.BTreeNode.Remove(Transaction ,IPreparedComparison,Object,Int32) |
| Read(IReadContext) | 0 | 14 | 14 | Db4objects.Db4o.Internal.Handlers.Versions.OpenTypeHandler7.Read (IReadContext) |
| Dimensions(Object) | 0 | 14 | 14 | Db4objects.Db4o.Reflect.Core.AbstractReflectArray.Dimensions(Object) |
| LogToFile(String) | 0 | 14 | 14 | Db4objects.Db4o.DTrace.LogToFile(String) |
| ReadCandidateHandler(QueryingReadContext) | 0 | 14 | 14 | Db4objects.Db4o.Internal.Handlers.Versions.OpenTypeHandler0 .ReadCandidateHandler(QueryingReadContext) |
| WriteElements(IWriteContext,Object,ArrayInfo) | 0 | 14 | 14 | Db4objects.Db4o.Internal.Handlers.Array.MultidimensionalArrayHandler .WriteElements(IWriteContext,Object,ArrayInfo) |
| Produce(Object,IFunction4,IProcedure4) | 0 | 14 | 14 | Db4objects.Db4o.Internal.Caching.LRU2QCache.Produce(Object,IFunction4 ,IProcedure4) |
| CopyDependentSlot(IDefragmentContext,Int32) | 0 | 14 | 14 | Db4objects.Db4o.Internal.Handlers.Versions.OpenTypeHandler0 .CopyDependentSlot(IDefragmentContext,Int32) |
| NextMatching(IPredicate4) | 0 | 14 | 14 | Db4objects.Db4o.Foundation.NonblockingQueue.NextMatching(IPredicate4) |
| Union(BTreeRangeUnion,BTreeRangeSingle) | 0 | 14 | 14 | Db4objects.Db4o.Internal.Btree.Algebra.BTreeAlgebra.Union (BTreeRangeUnion,BTreeRangeSingle) |
| Defragment(IDefragmentContext) | 0 | 14 | 14 | Db4objects.Db4o.Internal.OpenTypeHandler.Defragment(IDefragmentContext ) |
| ProcessClient(Socket4Adapter) | 0 | 14 | 14 | Db4objects.Db4o.CS.Internal.Messages.MReadBlob.ProcessClient (Socket4Adapter) |
| Purge(Object) | 0 | 14 | 14 | Db4objects.Db4o.Internal.Caching.LRUIntCache.Purge(Object) |
| Read(Byte[],Int32) | 0 | 14 | 14 | Db4objects.Db4o.IO.CachedIoAdapter.Read(Byte[],Int32) |
| Run(String,String) | 0 | 13 | 0 | Db4objects.Db4o.Bench.Logging.Statistics.LogStatistics.Run(String ,String) |
| ToArray() | 0 | 13 | 0 | Db4objects.Db4o.Internal.Cluster.ClusterConstraints.ToArray() |
Statistics
| Stat | Percentage Coverage | # lines of code (LOC) | # lines of code not covered |
|---|---|---|---|
| Sum: | 197 | 14 180 | 11 412 |
| Average: | 0.037467 | 2.6968 | 2.1704 |
| Minimum: | 0 | 0 | 0 |
| Maximum: | 27 | 73 | 72 |
| Standard deviation: | 0.90974 | 3.6364 | 3.1617 |
| Variance: | 0.82762 | 13.223 | 9.9964 |
Method added poorly covered
// <Name>Method added poorly covered</Name>
SELECT METHODS WHERE
PercentageCoverage < 30 AND
WasAdded
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly 2 analysis must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
SELECT METHODS WHERE
PercentageCoverage < 30 AND
WasAdded
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly 2 analysis must be compared.
// This can be done throught the menu:
// NDepend -> Compare -> Define the project's Baseline for Comparison
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
1,664 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 1664 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
|---|---|---|---|---|
| methods | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
| LogEnd(Int64,Int64,Int64,String) | 0 | 62 | 62 | Db4objects.Db4o.DTrace.LogEnd(Int64,Int64,Int64,String) |
| Run() | 0 | 26 | 26 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_624.Run() |
| InvokeConcurrencyMethod(AbstractDb4oTestCase,MethodInfo) | 0 | 25 | 25 | Db4oUnit.Extensions.Concurrency.ConcurrencyTestMethod .InvokeConcurrencyMethod(AbstractDb4oTestCase,MethodInfo) |
| AddFieldIndex(ObjectIdContextImpl) | 0 | 21 | 21 | Db4objects.Db4o.Internal.UUIDFieldMetadata.AddFieldIndex (ObjectIdContextImpl) |
| ApplySlotChanges(IVisitable,Int32,Slot) | 0 | 19 | 19 | Db4objects.Db4o.Internal.Transactionlog.EmbeddedTransactionLogHandler .ApplySlotChanges(IVisitable,Int32,Slot) |
| Traverse(Tree,ICancellableVisitor4) | 0 | 19 | 19 | Db4objects.Db4o.Foundation.Tree.Traverse(Tree,ICancellableVisitor4) |
| AllocateSlot(Int32) | 0 | 18 | 18 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager.AllocateSlot (Int32) |
| ApplySlotChanges(IVisitable,Int32,Slot) | 0 | 17 | 17 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler .ApplySlotChanges(IVisitable,Int32,Slot) |
| WriteFixedPart(LocalObjectContainer,Boolean,Boolean,StatefulBuffer ,Int32) | 0 | 16 | 16 | Db4objects.Db4o.Internal.Fileheader.FileHeader1.WriteFixedPart (LocalObjectContainer,Boolean,Boolean,StatefulBuffer,Int32) |
| CompleteInterruptedTransaction(Int32,Int32) | 0 | 16 | 16 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler .CompleteInterruptedTransaction(Int32,Int32) |
| WriteUpdate(Transaction,IUpdateDepth) | 0 | 15 | 15 | Db4objects.Db4o.Internal.Handlers.Versions .OpenTypeHandler7+_ObjectReference_74.WriteUpdate(Transaction ,IUpdateDepth) |
| Exec(String,String) | 0 | 14 | 14 | Db4oUnit.Extensions.Util.IOServices.Exec(String,String) |
| Purge(Object) | 0 | 14 | 14 | Db4objects.Db4o.Internal.Caching.LRULongCache.Purge(Object) |
| AssertAllSlotsFreed(LocalTransaction,BTree,ICodeBlock) | 0 | 14 | 14 | Db4oUnit.Extensions.BTreeAssert.AssertAllSlotsFreed(LocalTransaction ,BTree,ICodeBlock) |
| Read(LocalObjectContainer,ByteArrayBuffer) | 0 | 14 | 14 | Db4objects.Db4o.Internal.Fileheader.FileHeader1.Read (LocalObjectContainer,ByteArrayBuffer) |
| MappedId(Int32,Boolean) | 0 | 14 | 14 | Db4objects.Db4o.Defragment.DatabaseIdMapping.MappedId(Int32,Boolean) |
| Visit(Object) | 0 | 14 | 14 | Db4objects.Db4o.Internal.LocalTransaction+_IVisitor4_217.Visit(Object) |
| RunMethod() | 0 | 13 | 13 | Db4oUnit.Extensions.Concurrency .ConcurrencyTestMethod+RunnableTestMethod.RunMethod() |
| MappedId(Int32,Boolean) | 0 | 13 | 13 | Db4objects.Db4o.Defragment.InMemoryIdMapping.MappedId(Int32,Boolean) |
| CompleteInterruptedTransaction(Int32,Int32) | 0 | 12 | 12 | Db4objects.Db4o.Internal.Transactionlog.EmbeddedTransactionLogHandler .CompleteInterruptedTransaction(Int32,Int32) |
| Visit(Object) | 0 | 12 | 12 | Db4objects.Db4o.Internal.Ids .InMemoryIdSystem+_ICancellableVisitor4_204.Visit(Object) |
| CreateDatabase(IConfiguration) | 0 | 12 | 12 | Db4oUnit.Extensions.Fixtures.Db4oDefragSolo.CreateDatabase (IConfiguration) |
| ArraysAreEqual(Object[],Object[]) | 0 | 12 | 12 | Db4oUnit.Check.ArraysAreEqual(Object[],Object[]) |
| LockFileSignalsInterruptedTransaction() | 0 | 12 | 12 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler .LockFileSignalsInterruptedTransaction() |
| ReadIdentity(LocalObjectContainer) | 0 | 11 | 11 | Db4objects.Db4o.Internal.Fileheader.FileHeader0.ReadIdentity (LocalObjectContainer) |
| AreEqualImpl<T>(T[],T[]) | 0 | 11 | 11 | Db4oUnit.ArrayAssert.AreEqualImpl<T>(T[],T[]) |
| Label() | 0 | 10 | 10 | Db4oUnit.Extensions.Fixtures.IdSystemFixture.Label() |
| MapFields(IReflectField[]) | 0 | 10 | 10 | Db4objects.Db4o.CS.Internal.ClassInfoHelper.MapFields(IReflectField[]) |
| FindFreeId(Int32,Int32) | 0 | 10 | 10 | Db4objects.Db4o.Internal.Ids.InMemoryIdSystem.FindFreeId(Int32,Int32) |
| CreateDatabase(IConfiguration) | 0 | 10 | 10 | Db4oUnit.Extensions.Fixtures.IdSystemFixture.CreateDatabase (IConfiguration) |
| ToReadMode() | 0 | 10 | 10 | Db4objects.Db4o.Internal.Btree.BTreeNode.ToReadMode() |
| AreEqual(Object[][],Object[][]) | 0 | 10 | 10 | Db4oUnit.JaggedArrayAssert.AreEqual(Object[][],Object[][]) |
| AreEqual(Int32[][],Int32[][]) | 0 | 10 | 10 | Db4oUnit.JaggedArrayAssert.AreEqual(Int32[][],Int32[][]) |
| AreEqual(Byte[],Byte[]) | 0 | 9 | 9 | Db4oUnit.ArrayAssert.AreEqual(Byte[],Byte[]) |
| VisitUnOrdered(Object) | 0 | 9 | 9 | Db4oUnit.Extensions.ExpectingVisitor.VisitUnOrdered(Object) |
| AreEqual(Single[],Single[]) | 0 | 9 | 9 | Db4oUnit.ArrayAssert.AreEqual(Single[],Single[]) |
| SameContent(IEnumerator,IEnumerator) | 0 | 9 | 9 | Db4oUnit.IteratorAssert.SameContent(IEnumerator,IEnumerator) |
| Test() | 0 | 9 | 9 | Db4oUnit.Tests.Fixtures.FixtureContextTestCase.Test() |
| AreEqual(Int32[],Int32[]) | 0 | 9 | 9 | Db4oUnit.ArrayAssert.AreEqual(Int32[],Int32[]) |
| Commit(Boolean) | 0 | 9 | 9 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart1.Commit (Boolean) |
| RunTestAndExpect(IEnumerable,Int32,Boolean) | 0 | 9 | 9 | Db4oUnit.Tests.FrameworkTestCase.RunTestAndExpect(IEnumerable,Int32 ,Boolean) |
| JoinQuotedArgs(Char,String[]) | 0 | 9 | 9 | Db4oUnit.Extensions.Util.IOServices.JoinQuotedArgs(Char,String[]) |
| IsPrintable(Char) | 0 | 9 | 9 | Db4oUnit.Data.Streams+_IPredicate4_45.IsPrintable(Char) |
| Free(LocalTransaction) | 0 | 9 | 9 | Db4objects.Db4o.Internal.Btree.BTreeNode.Free(LocalTransaction) |
| Test() | 0 | 9 | 9 | Db4oUnit.Tests.CompositeTestListenerTestCase.Test() |
| FindParentDirectory(String) | 0 | 9 | 9 | Db4oUnit.Extensions.Util.IOServices.FindParentDirectory(String) |
| AreEqual(Double[],Double[]) | 0 | 9 | 9 | Db4oUnit.ArrayAssert.AreEqual(Double[],Double[]) |
| AreEqual(Int64[],Int64[]) | 0 | 9 | 9 | Db4oUnit.ArrayAssert.AreEqual(Int64[],Int64[]) |
| AreEqual(Char[],Char[]) | 0 | 9 | 9 | Db4oUnit.ArrayAssert.AreEqual(Char[],Char[]) |
| DeleteDir(String) | 0 | 9 | 9 | Db4oUnit.Extensions.Util.IOUtil.DeleteDir(String) |
| RemoveLongEntry(Int32,Int64) | 0 | 9 | 9 | Db4objects.Db4o.Foundation.HashtableBase.RemoveLongEntry(Int32,Int64) |
| AreEqual(IEnumerator,IEnumerator) | 0 | 8 | 8 | Db4oUnit.IteratorAssert.AreEqual(IEnumerator,IEnumerator) |
| DeleteMembers(StatefulBuffer) | 0 | 8 | 8 | Db4objects.Db4o.Internal.WriteUpdateProcessor.DeleteMembers (StatefulBuffer) |
| TestAreEqual() | 0 | 8 | 8 | Db4oUnit.Tests.AssertTestCase.TestAreEqual() |
| WriteFixedPart(LocalObjectContainer,Boolean,Boolean,StatefulBuffer ,Int32) | 0 | 8 | 8 | Db4objects.Db4o.Internal.Fileheader.FileHeader0.WriteFixedPart (LocalObjectContainer,Boolean,Boolean,StatefulBuffer,Int32) |
| DropIndex(LocalTransaction) | 0 | 8 | 8 | Db4objects.Db4o.Internal.FieldMetadata.DropIndex(LocalTransaction) |
| AllocateTransactionLogSlot(Int32) | 0 | 8 | 8 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager .AllocateTransactionLogSlot(Int32) |
| AssertSingleElement(Transaction,BTree,Object) | 0 | 8 | 8 | Db4oUnit.Extensions.BTreeAssert.AssertSingleElement(Transaction,BTree ,Object) |
| ArbitraryValuesOf(Type) | 0 | 8 | 8 | Db4oUnit.Data.Generators.ArbitraryValuesOf(Type) |
| .ctor(String,DatabaseIdMapping+BTreeSpec,Int32) | 0 | 8 | 8 | Db4objects.Db4o.Defragment.DatabaseIdMapping..ctor(String ,DatabaseIdMapping+BTreeSpec,Int32) |
| IsValidString(String) | 0 | 7 | 7 | Db4oUnit.Tests.Data.GeneratorsTestCase+_IPredicate4_16.IsValidString (String) |
| MapNonClassIDs(Int32,Int32) | 0 | 7 | 7 | Db4objects.Db4o.Defragment.DatabaseIdMapping.MapNonClassIDs(Int32 ,Int32) |
| GenerateValue(Object) | 0 | 7 | 7 | Db4oUnit.Mocking.CodeGenerator.GenerateValue(Object) |
| Accept(IVisitor4) | 0 | 7 | 7 | Db4objects.Db4o.Defragment.DatabaseIdMapping+_IVisitable_142.Accept (IVisitor4) |
| MoveNext() | 0 | 7 | 7 | Db4oUnit.Data.Generators+_IEnumerable_41+_IEnumerator_43.MoveNext() |
| TestElements() | 0 | 7 | 7 | Db4oUnit.Tests.Fixtures.Iterable4TestUnit.TestElements() |
| SameContent(Object[],IEnumerable) | 0 | 7 | 7 | Db4oUnit.IteratorAssert.SameContent(Object[],IEnumerable) |
| SameContent(IEnumerator,IEnumerator) | 0 | 7 | 7 | Db4oUnit.Iterator4Assert.SameContent(IEnumerator,IEnumerator) |
| AreNotEqual(Byte[],Byte[]) | 0 | 7 | 7 | Db4oUnit.ArrayAssert.AreNotEqual(Byte[],Byte[]) |
| TestRun() | 0 | 7 | 7 | Db4oUnit.Tests.TestRunnerTestCase.TestRun() |
| TestTake() | 0 | 7 | 7 | Db4oUnit.Tests.Data.GeneratorsTestCase.TestTake() |
| Apply(Object) | 0 | 7 | 7 | Db4objects.Db4o.Internal.ObjectContainerBase+_IFunction4_1267.Apply (Object) |
| .ctor(String,String,IIdMapping) | 0 | 7 | 7 | Db4objects.Db4o.Defragment.DefragmentConfig..ctor(String,String ,IIdMapping) |
| ToString() | 0 | 7 | 7 | Db4oUnit.Extensions.Util.DiagnosticCollector<T>.ToString() |
| Visit(Object) | 0 | 7 | 7 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl+_IVisitor4_34 .Visit(Object) |
| AllocateSlot(Boolean,Int32) | 0 | 7 | 7 | Db4objects.Db4o.Internal.Transactionlog.EmbeddedTransactionLogHandler .AllocateSlot(Boolean,Int32) |
| Occurences(Int32[],Int32) | 0 | 7 | 7 | Db4oUnit.Extensions.IntArrays4.Occurences(Int32[],Int32) |
| VisitOrdered(Object) | 0 | 7 | 7 | Db4oUnit.Extensions.ExpectingVisitor.VisitOrdered(Object) |
| IsUserField(FieldInfo) | 0 | 7 | 7 | Db4oUnit.Extensions.Db4oUnitPlatform.IsUserField(FieldInfo) |
| .ctor(Type[]) | 0 | 7 | 7 | Db4oUnit.Extensions.ExcludingReflector..ctor(Type[]) |
| ToString() | 0 | 7 | 7 | Db4objects.Db4o.Internal.Freespace.InMemoryFreespaceManager.ToString() |
| WriteThis(ByteArrayBuffer) | 0 | 7 | 7 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart1.WriteThis (ByteArrayBuffer) |
| UpdateInternalClassName(Byte[],Int32) | 0 | 7 | 7 | Db4objects.Db4o.Internal.LegacyDb4oAssemblyNameMapper .UpdateInternalClassName(Byte[],Int32) |
| EqualsAndHashcode(Object,Object,Object) | 0 | 7 | 7 | Db4oUnit.Assert.EqualsAndHashcode(Object,Object,Object) |
| AreAllTasksDone() | 0 | 6 | 6 | Db4oUnit.Extensions.Db4oConcurrencyTestCase.AreAllTasksDone() |
| .ctor(FixtureContextTestCase,FixtureVariable,FixtureVariable ,FixtureContextTestCase+ContextRef,FixtureContextTestCase+ContextRef) | 0 | 6 | 6 | Db4oUnit.Tests.Fixtures.FixtureContextTestCase+_IRunnable_19..ctor (FixtureContextTestCase,FixtureVariable,FixtureVariable ,FixtureContextTestCase+ContextRef,FixtureContextTestCase+ContextRef) |
| MapLenient(Int32,IBTreeRange) | 0 | 6 | 6 | Db4objects.Db4o.Defragment.DatabaseIdMapping.MapLenient(Int32 ,IBTreeRange) |
| .ctor(FixtureContextTestCase+_IRunnable_19,FixtureVariable ,FixtureVariable,FixtureContextTestCase+ContextRef ,FixtureContextTestCase+ContextRef) | 0 | 6 | 6 | Db4oUnit.Tests.Fixtures .FixtureContextTestCase+_IRunnable_19+_IRunnable_21..ctor (FixtureContextTestCase+_IRunnable_19,FixtureVariable,FixtureVariable ,FixtureContextTestCase+ContextRef,FixtureContextTestCase+ContextRef) |
| Visit(Object) | 0 | 6 | 6 | Db4objects.Db4o.Defragment.Defragment+_IVisitor4_315.Visit(Object) |
| Apply(Object) | 0 | 6 | 6 | Db4objects.Db4o.Internal.ClassMetadata+_IFunction4_1751.Apply(Object) |
| ReadThis(ByteArrayBuffer) | 0 | 6 | 6 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart1.ReadThis (ByteArrayBuffer) |
| CheckConcurrencyMethod(AbstractDb4oTestCase,String) | 0 | 6 | 6 | Db4oUnit.Extensions.Concurrency.ConcurrencyTestMethod .CheckConcurrencyMethod(AbstractDb4oTestCase,String) |
| IndexOf(Int64[],Int64) | 0 | 6 | 6 | Db4oUnit.ArrayAssert.IndexOf(Int64[],Int64) |
| Rollback(IFreespaceManager) | 0 | 6 | 6 | Db4objects.Db4o.Internal.Slots.SlotChange.Rollback(IFreespaceManager) |
| HasValidParameter(MethodInfo) | 0 | 6 | 6 | Db4oUnit.Extensions.Concurrency.Db4oConcurrencyTestSuiteBuilder .HasValidParameter(MethodInfo) |
| .ctor(ConcurrencyTestMethod,AbstractDb4oTestCase,MethodInfo,Int32 ,Boolean) | 0 | 6 | 6 | Db4oUnit.Extensions.Concurrency .ConcurrencyTestMethod+RunnableTestMethod..ctor(ConcurrencyTestMethod ,AbstractDb4oTestCase,MethodInfo,Int32,Boolean) |
| .ctor(Object[],Boolean,Boolean) | 0 | 6 | 6 | Db4oUnit.Extensions.ExpectingVisitor..ctor(Object[],Boolean,Boolean) |
| ReadStatefulBufferById(Transaction,Int32,Boolean) | 0 | 6 | 6 | Db4objects.Db4o.CS.Internal.ClientObjectContainer .ReadStatefulBufferById(Transaction,Int32,Boolean) |
| MigrateFreespace(IFreespaceManager) | 0 | 6 | 6 | Db4objects.Db4o.Internal.LocalObjectContainer.MigrateFreespace (IFreespaceManager) |
| ReadLong(ByteArrayInputStream) | 0 | 6 | 6 | Db4objects.Db4o.CS.Internal.Messages.MCommittedInfo.ReadLong (ByteArrayInputStream) |
Statistics
| Stat | Percentage Coverage | # lines of code (LOC) | # lines of code not covered |
|---|---|---|---|
| Sum: | 0 | 3 057 | 3 052 |
| Average: | 0 | 1.8371 | 1.8341 |
| Minimum: | 0 | 0 | 0 |
| Maximum: | 0 | 62 | 62 |
| Standard deviation: | 0 | 2.9044 | 2.9037 |
| Variance: | 0 | 8.4356 | 8.4316 |
Types 95% to 99% covered
// <Name>Types 95% to 99% covered</Name>
SELECT TYPES WHERE
PercentageCoverage >= 95 AND
PercentageCoverage <= 99
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.asp
SELECT TYPES WHERE
PercentageCoverage >= 95 AND
PercentageCoverage <= 99
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.asp
6 types matched
| types | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
|---|---|---|---|---|
| types | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
| BTreeIdSystem | 95 | 48 | 2 | Db4objects.Db4o.Internal.Ids.BTreeIdSystem |
| SingleMessagePrefetchingStrategy | 96 | 33 | 1 | Db4objects.Db4o.CS.Internal.SingleMessagePrefetchingStrategy |
| PersistentIntegerArray | 95 | 23 | 1 | Db4objects.Db4o.Internal.PersistentIntegerArray |
| BitMap4 | 95 | 21 | 1 | Db4objects.Db4o.Foundation.BitMap4 |
| MGetInternalIDs | 95 | 20 | 1 | Db4objects.Db4o.CS.Internal.Messages.MGetInternalIDs |
| KeySpecHashtable4 | 95 | 20 | 1 | Db4objects.Db4o.Foundation.KeySpecHashtable4 |
Statistics
| Stat | Percentage Coverage | # lines of code (LOC) | # lines of code not covered |
|---|---|---|---|
| Sum: | 571 | 165 | 7 |
| Average: | 95.167 | 27.5 | 1.1667 |
| Minimum: | 95 | 20 | 1 |
| Maximum: | 96 | 48 | 2 |
| Standard deviation: | 0.37333 | 10.21 | 0.37268 |
| Variance: | 0.13937 | 104.25 | 0.13889 |
Namespaces 95% to 99% covered
// <Name>Namespaces 95% to 99% covered</Name>
SELECT NAMESPACES WHERE
PercentageCoverage >= 95 AND
PercentageCoverage <= 99
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
SELECT NAMESPACES WHERE
PercentageCoverage >= 95 AND
PercentageCoverage <= 99
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
No namespaces matched
Types not covered
// <Name>Types not covered</Name>
SELECT TYPES WHERE
PercentageCoverage == 0
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
SELECT TYPES WHERE
PercentageCoverage == 0
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
730 types matched
The following list of types is truncated and contains only the first 100 types of the 730 types matched. All matched types could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched types.
| types | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
|---|---|---|---|---|
| types | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
| ArrayList4<E> | 0 | 146 | 146 | Db4objects.Db4o.Collections.ArrayList4<E> |
| CachedIoAdapter | 0 | 144 | 144 | Db4objects.Db4o.IO.CachedIoAdapter |
| DefragmentContextImpl | 0 | 134 | 134 | Db4objects.Db4o.Internal.DefragmentContextImpl |
| ArrayDictionary4<K,V> | 0 | 127 | 127 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V> |
| DefragmentServicesImpl | 0 | 121 | 121 | Db4objects.Db4o.Defragment.DefragmentServicesImpl |
| ConfigBlock | 0 | 118 | 118 | Db4objects.Db4o.Internal.ConfigBlock |
| ActivatableList<T> | 0 | 116 | 116 | Db4objects.Db4o.Collections.ActivatableList<T> |
| BTreeFreespaceManager | 0 | 112 | 112 | Db4objects.Db4o.Internal.Freespace.BTreeFreespaceManager |
| Defragment | 0 | 109 | 109 | Db4objects.Db4o.Defragment.Defragment |
| BigSet<E> | 0 | 94 | 94 | Db4objects.Db4o.Internal.Collections.BigSet<E> |
| ArrayAssert | 0 | 94 | 94 | Db4oUnit.ArrayAssert |
| FileBasedTransactionLogHandler | 0 | 83 | 83 | Db4objects.Db4o.Internal.Transactionlog.FileBasedTransactionLogHandler |
| ActivatableDictionary<TKey,TValue> | 0 | 78 | 78 | Db4objects.Db4o.Collections.ActivatableDictionary<TKey,TValue> |
| NativeQueryHandler | 0 | 72 | 72 | Db4objects.Db4o.Internal.Query.NativeQueryHandler |
| MapTypeHandler | 0 | 64 | 64 | Db4objects.Db4o.Typehandlers.MapTypeHandler |
| MockClient | 0 | 57 | 57 | Db4oUnit.Extensions.Dbmock.MockClient |
| InMemoryObjectContainer | 0 | 57 | 57 | Db4objects.Db4o.Internal.InMemoryObjectContainer |
| CircularIntBuffer4 | 0 | 54 | 54 | Db4objects.Db4o.Foundation.CircularIntBuffer4 |
| CircularLongBuffer4 | 0 | 54 | 54 | Db4objects.Db4o.Foundation.CircularLongBuffer4 |
| PagingMemoryBin | 0 | 52 | 52 | Db4objects.Db4o.IO.PagingMemoryBin |
| HashSet | 0 | 50 | 50 | Sharpen.Util.HashSet |
| BTreeAlgebra | 0 | 49 | 49 | Db4objects.Db4o.Internal.Btree.Algebra.BTreeAlgebra |
| ExpectingVisitor | 0 | 49 | 49 | Db4oUnit.Extensions.ExpectingVisitor |
| IOServices | 0 | 47 | 47 | Db4oUnit.Extensions.Util.IOServices |
| Reflection4 | 0 | 45 | 45 | Db4objects.Db4o.Internal.Reflection4 |
| EmbeddedTransactionLogHandler | 0 | 45 | 45 | Db4objects.Db4o.Internal.Transactionlog.EmbeddedTransactionLogHandler |
| BTreeRangeUnion | 0 | 44 | 44 | Db4objects.Db4o.Internal.Btree.BTreeRangeUnion |
| DatabaseIdMapping | 0 | 44 | 44 | Db4objects.Db4o.Defragment.DatabaseIdMapping |
| RandomAccessFileAdapter | 0 | 42 | 42 | Db4objects.Db4o.IO.RandomAccessFileAdapter |
| ConcurrencyTestMethod | 0 | 41 | 41 | Db4oUnit.Extensions.Concurrency.ConcurrencyTestMethod |
| MCommittedInfo | 0 | 41 | 41 | Db4objects.Db4o.CS.Internal.Messages.MCommittedInfo |
| BTreeAssert | 0 | 40 | 40 | Db4oUnit.Extensions.BTreeAssert |
| DefragmentConfig | 0 | 40 | 40 | Db4objects.Db4o.Defragment.DefragmentConfig |
| CollectionInitializer | 0 | 38 | 38 | Db4objects.Db4o.Foundation.Collections.CollectionInitializer |
| AbstractTreeIterator | 0 | 36 | 36 | Db4objects.Db4o.Foundation.AbstractTreeIterator |
| TransparentActivationSupport | 0 | 35 | 35 | Db4objects.Db4o.TA.TransparentActivationSupport |
| SystemArrayTypeHandler | 0 | 34 | 34 | Db4objects.Db4o.Typehandlers.SystemArrayTypeHandler |
| CachedIoAdapter+Page | 0 | 34 | 34 | Db4objects.Db4o.IO.CachedIoAdapter+Page |
| PrimitiveMarshaller0 | 0 | 33 | 33 | Db4objects.Db4o.Internal.Marshall.PrimitiveMarshaller0 |
| IteratorAssert | 0 | 33 | 33 | Db4oUnit.IteratorAssert |
| StoredClassImpl | 0 | 33 | 33 | Db4objects.Db4o.Internal.StoredClassImpl |
| FileHeaderVariablePart1 | 0 | 33 | 33 | Db4objects.Db4o.Internal.Fileheader.FileHeaderVariablePart1 |
| MsgBlob | 0 | 32 | 32 | Db4objects.Db4o.CS.Internal.Messages.MsgBlob |
| LocalObjectContainer+_IClosure4_624 | 0 | 32 | 32 | Db4objects.Db4o.Internal.LocalObjectContainer+_IClosure4_624 |
| DeleteContextImpl | 0 | 32 | 32 | Db4objects.Db4o.Internal.Delete.DeleteContextImpl |
| BlockAwareFreespaceManager | 0 | 32 | 32 | Db4objects.Db4o.Internal.Freespace.BlockAwareFreespaceManager |
| UniqueFieldValueConstraint+_IEventListener4_46 | 0 | 31 | 31 | Db4objects.Db4o.Constraints .UniqueFieldValueConstraint+_IEventListener4_46 |
| Predicate | 0 | 31 | 31 | Db4objects.Db4o.Query.Predicate |
| LRU2QCache | 0 | 30 | 30 | Db4objects.Db4o.Internal.Caching.LRU2QCache |
| Db4oUUID | 0 | 29 | 29 | Db4objects.Db4o.Ext.Db4oUUID |
| LazyClientIdIterator | 0 | 29 | 29 | Db4objects.Db4o.CS.Internal.LazyClientIdIterator |
| IoAdapter | 0 | 29 | 29 | Db4objects.Db4o.IO.IoAdapter |
| LRU2QLongCache | 0 | 29 | 29 | Db4objects.Db4o.Internal.Caching.LRU2QLongCache |
| QConEvaluation | 0 | 29 | 29 | Db4objects.Db4o.Internal.Query.Processor.QConEvaluation |
| SetFieldEmitter | 0 | 28 | 28 | Db4objects.Db4o.Internal.Reflect.Emitters.SetFieldEmitter |
| HybridQueryResult | 0 | 27 | 27 | Db4objects.Db4o.Internal.Query.Result.HybridQueryResult |
| BigSetTypeHandler | 0 | 27 | 27 | Db4objects.Db4o.Internal.Collections.BigSetTypeHandler |
| TransparentActivationSupport+TADiagnosticProcessor | 0 | 27 | 27 | Db4objects.Db4o.TA.TransparentActivationSupport+TADiagnosticProcessor |
| MReadBlob | 0 | 27 | 27 | Db4objects.Db4o.CS.Internal.Messages.MReadBlob |
| MWriteBlob | 0 | 27 | 27 | Db4objects.Db4o.CS.Internal.Messages.MWriteBlob |
| IntArrays4 | 0 | 26 | 26 | Db4oUnit.Extensions.IntArrays4 |
| ArrayVersionHelper3 | 0 | 26 | 26 | Db4objects.Db4o.Internal.Handlers.Array.ArrayVersionHelper3 |
| TransparentActivationDepthProviderImpl+ObjectsModifiedInTransaction | 0 | 26 | 26 | Db4objects.Db4o.Internal.Activation .TransparentActivationDepthProviderImpl+ObjectsModifiedInTransaction |
| IdSystemFixture | 0 | 25 | 25 | Db4oUnit.Extensions.Fixtures.IdSystemFixture |
| FileConfigurationImpl | 0 | 25 | 25 | Db4objects.Db4o.Internal.Config.FileConfigurationImpl |
| BlobProcessor | 0 | 25 | 25 | Db4objects.Db4o.CS.Internal.BlobProcessor |
| TransparentActivationDepthProviderImpl | 0 | 25 | 25 | Db4objects.Db4o.Internal.Activation .TransparentActivationDepthProviderImpl |
| GenericObjectSetFacade<T> | 0 | 24 | 24 | Db4objects.Db4o.Internal.Query.GenericObjectSetFacade<T> |
| MultidimensionalArrayIterator | 0 | 24 | 24 | Db4objects.Db4o.Internal.Handlers.Array.MultidimensionalArrayIterator |
| KnownClassesCollector | 0 | 24 | 24 | Db4objects.Db4o.Internal.Reflect.Generic.KnownClassesCollector |
| MWriteUpdate | 0 | 24 | 24 | Db4objects.Db4o.CS.Internal.Messages.MWriteUpdate |
| ModifiedAspectTraversalStrategy | 0 | 24 | 24 | Db4objects.Db4o.Internal.Metadata.ModifiedAspectTraversalStrategy |
| MockEmbedded | 0 | 24 | 24 | Db4oUnit.Extensions.Dbmock.MockEmbedded |
| BigSetBTreeManager | 0 | 23 | 23 | Db4objects.Db4o.Internal.Collections.BigSetBTreeManager |
| LazyClientQueryResult | 0 | 23 | 23 | Db4objects.Db4o.CS.Internal.LazyClientQueryResult |
| IoAdaptedObjectContainer+_IRunnable_71 | 0 | 22 | 22 | Db4objects.Db4o.Internal.IoAdaptedObjectContainer+_IRunnable_71 |
| TDictionary | 0 | 22 | 22 | Db4objects.Db4o.Config.TDictionary |
| GenericField | 0 | 21 | 21 | Db4objects.Db4o.Reflect.Generic.GenericField |
| DelegatingStringIO | 0 | 21 | 21 | Db4objects.Db4o.Internal.Encoding.DelegatingStringIO |
| SecondPassCommand+_ISlotCopyHandler_62 | 0 | 21 | 21 | Db4objects.Db4o.Defragment.SecondPassCommand+_ISlotCopyHandler_62 |
| IndexedPath | 0 | 21 | 21 | Db4objects.Db4o.Internal.Fieldindex.IndexedPath |
| FixtureTestCase | 0 | 21 | 21 | Db4oUnit.Extensions.Tests.FixtureTestCase |
| MemoryStorage | 0 | 20 | 20 | Db4objects.Db4o.IO.MemoryStorage |
| ConcurrencyTestMethod+RunnableTestMethod | 0 | 20 | 20 | Db4oUnit.Extensions.Concurrency .ConcurrencyTestMethod+RunnableTestMethod |
| FixtureBasedTestSuite | 0 | 20 | 20 | Db4oUnit.Fixtures.FixtureBasedTestSuite |
| PagingMemoryStorage | 0 | 20 | 20 | Db4objects.Db4o.IO.PagingMemoryStorage |
| JaggedArrayAssert | 0 | 20 | 20 | Db4oUnit.JaggedArrayAssert |
| FixtureBasedTestSuiteTestCase | 0 | 20 | 20 | Db4oUnit.Tests.Fixtures.FixtureBasedTestSuiteTestCase |
| TQueue | 0 | 20 | 20 | Db4objects.Db4o.Config.TQueue |
| TStack | 0 | 19 | 19 | Db4objects.Db4o.Config.TStack |
| Db4oInMemory | 0 | 19 | 19 | Db4oUnit.Extensions.Fixtures.Db4oInMemory |
| PointerBasedIdSystem | 0 | 19 | 19 | Db4objects.Db4o.Internal.Ids.PointerBasedIdSystem |
| FrozenObjectInfo | 0 | 19 | 19 | Db4objects.Db4o.Internal.FrozenObjectInfo |
| StoredFieldImpl | 0 | 19 | 19 | Db4objects.Db4o.Internal.StoredFieldImpl |
| StringHandler0 | 0 | 19 | 19 | Db4objects.Db4o.Internal.Handlers.StringHandler0 |
| AbstractLateQueryResult | 0 | 18 | 18 | Db4objects.Db4o.Internal.Query.Result.AbstractLateQueryResult |
| FrameworkTestCase | 0 | 18 | 18 | Db4oUnit.Tests.FrameworkTestCase |
| MReadSlot | 0 | 18 | 18 | Db4objects.Db4o.CS.Internal.Messages.MReadSlot |
| QQueryBase+_IVisitor4_374 | 0 | 18 | 18 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase+_IVisitor4_374 |
| PrimitiveCodec | 0 | 18 | 18 | Db4objects.Db4o.Foundation.PrimitiveCodec |
Statistics
| Stat | Percentage Coverage | # lines of code (LOC) | # lines of code not covered |
|---|---|---|---|
| Sum: | 0 | 7 441 | 7 441 |
| Average: | 0 | 10.193 | 10.193 |
| Minimum: | 0 | 0 | 0 |
| Maximum: | 0 | 146 | 146 |
| Standard deviation: | 0 | 17.325 | 17.325 |
| Variance: | 0 | 300.16 | 300.16 |
Namespaces not covered
// <Name>Namespaces not covered</Name>
SELECT NAMESPACES WHERE
PercentageCoverage == 0
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
SELECT NAMESPACES WHERE
PercentageCoverage == 0
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from NCover™ or Visual Studio™ Coverage.
// This can be done throught the menu:
// NDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.ndepend.com/Coverage.aspx
28 namespaces matched
| namespaces | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
|---|---|---|---|---|
| namespaces | Percentage Coverage | # lines of code (LOC) | # lines of code not covered | Full Name |
| Db4objects.Db4o.Collections | 0 | 488 | 488 | Db4objects.Db4o.Collections |
| Db4objects.Db4o.Defragment | 0 | 468 | 468 | Db4objects.Db4o.Defragment |
| Db4objects.Db4o.Internal.Transactionlog | 0 | 152 | 152 | Db4objects.Db4o.Internal.Transactionlog |
| Db4objects.Db4o.Internal.Collections | 0 | 149 | 149 | Db4objects.Db4o.Internal.Collections |
| Db4oUnit.Tests.Fixtures | 0 | 137 | 137 | Db4oUnit.Tests.Fixtures |
| Db4oUnit.Tests | 0 | 136 | 136 | Db4oUnit.Tests |
| Db4objects.Db4o.TA | 0 | 100 | 100 | Db4objects.Db4o.TA |
| Db4oUnit.Extensions.Dbmock | 0 | 85 | 85 | Db4oUnit.Extensions.Dbmock |
| Db4oUnit.Extensions.Concurrency | 0 | 84 | 84 | Db4oUnit.Extensions.Concurrency |
| Db4oUnit.Extensions.Tests | 0 | 80 | 80 | Db4oUnit.Extensions.Tests |
| Db4objects.Db4o.Foundation.Collections | 0 | 71 | 71 | Db4objects.Db4o.Foundation.Collections |
| Db4objects.Db4o.Internal.Btree.Algebra | 0 | 70 | 70 | Db4objects.Db4o.Internal.Btree.Algebra |
| Db4oUnit.Data | 0 | 69 | 69 | Db4oUnit.Data |
| Db4objects.Db4o.Internal.Reflect.Emitters | 0 | 67 | 67 | Db4objects.Db4o.Internal.Reflect.Emitters |
| Db4objects.Db4o.Diagnostic | 0 | 61 | 61 | Db4objects.Db4o.Diagnostic |
| Db4objects.Db4o.Internal.Convert.Conversions | 0 | 53 | 53 | Db4objects.Db4o.Internal.Convert.Conversions |
| Db4objects.Db4o.Constraints | 0 | 40 | 40 | Db4objects.Db4o.Constraints |
| Db4objects.Db4o.Query | 0 | 36 | 36 | Db4objects.Db4o.Query |
| Db4oUnit.Tests.Data | 0 | 34 | 34 | Db4oUnit.Tests.Data |
| Db4objects.Db4o.Internal.Mapping | 0 | 34 | 34 | Db4objects.Db4o.Internal.Mapping |
| Db4objects.Db4o.Internal.Delete | 0 | 32 | 32 | Db4objects.Db4o.Internal.Delete |
| Db4objects.Db4o.Internal.Reflect.Generic | 0 | 28 | 28 | Db4objects.Db4o.Internal.Reflect.Generic |
| Db4objects.Db4o.CS | 0 | 8 | 8 | Db4objects.Db4o.CS |
| Db4objects.Db4o.native.Db4objects.Db4o.Internal | 0 | 8 | 8 | Db4objects.Db4o.native.Db4objects.Db4o.Internal |
| Sharpen.Text | 0 | 4 | 4 | Sharpen.Text |
| Db4objects.Db4o.Foundation.IO | 0 | 4 | 4 | Db4objects.Db4o.Foundation.IO |
| Db4objects.Db4o.Typehandlers.Internal | 0 | 3 | 3 | Db4objects.Db4o.Typehandlers.Internal |
| Db4objects.Db4o.Internal.Linq | 0 | 0 | 0 | Db4objects.Db4o.Internal.Linq |
Statistics
| Stat | Percentage Coverage | # lines of code (LOC) | # lines of code not covered |
|---|---|---|---|
| Sum: | 0 | 2 501 | 2 501 |
| Average: | 0 | 89.321 | 89.321 |
| Minimum: | 0 | 0 | 0 |
| Maximum: | 0 | 488 | 488 |
| Standard deviation: | 0 | 116.49 | 116.49 |
| Variance: | 0 | 13 569 | 13 569 |
Dead Code
|
Potentially unused types
// <Name>Potentially unused types</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The type is not used in the
// context of this application.
// Type Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#TypeCa
!IsPublic AND // Public and Protected types
!IsProtected AND // might be used by client
// applications of your assemblies.
!NameIs "Program" // Generally, types named Program
// contain a Main() entry-point
// method and this condition avoid
// to consider such type as
// unused code.
// Caution: Types used only by reflection might be matched.
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The type is not used in the
// context of this application.
// Type Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#TypeCa
!IsPublic AND // Public and Protected types
!IsProtected AND // might be used by client
// applications of your assemblies.
!NameIs "Program" // Generally, types named Program
// contain a Main() entry-point
// method and this condition avoid
// to consider such type as
// unused code.
// Caution: Types used only by reflection might be matched.
3 types matched
| types | Afferent coupling (TypeCa) | Full Name |
|---|---|---|
| types | Afferent coupling (TypeCa) | Full Name |
| __fixme__ | 0 | Sharpen.Lang.Reflect.__fixme__ |
| ShutDownRunnable | 0 | Db4objects.Db4o.Internal.ShutDownRunnable |
| CollectionUpdateDepthEntry | 0 | Db4objects.Db4o.Reflect.Generic.CollectionUpdateDepthEntry |
Statistics
| Stat | Afferent coupling (TypeCa) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
Potentially unused methods
// <Name>Potentially unused methods</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
MethodCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The method is not used in the
// context of this application.
// Method Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#MethodCa
!IsPublic AND // Public and Protected methods
!IsProtected AND // might be used by client
// applications of your assemblies..
!IsEntryPoint AND // Main() method is not used by-design.
!IsExplicitInterfaceImpl // The IL code never explicitely
AND // calls explicit interface methods
// implementation.
!IsClassConstructor AND // The IL code never explicitely
// calls class constructors.
!IsFinalizer // The IL code never explicitely
// calls finalizers.
// Caution: Methods used only by reflection might be matched.
WARN IF Count > 0 IN SELECT METHODS WHERE
MethodCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The method is not used in the
// context of this application.
// Method Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#MethodCa
!IsPublic AND // Public and Protected methods
!IsProtected AND // might be used by client
// applications of your assemblies..
!IsEntryPoint AND // Main() method is not used by-design.
!IsExplicitInterfaceImpl // The IL code never explicitely
AND // calls explicit interface methods
// implementation.
!IsClassConstructor AND // The IL code never explicitely
// calls class constructors.
!IsFinalizer // The IL code never explicitely
// calls finalizers.
// Caution: Methods used only by reflection might be matched.
140 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 140 methods matched. All matched methods could be listed in the report by unchecking the option:
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
NDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the NDepend interactive UI capabilities to browse a large list of matched methods.
| methods | Afferent coupling (MethodCa) | Full Name |
|---|---|---|
| methods | Afferent coupling (MethodCa) | Full Name |
| RemoveTrailingSlash(String) | 0 | Sharpen.IO.File.RemoveTrailingSlash(String) |
| SetSimpleName(String) | 0 | Sharpen.Lang.SimpleTypeReference.SetSimpleName(String) |
| TurnAllOffExceptFor(DTrace[]) | 0 | Db4objects.Db4o.DTrace.TurnAllOffExceptFor(DTrace[]) |
| Reflector() | 0 | Db4objects.Db4o.Db4oFactory.Reflector() |
| .ctor() | 0 | Db4objects.Db4o.Debug4..ctor() |
| MoveNext() | 0 | Db4objects.Db4o.Collections.ArrayDictionary4<K,V>+<GetEnumerator>d__0 .MoveNext() |
| MoveNext() | 0 | Db4objects.Db4o.Collections.ArrayList4<E>+<GetEnumerator>d__0.MoveNext () |
| Transaction(EventArgs) | 0 | Db4objects.Db4o.TA.TransparentActivationSupport.Transaction(EventArgs) |
| Db(DefragmentServicesImpl) | 0 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_DbSelector_38.Db (DefragmentServicesImpl) |
| Db(DefragmentServicesImpl) | 0 | Db4objects.Db4o.Defragment.DefragmentServicesImpl+_DbSelector_44.Db (DefragmentServicesImpl) |
| DeepClone() | 0 | Db4objects.Db4o.Internal.TreeInt.DeepClone() |
| ConfiguredForAutomaticShutDown() | 0 | Db4objects.Db4o.Internal.ObjectContainerBase .ConfiguredForAutomaticShutDown() |
| IsIgnoredClass(String) | 0 | Db4objects.Db4o.Internal.Config4Impl.IsIgnoredClass(String) |
| OptimizeNQ() | 0 | Db4objects.Db4o.Internal.Config4Impl.OptimizeNQ() |
| IsServer() | 0 | Db4objects.Db4o.Internal.LocalObjectContainer.IsServer() |
| HasCollections() | 0 | Db4objects.Db4o.Internal.Platform4.HasCollections() |
| WrapEvaluation(Object) | 0 | Db4objects.Db4o.Internal.Platform4.WrapEvaluation(Object) |
| AddToIndex(Transaction,Int32) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.AddToIndex(Transaction ,Int32) |
| AllowsQueries() | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.AllowsQueries() |
| CacheDirty(Collection4) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.CacheDirty(Collection4) |
| DeleteMembers(DeleteContextImpl,ArrayType,Boolean) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.DeleteMembers (DeleteContextImpl,ArrayType,Boolean) |
| InstantiateFields(UnmarshallingContext) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.InstantiateFields (UnmarshallingContext) |
| RemoveFromIndex(Transaction,Int32) | 0 | Db4objects.Db4o.Internal.PrimitiveTypeMetadata.RemoveFromIndex (Transaction,Int32) |
| CanAddToQuery(String) | 0 | Db4objects.Db4o.Internal.VirtualFieldMetadata.CanAddToQuery(String) |
| CollectConstraints(Transaction,QConObject,Object,IVisitor4) | 0 | Db4objects.Db4o.Internal.VirtualFieldMetadata.CollectConstraints (Transaction,QConObject,Object,IVisitor4) |
| Instantiate1(ObjectReferenceContext) | 0 | Db4objects.Db4o.Internal.UUIDFieldMetadata.Instantiate1 (ObjectReferenceContext) |
| Marshall(Transaction,ObjectReference,IWriteBuffer,Boolean,Boolean) | 0 | Db4objects.Db4o.Internal.UUIDFieldMetadata.Marshall(Transaction ,ObjectReference,IWriteBuffer,Boolean,Boolean) |
| MarshallIgnore(IWriteBuffer) | 0 | Db4objects.Db4o.Internal.UUIDFieldMetadata.MarshallIgnore(IWriteBuffer ) |
| ReplaceWith(Byte[]) | 0 | Db4objects.Db4o.Internal.ByteArrayBuffer.ReplaceWith(Byte[]) |
| InitializeEssentialClasses() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer .InitializeEssentialClasses() |
| InitNewClassCollection() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer .InitNewClassCollection() |
| CanUpdate() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.CanUpdate() |
| ConfigureNewFile() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.ConfigureNewFile() |
| Message(String) | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.Message(String) |
| ReadThis() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.ReadThis() |
| StateMessages() | 0 | Db4objects.Db4o.Internal.TransportObjectContainer.StateMessages() |
| ClassName() | 0 | Db4objects.Db4o.Internal.Config4Class.ClassName() |
| ClassReflector() | 0 | Db4objects.Db4o.Internal.Config4Class.ClassReflector() |
| TranslateOnDemand(String) | 0 | Db4objects.Db4o.Internal.Config4Class.TranslateOnDemand(String) |
| MaintainMetaClass(Boolean) | 0 | Db4objects.Db4o.Internal.Config4Class.MaintainMetaClass(Boolean) |
| ClassName() | 0 | Db4objects.Db4o.Internal.Config4Field.ClassName() |
| Refresh() | 0 | Db4objects.Db4o.Internal.TranslatedAspect.Refresh() |
| SupportsVirtualFields() | 0 | Db4objects.Db4o.Internal.TransactionObjectCarrier .SupportsVirtualFields() |
| ReReadClassMetadata(ClassMetadata) | 0 | Db4objects.Db4o.Internal.ClassMetadataRepository.ReReadClassMetadata (ClassMetadata) |
| VariableLength() | 0 | Db4objects.Db4o.Internal.TreeIntObject.VariableLength() |
| CheckXBytes(Int32,Int32,Int32) | 0 | Db4objects.Db4o.Internal.IoAdaptedObjectContainer.CheckXBytes(Int32 ,Int32,Int32) |
| Instantiate1(ObjectReferenceContext) | 0 | Db4objects.Db4o.Internal.VersionFieldMetadata.Instantiate1 (ObjectReferenceContext) |
| Marshall(Transaction,ObjectReference,IWriteBuffer,Boolean,Boolean) | 0 | Db4objects.Db4o.Internal.VersionFieldMetadata.Marshall(Transaction ,ObjectReference,IWriteBuffer,Boolean,Boolean) |
| MarshallIgnore(IWriteBuffer) | 0 | Db4objects.Db4o.Internal.VersionFieldMetadata.MarshallIgnore (IWriteBuffer) |
| MoveNext() | 0 | Db4objects.Db4o.Internal.Collections.BigSet<E>+GetEnumerator>d__0 .MoveNext() |
| .ctor() | 0 | Db4objects.Db4o.Internal.Activation.DepthUtil..ctor() |
| FreespaceBeginCommit() | 0 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl .FreespaceBeginCommit() |
| FreespaceEndCommit() | 0 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl .FreespaceEndCommit() |
| CommitFreespace() | 0 | Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl.CommitFreespace () |
| DebugCheckBuffer(ByteArrayBuffer,FreeSlotNode) | 0 | Db4objects.Db4o.Internal.Freespace.FreeSlotNode.DebugCheckBuffer (ByteArrayBuffer,FreeSlotNode) |
| ObjectContainer() | 0 | Db4objects.Db4o.Internal.Query.ObjectSetFacade.ObjectContainer() |
| .ctor() | 0 | Db4objects.Db4o.Internal.Query.SodaQueryComparator+Direction..ctor() |
| MoveNext() | 0 | Db4objects.Db4o.Internal.Query.ObjectSetFacade+<GetEnumerator>d__0 .MoveNext() |
| Add(QE) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEAbstract.Add(QE) |
| IsDefault() | 0 | Db4objects.Db4o.Internal.Query.Processor.QEAbstract.IsDefault() |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEStringCmp.Evaluate (QConObject,QCandidate,Object) |
| LogConstraints() | 0 | Db4objects.Db4o.Internal.Query.Processor.QQueryBase.LogConstraints() |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEIdentity.Evaluate (QConObject,QCandidate,Object) |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEGreater.Evaluate(QConObject ,QCandidate,Object) |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QESmaller.Evaluate(QConObject ,QCandidate,Object) |
| Log(String) | 0 | Db4objects.Db4o.Internal.Query.Processor.QCon.Log(String) |
| LogObject() | 0 | Db4objects.Db4o.Internal.Query.Processor.QCon.LogObject() |
| Join(IConstraint,Boolean) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConstraints.Join(IConstraint ,Boolean) |
| EvaluateSimpleExec(QCandidates) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConUnconditional .EvaluateSimpleExec(QCandidates) |
| Evaluate(QCandidate) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConUnconditional.Evaluate (QCandidate) |
| Evaluate(QCandidate) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.Evaluate (QCandidate) |
| EvaluateEvaluationsExec(QCandidates,Boolean) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject .EvaluateEvaluationsExec(QCandidates,Boolean) |
| EvaluateSelf() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.EvaluateSelf() |
| Collect(QCandidates) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.Collect (QCandidates) |
| EvaluateSimpleExec(QCandidates) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.EvaluateSimpleExec (QCandidates) |
| GetYapClass() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.GetYapClass() |
| IsNullConstraint() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.IsNullConstraint() |
| Log(String) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.Log(String) |
| LogObject() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.LogObject() |
| RemoveChildrenJoins() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject .RemoveChildrenJoins() |
| ShareParent(Object,BooleanByRef) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject.ShareParent(Object ,BooleanByRef) |
| ShareParentForClass(IReflectClass,BooleanByRef) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConObject .ShareParentForClass(IReflectClass,BooleanByRef) |
| Add(QE) | 0 | Db4objects.Db4o.Internal.Query.Processor.QENot.Add(QE) |
| IsDefault() | 0 | Db4objects.Db4o.Internal.Query.Processor.QENot.IsDefault() |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QENot.Evaluate(QConObject ,QCandidate,Object) |
| Not(Boolean) | 0 | Db4objects.Db4o.Internal.Query.Processor.QENot.Not(Boolean) |
| DoNotInclude(QCandidate) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConJoin.DoNotInclude (QCandidate) |
| ExchangeConstraint(QCon,QCon) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConJoin.ExchangeConstraint (QCon,QCon) |
| LogObject() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConJoin.LogObject() |
| EvaluateEvaluationsExec(QCandidates,Boolean) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConEvaluation .EvaluateEvaluationsExec(QCandidates,Boolean) |
| Marshall() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConEvaluation.Marshall() |
| Unmarshall(Transaction) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConEvaluation.Unmarshall (Transaction) |
| SupportsIndex() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConEvaluation.SupportsIndex( ) |
| Add(QE) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEMulti.Add(QE) |
| IsDefault() | 0 | Db4objects.Db4o.Internal.Query.Processor.QEMulti.IsDefault() |
| Evaluate(QConObject,QCandidate,Object) | 0 | Db4objects.Db4o.Internal.Query.Processor.QEMulti.Evaluate(QConObject ,QCandidate,Object) |
| Evaluate(QCandidate) | 0 | Db4objects.Db4o.Internal.Query.Processor.QConClass.Evaluate(QCandidate ) |
| EvaluateSelf() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConClass.EvaluateSelf() |
| IsNullConstraint() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConClass.IsNullConstraint() |
| LogObject() | 0 | Db4objects.Db4o.Internal.Query.Processor.QConClass.LogObject() |
Statistics
| Stat | Afferent coupling (MethodCa) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
Potentially unused fields
// <Name>Potentially unused fields</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
FieldCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The field is not used in the
// context of this application.
// Field Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#FieldCa
!IsPublic AND // Although not recommended,
!IsProtected AND // Public and Protected fields
// might be used by client
// applications of your assemblies.
!IsLiteral AND // The IL code never explicitely
// uses literal fields.
!IsEnumValue AND // The IL code never explicitely
// uses enumeration value.
!NameIs "value__" // Field named 'value__' are relative
// to enumerations and the IL code
// never explicitely uses them.
// Caution: Fields used only by reflection might be matched.
WARN IF Count > 0 IN SELECT FIELDS WHERE
FieldCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The field is not used in the
// context of this application.
// Field Afferent Coupling metric definition
// http://www.ndepend.com/Metrics.aspx#FieldCa
!IsPublic AND // Although not recommended,
!IsProtected AND // Public and Protected fields
// might be used by client
// applications of your assemblies.
!IsLiteral AND // The IL code never explicitely
// uses literal fields.
!IsEnumValue AND // The IL code never explicitely
// uses enumeration value.
!NameIs "value__" // Field named 'value__' are relative
// to enumerations and the IL code
// never explicitely uses them.
// Caution: Fields used only by reflection might be matched.
1 fields matched
| fields | Afferent coupling (FieldCa) | Full Name |
|---|---|---|
| fields | Afferent coupling (FieldCa) | Full Name |
| _debugPrepend | 0 | Db4objects.Db4o.Internal.Marshall.MarshallingContext._debugPrepend |
Statistics
| Stat | Afferent coupling (FieldCa) |
|---|---|
| Sum: | 0 |
| Average: | 0 |
| Minimum: | 0 |
| Maximum: | 0 |
| Standard deviation: | 0 |
| Variance: | 0 |
Assemblies Dependencies
| Assembly | Depends on | Is referenced by |
|---|---|---|
| Assembly | Depends on | Is referenced by |
| Db4objects.Db4o v8.0.146.14426 | mscorlib v2.0.0.0 ; System v2.0.0.0 ; System.Core v3.5.0.0 ; | Db4objects.Db4o.Linq v8.0.146.14426 ; Db4oUnit v8.0.146.14426 ; Db4oUnit.Extensions v8.0.146.14426 ; Db4objects.Db4o.NativeQueries v8.0.146.14426 ; Db4objects.Db4o.Instrumentation v8.0.146.14426 ; Db4oBench v8.0.146.14426 ; Db4objects.Db4o.CS v8.0.146.14426 ; Db4objects.Db4o.Optional v8.0.146.14426 ; Db4objects.Db4o.Data.Services v8.0.146.14426 ; DB4objects.Db4o.CS.Optional v8.0.146.14426 ; |
| Db4objects.Db4o.Linq v8.0.146.14426 | mscorlib v2.0.0.0 ; Mono.Reflection v1.0.0.0 ; System.Core v3.5.0.0 ; Db4objects.Db4o v8.0.146.14426 ; System v2.0.0.0 ; | Db4objects.Db4o.Optional v8.0.146.14426 ; |
| Db4oUnit v8.0.146.14426 | mscorlib v2.0.0.0 ; Db4objects.Db4o v8.0.146.14426 ; | Db4oUnit.Extensions v8.0.146.14426 ; |
| Db4objects.Db4o.CS v8.0.146.14426 | mscorlib v2.0.0.0 ; Db4objects.Db4o v8.0.146.14426 ; System v2.0.0.0 ; | Db4oUnit.Extensions v8.0.146.14426 ; DB4objects.Db4o.CS.Optional v8.0.146.14426 ; |
| Db4oUnit.Extensions v8.0.146.14426 | Db4oUnit v8.0.146.14426 ; mscorlib v2.0.0.0 ; Db4objects.Db4o v8.0.146.14426 ; Db4objects.Db4o.CS v8.0.146.14426 ; System v2.0.0.0 ; | - |
| Db4objects.Db4o.Instrumentation v8.0.146.14426 | Mono.Cecil v0.6.9.0 ; mscorlib v2.0.0.0 ; Cecil.FlowAnalysis v0.1.0.0 ; Db4objects.Db4o v8.0.146.14426 ; | Db4objects.Db4o.NativeQueries v8.0.146.14426 ; |
| Db4objects.Db4o.NativeQueries v8.0.146.14426 | mscorlib v2.0.0.0 ; Db4objects.Db4o v8.0.146.14426 ; Cecil.FlowAnalysis v0.1.0.0 ; Db4objects.Db4o.Instrumentation v8.0.146.14426 ; Mono.Cecil v0.6.9.0 ; System v2.0.0.0 ; | - |
| Db4oBench v8.0.146.14426 | mscorlib v2.0.0.0 ; Db4objects.Db4o v8.0.146.14426 ; | - |
| Db4objects.Db4o.Optional v8.0.146.14426 | mscorlib v2.0.0.0 ; Db4objects.Db4o v8.0.146.14426 ; Db4objects.Db4o.Linq v8.0.146.14426 ; System v2.0.0.0 ; | DB4objects.Db4o.CS.Optional v8.0.146.14426 ; |
| Db4objects.Db4o.Data.Services v8.0.146.14426 | mscorlib v2.0.0.0 ; System.Data.Services v3.5.0.0 ; Db4objects.Db4o v8.0.146.14426 ; System.Core v3.5.0.0 ; | - |
| DB4objects.Db4o.CS.Optional v8.0.146.14426 | Db4objects.Db4o.CS v8.0.146.14426 ; mscorlib v2.0.0.0 ; Db4objects.Db4o v8.0.146.14426 ; Db4objects.Db4o.Optional v8.0.146.14426 ; System v2.0.0.0 ; | - |
Assemblies Build Order
- Db4objects.Db4o
- Db4objects.Db4o.Linq
- Db4oUnit
- Db4objects.Db4o.CS
- Db4oUnit.Extensions
- Db4objects.Db4o.Instrumentation
- Db4objects.Db4o.NativeQueries
- Db4oBench
- Db4objects.Db4o.Optional
- Db4objects.Db4o.Data.Services
- DB4objects.Db4o.CS.Optional
Analysis Log : Information and Warnings
Here are Logs emitted during NDepend analysis.
The Warnings can reveal potential flaws concerning the health of the build process.
A particular warn can be disabled through the NDepend interactive UI, panel Error List, tick the checkbox Disabled corresponding to the warn to disable.
The Warnings can reveal potential flaws concerning the health of the build process.
A particular warn can be disabled through the NDepend interactive UI, panel Error List, tick the checkbox Disabled corresponding to the warn to disable.
| Kind | Message |
|---|---|
| Kind | Message |
| Info | 11/23/2010 15:28:31 Begin full analysis with NDepend v3.5.0 |
| Info | Compare with project {Db4o v7.12.156.14667 Final} most recent analysis (analysis made on 2010 November - 09 Tuesday 21:01) |
| Info | Assemblies loaded from {C:\NDepend\Tests\OnDb4o\8.0.Beta\src\Db4objects.Db4o.Linq.Tests\bin\Debug} Db4objects.Db4o.Linq.dll v8.0.146.14426 Db4objects.Db4o.dll v8.0.146.14426 Db4oUnit.dll v8.0.146.14426 Db4oUnit.Extensions.dll v8.0.146.14426 Db4objects.Db4o.CS.dll v8.0.146.14426 Db4objects.Db4o.Optional.dll v8.0.146.14426 Mono.Reflection.dll v1.0.0.0 |
| Info | Assemblies loaded from {C:\NDepend\Tests\OnDb4o\8.0.Beta\src\Db4objects.Db4o.NativeQueries\bin\Debug} Db4objects.Db4o.NativeQueries.dll v8.0.146.14426 Db4objects.Db4o.Instrumentation.dll v8.0.146.14426 Cecil.FlowAnalysis.dll v0.1.0.0 Mono.Cecil.dll v0.6.9.0 |
| Info | Assemblies loaded from {C:\NDepend\Tests\OnDb4o\8.0.Beta\src\Db4oBench\bin\Debug} Db4oBench.dll v8.0.146.14426 |
| Info | Assemblies loaded from {C:\NDepend\Tests\OnDb4o\8.0.Beta\src\Db4objects.Db4o.Data.Services\bin\Debug} Db4objects.Db4o.Data.Services.dll v8.0.146.14426 |
| Info | Assemblies loaded from {C:\NDepend\Tests\OnDb4o\8.0.Beta\src\Db4objects.Db4o.Tests\bin\Debug} DB4objects.Db4o.CS.Optional.dll v8.0.146.14426 |
| Info | Assemblies loaded from {C:\Windows\Microsoft.NET\Framework\v2.0.50727} mscorlib.dll v2.0.0.0 System.dll v2.0.0.0 |
| Warning | No application or third party assembly found in directory {C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0} |
| Info | Assemblies loaded from {C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5} System.Core.dll v3.5.0.0 System.Data.Services.dll v3.5.0.0 |
| Info | 1457 source files parsed ; all source files found ; all source files in-sync with PDB |
| Info | 0 CQL rule has been extracted from code. |
| Info | No dependency cycle detected in assemblies referencement graph. |
| Info | Coverage file correctly parsed: C:\NDepend\Tests\OnDb4o\8.0.Beta\CoverageFiles\Db4objects.Db4o.Linq.Tests.2010-11-09 20_19_55Z.xml |
| Info | 11/23/2010 15:28:37 Analyse dependencies of your application. |
| Info | 11/23/2010 15:28:37 Building the report (standard). |
| Warning | 4 critical rules are violated. - Methods too complex - critical (ILCyclomaticComplexity) - Types too big - critical (NbLinesOfCode) - API Breaking Changes: Types - API Breaking Changes: Interfaces |



