It is recommended to use the NDepend interactive UI capabilities
to make the most of NDepend by mastering all aspects of your code.
Diagrams
Application Metrics
Note: Further Application Statistics are available.
|
Rules summary
77619This section lists all Rules violated, and Rules or Queries with Error- Number of Rules or Queries with Error (syntax error, exception thrown, time-out): 0
- Number of Rules violated: 70
Summary of Rules violated
development-time, from within Visual
Studio. Online documentation.
existing code base? Use the option
Recent Violations Only!
can be used to break the build process if
violated. Online documentation.
Name | # Matches | Elements | Group | |||
---|---|---|---|---|---|---|
| 2 | types | Project Rules \ Code Quality | |||
| 23 | methods | Project Rules \ Code Quality | |||
| 6 | methods | Project Rules \ Code Quality | |||
| 333 | methods | Project Rules \ Code Quality | |||
| 73 | methods | Project Rules \ Code Quality | |||
| 75 | methods | Project Rules \ Code Quality | |||
| 97 | methods | Project Rules \ Code Quality | |||
| 30 | methods | Project Rules \ Code Quality | |||
| 5 | methods | Project Rules \ Code Quality | |||
| 215 | methods | Project Rules \ Code Quality | |||
| 22 | types | Project Rules \ Code Quality | |||
| 14 | types | Project Rules \ Code Quality | |||
| 3 | types | Project Rules \ Object Oriented Design | |||
| 82 | types | Project Rules \ Object Oriented Design | |||
| 26 | methods | Project Rules \ Object Oriented Design | |||
| 3 | types | Project Rules \ Object Oriented Design | |||
| 20 | types | Project Rules \ Object Oriented Design | |||
| 55 | methods | Project Rules \ Object Oriented Design | |||
| 1 | methods | Project Rules \ Object Oriented Design | |||
| 1 | types | Project Rules \ Object Oriented Design | |||
| 1 | types | Project Rules \ Object Oriented Design | |||
| 4 | types | Project Rules \ Design | |||
| 19 | types | Project Rules \ Design | |||
| 18 | types | Project Rules \ Design | |||
| 4 | namespaces | Project Rules \ Design | |||
| 3 | types | Project Rules \ Design | |||
| 3 | types | Project Rules \ Design | |||
| 1 | methods | Project Rules \ Design | |||
| 3 | methods | Project Rules \ Design | |||
| 10 | types | Project Rules \ Design | |||
| 8 | namespaces | Project Rules \ Architecture and Layering | |||
| 2 | namespaces | Project Rules \ Architecture and Layering | |||
| 1 | namespaces | Project Rules \ Architecture and Layering | |||
| 1 | types | Project Rules \ Dead Code | |||
| 80 | methods | Project Rules \ Dead Code | |||
| 1034 | methods | Project Rules \ Visibility | |||
| 53 | types | Project Rules \ Visibility | |||
| 51 | fields | Project Rules \ Visibility | |||
| 55 | types | Project Rules \ Visibility | |||
| 2 | fields | Project Rules \ Visibility | |||
| 54 | fields | Project Rules \ Visibility | |||
| 1 | types | Project Rules \ Visibility | |||
| 489 | methods | Project Rules \ Visibility | |||
| 3 | methods | Project Rules \ Visibility | |||
| 116 | fields | Project Rules \ Immutability | |||
| 10 | types | Project Rules \ Immutability | |||
| 22 | methods | Project Rules \ Immutability | |||
| 3 | fields | Project Rules \ Immutability | |||
| 29 | fields | Project Rules \ Immutability | |||
| 23 | fields | Project Rules \ Immutability | |||
| 3 | fields | Project Rules \ Immutability | |||
| 447 | fields | Project Rules \ Naming Conventions | |||
| 38 | fields | Project Rules \ Naming Conventions | |||
| 4 | types | Project Rules \ Naming Conventions | |||
| 65 | methods | Project Rules \ Naming Conventions | |||
| 2 | types | Project Rules \ Naming Conventions | |||
| 16 | methods | Project Rules \ Naming Conventions | |||
| 21 | types | Project Rules \ Naming Conventions | |||
| 4 | types | Project Rules \ Naming Conventions | |||
| 1 | methods | Project Rules \ Naming Conventions | |||
| 1 | types | Project Rules \ Source Files Organization | |||
| 184 | types | Project Rules \ Source Files Organization | |||
| 2 | methods | Project Rules \ .NET Framework Usage \ System | |||
| 3 | methods | Project Rules \ .NET Framework Usage \ System | |||
| 10 | methods | Project Rules \ .NET Framework Usage \ System.Collection | |||
| 4 | methods | Project Rules \ .NET Framework Usage \ System.Collection | |||
| 32 | methods | Project Rules \ .NET Framework Usage \ System .Runtime.InteropServices | |||
| 37 | methods | Project Rules \ .NET Framework Usage \ System .Runtime.InteropServices | |||
| 1 | methods | Project Rules \ .NET Framework Usage \ System.Threading | |||
| 1 | methods | Project Rules \ .NET Framework Usage \ System.Threading |
Application Statistics
Stat | # Occurences | Avg | StdDev | Max |
---|---|---|---|---|
Properties on interfaces | 8 interfaces | 1.25 | 2.95 | 9 properties on FirebirdSql.Data.Common.IDatabase |
Methods on interfaces | 8 interfaces | 9 | 12.82 | 33 methods on FirebirdSql.Data.Client.Native.IFbClient |
Arguments on methods on interfaces | 72 methods | 2.62 | 2.37 | 9 arguments on FirebirdSql.Data.Client.Native.IFbClient.isc_service_query(IntPtr[],Int32&,Int32&,Int16,Byte[],Int16,Byte[],Int16,Byte[]) |
Public properties on classes | 207 Classes | 2.12 | 4.41 | 37 public properties on FirebirdSql.Data.FirebirdClient.FbDatabaseInfo |
Public methods on classes | 207 classes | 8.04 | 11.18 | 57 public methods on FirebirdSql.Data.Client.Managed.XdrStream |
Arguments on public methods on classes | 1,664 methods | 0.84 | 1.12 | 10 arguments on FirebirdSql.Data.FirebirdClient.FbParameter..ctor(String,FbDbType,Int32,ParameterDirection,Boolean,Byte,Byte,String,DataRowVersion,Object) |
IL instructions in non-abstract methods | 2,715 methods | 38.51 | 183.16 | 6298 IL instructions in FirebirdSql.Data.Common.IscErrorMessages..cctor() |
Cyclomatic complexity on non abstract Methods | 2,715 Methods | 3.36 | 6.44 | CC = 114 for FirebirdSql.Data.Isql.FbScript.GetStatementType(String) |
Assemblies Metrics
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FirebirdSql.Data.FirebirdClient v5.0.5.0 | 10976 | 85093 | 217 | 14 | 9061 | 45 | - | 5 | 404 | 3.86 | 0.99 | 0.07 | 0.04 |
EntityFramework.Firebird v5.0.5.0 | 2610 | 19454 | 29 | 1 | 1857 | 41 | - | 0 | 266 | 2.79 | 1 | 0.07 | 0.05 |
If you wish to define thresholds on types' Code Metrics, consider writing some Rule.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
Types Metrics : Code Quality
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 |
---|---|---|---|---|---|---|---|---|---|---|---|
ParameterBuffer | 5.65 | 20 | 133 | 0 | 0 | 14 | 14 | - | 31 | 11 | FirebirdSql.Data.Common |
FbSchema | 5.37 | 41 | 278 | 1 | 2.38 | 18 | 26 | - | 27 | 34 | FirebirdSql.Data.Schema |
IscException | 4.93 | 100 | 631 | 8 | 7.41 | 44 | 59 | - | 33 | 33 | FirebirdSql.Data.Common |
IFbClient | 4.15 | - | - | 0 | - | 0 | - | - | 13 | 11 | FirebirdSql.Data.Client.Native |
Charset | 3.82 | 92 | 694 | 34 | 26.98 | 48 | 75 | - | 27 | 20 | FirebirdSql.Data.Common |
SqlWriter | 3.38 | 17 | 91 | - | - | - | 10 | - | 12 | 14 | FirebirdSql.Data.EntityFramework6.SqlGen |
SqlGenerator | 3.32 | 1250 | 7387 | - | - | - | 580 | - | 13 | 128 | FirebirdSql.Data.EntityFramework6.SqlGen |
SqlGenerator | 3.3 | 1237 | 7329 | 1065 | 46.26 | 442 | 575 | - | 12 | 127 | FirebirdSql.Data.Entity |
ServiceParameterBuffer | 3.18 | 13 | 79 | 0 | 0 | 7 | 7 | - | 16 | 11 | FirebirdSql.Data.Common |
IResponse | 3.17 | - | - | 0 | - | 0 | - | - | 14 | 0 | FirebirdSql.Data.Client.Managed |
IDatabase | 2.99 | - | - | 0 | - | 0 | - | - | 28 | 17 | FirebirdSql.Data.Common |
SqlWriter | 2.91 | 17 | 91 | 15 | 46.88 | 9 | 10 | - | 9 | 14 | FirebirdSql.Data.Entity |
FbException | 2.69 | 17 | 135 | 0 | 0 | 13 | 18 | - | 19 | 22 | FirebirdSql.Data.FirebirdClient |
TransactionBase | 2.56 | 5 | 47 | 0 | 0 | 5 | 7 | - | 23 | 15 | FirebirdSql.Data.Common |
FbService | 2.51 | 255 | 1384 | 5 | 1.92 | 112 | 125 | - | 15 | 35 | FirebirdSql.Data.Services |
ISqlFragment | 2.01 | - | - | 0 | - | 0 | - | - | 10 | 3 | FirebirdSql.Data.Entity |
ISqlFragment | 2.01 | - | - | - | - | - | - | - | 10 | 3 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbCommand | 1.89 | 474 | 3190 | 37 | 7.24 | 263 | 346 | - | 14 | 77 | FirebirdSql.Data.FirebirdClient |
SqlStatementType | 1.73 | - | - | 243 | 100 | 0 | - | - | 6 | 5 | FirebirdSql.Data.Isql |
IFirebirdHandle | 1.71 | - | - | 0 | - | 0 | - | - | 6 | 2 | FirebirdSql.Data.Client.Native.Handle |
FbConnection | 1.68 | 163 | 1131 | 18 | 9.94 | 82 | 116 | - | 18 | 59 | FirebirdSql.Data.FirebirdClient |
StatementBase | 1.65 | 90 | 543 | 5 | 5.26 | 44 | 59 | - | 14 | 27 | FirebirdSql.Data.Common |
TypeHelper | 1.5 | 172 | 766 | 2 | 1.15 | 177 | 164 | - | 16 | 25 | FirebirdSql.Data.Common |
XdrStream | 1.47 | 175 | 1131 | 8 | 4.37 | 107 | 120 | - | 14 | 33 | FirebirdSql.Data.Client.Managed |
GdsDatabase | 1.45 | 232 | 1411 | 38 | 14.07 | 95 | 125 | - | 13 | 41 | FirebirdSql.Data.Client.Managed .Version10 |
FbConnectionInternal | 1.44 | 178 | 1213 | 8 | 4.3 | 103 | 132 | - | 11 | 54 | FirebirdSql.Data.FirebirdClient |
FesConnection | 1.4 | 37 | 205 | 0 | 0 | 15 | 17 | - | 6 | 15 | FirebirdSql.Data.Client.Native |
FbDbType | 1.4 | - | - | 0 | - | 0 | - | - | 15 | 5 | FirebirdSql.Data.FirebirdClient |
DbDataType | 1.33 | - | - | 0 | - | 0 | - | - | 14 | 4 | FirebirdSql.Data.Common |
Extensions | 1.3 | 25 | 207 | 1 | 3.85 | 12 | 18 | - | 12 | 20 | FirebirdSql.Data.Common |
FbMigrationSqlGenerator | 1.22 | 346 | 5023 | 5 | 1.42 | 106 | 548 | - | 5 | 113 | FirebirdSql.Data.EntityFramework6 |
FirebirdHandle | 1.17 | 4 | 20 | 2 | 33.33 | 4 | 4 | - | 4 | 7 | FirebirdSql.Data.Client.Native.Handle |
TransactionParameterBuffer | 1.17 | 8 | 45 | 0 | 0 | 4 | 4 | - | 7 | 11 | FirebirdSql.Data.Common |
IscError | 1.09 | 20 | 110 | 0 | 0 | 21 | 17 | - | 5 | 8 | FirebirdSql.Data.Common |
DatabaseParameterBuffer | 1.08 | 14 | 73 | 0 | 0 | 6 | 6 | - | 8 | 11 | FirebirdSql.Data.Common |
Symbol | 1.06 | 27 | 149 | 11 | 28.95 | 14 | 14 | - | 5 | 15 | FirebirdSql.Data.Entity |
Symbol | 1.06 | 27 | 149 | - | - | - | 14 | - | 5 | 15 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbStatement | 1.03 | 10 | 40 | 0 | 0 | 8 | 8 | - | 7 | 7 | FirebirdSql.Data.Isql |
GenericResponse | 1.01 | 9 | 45 | 0 | 0 | 5 | 5 | - | 10 | 8 | FirebirdSql.Data.Client.Managed |
FbConnectionString | 0.99 | 129 | 1608 | 3 | 2.27 | 119 | 158 | - | 9 | 45 | FirebirdSql.Data.FirebirdClient |
TransactionHandle | 0.99 | 8 | 43 | 0 | 0 | 3 | 6 | - | 5 | 12 | FirebirdSql.Data.Client.Native.Handle |
DatabaseHandle | 0.98 | 8 | 43 | 0 | 0 | 3 | 6 | - | 5 | 12 | FirebirdSql.Data.Client.Native.Handle |
DbField | 0.98 | 143 | 928 | 3 | 2.05 | 118 | 121 | - | 9 | 27 | FirebirdSql.Data.Common |
ArrayBound | 0.97 | 4 | 24 | 0 | 0 | 4 | 4 | - | 5 | 4 | FirebirdSql.Data.Common |
DbValue | 0.96 | 128 | 917 | 1 | 0.78 | 83 | 92 | - | 9 | 39 | FirebirdSql.Data.Common |
GdsConnection | 0.95 | 131 | 772 | 4 | 2.96 | 42 | 60 | - | 7 | 49 | FirebirdSql.Data.Client.Managed |
FbParameter | 0.94 | 135 | 728 | 1 | 0.74 | 87 | 92 | - | 12 | 41 | FirebirdSql.Data.FirebirdClient |
ArrayDesc | 0.92 | 16 | 96 | 8 | 33.33 | 16 | 16 | - | 8 | 8 | FirebirdSql.Data.Common |
RemoteEvent | 0.81 | 62 | 419 | 0 | 0 | 31 | 45 | - | 5 | 15 | FirebirdSql.Data.Common |
BlobHandle | 0.78 | 8 | 43 | 0 | 0 | 3 | 6 | - | 2 | 12 | FirebirdSql.Data.Client.Native.Handle |
SqlBuilder | 0.78 | 19 | 126 | 19 | 50 | 11 | 17 | - | 4 | 15 | FirebirdSql.Data.Entity |
SqlBuilder | 0.78 | 19 | 126 | - | - | - | 17 | - | 4 | 15 | FirebirdSql.Data.EntityFramework6.SqlGen |
ArrayBase | 0.77 | 74 | 454 | 2 | 2.63 | 25 | 33 | - | 8 | 19 | FirebirdSql.Data.Common |
FbTransaction | 0.76 | 144 | 1001 | 2 | 1.37 | 66 | 101 | - | 7 | 36 | FirebirdSql.Data.FirebirdClient |
StatementHandle | 0.75 | 8 | 44 | 0 | 0 | 3 | 6 | - | 2 | 13 | FirebirdSql.Data.Client.Native.Handle |
IscHelper | 0.73 | 96 | 564 | 92 | 48.94 | 44 | 51 | - | 6 | 11 | FirebirdSql.Data.Common |
BlobBase | 0.73 | 40 | 211 | 2 | 4.76 | 17 | 20 | - | 7 | 14 | FirebirdSql.Data.Common |
ProtocolsSupported+Protocol | 0.72 | 7 | 23 | 0 | 0 | 4 | 4 | - | 2 | 5 | FirebirdSql.Data.Client.Managed |
Descriptor | 0.69 | 98 | 586 | 0 | 0 | 30 | 44 | - | 7 | 14 | FirebirdSql.Data.Common |
IServiceManager | 0.68 | - | - | 0 | - | 0 | - | - | 4 | 6 | FirebirdSql.Data.Common |
FbError | 0.68 | 11 | 63 | 0 | 0 | 7 | 7 | - | 3 | 6 | FirebirdSql.Data.FirebirdClient |
FirebirdClientPermission | 0.68 | 9 | 58 | 0 | 0 | 8 | 8 | - | 3 | 12 | FirebirdSql.Data.FirebirdClient |
WarningMessageCallback | 0.67 | - | - | - | - | - | - | - | 4 | 7 | FirebirdSql.Data.Common |
DbStatementType | 0.66 | - | - | 0 | - | 0 | - | - | 6 | 4 | FirebirdSql.Data.Common |
FbParameterCollection | 0.65 | 98 | 737 | 0 | 0 | 69 | 83 | - | 7 | 38 | FirebirdSql.Data.FirebirdClient |
FbBackupFile | 0.64 | 7 | 27 | 0 | 0 | 5 | 5 | - | 3 | 7 | FirebirdSql.Data.Services |
TransactionState | 0.62 | - | - | 0 | - | 0 | - | - | 3 | 4 | FirebirdSql.Data.Common |
FbTraceConfiguration | 0.62 | 4 | 42 | 0 | 0 | 5 | 7 | - | 2 | 5 | FirebirdSql.Data.Services |
GdsDatabase | 0.61 | 46 | 266 | 1 | 2.13 | 19 | 25 | - | 4 | 30 | FirebirdSql.Data.Client.Managed .Version11 |
StatementState | 0.61 | - | - | 0 | - | 0 | - | - | 5 | 5 | FirebirdSql.Data.Common |
FesDatabase | 0.58 | 87 | 524 | 0 | 0 | 46 | 51 | - | 5 | 35 | FirebirdSql.Data.Client.Native |
ArrayBoundMarshal | 0.57 | 0 | 0 | 0 | - | 0 | 0 | - | 2 | 3 | FirebirdSql.Data.Client.Native .Marshalers |
SqlResponse | 0.55 | 3 | 15 | 0 | 0 | 2 | 2 | - | 5 | 4 | FirebirdSql.Data.Client.Managed |
FbDataReader | 0.55 | 305 | 2228 | 32 | 9.5 | 134 | 181 | - | 3 | 66 | FirebirdSql.Data.FirebirdClient |
FbErrorCollection | 0.54 | 16 | 112 | 0 | 0 | 14 | 15 | - | 2 | 21 | FirebirdSql.Data.FirebirdClient |
GdsStatement | 0.54 | 403 | 2613 | 21 | 4.95 | 194 | 246 | - | 4 | 57 | FirebirdSql.Data.Client.Managed .Version10 |
SSPIHelper+SecBufferType | 0.52 | - | - | 0 | - | 0 | - | - | 2 | 4 | FirebirdSql.Data.Client.Managed .Version11 |
FbDataAdapter | 0.51 | 170 | 1036 | 50 | 22.73 | 99 | 123 | - | 3 | 58 | FirebirdSql.Data.FirebirdClient |
FbServerType | 0.48 | - | - | 0 | - | 0 | - | - | 3 | 4 | FirebirdSql.Data.FirebirdClient |
FbUserData | 0.47 | 33 | 173 | 0 | 0 | 23 | 23 | - | 2 | 6 | FirebirdSql.Data.Services |
GdsStatement | 0.45 | 72 | 436 | 10 | 12.2 | 27 | 37 | - | 3 | 29 | FirebirdSql.Data.Client.Managed .Version11 |
FesTransaction | 0.45 | 78 | 553 | 13 | 14.29 | 24 | 44 | - | 4 | 33 | FirebirdSql.Data.Client.Native |
SSPIHelper+SecBuffer | 0.45 | 19 | 105 | 0 | 0 | 7 | 7 | - | 2 | 11 | FirebirdSql.Data.Client.Managed .Version11 |
EventParameterBuffer | 0.44 | 5 | 31 | 0 | 0 | 3 | 3 | - | 2 | 10 | FirebirdSql.Data.Common |
TypeDecoder | 0.43 | 27 | 194 | 0 | 0 | 10 | 10 | - | 3 | 15 | FirebirdSql.Data.Common |
RemoteEventCountsCallback | 0.43 | - | - | - | - | - | - | - | 2 | 6 | FirebirdSql.Data.Common |
BinaryEncoding | 0.43 | 44 | 333 | 2 | 4.35 | 28 | 35 | - | 1 | 13 | FirebirdSql.Data.Common |
FbServerConfig | 0.43 | 39 | 138 | 0 | 0 | 39 | 39 | - | 2 | 5 | FirebirdSql.Data.Services |
FbDatabasesInfo | 0.43 | 6 | 30 | 0 | 0 | 5 | 5 | - | 2 | 9 | FirebirdSql.Data.Services |
FbBackupFlags | 0.42 | - | - | 0 | - | 0 | - | - | 2 | 5 | FirebirdSql.Data.Services |
FbServiceTraceEvents | 0.41 | - | - | 0 | - | 0 | - | - | 1 | 5 | FirebirdSql.Data.Services |
FbTransactionBehavior | 0.41 | - | - | 0 | - | 0 | - | - | 2 | 6 | FirebirdSql.Data.FirebirdClient |
GdsServiceManager | 0.41 | 56 | 357 | 6 | 9.68 | 16 | 24 | - | 2 | 22 | FirebirdSql.Data.Client.Managed .Version10 |
GdsDatabase | 0.4 | 23 | 144 | 1 | 4.17 | 10 | 10 | - | 2 | 23 | FirebirdSql.Data.Client.Managed .Version12 |
FbStatisticalFlags | 0.4 | - | - | 0 | - | 0 | - | - | 1 | 5 | FirebirdSql.Data.Services |
TypeEncoder | 0.4 | 21 | 181 | 0 | 0 | 13 | 15 | - | 3 | 15 | FirebirdSql.Data.Common |
FbBackupFileCollection | 0.39 | 0 | 4 | 0 | - | 0 | 1 | - | 2 | 11 | FirebirdSql.Data.Services |
FbClientFactory | 0.38 | 90 | 574 | 93 | 50.82 | 29 | 42 | - | 2 | 45 | FirebirdSql.Data.Client.Native |
FbConnectionStringBuilder | 0.38 | 74 | 578 | 0 | 0 | 67 | 78 | - | 3 | 20 | FirebirdSql.Data.FirebirdClient |
FbRestoreFlags | 0.38 | - | - | 0 | - | 0 | - | - | 2 | 5 | FirebirdSql.Data.Services |
PageSizeHelper | 0.38 | 1 | 22 | 0 | 0 | 5 | 3 | - | 2 | 3 | FirebirdSql.Data.Common |
FbValidationFlags | 0.38 | - | - | 0 | - | 0 | - | - | 1 | 5 | FirebirdSql.Data.Services |
FbStatementCollection | 0.37 | 1 | 5 | 0 | 0 | 1 | 1 | - | 4 | 12 | FirebirdSql.Data.Isql |
FbTransactionOptions | 0.36 | 13 | 113 | 0 | 0 | 12 | 18 | - | 3 | 15 | FirebirdSql.Data.FirebirdClient |
GdsStatement | 0.36 | 31 | 200 | 6 | 16.22 | 13 | 17 | - | 2 | 25 | FirebirdSql.Data.Client.Managed .Version12 |
FbDatabaseTraceEvents | 0.35 | - | - | 0 | - | 0 | - | - | 1 | 5 | FirebirdSql.Data.Services |
IscErrorMessages | 0.35 | 2 | 6304 | 1259 | 99.84 | 2 | 2 | - | 1 | 6 | FirebirdSql.Data.Common |
SqlStateMapping | 0.35 | 2 | 6304 | 1259 | 99.84 | 2 | 2 | - | 1 | 6 | FirebirdSql.Data.Common |
ClientFactory | 0.34 | 25 | 175 | 0 | 0 | 23 | 25 | - | 2 | 21 | FirebirdSql.Data.FirebirdClient |
GdsTransaction | 0.34 | 101 | 778 | 0 | 0 | 25 | 64 | - | 3 | 30 | FirebirdSql.Data.Client.Managed .Version10 |
FbShutdownType | 0.34 | - | - | 0 | - | 0 | - | - | 1 | 4 | FirebirdSql.Data.Services |
FbShutdownMode | 0.34 | - | - | 0 | - | 0 | - | - | 1 | 4 | FirebirdSql.Data.Services |
FbShutdownOnlineMode | 0.34 | - | - | 0 | - | 0 | - | - | 1 | 4 | FirebirdSql.Data.Services |
MetadataHelpers | 0.34 | 96 | 656 | 119 | 55.35 | 70 | 99 | - | 4 | 37 | FirebirdSql.Data.Entity |
MetadataHelpers | 0.33 | 96 | 656 | - | - | - | 99 | - | 4 | 37 | FirebirdSql.Data.EntityFramework6 |
FbNBackupFlags | 0.33 | - | - | 0 | - | 0 | - | - | 1 | 5 | FirebirdSql.Data.Services |
FbDatabaseTraceConfigurationCollection | 0.32 | 2 | 26 | 0 | 0 | 2 | 4 | - | 1 | 17 | FirebirdSql.Data.Services |
FbServiceTraceConfiguration | 0.32 | 28 | 146 | 0 | 0 | 12 | 12 | - | 1 | 10 | FirebirdSql.Data.Services |
IFbMigrationSqlGeneratorBehavior | 0.31 | - | - | 0 | - | 0 | - | - | 2 | 2 | FirebirdSql.Data.EntityFramework6 |
AuthResponse | 0.31 | 4 | 16 | 0 | 0 | 3 | 3 | - | 2 | 7 | FirebirdSql.Data.Client.Managed .Version11 |
ArrayDescMarshal | 0.31 | 1 | 14 | 0 | 0 | 1 | 1 | - | 1 | 10 | FirebirdSql.Data.Client.Native .Marshalers |
FbDatabaseTraceConfiguration | 0.3 | 99 | 547 | 0 | 0 | 29 | 30 | - | 1 | 13 | FirebirdSql.Data.Services |
SqlStringParser | 0.3 | 85 | 862 | 0 | 0 | 38 | 95 | - | 2 | 23 | FirebirdSql.Data.Isql |
SkipClause | 0.3 | 11 | 51 | 17 | 60.71 | 4 | 4 | - | 2 | 11 | FirebirdSql.Data.Entity |
JoinSymbol | 0.3 | 21 | 123 | 0 | 0 | 12 | 14 | - | 2 | 14 | FirebirdSql.Data.Entity |
FirstClause | 0.3 | 11 | 51 | 17 | 60.71 | 4 | 4 | - | 2 | 11 | FirebirdSql.Data.Entity |
FirstClause | 0.3 | 11 | 51 | - | - | - | 4 | - | 2 | 11 | FirebirdSql.Data.EntityFramework6.SqlGen |
JoinSymbol | 0.3 | 21 | 123 | - | - | - | 14 | - | 2 | 14 | FirebirdSql.Data.EntityFramework6.SqlGen |
SkipClause | 0.3 | 11 | 51 | - | - | - | 4 | - | 2 | 11 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbConnectionPoolManager+Pool+Item | 0.3 | 15 | 60 | 0 | 0 | 8 | 9 | - | 2 | 8 | FirebirdSql.Data.FirebirdClient |
FbProviderServices | 0.29 | 143 | 888 | 24 | 14.37 | 84 | 112 | - | 2 | 69 | FirebirdSql.Data.FirebirdClient |
FbScript | 0.28 | 219 | 1381 | 11 | 4.78 | 145 | 145 | - | 3 | 30 | FirebirdSql.Data.Isql |
FbCharset | 0.28 | - | - | 6 | 100 | 0 | - | - | 2 | 5 | FirebirdSql.Data.FirebirdClient |
FbServiceState | 0.28 | - | - | 0 | - | 0 | - | - | 1 | 4 | FirebirdSql.Data.Services |
ServiceOutputEventArgs | 0.28 | 3 | 15 | 0 | 0 | 2 | 2 | - | 1 | 4 | FirebirdSql.Data.Services |
GdsDatabase | 0.28 | 17 | 117 | 0 | 0 | 7 | 7 | - | 1 | 21 | FirebirdSql.Data.Client.Managed .Version13 |
FesServiceManager | 0.28 | 32 | 192 | 1 | 3.03 | 13 | 15 | - | 1 | 17 | FirebirdSql.Data.Client.Native |
GdsStatement | 0.27 | 38 | 243 | 0 | 0 | 13 | 19 | - | 1 | 27 | FirebirdSql.Data.Client.Managed .Version13 |
SSPIHelper+SecBufferDesc | 0.27 | 19 | 100 | 1 | 5 | 6 | 6 | - | 1 | 15 | FirebirdSql.Data.Client.Managed .Version11 |
SSPIHelper+SecInteger | 0.27 | 2 | 8 | 0 | 0 | 1 | 1 | - | 1 | 6 | FirebirdSql.Data.Client.Managed .Version11 |
SSPIHelper+SecHandle | 0.27 | 3 | 24 | 0 | 0 | 3 | 4 | - | 1 | 7 | FirebirdSql.Data.Client.Managed .Version11 |
FetchResponse | 0.26 | 5 | 25 | 0 | 0 | 3 | 3 | - | 2 | 4 | FirebirdSql.Data.Client.Managed |
FbCommandBuilder | 0.26 | 77 | 570 | 2 | 2.53 | 42 | 50 | - | 1 | 47 | FirebirdSql.Data.FirebirdClient |
DmlSqlGenerator | 0.25 | 146 | 767 | - | - | - | 60 | - | 3 | 42 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbRowUpdatingEventArgs | 0.25 | 3 | 23 | 0 | 0 | 3 | 3 | - | 2 | 9 | FirebirdSql.Data.FirebirdClient |
BlobParameterBuffer | 0.25 | 1 | 6 | 0 | 0 | 1 | 1 | - | 1 | 5 | FirebirdSql.Data.Common |
SSPIHelper | 0.25 | 49 | 299 | 66 | 57.39 | 22 | 29 | - | 1 | 21 | FirebirdSql.Data.Client.Managed .Version11 |
XSQLVAR | 0.24 | 0 | 4 | 0 | - | 0 | 1 | - | 1 | 6 | FirebirdSql.Data.Client.Native .Marshalers |
XSQLDA | 0.24 | 0 | 0 | 0 | - | 0 | 0 | - | 1 | 5 | FirebirdSql.Data.Client.Native .Marshalers |
GdsEventManager | 0.24 | 42 | 264 | 4 | 8.7 | 22 | 26 | - | 1 | 21 | FirebirdSql.Data.Client.Managed .Version10 |
UnknownStatementEventArgs | 0.24 | 12 | 45 | 0 | 0 | 9 | 9 | - | 1 | 8 | FirebirdSql.Data.Isql |
FesTransaction+IscTeb | 0.23 | 0 | 0 | 0 | - | 0 | 0 | - | 1 | 4 | FirebirdSql.Data.Client.Native |
FesStatement | 0.23 | 216 | 1459 | 48 | 18.18 | 89 | 129 | - | 1 | 39 | FirebirdSql.Data.Client.Native |
FbRemoteEventEventArgs | 0.23 | 6 | 34 | 0 | 0 | 4 | 4 | - | 1 | 7 | FirebirdSql.Data.FirebirdClient |
TypeHelpers | 0.23 | 18 | 123 | 0 | 0 | 12 | 18 | - | 1 | 8 | FirebirdSql.Data.Entity |
TypeHelpers | 0.23 | 18 | 123 | - | - | - | 18 | - | 1 | 8 | FirebirdSql.Data.EntityFramework6 |
FbConnectionPoolManager+Pool | 0.22 | 68 | 447 | 0 | 0 | 26 | 45 | - | 1 | 35 | FirebirdSql.Data.FirebirdClient |
TimeoutHelper | 0.22 | 1 | 3 | 0 | 0 | 2 | 1 | - | 1 | 4 | FirebirdSql.Data.Common |
DmlSqlGenerator | 0.22 | 146 | 767 | 42 | 22.34 | 28 | 60 | - | 2 | 42 | FirebirdSql.Data.Entity |
FbBatchExecution | 0.22 | 207 | 1374 | 84 | 28.87 | 144 | 112 | - | 2 | 40 | FirebirdSql.Data.Isql |
FbServerProperties | 0.22 | 21 | 173 | 0 | 0 | 19 | 24 | - | 2 | 17 | FirebirdSql.Data.Services |
FbSchemaFactory | 0.22 | 78 | 528 | 2 | 2.5 | 40 | 81 | - | 1 | 48 | FirebirdSql.Data.Schema |
FbEnlistmentNotification | 0.22 | 29 | 244 | 2 | 6.45 | 19 | 33 | - | 1 | 22 | FirebirdSql.Data.FirebirdClient |
FesBlob | 0.22 | 59 | 460 | 6 | 9.23 | 20 | 37 | - | 1 | 27 | FirebirdSql.Data.Client.Native |
FesArray | 0.22 | 177 | 945 | 11 | 5.85 | 64 | 80 | - | 1 | 45 | FirebirdSql.Data.Client.Native |
XsqldaMarshaler | 0.22 | 135 | 1048 | 19 | 12.34 | 56 | 72 | - | 1 | 28 | FirebirdSql.Data.Client.Native .Marshalers |
ProtocolsSupported | 0.21 | 1 | 35 | 0 | 0 | 1 | 1 | - | 1 | 5 | FirebirdSql.Data.Client.Managed |
SrpClient | 0.21 | 86 | 625 | 4 | 4.44 | 30 | 39 | - | 1 | 27 | FirebirdSql.Data.Client.Managed |
FirebirdClientFactory | 0.21 | 13 | 75 | 0 | 0 | 12 | 13 | - | 1 | 24 | FirebirdSql.Data.FirebirdClient |
FbInfoMessageEventArgs | 0.21 | 10 | 54 | 0 | 0 | 4 | 6 | - | 1 | 14 | FirebirdSql.Data.FirebirdClient |
FbConnectionPoolManager | 0.21 | 34 | 240 | 0 | 0 | 24 | 27 | - | 1 | 34 | FirebirdSql.Data.FirebirdClient |
CommandExecutedEventArgs | 0.21 | 13 | 49 | 0 | 0 | 9 | 9 | - | 1 | 9 | FirebirdSql.Data.Isql |
CommandExecutingEventArgs | 0.21 | 7 | 27 | 0 | 0 | 5 | 5 | - | 1 | 7 | FirebirdSql.Data.Isql |
ExpressionTranslator | 0.21 | 90 | 494 | - | - | - | 64 | - | 1 | 76 | FirebirdSql.Data.EntityFramework6.SqlGen |
ExpressionTranslator | 0.21 | 90 | 494 | 22 | 19.64 | 55 | 64 | - | 1 | 76 | FirebirdSql.Data.Entity |
ArrayDescMarshaler | 0.21 | 31 | 177 | 3 | 8.82 | 7 | 10 | - | 1 | 16 | FirebirdSql.Data.Client.Native .Marshalers |
FbViews | 0.2 | 25 | 198 | 3 | 10.71 | 13 | 22 | - | 1 | 18 | FirebirdSql.Data.Schema |
FbUniqueKeys | 0.2 | 14 | 124 | 3 | 17.65 | 9 | 13 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbIndexColumns | 0.2 | 21 | 212 | 5 | 19.23 | 15 | 21 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbPrimaryKeys | 0.2 | 14 | 124 | 3 | 17.65 | 9 | 13 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbIndexes | 0.2 | 31 | 294 | 4 | 11.43 | 18 | 30 | - | 1 | 22 | FirebirdSql.Data.Schema |
FbProcedurePrivilegesSchema | 0.2 | 18 | 190 | 5 | 21.74 | 13 | 19 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbFunctions | 0.2 | 28 | 240 | 4 | 12.5 | 16 | 26 | - | 1 | 18 | FirebirdSql.Data.Schema |
FbProcedures | 0.2 | 28 | 226 | 3 | 9.68 | 15 | 24 | - | 1 | 18 | FirebirdSql.Data.Schema |
FbCharacterSets | 0.2 | 13 | 120 | 3 | 18.75 | 9 | 13 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbRoles | 0.2 | 11 | 86 | 0 | 0 | 5 | 7 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbTableConstraints | 0.2 | 38 | 336 | 7 | 15.56 | 28 | 38 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbCheckConstraints | 0.2 | 12 | 106 | 3 | 20 | 9 | 13 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbTablePrivileges | 0.2 | 18 | 190 | 5 | 21.74 | 13 | 19 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbTables | 0.2 | 39 | 295 | 4 | 9.3 | 22 | 33 | - | 1 | 19 | FirebirdSql.Data.Schema |
FbChecksByTable | 0.2 | 13 | 120 | 3 | 18.75 | 9 | 13 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbCollations | 0.2 | 13 | 120 | 3 | 18.75 | 9 | 13 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbGenerators | 0.2 | 28 | 240 | 4 | 12.5 | 16 | 26 | - | 1 | 18 | FirebirdSql.Data.Schema |
FbColumnPrivileges | 0.2 | 20 | 223 | 6 | 23.08 | 15 | 22 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbColumns | 0.2 | 55 | 448 | 5 | 8.33 | 27 | 41 | - | 1 | 25 | FirebirdSql.Data.Schema |
FbProcedureParameters | 0.2 | 55 | 431 | 5 | 8.33 | 27 | 41 | - | 1 | 25 | FirebirdSql.Data.Schema |
FbDomains | 0.2 | 49 | 384 | 4 | 7.55 | 22 | 34 | - | 1 | 25 | FirebirdSql.Data.Schema |
FbTriggers | 0.2 | 28 | 240 | 4 | 12.5 | 16 | 26 | - | 1 | 18 | FirebirdSql.Data.Schema |
FbViewPrivileges | 0.2 | 19 | 194 | 5 | 20.83 | 13 | 19 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbForeignKeyColumns | 0.2 | 18 | 190 | 5 | 21.74 | 13 | 19 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbForeignKeys | 0.2 | 16 | 157 | 4 | 20 | 11 | 16 | - | 1 | 10 | FirebirdSql.Data.Schema |
FbViewColumns | 0.2 | 52 | 427 | 5 | 8.77 | 25 | 38 | - | 1 | 25 | FirebirdSql.Data.Schema |
SsdlToFb+GenerateColumnResult | 0.2 | 4 | 18 | 0 | 0 | 4 | 5 | - | 1 | 6 | FirebirdSql.Data.Entity |
TraceHelper | 0.2 | 4 | 27 | 0 | 0 | 3 | 3 | - | 1 | 9 | FirebirdSql.Data.Common |
SsdlToFb+GenerateColumnResult | 0.2 | 4 | 18 | - | - | - | 5 | - | 1 | 6 | FirebirdSql.Data.EntityFramework6 |
GdsBlob | 0.2 | 83 | 505 | 4 | 4.6 | 27 | 36 | - | 1 | 26 | FirebirdSql.Data.Client.Managed .Version10 |
GdsArray | 0.2 | 221 | 1346 | 22 | 9.05 | 87 | 102 | - | 1 | 46 | FirebirdSql.Data.Client.Managed .Version10 |
FbRowUpdatedEventArgs | 0.2 | 2 | 17 | 0 | 0 | 2 | 2 | - | 1 | 9 | FirebirdSql.Data.FirebirdClient |
SqlGenerator+FunctionHandler | 0.19 | - | - | - | - | - | - | - | 1 | 9 | FirebirdSql.Data.Entity |
SqlSelectStatement | 0.19 | 94 | 601 | 34 | 26.56 | 52 | 65 | - | 1 | 23 | FirebirdSql.Data.Entity |
SymbolPair | 0.19 | 8 | 42 | 1 | 11.11 | 6 | 6 | - | 1 | 8 | FirebirdSql.Data.Entity |
SymbolTable | 0.19 | 10 | 85 | 0 | 0 | 7 | 9 | - | 1 | 10 | FirebirdSql.Data.Entity |
SqlGenerator+FunctionHandler | 0.19 | - | - | - | - | - | - | - | 1 | 9 | FirebirdSql.Data.EntityFramework6.SqlGen |
SymbolTable | 0.19 | 10 | 85 | - | - | - | 9 | - | 1 | 10 | FirebirdSql.Data.EntityFramework6.SqlGen |
SymbolPair | 0.19 | 8 | 42 | - | - | - | 6 | - | 1 | 8 | FirebirdSql.Data.EntityFramework6.SqlGen |
SqlSelectStatement | 0.19 | 94 | 601 | - | - | - | 65 | - | 1 | 23 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbProviderManifest | 0.19 | 134 | 1019 | 33 | 19.76 | 94 | 127 | - | 1 | 33 | FirebirdSql.Data.FirebirdClient |
SsdlToFb | 0.19 | 79 | 858 | 0 | 0 | 20 | 82 | - | 1 | 49 | FirebirdSql.Data.Entity |
FbProviderServices | 0.18 | 147 | 913 | - | - | - | 114 | - | 1 | 80 | FirebirdSql.Data.EntityFramework6 |
FbMigrationsTransactionsInterceptor | 0.18 | 5 | 101 | 0 | 0 | 29 | 31 | - | 1 | 28 | FirebirdSql.Data.EntityFramework6 |
FbConnectionFactory | 0.18 | 8 | 46 | 0 | 0 | 4 | 6 | - | 1 | 15 | FirebirdSql.Data.EntityFramework6 |
FbProviderManifest | 0.18 | 135 | 1025 | - | - | - | 128 | - | 1 | 33 | FirebirdSql.Data.EntityFramework6 |
SsdlToFb | 0.18 | 79 | 858 | - | - | - | 82 | - | 1 | 49 | FirebirdSql.Data.EntityFramework6 |
FbMigrationSqlGenerator+<>o__51 | 0.18 | 0 | 0 | - | - | - | 0 | - | 1 | 9 | FirebirdSql.Data.EntityFramework6 |
FbMigrationSqlGenerator+<>o__31 | 0.18 | 0 | 0 | - | - | - | 0 | - | 1 | 8 | FirebirdSql.Data.EntityFramework6 |
FbMigrationSqlGenerator+<>o__11 | 0.18 | 0 | 0 | - | - | - | 0 | - | 1 | 8 | FirebirdSql.Data.EntityFramework6 |
DefaultFbMigrationSqlGeneratorBehavior | 0.18 | 68 | 724 | 0 | 0 | 3 | 52 | - | 1 | 19 | FirebirdSql.Data.EntityFramework6 |
FbTrace | 0.15 | 32 | 173 | 0 | 0 | 16 | 19 | - | 0 | 15 | FirebirdSql.Data.Services |
FbRemoteEvent | 0.15 | 62 | 448 | 3 | 4.62 | 31 | 46 | - | 0 | 32 | FirebirdSql.Data.FirebirdClient |
FbValidation | 0.15 | 15 | 79 | 3 | 16.67 | 6 | 7 | - | 0 | 11 | FirebirdSql.Data.Services |
VersionInfo | 0.15 | 0 | 0 | - | - | - | 0 | - | 0 | 2 | FirebirdSql.Data.FirebirdClient .Properties |
FirebirdClientPermissionAttribute | 0.15 | 2 | 13 | 0 | 0 | 2 | 2 | - | 0 | 7 | FirebirdSql.Data.FirebirdClient |
FbStatistical | 0.15 | 13 | 68 | 3 | 18.75 | 5 | 6 | - | 0 | 10 | FirebirdSql.Data.Services |
FbRestore | 0.15 | 38 | 212 | 0 | 0 | 22 | 27 | - | 0 | 22 | FirebirdSql.Data.Services |
FbConfiguration | 0.15 | 101 | 465 | 0 | 0 | 27 | 33 | - | 0 | 13 | FirebirdSql.Data.Services |
FbSecurity | 0.15 | 82 | 618 | 10 | 10.87 | 48 | 69 | - | 0 | 13 | FirebirdSql.Data.Services |
FbDatabaseInfo | 0.15 | 61 | 465 | 0 | 0 | 49 | 52 | - | 0 | 14 | FirebirdSql.Data.FirebirdClient |
VersionInfo | 0.15 | 0 | 0 | 0 | - | 0 | 0 | - | 0 | 2 | FirebirdSql.Data.EntityFramework6 .Properties |
FbNRestore | 0.15 | 20 | 101 | 3 | 13.04 | 9 | 14 | - | 0 | 16 | FirebirdSql.Data.Services |
FbNBackup | 0.15 | 24 | 122 | 3 | 11.11 | 13 | 15 | - | 0 | 14 | FirebirdSql.Data.Services |
FbClient | 0.15 | 1 | 5 | 0 | 0 | 1 | 1 | - | 0 | 10 | FirebirdSql.Data.Client.Native |
FbStreamingRestore | 0.15 | 54 | 294 | 1 | 1.82 | 28 | 33 | - | 0 | 21 | FirebirdSql.Data.Services |
IscCodes | 0.15 | 0 | 0 | 130 | 100 | 0 | 0 | - | 0 | 3 | FirebirdSql.Data.Common |
FbStreamingBackup | 0.15 | 19 | 104 | 0 | 0 | 9 | 10 | - | 0 | 18 | FirebirdSql.Data.Services |
FbBackup | 0.15 | 29 | 151 | 3 | 9.38 | 14 | 17 | - | 0 | 19 | FirebirdSql.Data.Services |
FbLog | 0.15 | 9 | 42 | 3 | 25 | 3 | 4 | - | 0 | 9 | FirebirdSql.Data.Services |
Types Metrics : Code Members and Inheritance
Type Name | # Instance Methods | Nb Static Methods | Nb Properties | # Fields | # Children Classes | Depth Of Inheritance Tree | Type Namespace |
---|---|---|---|---|---|---|---|
ParameterBuffer | 12 | 0 | 2 | 2 | 5 | 1 | FirebirdSql.Data.Common |
FbSchema | 6 | 1 | 0 | 0 | 26 | 1 | FirebirdSql.Data.Schema |
IscException | 17 | 9 | 5 | 4 | 0 | 2 | FirebirdSql.Data.Common |
IFbClient | 33 | 0 | 0 | 0 | - | - | FirebirdSql.Data.Client.Native |
Charset | 10 | 6 | 6 | 9 | 0 | 1 | FirebirdSql.Data.Common |
SqlWriter | 6 | 0 | 1 | 2 | 0 | 4 | FirebirdSql.Data.EntityFramework6.SqlGen |
SqlGenerator | 89 | 59 | 4 | 13 | 0 | 2 | FirebirdSql.Data.EntityFramework6.SqlGen |
SqlGenerator | 88 | 59 | 4 | 13 | 0 | 2 | FirebirdSql.Data.Entity |
ServiceParameterBuffer | 7 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Common |
IResponse | 0 | 0 | 0 | 0 | - | - | FirebirdSql.Data.Client.Managed |
IDatabase | 29 | 0 | 9 | 0 | - | - | FirebirdSql.Data.Common |
SqlWriter | 6 | 0 | 1 | 2 | 0 | 4 | FirebirdSql.Data.Entity |
FbException | 9 | 0 | 3 | 1 | 0 | 5 | FirebirdSql.Data.FirebirdClient |
TransactionBase | 16 | 0 | 2 | 0 | 2 | 1 | FirebirdSql.Data.Common |
FbService | 20 | 4 | 4 | 9 | 13 | 1 | FirebirdSql.Data.Services |
ISqlFragment | 1 | 0 | 0 | 0 | - | - | FirebirdSql.Data.Entity |
ISqlFragment | 1 | 0 | 0 | 0 | - | - | FirebirdSql.Data.EntityFramework6.SqlGen |
FbCommand | 79 | 1 | 21 | 15 | 0 | 4 | FirebirdSql.Data.FirebirdClient |
SqlStatementType | - | - | - | - | - | - | FirebirdSql.Data.Isql |
IFirebirdHandle | 1 | 0 | 0 | 0 | - | - | FirebirdSql.Data.Client.Native.Handle |
FbConnection | 43 | 6 | 11 | 7 | 0 | 4 | FirebirdSql.Data.FirebirdClient |
StatementBase | 44 | 1 | 10 | 5 | 5 | 1 | FirebirdSql.Data.Common |
TypeHelper | 0 | 14 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Common |
XdrStream | 60 | 2 | 8 | 6 | 0 | 3 | FirebirdSql.Data.Client.Managed |
GdsDatabase | 60 | 0 | 12 | 13 | 3 | 1 | FirebirdSql.Data.Client.Managed .Version10 |
FbConnectionInternal | 38 | 0 | 7 | 9 | 0 | 2 | FirebirdSql.Data.FirebirdClient |
FesConnection | 1 | 1 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Client.Native |
FbDbType | - | - | - | - | - | - | FirebirdSql.Data.FirebirdClient |
DbDataType | - | - | - | - | - | - | FirebirdSql.Data.Common |
Extensions | 0 | 5 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Common |
FbMigrationSqlGenerator | 33 | 17 | 0 | 2 | 0 | 2 | FirebirdSql.Data.EntityFramework6 |
FirebirdHandle | 4 | 0 | 2 | 1 | 4 | 3 | FirebirdSql.Data.Client.Native.Handle |
TransactionParameterBuffer | 4 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Common |
IscError | 10 | 0 | 6 | 4 | 0 | 1 | FirebirdSql.Data.Common |
DatabaseParameterBuffer | 6 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Common |
Symbol | 12 | 0 | 6 | 6 | 1 | 1 | FirebirdSql.Data.Entity |
Symbol | 12 | 0 | 6 | 6 | 1 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbStatement | 8 | 0 | 3 | 3 | 0 | 1 | FirebirdSql.Data.Isql |
GenericResponse | 5 | 0 | 4 | 4 | 0 | 1 | FirebirdSql.Data.Client.Managed |
FbConnectionString | 41 | 1 | 24 | 50 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
TransactionHandle | 2 | 0 | 0 | 0 | 0 | 4 | FirebirdSql.Data.Client.Native.Handle |
DatabaseHandle | 2 | 0 | 0 | 0 | 0 | 4 | FirebirdSql.Data.Client.Native.Handle |
DbField | 41 | 0 | 16 | 13 | 0 | 1 | FirebirdSql.Data.Common |
ArrayBound | 4 | 0 | 2 | 2 | - | - | FirebirdSql.Data.Common |
DbValue | 29 | 0 | 2 | 3 | 0 | 1 | FirebirdSql.Data.Common |
GdsConnection | 17 | 2 | 8 | 16 | 0 | 1 | FirebirdSql.Data.Client.Managed |
FbParameter | 45 | 2 | 20 | 16 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
ArrayDesc | 16 | 0 | 8 | 8 | - | - | FirebirdSql.Data.Common |
RemoteEvent | 17 | 0 | 7 | 8 | 0 | 1 | FirebirdSql.Data.Common |
BlobHandle | 2 | 0 | 0 | 0 | 0 | 4 | FirebirdSql.Data.Client.Native.Handle |
SqlBuilder | 6 | 0 | 2 | 1 | 0 | 1 | FirebirdSql.Data.Entity |
SqlBuilder | 6 | 0 | 2 | 1 | 0 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen |
ArrayBase | 21 | 0 | 4 | 4 | 2 | 1 | FirebirdSql.Data.Common |
FbTransaction | 21 | 2 | 5 | 5 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
StatementHandle | 2 | 0 | 0 | 0 | 0 | 4 | FirebirdSql.Data.Client.Native.Handle |
IscHelper | 0 | 2 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Common |
BlobBase | 21 | 0 | 5 | 6 | 2 | 1 | FirebirdSql.Data.Common |
ProtocolsSupported+Protocol | 4 | 0 | 3 | 3 | 0 | 1 | FirebirdSql.Data.Client.Managed |
Descriptor | 10 | 0 | 3 | 4 | 0 | 1 | FirebirdSql.Data.Common |
IServiceManager | 5 | 0 | 1 | 0 | - | - | FirebirdSql.Data.Common |
FbError | 7 | 0 | 4 | 4 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
FirebirdClientPermission | 8 | 0 | 0 | 0 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
WarningMessageCallback | 4 | 0 | 0 | 0 | 0 | 3 | FirebirdSql.Data.Common |
DbStatementType | - | - | - | - | - | - | FirebirdSql.Data.Common |
FbParameterCollection | 47 | 0 | 6 | 2 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
FbBackupFile | 5 | 0 | 2 | 2 | 0 | 1 | FirebirdSql.Data.Services |
TransactionState | - | - | - | - | - | - | FirebirdSql.Data.Common |
FbTraceConfiguration | 1 | 4 | 0 | 0 | 2 | 1 | FirebirdSql.Data.Services |
GdsDatabase | 12 | 0 | 1 | 1 | 2 | 2 | FirebirdSql.Data.Client.Managed .Version11 |
StatementState | - | - | - | - | - | - | FirebirdSql.Data.Common |
FesDatabase | 39 | 0 | 11 | 11 | 0 | 1 | FirebirdSql.Data.Client.Native |
ArrayBoundMarshal | 0 | 0 | 0 | 2 | - | - | FirebirdSql.Data.Client.Native .Marshalers |
SqlResponse | 2 | 0 | 1 | 1 | 0 | 1 | FirebirdSql.Data.Client.Managed |
FbDataReader | 48 | 5 | 6 | 14 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
FbErrorCollection | 13 | 0 | 2 | 1 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
GdsStatement | 56 | 0 | 10 | 14 | 3 | 2 | FirebirdSql.Data.Client.Managed .Version10 |
SSPIHelper+SecBufferType | - | - | - | - | - | - | FirebirdSql.Data.Client.Managed .Version11 |
FbDataAdapter | 26 | 1 | 4 | 4 | 0 | 5 | FirebirdSql.Data.FirebirdClient |
FbServerType | - | - | - | - | - | - | FirebirdSql.Data.FirebirdClient |
FbUserData | 19 | 0 | 9 | 9 | 0 | 1 | FirebirdSql.Data.Services |
GdsStatement | 6 | 0 | 0 | 0 | 2 | 3 | FirebirdSql.Data.Client.Managed .Version11 |
FesTransaction | 15 | 0 | 3 | 6 | 0 | 2 | FirebirdSql.Data.Client.Native |
SSPIHelper+SecBuffer | 5 | 0 | 0 | 3 | - | - | FirebirdSql.Data.Client.Managed .Version11 |
EventParameterBuffer | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Common |
TypeDecoder | 0 | 4 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Common |
RemoteEventCountsCallback | 4 | 0 | 0 | 0 | 0 | 3 | FirebirdSql.Data.Common |
BinaryEncoding | 11 | 2 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Common |
FbServerConfig | 39 | 0 | 19 | 19 | 0 | 1 | FirebirdSql.Data.Services |
FbDatabasesInfo | 5 | 0 | 2 | 2 | 0 | 1 | FirebirdSql.Data.Services |
FbBackupFlags | - | - | - | - | - | - | FirebirdSql.Data.Services |
FbServiceTraceEvents | - | - | - | - | - | - | FirebirdSql.Data.Services |
FbTransactionBehavior | - | - | - | - | - | - | FirebirdSql.Data.FirebirdClient |
GdsServiceManager | 7 | 0 | 2 | 3 | 0 | 1 | FirebirdSql.Data.Client.Managed .Version10 |
GdsDatabase | 7 | 0 | 0 | 0 | 1 | 3 | FirebirdSql.Data.Client.Managed .Version12 |
FbStatisticalFlags | - | - | - | - | - | - | FirebirdSql.Data.Services |
TypeEncoder | 0 | 4 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Common |
FbBackupFileCollection | 1 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Services |
FbClientFactory | 0 | 9 | 0 | 3 | 0 | 1 | FirebirdSql.Data.Client.Native |
FbConnectionStringBuilder | 55 | 0 | 23 | 0 | 0 | 2 | FirebirdSql.Data.FirebirdClient |
FbRestoreFlags | - | - | - | - | - | - | FirebirdSql.Data.Services |
PageSizeHelper | 0 | 1 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Common |
FbValidationFlags | - | - | - | - | - | - | FirebirdSql.Data.Services |
FbStatementCollection | 1 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Isql |
FbTransactionOptions | 8 | 0 | 4 | 3 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
GdsStatement | 3 | 0 | 0 | 0 | 1 | 4 | FirebirdSql.Data.Client.Managed .Version12 |
FbDatabaseTraceEvents | - | - | - | - | - | - | FirebirdSql.Data.Services |
IscErrorMessages | 0 | 2 | 1 | 1 | 0 | 1 | FirebirdSql.Data.Common |
SqlStateMapping | 0 | 2 | 1 | 1 | 0 | 1 | FirebirdSql.Data.Common |
ClientFactory | 0 | 6 | 0 | 0 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
GdsTransaction | 14 | 0 | 2 | 6 | 0 | 2 | FirebirdSql.Data.Client.Managed .Version10 |
FbShutdownType | - | - | - | - | - | - | FirebirdSql.Data.Services |
FbShutdownMode | - | - | - | - | - | - | FirebirdSql.Data.Services |
FbShutdownOnlineMode | - | - | - | - | - | - | FirebirdSql.Data.Services |
MetadataHelpers | 0 | 32 | 0 | 8 | 0 | 1 | FirebirdSql.Data.Entity |
MetadataHelpers | 0 | 32 | 0 | 8 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
FbNBackupFlags | - | - | - | - | - | - | FirebirdSql.Data.Services |
FbDatabaseTraceConfigurationCollection | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Services |
FbServiceTraceConfiguration | 10 | 0 | 4 | 4 | 0 | 2 | FirebirdSql.Data.Services |
IFbMigrationSqlGeneratorBehavior | 2 | 0 | 0 | 0 | - | - | FirebirdSql.Data.EntityFramework6 |
AuthResponse | 3 | 0 | 1 | 1 | 0 | 1 | FirebirdSql.Data.Client.Managed .Version11 |
ArrayDescMarshal | 0 | 1 | 0 | 7 | - | - | FirebirdSql.Data.Client.Native .Marshalers |
FbDatabaseTraceConfiguration | 26 | 0 | 12 | 12 | 0 | 2 | FirebirdSql.Data.Services |
SqlStringParser | 9 | 0 | 1 | 3 | 0 | 1 | FirebirdSql.Data.Isql |
SkipClause | 4 | 0 | 1 | 1 | 0 | 1 | FirebirdSql.Data.Entity |
JoinSymbol | 9 | 0 | 5 | 5 | 0 | 2 | FirebirdSql.Data.Entity |
FirstClause | 4 | 0 | 1 | 1 | 0 | 1 | FirebirdSql.Data.Entity |
FirstClause | 4 | 0 | 1 | 1 | 0 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen |
JoinSymbol | 9 | 0 | 5 | 5 | 0 | 2 | FirebirdSql.Data.EntityFramework6.SqlGen |
SkipClause | 4 | 0 | 1 | 1 | 0 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbConnectionPoolManager+Pool+Item | 7 | 0 | 2 | 3 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
FbProviderServices | 9 | 9 | 0 | 2 | 0 | 2 | FirebirdSql.Data.FirebirdClient |
FbScript | 5 | 3 | 1 | 3 | 0 | 1 | FirebirdSql.Data.Isql |
FbCharset | - | - | - | - | - | - | FirebirdSql.Data.FirebirdClient |
FbServiceState | - | - | - | - | - | - | FirebirdSql.Data.Services |
ServiceOutputEventArgs | 2 | 0 | 1 | 1 | 0 | 2 | FirebirdSql.Data.Services |
GdsDatabase | 5 | 0 | 0 | 0 | 0 | 4 | FirebirdSql.Data.Client.Managed .Version13 |
FesServiceManager | 10 | 0 | 2 | 4 | 0 | 1 | FirebirdSql.Data.Client.Native |
GdsStatement | 4 | 0 | 0 | 0 | 0 | 5 | FirebirdSql.Data.Client.Managed .Version13 |
SSPIHelper+SecBufferDesc | 4 | 0 | 0 | 3 | - | - | FirebirdSql.Data.Client.Managed .Version11 |
SSPIHelper+SecInteger | 1 | 0 | 0 | 2 | - | - | FirebirdSql.Data.Client.Managed .Version11 |
SSPIHelper+SecHandle | 2 | 0 | 1 | 2 | - | - | FirebirdSql.Data.Client.Managed .Version11 |
FetchResponse | 3 | 0 | 2 | 2 | 0 | 1 | FirebirdSql.Data.Client.Managed |
FbCommandBuilder | 22 | 1 | 3 | 1 | 0 | 4 | FirebirdSql.Data.FirebirdClient |
DmlSqlGenerator | 0 | 6 | 0 | 1 | 0 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbRowUpdatingEventArgs | 3 | 0 | 1 | 0 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
BlobParameterBuffer | 1 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Common |
SSPIHelper | 10 | 5 | 0 | 36 | 0 | 1 | FirebirdSql.Data.Client.Managed .Version11 |
XSQLVAR | 1 | 0 | 0 | 14 | 0 | 1 | FirebirdSql.Data.Client.Native .Marshalers |
XSQLDA | 0 | 0 | 0 | 5 | - | - | FirebirdSql.Data.Client.Native .Marshalers |
GdsEventManager | 6 | 0 | 0 | 4 | 0 | 1 | FirebirdSql.Data.Client.Managed .Version10 |
UnknownStatementEventArgs | 9 | 0 | 4 | 4 | 0 | 2 | FirebirdSql.Data.Isql |
FesTransaction+IscTeb | 0 | 0 | 0 | 3 | - | - | FirebirdSql.Data.Client.Native |
FesStatement | 41 | 0 | 10 | 14 | 0 | 2 | FirebirdSql.Data.Client.Native |
FbRemoteEventEventArgs | 4 | 0 | 2 | 2 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
TypeHelpers | 0 | 3 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Entity |
TypeHelpers | 0 | 3 | 0 | 0 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
FbConnectionPoolManager+Pool | 9 | 2 | 0 | 5 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
TimeoutHelper | 0 | 1 | 0 | 1 | 0 | 1 | FirebirdSql.Data.Common |
DmlSqlGenerator | 0 | 6 | 0 | 1 | 0 | 1 | FirebirdSql.Data.Entity |
FbBatchExecution | 21 | 0 | 1 | 9 | 0 | 1 | FirebirdSql.Data.Isql |
FbServerProperties | 13 | 1 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Services |
FbSchemaFactory | 1 | 4 | 0 | 1 | 0 | 1 | FirebirdSql.Data.Schema |
FbEnlistmentNotification | 9 | 0 | 2 | 4 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
FesBlob | 13 | 0 | 2 | 3 | 0 | 2 | FirebirdSql.Data.Client.Native |
FesArray | 14 | 0 | 3 | 4 | 0 | 2 | FirebirdSql.Data.Client.Native |
XsqldaMarshaler | 0 | 13 | 0 | 2 | 0 | 1 | FirebirdSql.Data.Client.Native .Marshalers |
ProtocolsSupported | 0 | 1 | 1 | 0 | 0 | 1 | FirebirdSql.Data.Client.Managed |
SrpClient | 15 | 9 | 5 | 11 | 0 | 1 | FirebirdSql.Data.Client.Managed |
FirebirdClientFactory | 10 | 1 | 1 | 1 | 0 | 2 | FirebirdSql.Data.FirebirdClient |
FbInfoMessageEventArgs | 3 | 0 | 2 | 2 | 0 | 2 | FirebirdSql.Data.FirebirdClient |
FbConnectionPoolManager | 8 | 2 | 1 | 4 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
CommandExecutedEventArgs | 9 | 0 | 4 | 4 | 0 | 2 | FirebirdSql.Data.Isql |
CommandExecutingEventArgs | 5 | 0 | 2 | 2 | 0 | 2 | FirebirdSql.Data.Isql |
ExpressionTranslator | 48 | 0 | 2 | 6 | 0 | 2 | FirebirdSql.Data.EntityFramework6.SqlGen |
ExpressionTranslator | 48 | 0 | 2 | 6 | 0 | 2 | FirebirdSql.Data.Entity |
ArrayDescMarshaler | 0 | 3 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Client.Native .Marshalers |
FbViews | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbUniqueKeys | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbIndexColumns | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbPrimaryKeys | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbIndexes | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbProcedurePrivilegesSchema | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbFunctions | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbProcedures | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbCharacterSets | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbRoles | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbTableConstraints | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbCheckConstraints | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbTablePrivileges | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbTables | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbChecksByTable | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbCollations | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbGenerators | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbColumnPrivileges | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbColumns | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbProcedureParameters | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbDomains | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbTriggers | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbViewPrivileges | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbForeignKeyColumns | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbForeignKeys | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
FbViewColumns | 3 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Schema |
SsdlToFb+GenerateColumnResult | 5 | 0 | 2 | 2 | 0 | 1 | FirebirdSql.Data.Entity |
TraceHelper | 0 | 3 | 1 | 3 | 0 | 1 | FirebirdSql.Data.Common |
SsdlToFb+GenerateColumnResult | 5 | 0 | 2 | 2 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
GdsBlob | 13 | 0 | 2 | 2 | 0 | 2 | FirebirdSql.Data.Client.Managed .Version10 |
GdsArray | 22 | 0 | 3 | 3 | 0 | 2 | FirebirdSql.Data.Client.Managed .Version10 |
FbRowUpdatedEventArgs | 2 | 0 | 1 | 0 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
SqlGenerator+FunctionHandler | 4 | 0 | 0 | 0 | 0 | 3 | FirebirdSql.Data.Entity |
SqlSelectStatement | 19 | 0 | 12 | 12 | 0 | 1 | FirebirdSql.Data.Entity |
SymbolPair | 6 | 0 | 2 | 2 | 0 | 1 | FirebirdSql.Data.Entity |
SymbolTable | 5 | 0 | 0 | 1 | 0 | 1 | FirebirdSql.Data.Entity |
SqlGenerator+FunctionHandler | 4 | 0 | 0 | 0 | 0 | 3 | FirebirdSql.Data.EntityFramework6.SqlGen |
SymbolTable | 5 | 0 | 0 | 1 | 0 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen |
SymbolPair | 6 | 0 | 2 | 2 | 0 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen |
SqlSelectStatement | 19 | 0 | 12 | 12 | 0 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbProviderManifest | 10 | 4 | 0 | 6 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
SsdlToFb | 0 | 4 | 0 | 0 | 0 | 1 | FirebirdSql.Data.Entity |
FbProviderServices | 9 | 9 | 0 | 2 | 0 | 2 | FirebirdSql.Data.EntityFramework6 |
FbMigrationsTransactionsInterceptor | 25 | 1 | 0 | 0 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
FbConnectionFactory | 2 | 0 | 0 | 0 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
FbProviderManifest | 11 | 4 | 0 | 6 | 0 | 3 | FirebirdSql.Data.EntityFramework6 |
SsdlToFb | 0 | 4 | 0 | 0 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
FbMigrationSqlGenerator+<>o__51 | 0 | 0 | 0 | 2 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
FbMigrationSqlGenerator+<>o__31 | 0 | 0 | 0 | 2 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
FbMigrationSqlGenerator+<>o__11 | 0 | 0 | 0 | 2 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
DefaultFbMigrationSqlGeneratorBehavior | 3 | 1 | 0 | 1 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
FbTrace | 11 | 0 | 2 | 2 | 0 | 2 | FirebirdSql.Data.Services |
FbRemoteEvent | 13 | 0 | 3 | 4 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
FbValidation | 4 | 0 | 1 | 1 | 0 | 2 | FirebirdSql.Data.Services |
VersionInfo | 0 | 0 | 0 | 1 | 0 | 1 | FirebirdSql.Data.FirebirdClient .Properties |
FirebirdClientPermissionAttribute | 2 | 0 | 0 | 0 | 0 | 5 | FirebirdSql.Data.FirebirdClient |
FbStatistical | 4 | 0 | 1 | 1 | 0 | 2 | FirebirdSql.Data.Services |
FbRestore | 13 | 0 | 6 | 6 | 0 | 2 | FirebirdSql.Data.Services |
FbConfiguration | 13 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Services |
FbSecurity | 7 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Services |
FbDatabaseInfo | 45 | 0 | 37 | 1 | 0 | 1 | FirebirdSql.Data.FirebirdClient |
VersionInfo | 0 | 0 | 0 | 1 | 0 | 1 | FirebirdSql.Data.EntityFramework6 .Properties |
FbNRestore | 6 | 0 | 2 | 2 | 0 | 2 | FirebirdSql.Data.Services |
FbNBackup | 10 | 0 | 4 | 4 | 0 | 2 | FirebirdSql.Data.Services |
FbClient | 1 | 32 | 0 | 1 | 0 | 1 | FirebirdSql.Data.Client.Native |
FbStreamingRestore | 15 | 1 | 6 | 6 | 0 | 2 | FirebirdSql.Data.Services |
IscCodes | 0 | 0 | 0 | 675 | 0 | 1 | FirebirdSql.Data.Common |
FbStreamingBackup | 6 | 0 | 2 | 2 | 0 | 2 | FirebirdSql.Data.Services |
FbBackup | 9 | 0 | 4 | 4 | 0 | 2 | FirebirdSql.Data.Services |
FbLog | 2 | 0 | 0 | 0 | 0 | 2 | FirebirdSql.Data.Services |
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 |
---|---|---|---|---|
ParameterBuffer | 0.67 | 0.73 | 9 | FirebirdSql.Data.Common |
FbSchema | 0 | 0 | 42 | FirebirdSql.Data.Schema |
IscException | 0.85 | 0.89 | 47 | FirebirdSql.Data.Common |
IFbClient | - | - | 0 | FirebirdSql.Data.Client.Native |
Charset | 0.84 | 0.89 | 19 | FirebirdSql.Data.Common |
SqlWriter | 0.42 | 0.5 | 8 | FirebirdSql.Data.EntityFramework6.SqlGen |
SqlGenerator | 0.97 | 0.97 | 219 | FirebirdSql.Data.EntityFramework6.SqlGen |
SqlGenerator | 0.97 | 0.97 | 217 | FirebirdSql.Data.Entity |
ServiceParameterBuffer | 0 | 0 | 9 | FirebirdSql.Data.Common |
IResponse | - | - | 0 | FirebirdSql.Data.Client.Managed |
IDatabase | - | - | 0 | FirebirdSql.Data.Common |
SqlWriter | 0.42 | 0.5 | 8 | FirebirdSql.Data.Entity |
FbException | 0.67 | 0.75 | 21 | FirebirdSql.Data.FirebirdClient |
TransactionBase | 0 | 0 | 5 | FirebirdSql.Data.Common |
FbService | 0.85 | 0.89 | 79 | FirebirdSql.Data.Services |
ISqlFragment | - | - | 0 | FirebirdSql.Data.Entity |
ISqlFragment | - | - | 0 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbCommand | 0.92 | 0.93 | 175 | FirebirdSql.Data.FirebirdClient |
SqlStatementType | - | - | 0 | FirebirdSql.Data.Isql |
IFirebirdHandle | - | - | 0 | FirebirdSql.Data.Client.Native.Handle |
FbConnection | 0.83 | 0.85 | 85 | FirebirdSql.Data.FirebirdClient |
StatementBase | 0.93 | 1 | 15 | FirebirdSql.Data.Common |
TypeHelper | 0 | 0 | 15 | FirebirdSql.Data.Common |
XdrStream | 0.89 | 0.9 | 59 | FirebirdSql.Data.Client.Managed |
GdsDatabase | 0.92 | 0.94 | 58 | FirebirdSql.Data.Client.Managed .Version10 |
FbConnectionInternal | 0.86 | 0.89 | 91 | FirebirdSql.Data.FirebirdClient |
FesConnection | 0 | 0 | 14 | FirebirdSql.Data.Client.Native |
FbDbType | - | - | 0 | FirebirdSql.Data.FirebirdClient |
DbDataType | - | - | 0 | FirebirdSql.Data.Common |
Extensions | 0 | 0 | 17 | FirebirdSql.Data.Common |
FbMigrationSqlGenerator | 0.95 | 0.97 | 151 | FirebirdSql.Data.EntityFramework6 |
FirebirdHandle | 0.5 | 0.67 | 4 | FirebirdSql.Data.Client.Native.Handle |
TransactionParameterBuffer | 0 | 0 | 7 | FirebirdSql.Data.Common |
IscError | 0.65 | 0.72 | 4 | FirebirdSql.Data.Common |
DatabaseParameterBuffer | 0 | 0 | 10 | FirebirdSql.Data.Common |
Symbol | 0.79 | 0.86 | 12 | FirebirdSql.Data.Entity |
Symbol | 0.79 | 0.86 | 12 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbStatement | 0 | 0 | 2 | FirebirdSql.Data.Isql |
GenericResponse | 0.6 | 0.75 | 1 | FirebirdSql.Data.Client.Managed |
FbConnectionString | 0.83 | 0.85 | 66 | FirebirdSql.Data.FirebirdClient |
TransactionHandle | 0 | 0 | 8 | FirebirdSql.Data.Client.Native.Handle |
DatabaseHandle | 0 | 0 | 8 | FirebirdSql.Data.Client.Native.Handle |
DbField | 0.92 | 0.94 | 39 | FirebirdSql.Data.Common |
ArrayBound | 0.5 | 0.67 | 0 | FirebirdSql.Data.Common |
DbValue | 0.6 | 0.62 | 66 | FirebirdSql.Data.Common |
GdsConnection | 0.86 | 0.91 | 60 | FirebirdSql.Data.Client.Managed |
FbParameter | 0.91 | 0.93 | 35 | FirebirdSql.Data.FirebirdClient |
ArrayDesc | 0.88 | 0.93 | 0 | FirebirdSql.Data.Common |
RemoteEvent | 0.8 | 0.85 | 17 | FirebirdSql.Data.Common |
BlobHandle | 0 | 0 | 8 | FirebirdSql.Data.Client.Native.Handle |
SqlBuilder | 0.5 | 0.6 | 13 | FirebirdSql.Data.Entity |
SqlBuilder | 0.5 | 0.6 | 13 | FirebirdSql.Data.EntityFramework6.SqlGen |
ArrayBase | 0.6 | 0.66 | 40 | FirebirdSql.Data.Common |
FbTransaction | 0.69 | 0.73 | 44 | FirebirdSql.Data.FirebirdClient |
StatementHandle | 0 | 0 | 8 | FirebirdSql.Data.Client.Native.Handle |
IscHelper | 0 | 0 | 7 | FirebirdSql.Data.Common |
BlobBase | 0.85 | 0.93 | 9 | FirebirdSql.Data.Common |
ProtocolsSupported+Protocol | 0 | 0 | 1 | FirebirdSql.Data.Client.Managed |
Descriptor | 0.65 | 0.72 | 27 | FirebirdSql.Data.Common |
IServiceManager | - | - | 0 | FirebirdSql.Data.Common |
FbError | 0.71 | 0.83 | 1 | FirebirdSql.Data.FirebirdClient |
FirebirdClientPermission | 0 | 0 | 8 | FirebirdSql.Data.FirebirdClient |
WarningMessageCallback | - | - | 0 | FirebirdSql.Data.Common |
DbStatementType | - | - | 0 | FirebirdSql.Data.Common |
FbParameterCollection | 0.76 | 0.77 | 65 | FirebirdSql.Data.FirebirdClient |
FbBackupFile | 0 | 0 | 1 | FirebirdSql.Data.Services |
TransactionState | - | - | 0 | FirebirdSql.Data.Common |
FbTraceConfiguration | 0 | 0 | 4 | FirebirdSql.Data.Services |
GdsDatabase | 0 | 0 | 34 | FirebirdSql.Data.Client.Managed .Version11 |
StatementState | - | - | 0 | FirebirdSql.Data.Common |
FesDatabase | 0.88 | 0.9 | 35 | FirebirdSql.Data.Client.Native |
ArrayBoundMarshal | 0 | 0 | 0 | FirebirdSql.Data.Client.Native .Marshalers |
SqlResponse | 0 | 0 | 1 | FirebirdSql.Data.Client.Managed |
FbDataReader | 0.92 | 0.93 | 114 | FirebirdSql.Data.FirebirdClient |
FbErrorCollection | 0.46 | 0.5 | 14 | FirebirdSql.Data.FirebirdClient |
GdsStatement | 0.87 | 0.88 | 138 | FirebirdSql.Data.Client.Managed .Version10 |
SSPIHelper+SecBufferType | - | - | 0 | FirebirdSql.Data.Client.Managed .Version11 |
FbDataAdapter | 0.94 | 0.98 | 90 | FirebirdSql.Data.FirebirdClient |
FbServerType | - | - | 0 | FirebirdSql.Data.FirebirdClient |
FbUserData | 0.86 | 0.91 | 4 | FirebirdSql.Data.Services |
GdsStatement | 0 | 0 | 43 | FirebirdSql.Data.Client.Managed .Version11 |
FesTransaction | 0.49 | 0.53 | 44 | FirebirdSql.Data.Client.Native |
SSPIHelper+SecBuffer | 0.2 | 0.25 | 7 | FirebirdSql.Data.Client.Managed .Version11 |
EventParameterBuffer | 0 | 0 | 7 | FirebirdSql.Data.Common |
TypeDecoder | 0 | 0 | 8 | FirebirdSql.Data.Common |
RemoteEventCountsCallback | - | - | 0 | FirebirdSql.Data.Common |
BinaryEncoding | 0 | 0 | 9 | FirebirdSql.Data.Common |
FbServerConfig | 0 | 0 | 1 | FirebirdSql.Data.Services |
FbDatabasesInfo | 0 | 0 | 4 | FirebirdSql.Data.Services |
FbBackupFlags | - | - | 0 | FirebirdSql.Data.Services |
FbServiceTraceEvents | - | - | 0 | FirebirdSql.Data.Services |
FbTransactionBehavior | - | - | 0 | FirebirdSql.Data.FirebirdClient |
GdsServiceManager | 0.48 | 0.56 | 21 | FirebirdSql.Data.Client.Managed .Version10 |
GdsDatabase | 0 | 0 | 15 | FirebirdSql.Data.Client.Managed .Version12 |
FbStatisticalFlags | - | - | 0 | FirebirdSql.Data.Services |
TypeEncoder | 0 | 0 | 9 | FirebirdSql.Data.Common |
FbBackupFileCollection | 0 | 0 | 1 | FirebirdSql.Data.Services |
FbClientFactory | 0 | 0 | 75 | FirebirdSql.Data.Client.Native |
FbConnectionStringBuilder | 0 | 0 | 18 | FirebirdSql.Data.FirebirdClient |
FbRestoreFlags | - | - | 0 | FirebirdSql.Data.Services |
PageSizeHelper | 0 | 0 | 0 | FirebirdSql.Data.Common |
FbValidationFlags | - | - | 0 | FirebirdSql.Data.Services |
FbStatementCollection | 0 | 0 | 1 | FirebirdSql.Data.Isql |
FbTransactionOptions | 0.58 | 0.7 | 11 | FirebirdSql.Data.FirebirdClient |
GdsStatement | 0 | 0 | 27 | FirebirdSql.Data.Client.Managed .Version12 |
FbDatabaseTraceEvents | - | - | 0 | FirebirdSql.Data.Services |
IscErrorMessages | 0 | 0 | 2 | FirebirdSql.Data.Common |
SqlStateMapping | 0 | 0 | 2 | FirebirdSql.Data.Common |
ClientFactory | 0 | 0 | 25 | FirebirdSql.Data.FirebirdClient |
GdsTransaction | 0.37 | 0.4 | 29 | FirebirdSql.Data.Client.Managed .Version10 |
FbShutdownType | - | - | 0 | FirebirdSql.Data.Services |
FbShutdownMode | - | - | 0 | FirebirdSql.Data.Services |
FbShutdownOnlineMode | - | - | 0 | FirebirdSql.Data.Services |
MetadataHelpers | 0 | 0 | 40 | FirebirdSql.Data.Entity |
MetadataHelpers | 0 | 0 | 40 | FirebirdSql.Data.EntityFramework6 |
FbNBackupFlags | - | - | 0 | FirebirdSql.Data.Services |
FbDatabaseTraceConfigurationCollection | 0 | 0 | 7 | FirebirdSql.Data.Services |
FbServiceTraceConfiguration | 0 | 0 | 11 | FirebirdSql.Data.Services |
IFbMigrationSqlGeneratorBehavior | - | - | 0 | FirebirdSql.Data.EntityFramework6 |
AuthResponse | 0 | 0 | 1 | FirebirdSql.Data.Client.Managed .Version11 |
ArrayDescMarshal | 1 | 0 | 2 | FirebirdSql.Data.Client.Native .Marshalers |
FbDatabaseTraceConfiguration | 0 | 0 | 18 | FirebirdSql.Data.Services |
SqlStringParser | 0.52 | 0.58 | 26 | FirebirdSql.Data.Isql |
SkipClause | 0.25 | 0.33 | 7 | FirebirdSql.Data.Entity |
JoinSymbol | 0.78 | 0.88 | 13 | FirebirdSql.Data.Entity |
FirstClause | 0.25 | 0.33 | 7 | FirebirdSql.Data.Entity |
FirstClause | 0.25 | 0.33 | 7 | FirebirdSql.Data.EntityFramework6.SqlGen |
JoinSymbol | 0.78 | 0.88 | 13 | FirebirdSql.Data.EntityFramework6.SqlGen |
SkipClause | 0.25 | 0.33 | 7 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbConnectionPoolManager+Pool+Item | 0.33 | 0.5 | 2 | FirebirdSql.Data.FirebirdClient |
FbProviderServices | 0 | 0 | 105 | FirebirdSql.Data.FirebirdClient |
FbScript | 0.58 | 0.7 | 40 | FirebirdSql.Data.Isql |
FbCharset | - | - | 0 | FirebirdSql.Data.FirebirdClient |
FbServiceState | - | - | 0 | FirebirdSql.Data.Services |
ServiceOutputEventArgs | 0 | 0 | 1 | FirebirdSql.Data.Services |
GdsDatabase | 0 | 0 | 13 | FirebirdSql.Data.Client.Managed .Version13 |
FesServiceManager | 0.55 | 0.61 | 13 | FirebirdSql.Data.Client.Native |
GdsStatement | 0 | 0 | 29 | FirebirdSql.Data.Client.Managed .Version13 |
SSPIHelper+SecBufferDesc | 0.33 | 0.44 | 14 | FirebirdSql.Data.Client.Managed .Version11 |
SSPIHelper+SecInteger | 0 | 0 | 0 | FirebirdSql.Data.Client.Managed .Version11 |
SSPIHelper+SecHandle | 0 | 0 | 2 | FirebirdSql.Data.Client.Managed .Version11 |
FetchResponse | 0.33 | 0.5 | 1 | FirebirdSql.Data.Client.Managed |
FbCommandBuilder | 0.96 | 1 | 71 | FirebirdSql.Data.FirebirdClient |
DmlSqlGenerator | 0 | 0 | 63 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbRowUpdatingEventArgs | 0 | 0 | 4 | FirebirdSql.Data.FirebirdClient |
BlobParameterBuffer | 0 | 0 | 2 | FirebirdSql.Data.Common |
SSPIHelper | 0.79 | 0.84 | 16 | FirebirdSql.Data.Client.Managed .Version11 |
XSQLVAR | 1 | 0 | 1 | FirebirdSql.Data.Client.Native .Marshalers |
XSQLDA | 0 | 0 | 0 | FirebirdSql.Data.Client.Native .Marshalers |
GdsEventManager | 0.54 | 0.65 | 31 | FirebirdSql.Data.Client.Managed .Version10 |
UnknownStatementEventArgs | 0 | 0 | 2 | FirebirdSql.Data.Isql |
FesTransaction+IscTeb | 0 | 0 | 0 | FirebirdSql.Data.Client.Native |
FesStatement | 0.83 | 0.85 | 70 | FirebirdSql.Data.Client.Native |
FbRemoteEventEventArgs | 0.5 | 0.67 | 1 | FirebirdSql.Data.FirebirdClient |
TypeHelpers | 0 | 0 | 4 | FirebirdSql.Data.Entity |
TypeHelpers | 0 | 0 | 4 | FirebirdSql.Data.EntityFramework6 |
FbConnectionPoolManager+Pool | 0.51 | 0.56 | 52 | FirebirdSql.Data.FirebirdClient |
TimeoutHelper | 0 | 0 | 1 | FirebirdSql.Data.Common |
DmlSqlGenerator | 0 | 0 | 63 | FirebirdSql.Data.Entity |
FbBatchExecution | 0.76 | 0.81 | 69 | FirebirdSql.Data.Isql |
FbServerProperties | 0 | 0 | 12 | FirebirdSql.Data.Services |
FbSchemaFactory | 0 | 0 | 52 | FirebirdSql.Data.Schema |
FbEnlistmentNotification | 0.48 | 0.56 | 22 | FirebirdSql.Data.FirebirdClient |
FesBlob | 0.38 | 0.42 | 33 | FirebirdSql.Data.Client.Native |
FesArray | 0.61 | 0.65 | 68 | FirebirdSql.Data.Client.Native |
XsqldaMarshaler | 0 | 0 | 81 | FirebirdSql.Data.Client.Native .Marshalers |
ProtocolsSupported | 0 | 0 | 1 | FirebirdSql.Data.Client.Managed |
SrpClient | 0 | 0 | 39 | FirebirdSql.Data.Client.Managed |
FirebirdClientFactory | 0 | 0 | 12 | FirebirdSql.Data.FirebirdClient |
FbInfoMessageEventArgs | 0.33 | 0.5 | 11 | FirebirdSql.Data.FirebirdClient |
FbConnectionPoolManager | 0.53 | 0.59 | 32 | FirebirdSql.Data.FirebirdClient |
CommandExecutedEventArgs | 0 | 0 | 2 | FirebirdSql.Data.Isql |
CommandExecutingEventArgs | 0 | 0 | 2 | FirebirdSql.Data.Isql |
ExpressionTranslator | 0.93 | 0.95 | 41 | FirebirdSql.Data.EntityFramework6.SqlGen |
ExpressionTranslator | 0.93 | 0.95 | 41 | FirebirdSql.Data.Entity |
ArrayDescMarshaler | 0 | 0 | 28 | FirebirdSql.Data.Client.Native .Marshalers |
FbViews | 0 | 0 | 20 | FirebirdSql.Data.Schema |
FbUniqueKeys | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbIndexColumns | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbPrimaryKeys | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbIndexes | 0 | 0 | 24 | FirebirdSql.Data.Schema |
FbProcedurePrivilegesSchema | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbFunctions | 0 | 0 | 20 | FirebirdSql.Data.Schema |
FbProcedures | 0 | 0 | 20 | FirebirdSql.Data.Schema |
FbCharacterSets | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbRoles | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbTableConstraints | 0 | 0 | 10 | FirebirdSql.Data.Schema |
FbCheckConstraints | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbTablePrivileges | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbTables | 0 | 0 | 24 | FirebirdSql.Data.Schema |
FbChecksByTable | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbCollations | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbGenerators | 0 | 0 | 20 | FirebirdSql.Data.Schema |
FbColumnPrivileges | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbColumns | 0 | 0 | 31 | FirebirdSql.Data.Schema |
FbProcedureParameters | 0 | 0 | 30 | FirebirdSql.Data.Schema |
FbDomains | 0 | 0 | 30 | FirebirdSql.Data.Schema |
FbTriggers | 0 | 0 | 20 | FirebirdSql.Data.Schema |
FbViewPrivileges | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbForeignKeyColumns | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbForeignKeys | 0 | 0 | 7 | FirebirdSql.Data.Schema |
FbViewColumns | 0 | 0 | 31 | FirebirdSql.Data.Schema |
SsdlToFb+GenerateColumnResult | 0 | 0 | 1 | FirebirdSql.Data.Entity |
TraceHelper | 0 | 0 | 7 | FirebirdSql.Data.Common |
SsdlToFb+GenerateColumnResult | 0 | 0 | 1 | FirebirdSql.Data.EntityFramework6 |
GdsBlob | 0.38 | 0.42 | 29 | FirebirdSql.Data.Client.Managed .Version10 |
GdsArray | 0.73 | 0.76 | 95 | FirebirdSql.Data.Client.Managed .Version10 |
FbRowUpdatedEventArgs | 0 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
SqlGenerator+FunctionHandler | - | - | 0 | FirebirdSql.Data.Entity |
SqlSelectStatement | 0.89 | 0.94 | 36 | FirebirdSql.Data.Entity |
SymbolPair | 0.67 | 0.8 | 2 | FirebirdSql.Data.Entity |
SymbolTable | 0 | 0 | 11 | FirebirdSql.Data.Entity |
SqlGenerator+FunctionHandler | - | - | 0 | FirebirdSql.Data.EntityFramework6.SqlGen |
SymbolTable | 0 | 0 | 11 | FirebirdSql.Data.EntityFramework6.SqlGen |
SymbolPair | 0.67 | 0.8 | 2 | FirebirdSql.Data.EntityFramework6.SqlGen |
SqlSelectStatement | 0.89 | 0.94 | 36 | FirebirdSql.Data.EntityFramework6.SqlGen |
FbProviderManifest | 0.86 | 0.92 | 55 | FirebirdSql.Data.FirebirdClient |
SsdlToFb | 0 | 0 | 63 | FirebirdSql.Data.Entity |
FbProviderServices | 0 | 0 | 113 | FirebirdSql.Data.EntityFramework6 |
FbMigrationsTransactionsInterceptor | 0 | 0 | 15 | FirebirdSql.Data.EntityFramework6 |
FbConnectionFactory | 0 | 0 | 8 | FirebirdSql.Data.EntityFramework6 |
FbProviderManifest | 0.87 | 0.93 | 49 | FirebirdSql.Data.EntityFramework6 |
SsdlToFb | 0 | 0 | 63 | FirebirdSql.Data.EntityFramework6 |
FbMigrationSqlGenerator+<>o__51 | 0 | 0 | 0 | FirebirdSql.Data.EntityFramework6 |
FbMigrationSqlGenerator+<>o__31 | 0 | 0 | 0 | FirebirdSql.Data.EntityFramework6 |
FbMigrationSqlGenerator+<>o__11 | 0 | 0 | 0 | FirebirdSql.Data.EntityFramework6 |
DefaultFbMigrationSqlGeneratorBehavior | 0 | 0 | 13 | FirebirdSql.Data.EntityFramework6 |
FbTrace | 0 | 0 | 20 | FirebirdSql.Data.Services |
FbRemoteEvent | 0.61 | 0.67 | 38 | FirebirdSql.Data.FirebirdClient |
FbValidation | 0.25 | 0.33 | 16 | FirebirdSql.Data.Services |
VersionInfo | 0 | 0 | 0 | FirebirdSql.Data.FirebirdClient .Properties |
FirebirdClientPermissionAttribute | 0 | 0 | 3 | FirebirdSql.Data.FirebirdClient |
FbStatistical | 0.25 | 0.33 | 14 | FirebirdSql.Data.Services |
FbRestore | 0.4 | 0.5 | 25 | FirebirdSql.Data.Services |
FbConfiguration | 0 | 0 | 15 | FirebirdSql.Data.Services |
FbSecurity | 0 | 0 | 23 | FirebirdSql.Data.Services |
FbDatabaseInfo | 0.91 | 0.93 | 9 | FirebirdSql.Data.FirebirdClient |
VersionInfo | 0 | 0 | 0 | FirebirdSql.Data.EntityFramework6 .Properties |
FbNRestore | 0 | 0 | 16 | FirebirdSql.Data.Services |
FbNBackup | 0.25 | 0.33 | 15 | FirebirdSql.Data.Services |
FbClient | 0 | 0 | 1 | FirebirdSql.Data.Client.Native |
FbStreamingRestore | 0.5 | 0.6 | 27 | FirebirdSql.Data.Services |
IscCodes | 0 | 0 | 0 | FirebirdSql.Data.Common |
FbStreamingBackup | 0 | 0 | 16 | FirebirdSql.Data.Services |
FbBackup | 0 | 0 | 23 | FirebirdSql.Data.Services |
FbLog | 0 | 0 | 10 | FirebirdSql.Data.Services |
Namespaces Metrics
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 |
---|---|---|---|---|---|---|---|---|
FirebirdSql.Data.Services | 933 | 5134 | 35 | 34 | 3 | - | 2 | 13 |
FirebirdSql.Data.Schema | 795 | 6721 | 28 | 108 | 11 | - | 1 | 12 |
FirebirdSql.Data.Isql | 554 | 3783 | 9 | 347 | 38 | - | 2 | 13 |
FirebirdSql.Data.Entity | 1888 | 11564 | 18 | 1362 | 41 | - | 1 | 18 |
FirebirdSql.Data.Common | 1328 | 20932 | 39 | 2815 | 67 | - | 13 | 18 |
FirebirdSql.Data.FirebirdClient | 2620 | 18703 | 35 | 221 | 7 | - | 7 | 42 |
FirebirdSql.Data.FirebirdClient .Properties | 0 | 0 | 1 | - | - | - | 0 | 1 |
FirebirdSql.Data.Client.Native | 777 | 4917 | 11 | 182 | 18 | - | 2 | 18 |
FirebirdSql.Data.Client.Native .Marshalers | 167 | 1243 | 6 | 22 | 11 | - | 1 | 4 |
FirebirdSql.Data.Client.Native.Handle | 36 | 193 | 6 | 8 | 18 | - | 1 | 4 |
FirebirdSql.Data.Client.Managed | 417 | 2671 | 9 | 19 | 4 | - | 5 | 15 |
FirebirdSql.Data.Client.Managed .Version10 | 1138 | 7274 | 7 | 95 | 7 | - | 5 | 15 |
FirebirdSql.Data.Client.Managed .Version13 | 55 | 360 | 2 | 0 | 0 | - | 1 | 10 |
FirebirdSql.Data.Client.Managed .Version12 | 54 | 344 | 2 | 7 | 11 | - | 2 | 8 |
FirebirdSql.Data.Client.Managed .Version11 | 214 | 1254 | 9 | 78 | 26 | - | 4 | 10 |
FirebirdSql.Data.EntityFramework6 | 906 | 9487 | 14 | 7 | 0 | - | 1 | 33 |
FirebirdSql.Data.EntityFramework6 .Properties | 0 | 0 | 1 | 0 | 0 | - | 0 | 1 |
FirebirdSql.Data.EntityFramework6.SqlGen | 1704 | 9967 | 14 | - | - | - | 1 | 18 |
Project Rules | 77619 |
|
Code Quality | 193 |
|
Critical Rule warning: Types too big - critical |
• How to Fix Violations: Types with many lines of code should be split in a group of smaller types. To refactor a God Class you'll need patience, and you might even need to recreate everything from scratch. Here are a few advices: • Think before pulling out methods: on what data does this method operate? What responsibility does it have? • Try to maintain the interface of the god class at first and delegate calls to the new extracted classes. In the end the god class should be a pure facade without own logic. Then you can keep it for convenience or throw it away and start to use the new classes only. • Unit Tests can help: write tests for each method before extracting it to ensure you don't break functionality.
2 types matched
types | # lines of code (LOC) | # IL instructions | Methods | Fields | Full Name |
---|---|---|---|---|---|
SqlGenerator | 1 250 | 7 387 | 146 methods | 13 fields | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator |
SqlGenerator | 1 237 | 7 329 | 145 methods | 13 fields | FirebirdSql.Data.Entity.SqlGenerator |
Critical Rule warning: Methods too complex - critical |
• How to Fix Violations: A large and complex method should be split in smaller methods, or even one or several classes can be created for that. During this process it is important to question the scope of each variable local to the method. This can be an indication if such local variable will become an instance field of the newly created class(es). Large switch…case structures might be refactored through the help of a set of types that implement a common interface, the interface polymorphism playing the role of the switch cases tests. Unit Tests can help: write tests for each method before extracting it to ensure you don't break functionality.
23 methods matched
methods | Cyclomatic Complexity (CC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | Full Name |
---|---|---|---|---|
GetStatementType(String) | 123 | 114 | 5 | FirebirdSql.Data.Isql.FbScript .GetStatementType(String) |
Execute(Boolean) | 95 | 32 | 8 | FirebirdSql.Data.Isql.FbBatchExecution .Execute(Boolean) |
Update(DataRow[],DataTableMapping) | 48 | 59 | 9 | FirebirdSql.Data.FirebirdClient .FbDataAdapter.Update(DataRow[] ,DataTableMapping) |
ParseDatabaseInfo(Byte[]) | 42 | 48 | 5 | FirebirdSql.Data.Common.IscHelper .ParseDatabaseInfo(Byte[]) |
GetStoreType(TypeUsage) | 38 | 55 | 4 | FirebirdSql.Data.FirebirdClient .FbProviderManifest.GetStoreType (TypeUsage) |
GetStoreType(TypeUsage) | 38 | 55 | 4 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest.GetStoreType (TypeUsage) |
GetDbDataTypeFromSqlType(Int32,Int32 ,Int32,Nullable<Int32>,Charset) | 35 | 44 | 16 | FirebirdSql.Data.Common.TypeHelper .GetDbDataTypeFromSqlType(Int32,Int32 ,Int32,Nullable<Int32>,Charset) |
ProcessQuery(Byte[],Action<Boolean ,Object>) | 33 | 19 | 4 | FirebirdSql.Data.Services.FbService .ProcessQuery(Byte[],Action<Boolean ,Object>) |
PrepareCollection(FbConnection,String ,String[]) | 28 | 64 | 26 | FirebirdSql.Data.Schema.FbSchemaFactory .PrepareCollection(FbConnection,String ,String[]) |
GetEdmType(TypeUsage) | 28 | 48 | 16 | FirebirdSql.Data.FirebirdClient .FbProviderManifest.GetEdmType(TypeUsage ) |
GetEdmType(TypeUsage) | 28 | 48 | 16 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest.GetEdmType(TypeUsage ) |
SetValue(Byte[]) | 26 | 36 | 15 | FirebirdSql.Data.Common.DbField.SetValue (Byte[]) |
IsCompatible(SqlSelectStatement ,DbExpressionKind) | 23 | 25 | 9 | FirebirdSql.Data.Entity.SqlGenerator .IsCompatible(SqlSelectStatement ,DbExpressionKind) |
IsCompatible(SqlSelectStatement ,DbExpressionKind) | 23 | 25 | 9 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsCompatible (SqlSelectStatement,DbExpressionKind) |
Load(String) | 19 | 31 | 7 | FirebirdSql.Data.FirebirdClient .FbConnectionString.Load(String) |
GetBytes(XSQLVAR) | 19 | 14 | 15 | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler.GetBytes (XSQLVAR) |
ToBlrArray() | 18 | 29 | 17 | FirebirdSql.Data.Common.Descriptor .ToBlrArray() |
VisitExpressionEnsureSqlStatement (DbExpression,Boolean) | 16 | 13 | 7 | FirebirdSql.Data.Entity.SqlGenerator .VisitExpressionEnsureSqlStatement (DbExpression,Boolean) |
VisitExpressionEnsureSqlStatement (DbExpression,Boolean) | 16 | 13 | 7 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .VisitExpressionEnsureSqlStatement (DbExpression,Boolean) |
Generate(AlterColumnOperation) | 10 | 70 | 10 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (AlterColumnOperation) |
Generate(AddColumnOperation) | 9 | 35 | 7 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (AddColumnOperation) |
GetIsolationLevel(String) | 9 | 20 | 8 | FirebirdSql.Data.FirebirdClient .FbConnectionString.GetIsolationLevel (String) |
CheckIsolationLevel() | 9 | 13 | 7 | FirebirdSql.Data.FirebirdClient .FbConnectionString.CheckIsolationLevel( ) |
Critical Rule warning: Methods with too many parameters - critical |
• How to Fix Violations: More properties/fields can be added to the declaring type to handle numerous states. An alternative is to provide a class or a structure dedicated to handle arguments passing. For example see the class System.Diagnostics.ProcessStartInfo and the method System.Diagnostics.Process.Start(ProcessStartInfo).
6 methods matched
methods | # Parameters | Full Name |
---|---|---|
InitializeSecurityContext (SSPIHelper+SecHandle&,IntPtr,String ,Int32,Int32,Int32,IntPtr,Int32 ,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) | 12 | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .InitializeSecurityContext (SSPIHelper+SecHandle&,IntPtr,String ,Int32,Int32,Int32,IntPtr,Int32 ,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) |
InitializeSecurityContext (SSPIHelper+SecHandle& ,SSPIHelper+SecHandle&,String,Int32 ,Int32,Int32,SSPIHelper+SecBufferDesc& ,Int32,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) | 12 | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .InitializeSecurityContext (SSPIHelper+SecHandle& ,SSPIHelper+SecHandle&,String,Int32 ,Int32,Int32,SSPIHelper+SecBufferDesc& ,Int32,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) |
.ctor(String,FbDbType,Int32 ,ParameterDirection,Boolean,Byte,Byte ,String,DataRowVersion,Object) | 10 | FirebirdSql.Data.FirebirdClient .FbParameter..ctor(String,FbDbType,Int32 ,ParameterDirection,Boolean,Byte,Byte ,String,DataRowVersion,Object) |
isc_service_query(IntPtr[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | 9 | FirebirdSql.Data.Client.Native.IFbClient .isc_service_query(IntPtr[],Int32& ,Int32&,Int16,Byte[],Int16,Byte[],Int16 ,Byte[]) |
isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | 9 | FirebirdSql.Data.Client.Native.FbClient .isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) |
AcquireCredentialsHandle(String,String ,Int32,IntPtr,IntPtr,Int32,IntPtr ,SSPIHelper+SecHandle& ,SSPIHelper+SecInteger&) | 9 | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .AcquireCredentialsHandle(String,String ,Int32,IntPtr,IntPtr,Int32,IntPtr ,SSPIHelper+SecHandle& ,SSPIHelper+SecInteger&) |
Rule warning: Quick summary of methods to refactor |
• How to Fix Violations: To refactor such method and increase code quality and maintainability, certainly you'll have to split the method into several smaller methods or even create one or several classes to implement the logic. During this process it is important to question the scope of each variable local to the method. This can be an indication if such local variable will become an instance field of the newly created class(es). Large switch…case structures might be refactored through the help of a set of types that implement a common interface, the interface polymorphism playing the role of the switch cases tests. Unit Tests can help: write tests for each method before extracting it to ensure you don't break functionality.
333 methods matched
methods | # lines of code (LOC) | # IL instructions | Cyclomatic Complexity (CC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | # Parameters | # Variables | # Overloads | Full Name |
---|---|---|---|---|---|---|---|---|---|
ToString() | 66 | 425 | 4 | 5 | 1 | 0 | 1 | 1 | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration.ToString() |
ProcessQuery(Byte[],Action<Boolean ,Object>) | 59 | 245 | 33 | 19 | 4 | 2 | 12 | 1 | FirebirdSql.Data.Services.FbService .ProcessQuery(Byte[],Action<Boolean ,Object>) |
ParseServerConfig(Byte[],Int32&) | 48 | 156 | 21 | 23 | 2 | 2 | 3 | 1 | FirebirdSql.Data.Services.FbService .ParseServerConfig(Byte[],Int32&) |
ParseUserData(Byte[],Int32&) | 36 | 201 | 8 | 10 | 2 | 2 | 4 | 1 | FirebirdSql.Data.Services.FbService .ParseUserData(Byte[],Int32&) |
ProcessResult(DataTable) | 38 | 282 | 15 | 24 | 3 | 1 | 6 | 1 | FirebirdSql.Data.Schema.FbColumns .ProcessResult(DataTable) |
BuildCommand(FbConnection,String ,String[]) | 16 | 123 | 8 | 10 | 5 | 3 | 9 | 1 | FirebirdSql.Data.Schema.FbSchema .BuildCommand(FbConnection,String ,String[]) |
PrepareCollection(FbConnection,String ,String[]) | 56 | 361 | 28 | 64 | 26 | 3 | 1 | 1 | FirebirdSql.Data.Schema.FbSchemaFactory .PrepareCollection(FbConnection,String ,String[]) |
ProcessResult(DataTable) | 35 | 260 | 13 | 21 | 3 | 1 | 5 | 1 | FirebirdSql.Data.Schema.FbDomains .ProcessResult(DataTable) |
ProcessResult(DataTable) | 38 | 265 | 15 | 24 | 3 | 1 | 6 | 1 | FirebirdSql.Data.Schema .FbProcedureParameters.ProcessResult (DataTable) |
ParseRestrictions(String[]) | 13 | 77 | 8 | 10 | 6 | 1 | 1 | 1 | FirebirdSql.Data.Schema .FbTableConstraints.ParseRestrictions (String[]) |
ProcessResult(DataTable) | 36 | 270 | 14 | 22 | 3 | 1 | 5 | 1 | FirebirdSql.Data.Schema.FbViewColumns .ProcessResult(DataTable) |
Execute(Boolean) | 77 | 435 | 95 | 32 | 8 | 1 | 4 | 1 | FirebirdSql.Data.Isql.FbBatchExecution .Execute(Boolean) |
CreateDatabase(String) | 35 | 211 | 10 | 14 | 5 | 1 | 3 | 1 | FirebirdSql.Data.Isql.FbBatchExecution .CreateDatabase(String) |
GetStatementType(String) | 179 | 1 104 | 123 | 114 | 5 | 1 | 0 | 1 | FirebirdSql.Data.Isql.FbScript .GetStatementType(String) |
Parse() | 44 | 522 | 15 | 50 | 3 | 0 | 0 | 1 | FirebirdSql.Data.Isql.SqlStringParser .Parse() |
GenerateInsertSql(DbInsertCommandTree ,List<DbParameter>&,Boolean) | 32 | 166 | 6 | 15 | 3 | 3 | 5 | 1 | FirebirdSql.Data.Entity.DmlSqlGenerator .GenerateInsertSql(DbInsertCommandTree ,List<DbParameter>&,Boolean) |
GenerateReturningSql(StringBuilder ,DbModificationCommandTree ,ExpressionTranslator,DbExpression) | 67 | 351 | 13 | 30 | 3 | 4 | 9 | 1 | FirebirdSql.Data.Entity.DmlSqlGenerator .GenerateReturningSql(StringBuilder ,DbModificationCommandTree ,ExpressionTranslator,DbExpression) |
Visit(DbApplyExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbApplyExpression) |
Visit(DbArithmeticExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbArithmeticExpression) |
Visit(DbCaseExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbCaseExpression) |
Visit(DbCastExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbCastExpression) |
Visit(DbCrossJoinExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbCrossJoinExpression) |
Visit(DbDerefExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbDerefExpression) |
Visit(DbDistinctExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbDistinctExpression) |
Visit(DbElementExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbElementExpression) |
Visit(DbEntityRefExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbEntityRefExpression) |
Visit(DbExceptExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbExceptExpression) |
Visit(DbExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit(DbExpression ) |
Visit(DbFilterExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbFilterExpression) |
Visit(DbFunctionExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbFunctionExpression) |
Visit(DbGroupByExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbGroupByExpression) |
Visit(DbIntersectExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbIntersectExpression) |
Visit(DbIsEmptyExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbIsEmptyExpression) |
Visit(DbIsOfExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbIsOfExpression) |
Visit(DbJoinExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbJoinExpression) |
Visit(DbLikeExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbLikeExpression) |
Visit(DbLimitExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbLimitExpression) |
Visit(DbOfTypeExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbOfTypeExpression) |
Visit(DbParameterReferenceExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbParameterReferenceExpression) |
Visit(DbProjectExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbProjectExpression) |
Visit(DbQuantifierExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbQuantifierExpression) |
Visit(DbRefExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbRefExpression) |
Visit(DbRefKeyExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbRefKeyExpression) |
Visit(DbRelationshipNavigationExpression ) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbRelationshipNavigationExpression) |
Visit(DbSkipExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbSkipExpression) |
Visit(DbSortExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbSortExpression) |
Visit(DbTreatExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbTreatExpression) |
Visit(DbUnionAllExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbUnionAllExpression) |
Visit(DbVariableReferenceExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbVariableReferenceExpression) |
Visit(DbAndExpression) | 1 | 7 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbAndExpression) |
Visit(DbOrExpression) | 1 | 7 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbOrExpression) |
Visit(DbComparisonExpression) | 3 | 21 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbComparisonExpression) |
Visit(DbIsNullExpression) | 2 | 12 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbIsNullExpression) |
Visit(DbNotExpression) | 3 | 16 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbNotExpression) |
Visit(DbConstantExpression) | 6 | 47 | 2 | 5 | 2 | 1 | 3 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbConstantExpression) |
Visit(DbScanExpression) | 1 | 9 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbScanExpression) |
Visit(DbPropertyExpression) | 1 | 9 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbPropertyExpression) |
Visit(DbNullExpression) | 1 | 7 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbNullExpression) |
Visit(DbNewInstanceExpression) | 9 | 45 | 3 | 7 | 2 | 1 | 2 | 42 | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbNewInstanceExpression) |
InitializeCanonicalFunctionHandlers() | 89 | 722 | 27 | 53 | 1 | 0 | 1 | 1 | FirebirdSql.Data.Entity.SqlGenerator .InitializeCanonicalFunctionHandlers() |
Visit(DbAndExpression) | 1 | 12 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbAndExpression) |
Visit(DbApplyExpression) | 11 | 45 | 4 | 5 | 2 | 1 | 2 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbApplyExpression) |
Visit(DbArithmeticExpression) | 24 | 139 | 8 | 10 | 4 | 1 | 1 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbArithmeticExpression) |
Visit(DbCaseExpression) | 15 | 96 | 4 | 6 | 1 | 1 | 2 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbCaseExpression) |
Visit(DbCastExpression) | 10 | 42 | 2 | 1 | 0 | 1 | 2 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbCastExpression) |
Visit(DbComparisonExpression) | 9 | 93 | 8 | 10 | 6 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbComparisonExpression) |
Visit(DbConstantExpression) | 65 | 319 | 21 | 25 | 4 | 1 | 10 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbConstantExpression) |
Visit(DbDerefExpression) | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbDerefExpression) |
Visit(DbDistinctExpression) | 7 | 46 | 2 | 2 | 1 | 1 | 3 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbDistinctExpression) |
Visit(DbElementExpression) | 5 | 23 | 1 | 1 | 0 | 1 | 1 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbElementExpression) |
Visit(DbExceptExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbExceptExpression) |
Visit(DbExpression) | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbExpression) |
Visit(DbScanExpression) | 8 | 34 | 2 | 3 | 1 | 1 | 3 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbScanExpression) |
Visit(DbFilterExpression) | 1 | 12 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbFilterExpression) |
Visit(DbFunctionExpression) | 5 | 32 | 3 | 4 | 1 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbFunctionExpression) |
Visit(DbEntityRefExpression) | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbEntityRefExpression) |
Visit(DbRefKeyExpression) | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbRefKeyExpression) |
Visit(DbGroupByExpression) | 79 | 411 | 7 | 18 | 2 | 1 | 19 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbGroupByExpression) |
Visit(DbIntersectExpression) | 1 | 4 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbIntersectExpression) |
Visit(DbIsEmptyExpression) | 1 | 9 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbIsEmptyExpression) |
Visit(DbIsNullExpression) | 1 | 9 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbIsNullExpression) |
Visit(DbIsOfExpression) | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbIsOfExpression) |
Visit(DbCrossJoinExpression) | 1 | 13 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbCrossJoinExpression) |
Visit(DbJoinExpression) | 14 | 56 | 5 | 6 | 3 | 1 | 2 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbJoinExpression) |
Visit(DbLikeExpression) | 11 | 73 | 4 | 5 | 1 | 1 | 1 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbLikeExpression) |
Visit(DbLimitExpression) | 9 | 67 | 3 | 4 | 1 | 1 | 4 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbLimitExpression) |
Visit(DbNewInstanceExpression) | 3 | 17 | 2 | 3 | 1 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbNewInstanceExpression) |
Visit(DbNotExpression) | 18 | 103 | 6 | 7 | 2 | 1 | 5 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbNotExpression) |
Visit(DbNullExpression) | 3 | 12 | 1 | 1 | 0 | 1 | 1 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbNullExpression) |
Visit(DbOfTypeExpression) | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbOfTypeExpression) |
Visit(DbOrExpression) | 1 | 12 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbOrExpression) |
Visit(DbParameterReferenceExpression) | 11 | 51 | 3 | 3 | 1 | 1 | 2 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbParameterReferenceExpression) |
Visit(DbProjectExpression) | 14 | 97 | 3 | 4 | 1 | 1 | 4 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbProjectExpression) |
Visit(DbPropertyExpression) | 31 | 165 | 7 | 8 | 2 | 1 | 7 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbPropertyExpression) |
Visit(DbQuantifierExpression) | 12 | 67 | 3 | 4 | 1 | 1 | 3 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbQuantifierExpression) |
Visit(DbRefExpression) | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbRefExpression) |
Visit(DbRelationshipNavigationExpression ) | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit (DbRelationshipNavigationExpression) |
Visit(DbSkipExpression) | 16 | 107 | 3 | 4 | 1 | 1 | 5 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbSkipExpression) |
Visit(DbSortExpression) | 11 | 74 | 2 | 2 | 1 | 1 | 3 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbSortExpression) |
Visit(DbTreatExpression) | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 42 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbTreatExpression) |
Rule warning: Methods too big |
• How to Fix Violations: Usually too big methods should be split in smaller methods. But long methods with no branch conditions, that typically initialize some data, are not necessarily a problem to maintain nor to test, and might not need refactoring.
73 methods matched
methods | # lines of code (LOC) | # IL instructions | Full Name |
---|---|---|---|
GetStatementType(String) | 179 | 1 104 | FirebirdSql.Data.Isql.FbScript .GetStatementType(String) |
Update(DataRow[],DataTableMapping) | 90 | 524 | FirebirdSql.Data.FirebirdClient .FbDataAdapter.Update(DataRow[] ,DataTableMapping) |
ParseDatabaseInfo(Byte[]) | 90 | 517 | FirebirdSql.Data.Common.IscHelper .ParseDatabaseInfo(Byte[]) |
InitializeCanonicalFunctionHandlers() | 89 | 722 | FirebirdSql.Data.Entity.SqlGenerator .InitializeCanonicalFunctionHandlers() |
InitializeCanonicalFunctionHandlers() | 89 | 722 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .InitializeCanonicalFunctionHandlers() |
ParseTruncSqlInfo(Byte[],Byte[] ,Descriptor[]&) | 87 | 503 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ParseTruncSqlInfo(Byte[],Byte[] ,Descriptor[]&) |
Visit(DbGroupByExpression) | 79 | 411 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbGroupByExpression) |
Visit(DbGroupByExpression) | 79 | 411 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbGroupByExpression) |
Execute(Boolean) | 77 | 435 | FirebirdSql.Data.Isql.FbBatchExecution .Execute(Boolean) |
DecodeSlice(Byte[]) | 76 | 403 | FirebirdSql.Data.Client.Native.FesArray .DecodeSlice(Byte[]) |
Generate(AlterColumnOperation) | 72 | 830 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (AlterColumnOperation) |
GetSchemaTable() | 68 | 444 | FirebirdSql.Data.FirebirdClient .FbDataReader.GetSchemaTable() |
GenerateReturningSql(StringBuilder ,DbModificationCommandTree ,ExpressionTranslator,DbExpression) | 67 | 351 | FirebirdSql.Data.Entity.DmlSqlGenerator .GenerateReturningSql(StringBuilder ,DbModificationCommandTree ,ExpressionTranslator,DbExpression) |
GenerateReturningSql(StringBuilder ,DbModificationCommandTree ,ExpressionTranslator,DbExpression) | 67 | 351 | FirebirdSql.Data.EntityFramework6.SqlGen .DmlSqlGenerator.GenerateReturningSql (StringBuilder,DbModificationCommandTree ,ExpressionTranslator,DbExpression) |
ToString() | 66 | 425 | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration.ToString() |
Visit(DbConstantExpression) | 65 | 319 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbConstantExpression) |
Visit(DbConstantExpression) | 65 | 319 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbConstantExpression ) |
WriteSql(SqlWriter,SqlGenerator) | 63 | 408 | FirebirdSql.Data.Entity .SqlSelectStatement.WriteSql(SqlWriter ,SqlGenerator) |
WriteSql(SqlWriter,SqlGenerator) | 63 | 408 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement.WriteSql(SqlWriter ,SqlGenerator) |
ToBlrArray() | 63 | 350 | FirebirdSql.Data.Common.Descriptor .ToBlrArray() |
EncodeSlice(ArrayDesc,Array,Int32) | 60 | 302 | FirebirdSql.Data.Client.Native.FesArray .EncodeSlice(ArrayDesc,Array,Int32) |
ProcessQuery(Byte[],Action<Boolean ,Object>) | 59 | 245 | FirebirdSql.Data.Services.FbService .ProcessQuery(Byte[],Action<Boolean ,Object>) |
GetStoreType(TypeUsage) | 56 | 432 | FirebirdSql.Data.FirebirdClient .FbProviderManifest.GetStoreType (TypeUsage) |
GetStoreType(TypeUsage) | 56 | 432 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest.GetStoreType (TypeUsage) |
PrepareCollection(FbConnection,String ,String[]) | 56 | 361 | FirebirdSql.Data.Schema.FbSchemaFactory .PrepareCollection(FbConnection,String ,String[]) |
GetSupportedCharsets() | 55 | 480 | FirebirdSql.Data.Common.Charset .GetSupportedCharsets() |
DecodeSlice(Byte[]) | 50 | 270 | FirebirdSql.Data.Client.Managed .Version10.GdsArray.DecodeSlice(Byte[]) |
BuildTpb(FbTransactionOptions) | 48 | 326 | FirebirdSql.Data.FirebirdClient .FbTransaction.BuildTpb (FbTransactionOptions) |
ParseServerConfig(Byte[],Int32&) | 48 | 156 | FirebirdSql.Data.Services.FbService .ParseServerConfig(Byte[],Int32&) |
GetEdmType(TypeUsage) | 47 | 377 | FirebirdSql.Data.FirebirdClient .FbProviderManifest.GetEdmType(TypeUsage ) |
GetEdmType(TypeUsage) | 47 | 377 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest.GetEdmType(TypeUsage ) |
GetBytes() | 47 | 317 | FirebirdSql.Data.Common.DbValue.GetBytes () |
GetSqlPrimitiveType(TypeUsage) | 47 | 191 | FirebirdSql.Data.Entity.SqlGenerator .GetSqlPrimitiveType(TypeUsage) |
GetSqlPrimitiveType(TypeUsage) | 47 | 191 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.GetSqlPrimitiveType (TypeUsage) |
CreateIdentityForColumn(String,String) | 46 | 444 | FirebirdSql.Data.EntityFramework6 .DefaultFbMigrationSqlGeneratorBehavior .CreateIdentityForColumn(String,String) |
AddColumns(SqlSelectStatement,Symbol ,List<Symbol>,Dictionary<String,Symbol> ,String&) | 45 | 262 | FirebirdSql.Data.Entity.SqlGenerator .AddColumns(SqlSelectStatement,Symbol ,List<Symbol>,Dictionary<String,Symbol> ,String&) |
AddColumns(SqlSelectStatement,Symbol ,List<Symbol>,Dictionary<String,Symbol> ,String&) | 45 | 262 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.AddColumns (SqlSelectStatement,Symbol,List<Symbol> ,Dictionary<String,Symbol>,String&) |
Parse() | 44 | 522 | FirebirdSql.Data.Isql.SqlStringParser .Parse() |
GetDbDataTypeFromSqlType(Int32,Int32 ,Int32,Nullable<Int32>,Charset) | 44 | 301 | FirebirdSql.Data.Common.TypeHelper .GetDbDataTypeFromSqlType(Int32,Int32 ,Int32,Nullable<Int32>,Charset) |
Generate(CreateTableOperation) | 43 | 508 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (CreateTableOperation) |
UpdateParameterValues() | 43 | 293 | FirebirdSql.Data.FirebirdClient .FbCommand.UpdateParameterValues() |
Identify(String) | 42 | 231 | FirebirdSql.Data.Client.Managed .GdsConnection.Identify(String) |
Tables(StoreItemCollection) | 41 | 450 | FirebirdSql.Data.Entity.SsdlToFb.Tables (StoreItemCollection) |
Tables(StoreItemCollection) | 41 | 450 | FirebirdSql.Data.EntityFramework6 .SsdlToFb.Tables(StoreItemCollection) |
WriteRawParameter(XdrStream,DbField) | 41 | 244 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .WriteRawParameter(XdrStream,DbField) |
SetValue(Byte[]) | 39 | 337 | FirebirdSql.Data.Common.DbField.SetValue (Byte[]) |
MarshalXSQLVARNativeToManaged(IntPtr ,XSQLVAR,Boolean) | 39 | 272 | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler .MarshalXSQLVARNativeToManaged(IntPtr ,XSQLVAR,Boolean) |
ProcessJoinInputResult(ISqlFragment ,SqlSelectStatement,DbExpressionBinding ,Int32) | 39 | 238 | FirebirdSql.Data.Entity.SqlGenerator .ProcessJoinInputResult(ISqlFragment ,SqlSelectStatement,DbExpressionBinding ,Int32) |
ProcessJoinInputResult(ISqlFragment ,SqlSelectStatement,DbExpressionBinding ,Int32) | 39 | 238 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.ProcessJoinInputResult (ISqlFragment,SqlSelectStatement ,DbExpressionBinding,Int32) |
ProcessResult(DataTable) | 38 | 282 | FirebirdSql.Data.Schema.FbColumns .ProcessResult(DataTable) |
ProcessResult(DataTable) | 38 | 265 | FirebirdSql.Data.Schema .FbProcedureParameters.ProcessResult (DataTable) |
EncodeSliceArray(Array) | 37 | 169 | FirebirdSql.Data.Client.Managed .Version10.GdsArray.EncodeSliceArray (Array) |
GenerateSDL(ArrayDesc) | 36 | 288 | FirebirdSql.Data.Client.Managed .Version10.GdsArray.GenerateSDL (ArrayDesc) |
ProcessResult(DataTable) | 36 | 270 | FirebirdSql.Data.Schema.FbViewColumns .ProcessResult(DataTable) |
ParseUserData(Byte[],Int32&) | 36 | 201 | FirebirdSql.Data.Services.FbService .ParseUserData(Byte[],Int32&) |
ParseStatusVector(IntPtr[],Charset) | 36 | 200 | FirebirdSql.Data.Client.Native .FesConnection.ParseStatusVector (IntPtr[],Charset) |
ProcessResult(DataTable) | 35 | 260 | FirebirdSql.Data.Schema.FbDomains .ProcessResult(DataTable) |
CreateDatabase(String) | 35 | 211 | FirebirdSql.Data.Isql.FbBatchExecution .CreateDatabase(String) |
ParseConnectionInfo(String) | 34 | 196 | FirebirdSql.Data.FirebirdClient .FbConnectionString.ParseConnectionInfo (String) |
VisitJoinExpression(IList <DbExpressionBinding>,DbExpressionKind ,String,DbExpression) | 34 | 190 | FirebirdSql.Data.Entity.SqlGenerator .VisitJoinExpression(IList <DbExpressionBinding>,DbExpressionKind ,String,DbExpression) |
VisitJoinExpression(IList <DbExpressionBinding>,DbExpressionKind ,String,DbExpression) | 34 | 190 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.VisitJoinExpression(IList <DbExpressionBinding>,DbExpressionKind ,String,DbExpression) |
GetSqlTypeFromDbDataType(DbDataType ,Boolean) | 34 | 68 | FirebirdSql.Data.Common.TypeHelper .GetSqlTypeFromDbDataType(DbDataType ,Boolean) |
ParseNamedParameters(String) | 33 | 181 | FirebirdSql.Data.FirebirdClient .FbCommand.ParseNamedParameters(String) |
Generate(ProcedureOperation,String) | 32 | 367 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (ProcedureOperation,String) |
GenerateInsertSql(DbInsertCommandTree ,List<DbParameter>&,Boolean) | 32 | 166 | FirebirdSql.Data.Entity.DmlSqlGenerator .GenerateInsertSql(DbInsertCommandTree ,List<DbParameter>&,Boolean) |
GenerateInsertSql(DbInsertCommandTree ,List<DbParameter>&,Boolean) | 32 | 166 | FirebirdSql.Data.EntityFramework6.SqlGen .DmlSqlGenerator.GenerateInsertSql (DbInsertCommandTree,List<DbParameter>& ,Boolean) |
Fetch() | 31 | 227 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement.Fetch() |
GenerateMethod(TypeBuilder,MethodInfo ,String) | 31 | 196 | FirebirdSql.Data.Client.Native .FbClientFactory.GenerateMethod (TypeBuilder,MethodInfo,String) |
Execute() | 31 | 192 | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Execute() |
VisitCollectionConstructor (DbNewInstanceExpression) | 31 | 173 | FirebirdSql.Data.Entity.SqlGenerator .VisitCollectionConstructor (DbNewInstanceExpression) |
VisitCollectionConstructor (DbNewInstanceExpression) | 31 | 173 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.VisitCollectionConstructor (DbNewInstanceExpression) |
Visit(DbPropertyExpression) | 31 | 165 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbPropertyExpression) |
Visit(DbPropertyExpression) | 31 | 165 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbPropertyExpression ) |
Rule warning: Methods too complex |
• How to Fix Violations: A large and complex method should be split in smaller methods, or even one or several classes can be created for that. During this process it is important to question the scope of each variable local to the method. This can be an indication if such local variable will become an instance field of the newly created class(es). Large switch…case structures might be refactored through the help of a set of types that implement a common interface, the interface polymorphism playing the role of the switch cases tests. Unit Tests can help: write tests for each method before extracting it to ensure you don't break functionality.
75 methods matched
methods | Cyclomatic Complexity (CC) | IL Cyclomatic Complexity (ILCC) | IL Nesting Depth | Full Name |
---|---|---|---|---|
GetStatementType(String) | 123 | 114 | 5 | FirebirdSql.Data.Isql.FbScript .GetStatementType(String) |
Execute(Boolean) | 95 | 32 | 8 | FirebirdSql.Data.Isql.FbBatchExecution .Execute(Boolean) |
Update(DataRow[],DataTableMapping) | 48 | 59 | 9 | FirebirdSql.Data.FirebirdClient .FbDataAdapter.Update(DataRow[] ,DataTableMapping) |
ParseDatabaseInfo(Byte[]) | 42 | 48 | 5 | FirebirdSql.Data.Common.IscHelper .ParseDatabaseInfo(Byte[]) |
GetStoreType(TypeUsage) | 38 | 55 | 4 | FirebirdSql.Data.FirebirdClient .FbProviderManifest.GetStoreType (TypeUsage) |
GetStoreType(TypeUsage) | 38 | 55 | 4 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest.GetStoreType (TypeUsage) |
GetDbDataTypeFromSqlType(Int32,Int32 ,Int32,Nullable<Int32>,Charset) | 35 | 44 | 16 | FirebirdSql.Data.Common.TypeHelper .GetDbDataTypeFromSqlType(Int32,Int32 ,Int32,Nullable<Int32>,Charset) |
ProcessQuery(Byte[],Action<Boolean ,Object>) | 33 | 19 | 4 | FirebirdSql.Data.Services.FbService .ProcessQuery(Byte[],Action<Boolean ,Object>) |
WriteSql(SqlWriter,SqlGenerator) | 29 | 42 | 5 | FirebirdSql.Data.Entity .SqlSelectStatement.WriteSql(SqlWriter ,SqlGenerator) |
WriteSql(SqlWriter,SqlGenerator) | 29 | 42 | 5 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement.WriteSql(SqlWriter ,SqlGenerator) |
PrepareCollection(FbConnection,String ,String[]) | 28 | 64 | 26 | FirebirdSql.Data.Schema.FbSchemaFactory .PrepareCollection(FbConnection,String ,String[]) |
GetEdmType(TypeUsage) | 28 | 48 | 16 | FirebirdSql.Data.FirebirdClient .FbProviderManifest.GetEdmType(TypeUsage ) |
GetEdmType(TypeUsage) | 28 | 48 | 16 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest.GetEdmType(TypeUsage ) |
GetBytes() | 28 | 30 | 2 | FirebirdSql.Data.Common.DbValue.GetBytes () |
InitializeCanonicalFunctionHandlers() | 27 | 53 | 1 | FirebirdSql.Data.Entity.SqlGenerator .InitializeCanonicalFunctionHandlers() |
InitializeCanonicalFunctionHandlers() | 27 | 53 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .InitializeCanonicalFunctionHandlers() |
SetValue(Byte[]) | 26 | 36 | 15 | FirebirdSql.Data.Common.DbField.SetValue (Byte[]) |
EncodeSlice(ArrayDesc,Array,Int32) | 26 | 35 | 6 | FirebirdSql.Data.Client.Native.FesArray .EncodeSlice(ArrayDesc,Array,Int32) |
ParseTruncSqlInfo(Byte[],Byte[] ,Descriptor[]&) | 26 | 31 | 6 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ParseTruncSqlInfo(Byte[],Byte[] ,Descriptor[]&) |
WriteRawParameter(XdrStream,DbField) | 26 | 27 | 3 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .WriteRawParameter(XdrStream,DbField) |
GetSupportedCharsets() | 25 | 49 | 1 | FirebirdSql.Data.Common.Charset .GetSupportedCharsets() |
ReadRawValue(DbField) | 24 | 23 | 2 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement.ReadRawValue (DbField) |
GetDbDataTypeFromDbType(DbType) | 24 | 17 | 1 | FirebirdSql.Data.Common.TypeHelper .GetDbDataTypeFromDbType(DbType) |
GetSqlPrimitiveType(TypeUsage) | 23 | 31 | 3 | FirebirdSql.Data.Entity.SqlGenerator .GetSqlPrimitiveType(TypeUsage) |
GetSqlPrimitiveType(TypeUsage) | 23 | 31 | 3 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.GetSqlPrimitiveType (TypeUsage) |
DecodeSlice(Byte[]) | 23 | 29 | 6 | FirebirdSql.Data.Client.Native.FesArray .DecodeSlice(Byte[]) |
IsCompatible(SqlSelectStatement ,DbExpressionKind) | 23 | 25 | 9 | FirebirdSql.Data.Entity.SqlGenerator .IsCompatible(SqlSelectStatement ,DbExpressionKind) |
IsCompatible(SqlSelectStatement ,DbExpressionKind) | 23 | 25 | 9 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsCompatible (SqlSelectStatement,DbExpressionKind) |
SetFbDbType(Object) | 22 | 17 | 1 | FirebirdSql.Data.FirebirdClient .FbParameter.SetFbDbType(Object) |
Visit(DbConstantExpression) | 21 | 25 | 4 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbConstantExpression) |
Visit(DbConstantExpression) | 21 | 25 | 4 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbConstantExpression ) |
BuildTpb(FbTransactionOptions) | 21 | 25 | 2 | FirebirdSql.Data.FirebirdClient .FbTransaction.BuildTpb (FbTransactionOptions) |
ParseServerConfig(Byte[],Int32&) | 21 | 23 | 2 | FirebirdSql.Data.Services.FbService .ParseServerConfig(Byte[],Int32&) |
FixNull() | 21 | 17 | 2 | FirebirdSql.Data.Common.DbField.FixNull( ) |
GetSqlTypeFromBlrType(Int32) | 21 | 17 | 1 | FirebirdSql.Data.Common.TypeHelper .GetSqlTypeFromBlrType(Int32) |
Load(String) | 19 | 31 | 7 | FirebirdSql.Data.FirebirdClient .FbConnectionString.Load(String) |
Validate() | 19 | 16 | 5 | FirebirdSql.Data.FirebirdClient .FbConnectionString.Validate() |
GetBytes(XSQLVAR) | 19 | 14 | 15 | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler.GetBytes (XSQLVAR) |
ToBlrArray() | 18 | 29 | 17 | FirebirdSql.Data.Common.Descriptor .ToBlrArray() |
UpdateParameterValues() | 17 | 25 | 6 | FirebirdSql.Data.FirebirdClient .FbCommand.UpdateParameterValues() |
BuildParameterDescriptor(Descriptor ,FbParameter,Int32) | 17 | 22 | 5 | FirebirdSql.Data.FirebirdClient .FbCommand.BuildParameterDescriptor (Descriptor,FbParameter,Int32) |
GetCommandText(String[]) | 16 | 20 | 5 | FirebirdSql.Data.Schema.FbTables .GetCommandText(String[]) |
VisitExpressionEnsureSqlStatement (DbExpression,Boolean) | 16 | 13 | 7 | FirebirdSql.Data.Entity.SqlGenerator .VisitExpressionEnsureSqlStatement (DbExpression,Boolean) |
VisitExpressionEnsureSqlStatement (DbExpression,Boolean) | 16 | 13 | 7 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .VisitExpressionEnsureSqlStatement (DbExpression,Boolean) |
Parse() | 15 | 50 | 3 | FirebirdSql.Data.Isql.SqlStringParser .Parse() |
Fetch() | 15 | 27 | 5 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement.Fetch() |
Execute() | 14 | 18 | 5 | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Execute() |
ParseStatusVector(IntPtr[],Charset) | 14 | 16 | 5 | FirebirdSql.Data.Client.Native .FesConnection.ParseStatusVector (IntPtr[],Charset) |
SetOutputParameters(DbValue[]) | 12 | 18 | 6 | FirebirdSql.Data.FirebirdClient .FbCommand.SetOutputParameters(DbValue[] ) |
UpdateParameterValues(IDbCommand ,StatementType,DataRow,DataTableMapping) | 12 | 18 | 6 | FirebirdSql.Data.FirebirdClient .FbDataAdapter.UpdateParameterValues (IDbCommand,StatementType,DataRow ,DataTableMapping) |
ReceiveSliceResponse(ArrayDesc) | 12 | 11 | 5 | FirebirdSql.Data.Client.Managed .Version10.GdsArray.ReceiveSliceResponse (ArrayDesc) |
BuildStoredProcedureSql(String,Boolean) | 11 | 15 | 5 | FirebirdSql.Data.FirebirdClient .FbCommand.BuildStoredProcedureSql (String,Boolean) |
Execute() | 11 | 15 | 5 | FirebirdSql.Data.Client.Managed .Version12.GdsStatement.Execute() |
ThreadHandler(Object) | 11 | 10 | 5 | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager.ThreadHandler (Object) |
Generate(AlterColumnOperation) | 10 | 70 | 10 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (AlterColumnOperation) |
Generate(CreateTableOperation) | 10 | 49 | 6 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (CreateTableOperation) |
CreateDatabase(String) | 10 | 14 | 5 | FirebirdSql.Data.Isql.FbBatchExecution .CreateDatabase(String) |
Tables(StoreItemCollection) | 9 | 45 | 6 | FirebirdSql.Data.Entity.SsdlToFb.Tables (StoreItemCollection) |
Tables(StoreItemCollection) | 9 | 45 | 6 | FirebirdSql.Data.EntityFramework6 .SsdlToFb.Tables(StoreItemCollection) |
Generate(AddColumnOperation) | 9 | 35 | 7 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (AddColumnOperation) |
GetIsolationLevel(String) | 9 | 20 | 8 | FirebirdSql.Data.FirebirdClient .FbConnectionString.GetIsolationLevel (String) |
CheckIsolationLevel() | 9 | 13 | 7 | FirebirdSql.Data.FirebirdClient .FbConnectionString.CheckIsolationLevel( ) |
ReleasePreparedCommands() | 9 | 11 | 5 | FirebirdSql.Data.FirebirdClient .FbConnectionInternal .ReleasePreparedCommands() |
ConnectToDatabase(String) | 8 | 12 | 5 | FirebirdSql.Data.Isql.FbBatchExecution .ConnectToDatabase(String) |
ParseRestrictions(String[]) | 8 | 10 | 6 | FirebirdSql.Data.Schema .FbTableConstraints.ParseRestrictions (String[]) |
Visit(DbComparisonExpression) | 8 | 10 | 6 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbComparisonExpression) |
Visit(DbComparisonExpression) | 8 | 10 | 6 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbComparisonExpression) |
BuildCommand(FbConnection,String ,String[]) | 8 | 10 | 5 | FirebirdSql.Data.Schema.FbSchema .BuildCommand(FbConnection,String ,String[]) |
EncodeDecimal(Decimal,Int32,Int32) | 8 | 8 | 5 | FirebirdSql.Data.Common.TypeEncoder .EncodeDecimal(Decimal,Int32,Int32) |
GetNumericBytes() | 7 | 8 | 5 | FirebirdSql.Data.Common.DbValue .GetNumericBytes() |
ReadDecimal(Int32,Int32) | 7 | 7 | 6 | FirebirdSql.Data.Client.Managed .XdrStream.ReadDecimal(Int32,Int32) |
Write(Decimal,Int32,Int32) | 7 | 7 | 6 | FirebirdSql.Data.Client.Managed .XdrStream.Write(Decimal,Int32,Int32) |
BuildTpb() | 7 | 6 | 5 | FirebirdSql.Data.FirebirdClient .FbTransaction.BuildTpb() |
Generate(HistoryOperation) | 4 | 39 | 6 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (HistoryOperation) |
CreateIdentityForColumn(String,String) | 1 | 28 | 5 | FirebirdSql.Data.EntityFramework6 .DefaultFbMigrationSqlGeneratorBehavior .CreateIdentityForColumn(String,String) |
Rule warning: Methods potentially poorly commented |
• How to Fix Violations: Typically add more comment. But code commenting is subject to controversy. While poorly written and designed code would needs a lot of comment to be understood, clean code doesn't need that much comment, especially if variables and methods are properly named and convey enough information. Unit-Test code can also play the role of code commenting. However, even when writing clean and well-tested code, one will have to write hacks at a point, usually to circumvent some API limitations or bugs. A hack is a non-trivial piece of code, that doesn't make sense at first glance, and that took time and web research to be found. In such situation comments must absolutely be used to express the intention, the need for the hacks and the source where the solution has been found.
97 methods matched
methods | Percentage Comment | # lines of code (LOC) | # lines of comment | Full Name |
---|---|---|---|---|
ToString() | 0 | 66 | 0 | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration.ToString() |
Execute() | 0 | 23 | 0 | FirebirdSql.Data.Services.FbRestore .Execute() |
ProcessQuery(Byte[],Action<Boolean ,Object>) | 0 | 59 | 0 | FirebirdSql.Data.Services.FbService .ProcessQuery(Byte[],Action<Boolean ,Object>) |
ParseServerConfig(Byte[],Int32&) | 0 | 48 | 0 | FirebirdSql.Data.Services.FbService .ParseServerConfig(Byte[],Int32&) |
ParseUserData(Byte[],Int32&) | 0 | 36 | 0 | FirebirdSql.Data.Services.FbService .ParseUserData(Byte[],Int32&) |
PrepareCollection(FbConnection,String ,String[]) | 0 | 56 | 0 | FirebirdSql.Data.Schema.FbSchemaFactory .PrepareCollection(FbConnection,String ,String[]) |
Execute(Boolean) | 0 | 77 | 0 | FirebirdSql.Data.Isql.FbBatchExecution .Execute(Boolean) |
Parse() | 0 | 27 | 0 | FirebirdSql.Data.Isql.FbScript.Parse() |
GetStatementType(String) | 0 | 179 | 0 | FirebirdSql.Data.Isql.FbScript .GetStatementType(String) |
Parse() | 0 | 44 | 0 | FirebirdSql.Data.Isql.SqlStringParser .Parse() |
GetSqlPrimitiveType(TypeUsage) | 0 | 47 | 0 | FirebirdSql.Data.Entity.SqlGenerator .GetSqlPrimitiveType(TypeUsage) |
Tables(StoreItemCollection) | 0 | 41 | 0 | FirebirdSql.Data.Entity.SsdlToFb.Tables (StoreItemCollection) |
SetValue(Byte[]) | 0 | 39 | 0 | FirebirdSql.Data.Common.DbField.SetValue (Byte[]) |
FixNull() | 0 | 25 | 0 | FirebirdSql.Data.Common.DbField.FixNull( ) |
ToBlrArray() | 0 | 63 | 0 | FirebirdSql.Data.Common.Descriptor .ToBlrArray() |
ProcessRecordsAffectedBuffer(Byte[]) | 0 | 28 | 0 | FirebirdSql.Data.Common.StatementBase .ProcessRecordsAffectedBuffer(Byte[]) |
GetSqlTypeFromDbDataType(DbDataType ,Boolean) | 0 | 34 | 0 | FirebirdSql.Data.Common.TypeHelper .GetSqlTypeFromDbDataType(DbDataType ,Boolean) |
PrepareTypeCoercions(DbCommandTree) | 0 | 22 | 0 | FirebirdSql.Data.FirebirdClient .FbProviderServices.PrepareTypeCoercions (DbCommandTree) |
UpdateParameterValues() | 0 | 43 | 0 | FirebirdSql.Data.FirebirdClient .FbCommand.UpdateParameterValues() |
ParseNamedParameters(String) | 0 | 33 | 0 | FirebirdSql.Data.FirebirdClient .FbCommand.ParseNamedParameters(String) |
CreateDatabaseImpl(String,Int32,Boolean ,Boolean) | 0 | 21 | 0 | FirebirdSql.Data.FirebirdClient .FbConnection.CreateDatabaseImpl(String ,Int32,Boolean,Boolean) |
SetFbDbType(Object) | 0 | 30 | 0 | FirebirdSql.Data.FirebirdClient .FbParameter.SetFbDbType(Object) |
BuildTpb(FbTransactionOptions) | 0 | 48 | 0 | FirebirdSql.Data.FirebirdClient .FbTransaction.BuildTpb (FbTransactionOptions) |
ParseStatusVector(IntPtr[],Charset) | 0 | 36 | 0 | FirebirdSql.Data.Client.Native .FesConnection.ParseStatusVector (IntPtr[],Charset) |
MarshalXSQLVARNativeToManaged(IntPtr ,XSQLVAR,Boolean) | 0 | 39 | 0 | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler .MarshalXSQLVARNativeToManaged(IntPtr ,XSQLVAR,Boolean) |
Identify(String) | 0 | 42 | 0 | FirebirdSql.Data.Client.Managed .GdsConnection.Identify(String) |
UserIdentificationData() | 0 | 29 | 0 | FirebirdSql.Data.Client.Managed .GdsConnection.UserIdentificationData() |
ReadStatusVector() | 0 | 21 | 0 | FirebirdSql.Data.Client.Managed .XdrStream.ReadStatusVector() |
EncodeSliceArray(Array) | 0 | 37 | 0 | FirebirdSql.Data.Client.Managed .Version10.GdsArray.EncodeSliceArray (Array) |
GenerateSDL(ArrayDesc) | 0 | 36 | 0 | FirebirdSql.Data.Client.Managed .Version10.GdsArray.GenerateSDL (ArrayDesc) |
WriteRawParameter(XdrStream,DbField) | 0 | 41 | 0 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .WriteRawParameter(XdrStream,DbField) |
ReadRawValue(DbField) | 0 | 23 | 0 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement.ReadRawValue (DbField) |
WriteParameters() | 0 | 22 | 0 | FirebirdSql.Data.Client.Managed .Version13.GdsStatement.WriteParameters( ) |
Tables(StoreItemCollection) | 0 | 41 | 0 | FirebirdSql.Data.EntityFramework6 .SsdlToFb.Tables(StoreItemCollection) |
PrepareTypeCoercions(DbCommandTree) | 0 | 22 | 0 | FirebirdSql.Data.EntityFramework6 .FbProviderServices.PrepareTypeCoercions (DbCommandTree) |
CreateIdentityForColumn(String,String) | 0 | 46 | 0 | FirebirdSql.Data.EntityFramework6 .DefaultFbMigrationSqlGeneratorBehavior .CreateIdentityForColumn(String,String) |
DropIdentityForColumn(String,String) | 0 | 21 | 0 | FirebirdSql.Data.EntityFramework6 .DefaultFbMigrationSqlGeneratorBehavior .DropIdentityForColumn(String,String) |
Generate(CreateTableOperation) | 0 | 43 | 0 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (CreateTableOperation) |
Generate(ProcedureOperation,String) | 0 | 32 | 0 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (ProcedureOperation,String) |
Generate(ColumnModel,String) | 0 | 24 | 0 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (ColumnModel,String) |
GetSqlPrimitiveType(TypeUsage) | 0 | 47 | 0 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.GetSqlPrimitiveType (TypeUsage) |
GenerateReturningSql(StringBuilder ,DbModificationCommandTree ,ExpressionTranslator,DbExpression) | 1 | 67 | 1 | FirebirdSql.Data.Entity.DmlSqlGenerator .GenerateReturningSql(StringBuilder ,DbModificationCommandTree ,ExpressionTranslator,DbExpression) |
EncodeSlice(ArrayDesc,Array,Int32) | 1 | 60 | 1 | FirebirdSql.Data.Client.Native.FesArray .EncodeSlice(ArrayDesc,Array,Int32) |
ParseTruncSqlInfo(Byte[],Byte[] ,Descriptor[]&) | 1 | 87 | 1 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ParseTruncSqlInfo(Byte[],Byte[] ,Descriptor[]&) |
GenerateReturningSql(StringBuilder ,DbModificationCommandTree ,ExpressionTranslator,DbExpression) | 1 | 67 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen .DmlSqlGenerator.GenerateReturningSql (StringBuilder,DbModificationCommandTree ,ExpressionTranslator,DbExpression) |
ProcessResult(DataTable) | 2 | 38 | 1 | FirebirdSql.Data.Schema.FbColumns .ProcessResult(DataTable) |
ProcessResult(DataTable) | 2 | 35 | 1 | FirebirdSql.Data.Schema.FbDomains .ProcessResult(DataTable) |
ProcessResult(DataTable) | 2 | 38 | 1 | FirebirdSql.Data.Schema .FbProcedureParameters.ProcessResult (DataTable) |
ProcessResult(DataTable) | 2 | 36 | 1 | FirebirdSql.Data.Schema.FbViewColumns .ProcessResult(DataTable) |
GetBytes() | 2 | 47 | 1 | FirebirdSql.Data.Common.DbValue.GetBytes () |
GetDbDataTypeFromSqlType(Int32,Int32 ,Int32,Nullable<Int32>,Charset) | 2 | 44 | 1 | FirebirdSql.Data.Common.TypeHelper .GetDbDataTypeFromSqlType(Int32,Int32 ,Int32,Nullable<Int32>,Charset) |
ReceiveSliceResponse(ArrayDesc) | 3 | 29 | 1 | FirebirdSql.Data.Client.Managed .Version10.GdsArray.ReceiveSliceResponse (ArrayDesc) |
Visit(DbArithmeticExpression) | 4 | 24 | 1 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbArithmeticExpression) |
GetSchemaTableStructure() | 4 | 22 | 1 | FirebirdSql.Data.FirebirdClient .FbDataReader.GetSchemaTableStructure() |
Visit(DbArithmeticExpression) | 4 | 24 | 1 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbArithmeticExpression) |
Visit(DbConstantExpression) | 5 | 65 | 4 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbConstantExpression) |
ParseConnectionInfo(String) | 5 | 34 | 2 | FirebirdSql.Data.FirebirdClient .FbConnectionString.ParseConnectionInfo (String) |
DecodeSlice(Byte[]) | 5 | 76 | 4 | FirebirdSql.Data.Client.Native.FesArray .DecodeSlice(Byte[]) |
Generate(AlterColumnOperation) | 5 | 72 | 4 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator.Generate (AlterColumnOperation) |
Visit(DbConstantExpression) | 5 | 65 | 4 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbConstantExpression ) |
DeriveParameters(FbCommand) | 6 | 29 | 2 | FirebirdSql.Data.FirebirdClient .FbCommandBuilder.DeriveParameters (FbCommand) |
GetSchemaTable() | 6 | 68 | 5 | FirebirdSql.Data.FirebirdClient .FbDataReader.GetSchemaTable() |
GetSegment() | 6 | 30 | 2 | FirebirdSql.Data.Client.Managed .Version10.GdsBlob.GetSegment() |
AddUser(FbUserData) | 7 | 25 | 2 | FirebirdSql.Data.Services.FbSecurity .AddUser(FbUserData) |
ModifyUser(FbUserData) | 7 | 24 | 2 | FirebirdSql.Data.Services.FbSecurity .ModifyUser(FbUserData) |
GetEdmType(TypeUsage) | 7 | 47 | 4 | FirebirdSql.Data.FirebirdClient .FbProviderManifest.GetEdmType(TypeUsage ) |
GetEdmType(TypeUsage) | 7 | 47 | 4 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest.GetEdmType(TypeUsage ) |
GenerateInsertSql(DbInsertCommandTree ,List<DbParameter>&,Boolean) | 8 | 32 | 3 | FirebirdSql.Data.Entity.DmlSqlGenerator .GenerateInsertSql(DbInsertCommandTree ,List<DbParameter>&,Boolean) |
VisitCollectionConstructor (DbNewInstanceExpression) | 8 | 31 | 3 | FirebirdSql.Data.Entity.SqlGenerator .VisitCollectionConstructor (DbNewInstanceExpression) |
Fetch() | 8 | 31 | 3 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement.Fetch() |
GenerateInsertSql(DbInsertCommandTree ,List<DbParameter>&,Boolean) | 8 | 32 | 3 | FirebirdSql.Data.EntityFramework6.SqlGen .DmlSqlGenerator.GenerateInsertSql (DbInsertCommandTree,List<DbParameter>& ,Boolean) |
VisitCollectionConstructor (DbNewInstanceExpression) | 8 | 31 | 3 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.VisitCollectionConstructor (DbNewInstanceExpression) |
InitializeCanonicalFunctionHandlers() | 9 | 89 | 9 | FirebirdSql.Data.Entity.SqlGenerator .InitializeCanonicalFunctionHandlers() |
GetStoreType(TypeUsage) | 9 | 56 | 6 | FirebirdSql.Data.FirebirdClient .FbProviderManifest.GetStoreType (TypeUsage) |
GetStoreType(TypeUsage) | 9 | 56 | 6 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest.GetStoreType (TypeUsage) |
InitializeCanonicalFunctionHandlers() | 9 | 89 | 9 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .InitializeCanonicalFunctionHandlers() |
DecodeSlice(Byte[]) | 10 | 50 | 6 | FirebirdSql.Data.Client.Managed .Version10.GdsArray.DecodeSlice(Byte[]) |
Execute() | 11 | 31 | 4 | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Execute() |
Execute() | 13 | 26 | 4 | FirebirdSql.Data.Client.Native .FesStatement.Execute() |
GetCommandText(String[]) | 14 | 23 | 4 | FirebirdSql.Data.Schema.FbTables .GetCommandText(String[]) |
BuildParameterDescriptor(Descriptor ,FbParameter,Int32) | 14 | 30 | 5 | FirebirdSql.Data.FirebirdClient .FbCommand.BuildParameterDescriptor (Descriptor,FbParameter,Int32) |
Open() | 14 | 30 | 5 | FirebirdSql.Data.FirebirdClient .FbConnection.Open() |
Detach() | 14 | 24 | 4 | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase.Detach() |
Visit(DbGroupByExpression) | 15 | 79 | 14 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbGroupByExpression) |
Visit(DbGroupByExpression) | 15 | 79 | 14 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbGroupByExpression) |
CreateDatabase(String) | 16 | 35 | 7 | FirebirdSql.Data.Isql.FbBatchExecution .CreateDatabase(String) |
WriteSql(SqlWriter,SqlGenerator) | 16 | 63 | 12 | FirebirdSql.Data.Entity .SqlSelectStatement.WriteSql(SqlWriter ,SqlGenerator) |
BuildExceptionMessage() | 16 | 30 | 6 | FirebirdSql.Data.Common.IscException .BuildExceptionMessage() |
Prepare(String) | 16 | 30 | 6 | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Prepare(String) |
WriteSql(SqlWriter,SqlGenerator) | 16 | 63 | 12 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement.WriteSql(SqlWriter ,SqlGenerator) |
ConnectToDatabase(String) | 17 | 24 | 5 | FirebirdSql.Data.Isql.FbBatchExecution .ConnectToDatabase(String) |
CreateCommand(DbProviderManifest ,DbCommandTree) | 17 | 28 | 6 | FirebirdSql.Data.FirebirdClient .FbProviderServices.CreateCommand (DbProviderManifest,DbCommandTree) |
Execute() | 17 | 29 | 6 | FirebirdSql.Data.Client.Managed .Version12.GdsStatement.Execute() |
CreateCommand(DbProviderManifest ,DbCommandTree) | 17 | 28 | 6 | FirebirdSql.Data.EntityFramework6 .FbProviderServices.CreateCommand (DbProviderManifest,DbCommandTree) |
GenerateSql(DbCommandTree,List <DbParameter>&,CommandType&) | 18 | 22 | 5 | FirebirdSql.Data.Entity.SqlGenerator .GenerateSql(DbCommandTree,List <DbParameter>&,CommandType&) |
GenerateSql(DbCommandTree,List <DbParameter>&,CommandType&) | 18 | 22 | 5 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.GenerateSql(DbCommandTree ,List<DbParameter>&,CommandType&) |
GetCommandText(String[]) | 19 | 21 | 5 | FirebirdSql.Data.Schema.FbIndexColumns .GetCommandText(String[]) |
Rule warning: Methods with too many parameters |
• How to Fix Violations: More properties/fields can be added to the declaring type to handle numerous states. An alternative is to provide a class or a structure dedicated to handle arguments passing. For example see the class System.Diagnostics.ProcessStartInfo and the method System.Diagnostics.Process.Start(ProcessStartInfo)).
30 methods matched
methods | # Parameters | Full Name |
---|---|---|
InitializeSecurityContext (SSPIHelper+SecHandle&,IntPtr,String ,Int32,Int32,Int32,IntPtr,Int32 ,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) | 12 | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .InitializeSecurityContext (SSPIHelper+SecHandle&,IntPtr,String ,Int32,Int32,Int32,IntPtr,Int32 ,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) |
InitializeSecurityContext (SSPIHelper+SecHandle& ,SSPIHelper+SecHandle&,String,Int32 ,Int32,Int32,SSPIHelper+SecBufferDesc& ,Int32,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) | 12 | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .InitializeSecurityContext (SSPIHelper+SecHandle& ,SSPIHelper+SecHandle&,String,Int32 ,Int32,Int32,SSPIHelper+SecBufferDesc& ,Int32,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) |
.ctor(String,FbDbType,Int32 ,ParameterDirection,Boolean,Byte,Byte ,String,DataRowVersion,Object) | 10 | FirebirdSql.Data.FirebirdClient .FbParameter..ctor(String,FbDbType,Int32 ,ParameterDirection,Boolean,Byte,Byte ,String,DataRowVersion,Object) |
isc_service_query(IntPtr[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | 9 | FirebirdSql.Data.Client.Native.IFbClient .isc_service_query(IntPtr[],Int32& ,Int32&,Int16,Byte[],Int16,Byte[],Int16 ,Byte[]) |
isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | 9 | FirebirdSql.Data.Client.Native.FbClient .isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) |
AcquireCredentialsHandle(String,String ,Int32,IntPtr,IntPtr,Int32,IntPtr ,SSPIHelper+SecHandle& ,SSPIHelper+SecInteger&) | 9 | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .AcquireCredentialsHandle(String,String ,Int32,IntPtr,IntPtr,Int32,IntPtr ,SSPIHelper+SecHandle& ,SSPIHelper+SecInteger&) |
isc_array_get_slice(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,Int64&,IntPtr,Byte[],Int32&) | 7 | FirebirdSql.Data.Client.Native.IFbClient .isc_array_get_slice(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,Int64&,IntPtr,Byte[],Int32&) |
isc_array_put_slice(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,Int64&,IntPtr,Byte[],Int32&) | 7 | FirebirdSql.Data.Client.Native.IFbClient .isc_array_put_slice(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,Int64&,IntPtr,Byte[],Int32&) |
isc_create_blob2(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,BlobHandle&,Int64&,Int16,Byte[]) | 7 | FirebirdSql.Data.Client.Native.IFbClient .isc_create_blob2(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,BlobHandle&,Int64&,Int16,Byte[]) |
isc_open_blob2(IntPtr[],DatabaseHandle& ,TransactionHandle&,BlobHandle&,Int64& ,Int16,Byte[]) | 7 | FirebirdSql.Data.Client.Native.IFbClient .isc_open_blob2(IntPtr[],DatabaseHandle& ,TransactionHandle&,BlobHandle&,Int64& ,Int16,Byte[]) |
isc_create_database(IntPtr[],Int16 ,Byte[],DatabaseHandle&,Int16,Byte[] ,Int16) | 7 | FirebirdSql.Data.Client.Native.IFbClient .isc_create_database(IntPtr[],Int16 ,Byte[],DatabaseHandle&,Int16,Byte[] ,Int16) |
isc_dsql_prepare(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,Byte[],Int16,IntPtr) | 7 | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_prepare(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,Byte[],Int16,IntPtr) |
isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | 7 | FirebirdSql.Data.Client.Native.FbClient .isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | 7 | FirebirdSql.Data.Client.Native.FbClient .isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | 7 | FirebirdSql.Data.Client.Native.FbClient .isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | 7 | FirebirdSql.Data.Client.Native.FbClient .isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_create_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[],Int16) | 7 | FirebirdSql.Data.Client.Native.FbClient .isc_create_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[],Int16) |
isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) | 7 | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) |
isc_attach_database(IntPtr[],Int16 ,Byte[],DatabaseHandle&,Int16,Byte[]) | 6 | FirebirdSql.Data.Client.Native.IFbClient .isc_attach_database(IntPtr[],Int16 ,Byte[],DatabaseHandle&,Int16,Byte[]) |
isc_database_info(IntPtr[] ,DatabaseHandle&,Int16,Byte[],Int16 ,Byte[]) | 6 | FirebirdSql.Data.Client.Native.IFbClient .isc_database_info(IntPtr[] ,DatabaseHandle&,Int16,Byte[],Int16 ,Byte[]) |
isc_dsql_execute2(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,IntPtr,IntPtr) | 6 | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_execute2(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,IntPtr,IntPtr) |
isc_dsql_sql_info(IntPtr[] ,StatementHandle&,Int16,Byte[],Int16 ,Byte[]) | 6 | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_sql_info(IntPtr[] ,StatementHandle&,Int16,Byte[],Int16 ,Byte[]) |
isc_service_attach(IntPtr[],Int16,String ,Int32&,Int16,Byte[]) | 6 | FirebirdSql.Data.Client.Native.IFbClient .isc_service_attach(IntPtr[],Int16 ,String,Int32&,Int16,Byte[]) |
isc_attach_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[]) | 6 | FirebirdSql.Data.Client.Native.FbClient .isc_attach_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[]) |
isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | 6 | FirebirdSql.Data.Client.Native.FbClient .isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) | 6 | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) |
isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | 6 | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) | 6 | FirebirdSql.Data.Client.Native.FbClient .isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) |
GetServerSessionKey(String,String,Byte[] ,BigInteger,BigInteger,BigInteger) | 6 | FirebirdSql.Data.Client.Managed .SrpClient.GetServerSessionKey(String ,String,Byte[],BigInteger,BigInteger ,BigInteger) |
.ctor(String,String,String,Int32,Int32 ,Charset) | 6 | FirebirdSql.Data.Client.Managed .GdsConnection..ctor(String,String ,String,Int32,Int32,Charset) |
Rule warning: Methods with too many local variables |
• How to Fix Violations: To refactor such method and increase code quality and maintainability, certainly you'll have to split the method into several smaller methods or even create one or several classes to implement the logic. During this process it is important to question the scope of each variable local to the method. This can be an indication if such local variable will become an instance field of the newly created class(es).
5 methods matched
methods | # Variables | Full Name |
---|---|---|
DecodeSlice(Byte[]) | 25 | FirebirdSql.Data.Client.Native.FesArray .DecodeSlice(Byte[]) |
Visit(DbGroupByExpression) | 19 | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbGroupByExpression) |
Visit(DbGroupByExpression) | 19 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbGroupByExpression) |
GetStoreType(TypeUsage) | 17 | FirebirdSql.Data.FirebirdClient .FbProviderManifest.GetStoreType (TypeUsage) |
GetStoreType(TypeUsage) | 17 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest.GetStoreType (TypeUsage) |
Rule warning: Methods with too many overloads |
• How to Fix Violations: Typically the too many overloads phenomenon appears when an algorithm takes a various set of in-parameters. Each overload is presented as a facility to provide a various set of in-parameters. In such situation, the C# and VB.NET language feature named Named and Optional arguments should be used. The too many overloads phenomenon can also be a consequence of the usage of the visitor design pattern http://en.wikipedia.org/wiki/Visitor_pattern since a method named Visit() must be provided for each sub type. In such situation there is no need for fix.
215 methods matched
methods | overloads | Full Name |
---|---|---|
Visit(DbAndExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbAndExpression) |
Visit(DbApplyExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbApplyExpression) |
Visit(DbArithmeticExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbArithmeticExpression) |
Visit(DbCaseExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbCaseExpression) |
Visit(DbCastExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbCastExpression) |
Visit(DbComparisonExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbComparisonExpression) |
Visit(DbConstantExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbConstantExpression ) |
Visit(DbDerefExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbDerefExpression) |
Visit(DbDistinctExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbDistinctExpression ) |
Visit(DbElementExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbElementExpression) |
Visit(DbExceptExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbExceptExpression) |
Visit(DbExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbExpression) |
Visit(DbScanExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbScanExpression) |
Visit(DbFilterExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbFilterExpression) |
Visit(DbFunctionExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbFunctionExpression ) |
Visit(DbEntityRefExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbEntityRefExpression) |
Visit(DbRefKeyExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbRefKeyExpression) |
Visit(DbGroupByExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbGroupByExpression) |
Visit(DbIntersectExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbIntersectExpression) |
Visit(DbIsEmptyExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbIsEmptyExpression) |
Visit(DbIsNullExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbIsNullExpression) |
Visit(DbIsOfExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbIsOfExpression) |
Visit(DbCrossJoinExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbCrossJoinExpression) |
Visit(DbJoinExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbJoinExpression) |
Visit(DbLikeExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbLikeExpression) |
Visit(DbLimitExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbLimitExpression) |
Visit(DbNewInstanceExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbNewInstanceExpression) |
Visit(DbNotExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbNotExpression) |
Visit(DbNullExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbNullExpression) |
Visit(DbOfTypeExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbOfTypeExpression) |
Visit(DbOrExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbOrExpression) |
Visit(DbParameterReferenceExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbParameterReferenceExpression) |
Visit(DbProjectExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbProjectExpression) |
Visit(DbPropertyExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbPropertyExpression ) |
Visit(DbQuantifierExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbQuantifierExpression) |
Visit(DbRefExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbRefExpression) |
Visit(DbRelationshipNavigationExpression ) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbRelationshipNavigationExpression) |
Visit(DbSkipExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbSkipExpression) |
Visit(DbSortExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbSortExpression) |
Visit(DbTreatExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbTreatExpression) |
Visit(DbUnionAllExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbUnionAllExpression ) |
Visit(DbVariableReferenceExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit (DbVariableReferenceExpression) |
Visit(DbInExpression) | 43 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.Visit(DbInExpression) |
Visit(DbApplyExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbApplyExpression) |
Visit(DbArithmeticExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbArithmeticExpression) |
Visit(DbCaseExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbCaseExpression) |
Visit(DbCastExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbCastExpression) |
Visit(DbCrossJoinExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbCrossJoinExpression) |
Visit(DbDerefExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbDerefExpression) |
Visit(DbDistinctExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbDistinctExpression) |
Visit(DbElementExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbElementExpression) |
Visit(DbEntityRefExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbEntityRefExpression) |
Visit(DbExceptExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbExceptExpression) |
Visit(DbExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit(DbExpression ) |
Visit(DbFilterExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbFilterExpression) |
Visit(DbFunctionExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbFunctionExpression) |
Visit(DbGroupByExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbGroupByExpression) |
Visit(DbIntersectExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbIntersectExpression) |
Visit(DbIsEmptyExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbIsEmptyExpression) |
Visit(DbIsOfExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbIsOfExpression) |
Visit(DbJoinExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbJoinExpression) |
Visit(DbLikeExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbLikeExpression) |
Visit(DbLimitExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbLimitExpression) |
Visit(DbOfTypeExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbOfTypeExpression) |
Visit(DbParameterReferenceExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbParameterReferenceExpression) |
Visit(DbProjectExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbProjectExpression) |
Visit(DbQuantifierExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbQuantifierExpression) |
Visit(DbRefExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbRefExpression) |
Visit(DbRefKeyExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbRefKeyExpression) |
Visit(DbRelationshipNavigationExpression ) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbRelationshipNavigationExpression) |
Visit(DbSkipExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbSkipExpression) |
Visit(DbSortExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbSortExpression) |
Visit(DbTreatExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbTreatExpression) |
Visit(DbUnionAllExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbUnionAllExpression) |
Visit(DbVariableReferenceExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbVariableReferenceExpression) |
Visit(DbAndExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbAndExpression) |
Visit(DbOrExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbOrExpression) |
Visit(DbComparisonExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbComparisonExpression) |
Visit(DbIsNullExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbIsNullExpression) |
Visit(DbNotExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbNotExpression) |
Visit(DbConstantExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbConstantExpression) |
Visit(DbScanExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbScanExpression) |
Visit(DbPropertyExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbPropertyExpression) |
Visit(DbNullExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbNullExpression) |
Visit(DbNewInstanceExpression) | 42 methods | FirebirdSql.Data.Entity .ExpressionTranslator.Visit (DbNewInstanceExpression) |
Visit(DbAndExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbAndExpression) |
Visit(DbApplyExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbApplyExpression) |
Visit(DbArithmeticExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbArithmeticExpression) |
Visit(DbCaseExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbCaseExpression) |
Visit(DbCastExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbCastExpression) |
Visit(DbComparisonExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbComparisonExpression) |
Visit(DbConstantExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbConstantExpression) |
Visit(DbDerefExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbDerefExpression) |
Visit(DbDistinctExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbDistinctExpression) |
Visit(DbElementExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbElementExpression) |
Visit(DbExceptExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbExceptExpression) |
Visit(DbExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbExpression) |
Visit(DbScanExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbScanExpression) |
Visit(DbFilterExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbFilterExpression) |
Visit(DbFunctionExpression) | 42 methods | FirebirdSql.Data.Entity.SqlGenerator .Visit(DbFunctionExpression) |
Rule warning: Types with too many methods |
• How to Fix Violations: To refactor such type and increase code quality and maintainability, certainly you'll have to split the type into several smaller types that together, implement the same logic. To refactor a God Class you'll need patience, and you might even need to recreate everything from scratch. Here are a few advices: • Think before pulling out methods: What responsibility does it have? Can you isolate some subsets of methods that operate on the same subsets of fields? • Try to maintain the interface of the god class at first and delegate calls to the new extracted classes. In the end the god class should be a pure facade without own logic. Then you can keep it for convenience or throw it away and start to use the new classes only. • Unit Tests can help: write tests for each method before extracting it to ensure you don't break functionality.
22 types matched
types | nbMethods | instanceMethods | staticMethods | Full Name |
---|---|---|---|---|
SqlGenerator | 142 | 84 methods | 58 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator |
SqlGenerator | 141 | 83 methods | 58 methods | FirebirdSql.Data.Entity.SqlGenerator |
XdrStream | 49 | 49 methods | 0 method | FirebirdSql.Data.Client.Managed .XdrStream |
FbMigrationSqlGenerator | 49 | 32 methods | 17 methods | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator |
ExpressionTranslator | 45 | 45 methods | 0 method | FirebirdSql.Data.Entity .ExpressionTranslator |
FbDataReader | 45 | 40 methods | 5 methods | FirebirdSql.Data.FirebirdClient .FbDataReader |
ExpressionTranslator | 45 | 45 methods | 0 method | FirebirdSql.Data.EntityFramework6.SqlGen .ExpressionTranslator |
FbCommand | 44 | 43 methods | 1 method | FirebirdSql.Data.FirebirdClient .FbCommand |
FbParameterCollection | 40 | 40 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbParameterCollection |
GdsDatabase | 40 | 40 methods | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase |
GdsStatement | 37 | 37 methods | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsStatement |
IFbClient | 33 | 33 methods | 0 method | FirebirdSql.Data.Client.Native.IFbClient |
MetadataHelpers | 32 | 0 method | 32 methods | FirebirdSql.Data.Entity.MetadataHelpers |
FbClient | 32 | 0 method | 32 methods | FirebirdSql.Data.Client.Native.FbClient |
MetadataHelpers | 32 | 0 method | 32 methods | FirebirdSql.Data.EntityFramework6 .MetadataHelpers |
FbConnection | 31 | 25 methods | 6 methods | FirebirdSql.Data.FirebirdClient .FbConnection |
FbConnectionInternal | 29 | 29 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionInternal |
StatementBase | 26 | 26 methods | 0 method | FirebirdSql.Data.Common.StatementBase |
FbMigrationsTransactionsInterceptor | 25 | 24 methods | 1 method | FirebirdSql.Data.EntityFramework6 .FbMigrationsTransactionsInterceptor |
DbValue | 23 | 23 methods | 0 method | FirebirdSql.Data.Common.DbValue |
FesDatabase | 22 | 22 methods | 0 method | FirebirdSql.Data.Client.Native .FesDatabase |
FesStatement | 22 | 22 methods | 0 method | FirebirdSql.Data.Client.Native .FesStatement |
Rule warning: Types with poor cohesion |
• How to Fix Violations: To refactor a poorly cohesive type and increase code quality and maintainability, certainly you'll have to split the type into several smaller and more cohesive types that together, implement the same logic.
14 types matched
types | Lack of Cohesion Of Methods (LCOM) | LCOM Henderson-Sellers (LCOMHS) | # Methods | # Fields | Full Name |
---|---|---|---|---|---|
SqlGenerator | 0.97 | 0.97 | 148 | 13 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator |
SqlGenerator | 0.97 | 0.97 | 147 | 13 | FirebirdSql.Data.Entity.SqlGenerator |
GdsDatabase | 0.92 | 0.94 | 60 | 13 | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase |
FbCommand | 0.92 | 0.93 | 80 | 15 | FirebirdSql.Data.FirebirdClient .FbCommand |
DbField | 0.92 | 0.94 | 41 | 13 | FirebirdSql.Data.Common.DbField |
FbDataReader | 0.92 | 0.93 | 53 | 14 | FirebirdSql.Data.FirebirdClient .FbDataReader |
FbParameter | 0.91 | 0.93 | 47 | 16 | FirebirdSql.Data.FirebirdClient .FbParameter |
SqlSelectStatement | 0.89 | 0.94 | 19 | 12 | FirebirdSql.Data.Entity .SqlSelectStatement |
SqlSelectStatement | 0.89 | 0.94 | 19 | 12 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement |
FesDatabase | 0.88 | 0.9 | 39 | 11 | FirebirdSql.Data.Client.Native .FesDatabase |
GdsStatement | 0.87 | 0.88 | 56 | 14 | FirebirdSql.Data.Client.Managed .Version10.GdsStatement |
GdsConnection | 0.86 | 0.91 | 19 | 16 | FirebirdSql.Data.Client.Managed .GdsConnection |
FbConnectionString | 0.83 | 0.85 | 42 | 50 | FirebirdSql.Data.FirebirdClient .FbConnectionString |
FesStatement | 0.83 | 0.85 | 41 | 14 | FirebirdSql.Data.Client.Native .FesStatement |
Object Oriented Design | 490 |
|
Rule warning: Class shouldn't be too deep in inheritance tree |
• How to Fix Violations: In Object-Oriented Programming, a well-known motto is Favor Composition over Inheritance. This is because inheritance comes with pitfalls. In general, the implementation of a derived class is very bound up with the base class implementation. Also a base class exposes implementation details to its derived classes, that's why it's often said that inheritance breaks encapsulation. On the other hands, Composition favors binding with interfaces over binding with implementations. Hence, not only the encapsulation is preserved, but the design is clearer, because interfaces make it explicit and less coupled. Hence, to break a long inheritance chain, Composition is often a powerful way to enhance the design of the refactored underlying logic. You can also read: http://en.wikipedia.org/wiki/Composition_over_inheritance and http://stackoverflow.com/questions/49002/prefer-composition-over-inheritance
3 types matched
types | baseClasses | Depth of inheritance | Full Name |
---|---|---|---|
GdsDatabase | 3 types | 4 | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase |
GdsStatement | 4 types | 5 | FirebirdSql.Data.Client.Managed .Version13.GdsStatement |
GdsStatement | 3 types | 4 | FirebirdSql.Data.Client.Managed .Version12.GdsStatement |
Rule warning: Class with no descendant should be sealed if possible |
• How to Fix Violations: For each matched class, take the time to assess if it is really meant to be subclassed. Certainly most matched class will end up being declared as sealed.
82 types matched
types | # lines of code (LOC) | Full Name |
---|---|---|
FbMigrationSqlGenerator | 346 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator |
FbScript | 219 | FirebirdSql.Data.Isql.FbScript |
FbBatchExecution | 207 | FirebirdSql.Data.Isql.FbBatchExecution |
FbConnectionInternal | 178 | FirebirdSql.Data.FirebirdClient .FbConnectionInternal |
XdrStream | 175 | FirebirdSql.Data.Client.Managed .XdrStream |
FbProviderServices | 147 | FirebirdSql.Data.EntityFramework6 .FbProviderServices |
FbProviderServices | 143 | FirebirdSql.Data.FirebirdClient .FbProviderServices |
FbProviderManifest | 135 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest |
FbProviderManifest | 134 | FirebirdSql.Data.FirebirdClient .FbProviderManifest |
GdsConnection | 131 | FirebirdSql.Data.Client.Managed .GdsConnection |
FbDatabaseTraceConfiguration | 99 | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration |
ExpressionTranslator | 90 | FirebirdSql.Data.Entity .ExpressionTranslator |
ExpressionTranslator | 90 | FirebirdSql.Data.EntityFramework6.SqlGen .ExpressionTranslator |
SqlStringParser | 85 | FirebirdSql.Data.Isql.SqlStringParser |
FbConnectionStringBuilder | 74 | FirebirdSql.Data.FirebirdClient .FbConnectionStringBuilder |
DefaultFbMigrationSqlGeneratorBehavior | 68 | FirebirdSql.Data.EntityFramework6 .DefaultFbMigrationSqlGeneratorBehavior |
RemoteEvent | 62 | FirebirdSql.Data.Common.RemoteEvent |
FbColumns | 55 | FirebirdSql.Data.Schema.FbColumns |
FbProcedureParameters | 55 | FirebirdSql.Data.Schema .FbProcedureParameters |
FbStreamingRestore | 54 | FirebirdSql.Data.Services .FbStreamingRestore |
FbViewColumns | 52 | FirebirdSql.Data.Schema.FbViewColumns |
FbDomains | 49 | FirebirdSql.Data.Schema.FbDomains |
BinaryEncoding | 44 | FirebirdSql.Data.Common.BinaryEncoding |
GdsEventManager | 42 | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager |
FbServerConfig | 39 | FirebirdSql.Data.Services.FbServerConfig |
FbTables | 39 | FirebirdSql.Data.Schema.FbTables |
FbTableConstraints | 38 | FirebirdSql.Data.Schema .FbTableConstraints |
GdsStatement | 38 | FirebirdSql.Data.Client.Managed .Version13.GdsStatement |
FbIndexes | 31 | FirebirdSql.Data.Schema.FbIndexes |
FbServiceTraceConfiguration | 28 | FirebirdSql.Data.Services .FbServiceTraceConfiguration |
FbFunctions | 28 | FirebirdSql.Data.Schema.FbFunctions |
FbGenerators | 28 | FirebirdSql.Data.Schema.FbGenerators |
FbProcedures | 28 | FirebirdSql.Data.Schema.FbProcedures |
FbTriggers | 28 | FirebirdSql.Data.Schema.FbTriggers |
FbViews | 25 | FirebirdSql.Data.Schema.FbViews |
FbIndexColumns | 21 | FirebirdSql.Data.Schema.FbIndexColumns |
FbColumnPrivileges | 20 | FirebirdSql.Data.Schema .FbColumnPrivileges |
FbViewPrivileges | 19 | FirebirdSql.Data.Schema.FbViewPrivileges |
FbForeignKeyColumns | 18 | FirebirdSql.Data.Schema .FbForeignKeyColumns |
FbProcedurePrivilegesSchema | 18 | FirebirdSql.Data.Schema .FbProcedurePrivilegesSchema |
FbTablePrivileges | 18 | FirebirdSql.Data.Schema .FbTablePrivileges |
SqlWriter | 17 | FirebirdSql.Data.Entity.SqlWriter |
GdsDatabase | 17 | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase |
SqlWriter | 17 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlWriter |
FbForeignKeys | 16 | FirebirdSql.Data.Schema.FbForeignKeys |
FbPrimaryKeys | 14 | FirebirdSql.Data.Schema.FbPrimaryKeys |
FbUniqueKeys | 14 | FirebirdSql.Data.Schema.FbUniqueKeys |
FbCharacterSets | 13 | FirebirdSql.Data.Schema.FbCharacterSets |
FbChecksByTable | 13 | FirebirdSql.Data.Schema.FbChecksByTable |
FbCollations | 13 | FirebirdSql.Data.Schema.FbCollations |
CommandExecutedEventArgs | 13 | FirebirdSql.Data.Isql .CommandExecutedEventArgs |
FbTransactionOptions | 13 | FirebirdSql.Data.FirebirdClient .FbTransactionOptions |
FirebirdClientFactory | 13 | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory |
FbCheckConstraints | 12 | FirebirdSql.Data.Schema .FbCheckConstraints |
UnknownStatementEventArgs | 12 | FirebirdSql.Data.Isql .UnknownStatementEventArgs |
FbRoles | 11 | FirebirdSql.Data.Schema.FbRoles |
FirstClause | 11 | FirebirdSql.Data.Entity.FirstClause |
SkipClause | 11 | FirebirdSql.Data.Entity.SkipClause |
FirstClause | 11 | FirebirdSql.Data.EntityFramework6.SqlGen .FirstClause |
SkipClause | 11 | FirebirdSql.Data.EntityFramework6.SqlGen .SkipClause |
FbStatement | 10 | FirebirdSql.Data.Isql.FbStatement |
SymbolPair | 8 | FirebirdSql.Data.Entity.SymbolPair |
BlobHandle | 8 | FirebirdSql.Data.Client.Native.Handle .BlobHandle |
DatabaseHandle | 8 | FirebirdSql.Data.Client.Native.Handle .DatabaseHandle |
StatementHandle | 8 | FirebirdSql.Data.Client.Native.Handle .StatementHandle |
TransactionHandle | 8 | FirebirdSql.Data.Client.Native.Handle .TransactionHandle |
FbConnectionFactory | 8 | FirebirdSql.Data.EntityFramework6 .FbConnectionFactory |
SymbolPair | 8 | FirebirdSql.Data.EntityFramework6.SqlGen .SymbolPair |
FbBackupFile | 7 | FirebirdSql.Data.Services.FbBackupFile |
CommandExecutingEventArgs | 7 | FirebirdSql.Data.Isql .CommandExecutingEventArgs |
ProtocolsSupported+Protocol | 7 | FirebirdSql.Data.Client.Managed .ProtocolsSupported+Protocol |
FbDatabasesInfo | 6 | FirebirdSql.Data.Services .FbDatabasesInfo |
FetchResponse | 5 | FirebirdSql.Data.Client.Managed .FetchResponse |
FbMigrationsTransactionsInterceptor | 5 | FirebirdSql.Data.EntityFramework6 .FbMigrationsTransactionsInterceptor |
SsdlToFb+GenerateColumnResult | 4 | FirebirdSql.Data.Entity .SsdlToFb+GenerateColumnResult |
AuthResponse | 4 | FirebirdSql.Data.Client.Managed .Version11.AuthResponse |
SsdlToFb+GenerateColumnResult | 4 | FirebirdSql.Data.EntityFramework6 .SsdlToFb+GenerateColumnResult |
SqlResponse | 3 | FirebirdSql.Data.Client.Managed .SqlResponse |
FbDatabaseTraceConfigurationCollection | 2 | FirebirdSql.Data.Services .FbDatabaseTraceConfigurationCollection |
FbStatementCollection | 1 | FirebirdSql.Data.Isql .FbStatementCollection |
FbBackupFileCollection | 0 | FirebirdSql.Data.Services .FbBackupFileCollection |
XSQLVAR | 0 | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR |
Rule warning: Overrides of Method() should call base.Method() |
• How to Fix Violations: You should investigate if inheritance is the right choice to bind the base class implementation with the derived classes implementations. Does presenting the method with polymorphic behavior through an interface, would be a better design choice? In such situation, often using the design pattern template method http://en.wikipedia.org/wiki/Template_method_pattern might help improving the design.
26 methods matched
methods | shouldCall | definedInBaseClass | Full Name |
---|---|---|---|
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbColumns .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbDomains .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbFunctions .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbGenerators .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbIndexes .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema .FbProcedureParameters.ProcessResult (DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbProcedures .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbTables .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbTriggers .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbViewColumns .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbViews .ProcessResult(DataTable) |
ParseRestrictions(String[]) | ParseRestrictions(String[]) | FbSchema | FirebirdSql.Data.Schema .FbTableConstraints.ParseRestrictions (String[]) |
AttachWithTrustedAuth (DatabaseParameterBuffer,String,Int32 ,String) | AttachWithTrustedAuth(DatabaseParameterBuffer,String,Int32,String) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version11.GdsDatabase .AttachWithTrustedAuth (DatabaseParameterBuffer,String,Int32 ,String) |
CreateStatement() | CreateStatement() | GdsDatabase | FirebirdSql.Data.Client.Managed .Version11.GdsDatabase.CreateStatement() |
CreateStatement(TransactionBase) | CreateStatement(TransactionBase) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version11.GdsDatabase.CreateStatement (TransactionBase) |
ReleaseObject(Int32,Int32) | ReleaseObject(Int32,Int32) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version11.GdsDatabase.ReleaseObject (Int32,Int32) |
Prepare(String) | Prepare(String) | GdsStatement | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Prepare(String) |
Execute() | Execute() | GdsStatement | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Execute() |
Free(Int32) | Free(Int32) | GdsStatement | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Free(Int32) |
SendAttachToBuffer (DatabaseParameterBuffer,String) | SendAttachToBuffer(DatabaseParameterBuffer,String) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase .SendAttachToBuffer (DatabaseParameterBuffer,String) |
SendCreateToBuffer (DatabaseParameterBuffer,String) | SendCreateToBuffer(DatabaseParameterBuffer,String) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase .SendCreateToBuffer (DatabaseParameterBuffer,String) |
CreateStatement() | CreateStatement() | GdsDatabase | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase.CreateStatement() |
CreateStatement(TransactionBase) | CreateStatement(TransactionBase) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase.CreateStatement (TransactionBase) |
CreateStatement() | CreateStatement() | GdsDatabase | FirebirdSql.Data.Client.Managed .Version12.GdsDatabase.CreateStatement() |
CreateStatement(TransactionBase) | CreateStatement(TransactionBase) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version12.GdsDatabase.CreateStatement (TransactionBase) |
Execute() | Execute() | GdsStatement | FirebirdSql.Data.Client.Managed .Version12.GdsStatement.Execute() |
Rule warning: A stateless class or structure might be turned into a static type |
• How to Fix Violations: Declare all methods as static and transform the class or structure into a static class.
3 types matched
types | Full Name |
---|---|
FbSchemaFactory | FirebirdSql.Data.Schema.FbSchemaFactory |
FbClient | FirebirdSql.Data.Client.Native.FbClient |
FesConnection | FirebirdSql.Data.Client.Native .FesConnection |
Rule warning: Non-static classes should be instantiated or turned to static |
• How to Fix Violations: First it is important to investigate why the class is never instantiated. If the reason is the class hosts only static methods then the class can be safely declared as static. Others reasons like, the class is meant to be instantiated via reflection, or is meant to be instantiated only by client code should lead to adapt this rule code to avoid these matches.
20 types matched
types | Visibility | Full Name |
---|---|---|
FbBackup | Public | FirebirdSql.Data.Services.FbBackup |
FbBackupFile | Public | FirebirdSql.Data.Services.FbBackupFile |
FbConfiguration | Public | FirebirdSql.Data.Services .FbConfiguration |
FbDatabaseTraceConfiguration | Public | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration |
FbStreamingBackup | Public | FirebirdSql.Data.Services .FbStreamingBackup |
FbStreamingRestore | Public | FirebirdSql.Data.Services .FbStreamingRestore |
FbLog | Public | FirebirdSql.Data.Services.FbLog |
FbNBackup | Public | FirebirdSql.Data.Services.FbNBackup |
FbNRestore | Public | FirebirdSql.Data.Services.FbNRestore |
FbRestore | Public | FirebirdSql.Data.Services.FbRestore |
FbSecurity | Public | FirebirdSql.Data.Services.FbSecurity |
FbServiceTraceConfiguration | Public | FirebirdSql.Data.Services .FbServiceTraceConfiguration |
FbStatistical | Public | FirebirdSql.Data.Services.FbStatistical |
FbTrace | Public | FirebirdSql.Data.Services.FbTrace |
FbValidation | Public | FirebirdSql.Data.Services.FbValidation |
FbSchemaFactory | Internal | FirebirdSql.Data.Schema.FbSchemaFactory |
BlobParameterBuffer | Internal | FirebirdSql.Data.Common .BlobParameterBuffer |
FbDatabaseInfo | Public | FirebirdSql.Data.FirebirdClient .FbDatabaseInfo |
FbClient | Internal | FirebirdSql.Data.Client.Native.FbClient |
FesConnection | Internal | FirebirdSql.Data.Client.Native .FesConnection |
Rule warning: Methods should be declared static if possible |
• How to Fix Violations: Declare matched methods as static. Since such method doesn't use any instance fields and methods of its type and base-types, you should consider if it makes sense, to move such a method to a static utility class.
55 methods matched
methods | staticFieldsUsed | Full Name |
---|---|---|
FbShutdownOnlineModeToIscCode (FbShutdownOnlineMode) | 0 field | FirebirdSql.Data.Services .FbConfiguration .FbShutdownOnlineModeToIscCode (FbShutdownOnlineMode) |
SetAutoDdl(String,Boolean&) | 0 field | FirebirdSql.Data.Isql.FbBatchExecution .SetAutoDdl(String,Boolean&) |
GenerateFunctionSql (DbFunctionCommandTree,CommandType&) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .GenerateFunctionSql (DbFunctionCommandTree,CommandType&) |
IsSpecialBuiltInFunction (DbFunctionExpression) | 1 field | FirebirdSql.Data.Entity.SqlGenerator .IsSpecialBuiltInFunction (DbFunctionExpression) |
IsSpecialCanonicalFunction (DbFunctionExpression) | 1 field | FirebirdSql.Data.Entity.SqlGenerator .IsSpecialCanonicalFunction (DbFunctionExpression) |
IsApplyExpression(DbExpression) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .IsApplyExpression(DbExpression) |
IsJoinExpression(DbExpression) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .IsJoinExpression(DbExpression) |
IsComplexExpression(DbExpression) | 1 field | FirebirdSql.Data.Entity.SqlGenerator .IsComplexExpression(DbExpression) |
IsCompatible(SqlSelectStatement ,DbExpressionKind) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .IsCompatible(SqlSelectStatement ,DbExpressionKind) |
WrapNonQueryExtent(SqlSelectStatement ,ISqlFragment,DbExpressionKind) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .WrapNonQueryExtent(SqlSelectStatement ,ISqlFragment,DbExpressionKind) |
WriteFunctionName(SqlBuilder,EdmFunction ) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .WriteFunctionName(SqlBuilder ,EdmFunction) |
BuildDefaultErrorMessage(Int32) | 0 field | FirebirdSql.Data.Common.IscException .BuildDefaultErrorMessage(Int32) |
ProcessRecordsAffectedBuffer(Byte[]) | 0 field | FirebirdSql.Data.Common.StatementBase .ProcessRecordsAffectedBuffer(Byte[]) |
ProcessStatementTypeInfoBuffer(Byte[]) | 0 field | FirebirdSql.Data.Common.StatementBase .ProcessStatementTypeInfoBuffer(Byte[]) |
GetStoreSchemaMapping(String) | 0 field | FirebirdSql.Data.FirebirdClient .FbProviderManifest .GetStoreSchemaMapping(String) |
GetStoreSchemaDescription(String) | 0 field | FirebirdSql.Data.FirebirdClient .FbProviderManifest .GetStoreSchemaDescription(String) |
CreateCommand(DbProviderManifest ,DbCommandTree) | 0 field | FirebirdSql.Data.FirebirdClient .FbProviderServices.CreateCommand (DbProviderManifest,DbCommandTree) |
CreateParameter() | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.CreateParameter() |
EndExecuteNonQuery(IAsyncResult) | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.EndExecuteNonQuery (IAsyncResult) |
EndExecuteReader(IAsyncResult) | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.EndExecuteReader(IAsyncResult ) |
EndExecuteScalar(IAsyncResult) | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.EndExecuteScalar(IAsyncResult ) |
IsNullParameterValue(Object) | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.IsNullParameterValue(Object) |
GetHostingPath() | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionInternal.GetHostingPath() |
GetRealProcessName() | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionInternal.GetRealProcessName () |
GetProcessId() | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionInternal.GetProcessId() |
ExpandDataDirectory(String) | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionString.ExpandDataDirectory (String) |
WrapValueIfNeeded(String) | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionString.WrapValueIfNeeded (String) |
CloseConnections(ICollection <IDbConnection>) | 0 field | FirebirdSql.Data.FirebirdClient .FbDataAdapter.CloseConnections (ICollection<IDbConnection>) |
IsNull(Object) | 0 field | FirebirdSql.Data.FirebirdClient .FbDataAdapter.IsNull(Object) |
EnsureFbParameterType(Object) | 0 field | FirebirdSql.Data.FirebirdClient .FbParameterCollection .EnsureFbParameterType(Object) |
ReleaseParameter(FbParameter) | 0 field | FirebirdSql.Data.FirebirdClient .FbParameterCollection.ReleaseParameter (FbParameter) |
GetServerSessionKey(String,String,Byte[] ,BigInteger,BigInteger,BigInteger) | 2 fields | FirebirdSql.Data.Client.Managed .SrpClient.GetServerSessionKey(String ,String,Byte[],BigInteger,BigInteger ,BigInteger) |
GetSalt() | 0 field | FirebirdSql.Data.Client.Managed .SrpClient.GetSalt() |
GetSecret() | 0 field | FirebirdSql.Data.Client.Managed .SrpClient.GetSecret() |
GetIPAddress(String,AddressFamily) | 0 field | FirebirdSql.Data.Client.Managed .GdsConnection.GetIPAddress(String ,AddressFamily) |
Stuff(BinaryWriter,Int16,Object[]) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsArray.Stuff(BinaryWriter ,Int16,Object[]) |
Stuff(BinaryWriter,Byte[]) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsArray.Stuff(BinaryWriter ,Byte[]) |
ProcessResponse(IResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase.ProcessResponse (IResponse) |
ProcessReleaseObjectResponse(IResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase .ProcessReleaseObjectResponse(IResponse) |
ProcessInfoSqlResponse(GenericResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ProcessInfoSqlResponse(GenericResponse) |
ProcessFreeResponse(IResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ProcessFreeResponse(IResponse) |
ProcessExecuteResponse(GenericResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ProcessExecuteResponse(GenericResponse) |
WriteRawParameter(XdrStream,DbField) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .WriteRawParameter(XdrStream,DbField) |
GetStoreSchemaMapping(String) | 0 field | FirebirdSql.Data.EntityFramework6 .FbProviderManifest .GetStoreSchemaMapping(String) |
GetStoreSchemaDescription(String) | 0 field | FirebirdSql.Data.EntityFramework6 .FbProviderManifest .GetStoreSchemaDescription(String) |
CreateCommand(DbProviderManifest ,DbCommandTree) | 0 field | FirebirdSql.Data.EntityFramework6 .FbProviderServices.CreateCommand (DbProviderManifest,DbCommandTree) |
GenerateFunctionSql (DbFunctionCommandTree,CommandType&) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.GenerateFunctionSql (DbFunctionCommandTree,CommandType&) |
IsSpecialBuiltInFunction (DbFunctionExpression) | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsSpecialBuiltInFunction (DbFunctionExpression) |
IsSpecialCanonicalFunction (DbFunctionExpression) | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsSpecialCanonicalFunction (DbFunctionExpression) |
IsApplyExpression(DbExpression) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsApplyExpression (DbExpression) |
IsJoinExpression(DbExpression) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsJoinExpression (DbExpression) |
IsComplexExpression(DbExpression) | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsComplexExpression (DbExpression) |
IsCompatible(SqlSelectStatement ,DbExpressionKind) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsCompatible (SqlSelectStatement,DbExpressionKind) |
WrapNonQueryExtent(SqlSelectStatement ,ISqlFragment,DbExpressionKind) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.WrapNonQueryExtent (SqlSelectStatement,ISqlFragment ,DbExpressionKind) |
WriteFunctionName(SqlBuilder,EdmFunction ) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.WriteFunctionName (SqlBuilder,EdmFunction) |
Rule warning: Constructor should not call a virtual method |
• How to Fix Violations: Violations reported can be solved by re-designing object initialisation or by declaring the parent class as sealed, if possible.
1 methods matched
method | virtualMethodsCalled | DerivedTypes | Full Name |
---|---|---|---|
.ctor(IDatabase,TransactionBase) | 2 methods | 3 types | FirebirdSql.Data.Client.Managed .Version10.GdsStatement..ctor(IDatabase ,TransactionBase) |
Rule warning: Avoid the Singleton pattern |
• How to Fix Violations: This rule matches the classic syntax of singletons, where one static field hold the single instance of the parent class. We underline that the problem is this particular syntax, that plays against testability. The problem is not the fact that a single instance of the class lives at runtime. Hence to fix matches fo this rule, creates the single instance at the startup of the program, and pass it to all classes and methods that need to access it. If multiple singletons are identified, they actually form together a program execution context. Such context can be unified in a unique singleton context. Doing so will make it easier to propagate the context across the various program units.
1 types matched
type | staticFieldInstance | Full Name |
---|---|---|
FirebirdClientFactory | Instance | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory |
Rule warning: Avoid empty interfaces |
• How to Fix Violations: Remove the interface or add members to it. If the empty interface is being used to label a set of types, replace the interface with a custom attribute.
1 types matched
type | TypesThatImplementMe | Full Name |
---|---|---|
IResponse | 4 types | FirebirdSql.Data.Client.Managed .IResponse |
Design | 490 |
|
Rule warning: Avoid custom delegates |
• How to Fix Violations: Remove custom delegates and replace them with generic delegates shown in the replaceWith column.
4 types matched
types | replaceWith | Full Name |
---|---|---|
SqlGenerator+FunctionHandler | Func<SqlGenerator,DbFunctionExpression,ISqlFragment> | FirebirdSql.Data.Entity .SqlGenerator+FunctionHandler |
RemoteEventCountsCallback | Action | FirebirdSql.Data.Common .RemoteEventCountsCallback |
WarningMessageCallback | Action<IscException> | FirebirdSql.Data.Common .WarningMessageCallback |
SqlGenerator+FunctionHandler | Func<SqlGenerator,DbFunctionExpression,ISqlFragment> | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator+FunctionHandler |
Rule warning: Types with disposable instance fields must be disposable |
• How to Fix Violations: To fix a violation of this rule, implement IDisposable and from the IDisposable.Dispose() method call the Dispose() method of the field(s).
19 types matched
types | instanceFieldsDisposable | Full Name |
---|---|---|
FbStreamingBackup | 1 field | FirebirdSql.Data.Services .FbStreamingBackup |
FbStreamingRestore | 1 field | FirebirdSql.Data.Services .FbStreamingRestore |
CommandExecutedEventArgs | 1 field | FirebirdSql.Data.Isql .CommandExecutedEventArgs |
CommandExecutingEventArgs | 1 field | FirebirdSql.Data.Isql .CommandExecutingEventArgs |
FbBatchExecution | 3 fields | FirebirdSql.Data.Isql.FbBatchExecution |
BlobBase | 1 field | FirebirdSql.Data.Common.BlobBase |
DbValue | 1 field | FirebirdSql.Data.Common.DbValue |
ParameterBuffer | 1 field | FirebirdSql.Data.Common.ParameterBuffer |
RemoteEvent | 1 field | FirebirdSql.Data.Common.RemoteEvent |
FbDatabaseInfo | 1 field | FirebirdSql.Data.FirebirdClient .FbDatabaseInfo |
FbEnlistmentNotification | 3 fields | FirebirdSql.Data.FirebirdClient .FbEnlistmentNotification |
FbRemoteEvent | 1 field | FirebirdSql.Data.FirebirdClient .FbRemoteEvent |
FesArray | 2 fields | FirebirdSql.Data.Client.Native.FesArray |
FesBlob | 2 fields | FirebirdSql.Data.Client.Native.FesBlob |
GdsConnection | 2 fields | FirebirdSql.Data.Client.Managed .GdsConnection |
GdsArray | 2 fields | FirebirdSql.Data.Client.Managed .Version10.GdsArray |
GdsBlob | 1 field | FirebirdSql.Data.Client.Managed .Version10.GdsBlob |
GdsEventManager | 1 field | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager |
GdsServiceManager | 1 field | FirebirdSql.Data.Client.Managed .Version10.GdsServiceManager |
Rule warning: Classes that are candidate to be turned into structures |
• How to Fix Violations: Just use the keyword struct instead of the keyword class. CAUTION: Before applying this rule, make sure to understand the deep implications of transforming a class into a structure. http://msdn.microsoft.com/en-us/library/aa664471(v=vs.71).aspx
18 types matched
types | Size of instance | InstanceFields | Full Name |
---|---|---|---|
FbBackupFile | 9 | 2 fields | FirebirdSql.Data.Services.FbBackupFile |
FbDatabasesInfo | 8 | 2 fields | FirebirdSql.Data.Services .FbDatabasesInfo |
FbStatement | 12 | 3 fields | FirebirdSql.Data.Isql.FbStatement |
FbScript | 12 | 3 fields | FirebirdSql.Data.Isql.FbScript |
SqlStringParser | 12 | 3 fields | FirebirdSql.Data.Isql.SqlStringParser |
SsdlToFb+GenerateColumnResult | 8 | 2 fields | FirebirdSql.Data.Entity .SsdlToFb+GenerateColumnResult |
SymbolTable | 4 | 1 field | FirebirdSql.Data.Entity.SymbolTable |
DbValue | 12 | 3 fields | FirebirdSql.Data.Common.DbValue |
IscError | 16 | 4 fields | FirebirdSql.Data.Common.IscError |
FbTransactionOptions | 13 | 3 fields | FirebirdSql.Data.FirebirdClient .FbTransactionOptions |
FbConnectionString | 5 | 2 fields | FirebirdSql.Data.FirebirdClient .FbConnectionString |
FbDatabaseInfo | 4 | 1 field | FirebirdSql.Data.FirebirdClient .FbDatabaseInfo |
FbError | 13 | 4 fields | FirebirdSql.Data.FirebirdClient.FbError |
FbRemoteEvent | 16 | 4 fields | FirebirdSql.Data.FirebirdClient .FbRemoteEvent |
ProtocolsSupported+Protocol | 12 | 3 fields | FirebirdSql.Data.Client.Managed .ProtocolsSupported+Protocol |
GdsEventManager | 16 | 4 fields | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager |
SsdlToFb+GenerateColumnResult | 8 | 2 fields | FirebirdSql.Data.EntityFramework6 .SsdlToFb+GenerateColumnResult |
SymbolTable | 4 | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SymbolTable |
Rule warning: Avoid namespaces with few types |
• How to Fix Violations: To fix a violation of this rule, try to combine namespaces that contain just a few types into a single namespace.
4 namespaces matched
namespaces | types | Full Name |
---|---|---|
FirebirdSql.Data.EntityFramework6 .Properties | 1 type | FirebirdSql.Data.EntityFramework6 .Properties |
FirebirdSql.Data.FirebirdClient .Properties | 1 type | FirebirdSql.Data.FirebirdClient .Properties |
FirebirdSql.Data.Client.Managed .Version13 | 2 types | FirebirdSql.Data.Client.Managed .Version13 |
FirebirdSql.Data.Client.Managed .Version12 | 2 types | FirebirdSql.Data.Client.Managed .Version12 |
Rule warning: Nested types should not be visible |
• How to Fix Violations: If you do not intend the nested type to be externally visible, change the type's accessibility. Otherwise, remove the nested type from its parent and make it non-nested. If the purpose of the nesting is to group some nested types, use a namespace to create the hierarchy instead.
3 types matched
types | Visibility | Full Name |
---|---|---|
ProtocolsSupported+Protocol | Internal | FirebirdSql.Data.Client.Managed .ProtocolsSupported+Protocol |
SSPIHelper+SecHandle | Public | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle |
SSPIHelper+SecInteger | Public | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecInteger |
Rule warning: Instances size shouldn't be too big |
• How to Fix Violations: A type with a large SizeOInst value hold directly a lot of data. Typically, you can group this data into smaller types that can then be composed.
3 types matched
types | Size of instance | InstanceFields | Full Name |
---|---|---|---|
FbCommandBuilder | 94 | 1 field | FirebirdSql.Data.FirebirdClient .FbCommandBuilder |
FbServerConfig | 76 | 19 fields | FirebirdSql.Data.Services.FbServerConfig |
IscException | 68 | 4 fields | FirebirdSql.Data.Common.IscException |
Rule warning: Don't use obsolete types, methods or fields |
• How to Fix Violations: Typically when a code element is tagged with System.ObsoleteAttribute, a workaround message is provided to clients. This workaround message will tell you what to do to avoid using the obsolete code element.
1 methods matched
method | obsoleteTypesUsed | obsoleteMethodsUsed | obsoleteFieldsUsed | Full Name |
---|---|---|---|---|
.ctor(PermissionState,Boolean) | 0 type | 1 method | 0 field | FirebirdSql.Data.FirebirdClient .FirebirdClientPermission..ctor (PermissionState,Boolean) |
Rule warning: Don't forget to implement methods that throw NotImplementedException |
• How to Fix Violations: Investigate first why NotImplementedException is still used. Either the method must be implemented, or the method stub is not used and can be safely removed.
3 methods matched
methods | Full Name |
---|---|
SqlCommandSchema(FbConnection,String ,String[]) | FirebirdSql.Data.Schema.FbSchemaFactory .SqlCommandSchema(FbConnection,String ,String[]) |
Execute(Boolean) | FirebirdSql.Data.Isql.FbBatchExecution .Execute(Boolean) |
ResetDbType() | FirebirdSql.Data.FirebirdClient .FbParameter.ResetDbType() |
Rule warning: Override equals and operator equals on value types |
• How to Fix Violations: To fix a violation of this rule, provide an implementation of Equals() and implement the equality and inequality operators.
10 types matched
types | Full Name |
---|---|
ArrayBound | FirebirdSql.Data.Common.ArrayBound |
ArrayDesc | FirebirdSql.Data.Common.ArrayDesc |
FesTransaction+IscTeb | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb |
ArrayBoundMarshal | FirebirdSql.Data.Client.Native .Marshalers.ArrayBoundMarshal |
ArrayDescMarshal | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal |
XSQLDA | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA |
SSPIHelper+SecHandle | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle |
SSPIHelper+SecInteger | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecInteger |
SSPIHelper+SecBuffer | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBuffer |
SSPIHelper+SecBufferDesc | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBufferDesc |
Architecture and Layering | 621 |
|
Critical Rule warning: Avoid namespaces mutually dependent |
• How to Fix Violations: Refactor the code to make sure that the first namespace doesn't use the second namespace. To get started, first explore the coupling between two namespaces mutually dependent: 1) from the right-click menu export the first namespace to the vertical header of the dependency matrix. 2) export the second namespace to the horizontal header of the dependency matrix. 3) double-click the black matrix cell (it is black because of mutual dependency). 4) in the matrix command bar, click the button: Remove empty Row(s) and Column(s). At this point, the dependency matrix shows types involved into the coupling. Some refactoring that helps uncouple two namespaces mutually dependent include: • Moving one or several types from the low-level namespaces to the high-level one, or do the opposite. • Use Inversion of Control (IoC): http://en.wikipedia.org/wiki/Inversion_of_control This can consist in creating new interfaces in the low-level namespace, implemented by classes in the high-level namespace. This way low-level code can consume high-level code through interfaces, without using directly high-level implementations. Interfaces can be passed to low-level code through the high-level namespace code, or through even higher-level code. In related documentations you can see these interfaces named as callbacks, and the overall pattern is also known as Dependency Injection (DI): http://en.wikipedia.org/wiki/Dependency_injection
8 namespaces matched
namespaces | shouldntUseNamespace | OK_typesOfFirstUsedBySecond | KO_typesOfSecondUsedByFirst | Full Name |
---|---|---|---|---|
FirebirdSql.Data.FirebirdClient | FirebirdSql.Data.Services | 3 types | 2 types | FirebirdSql.Data.FirebirdClient |
FirebirdSql.Data.FirebirdClient | FirebirdSql.Data.Schema | 9 types | 1 type | FirebirdSql.Data.FirebirdClient |
FirebirdSql.Data.FirebirdClient | FirebirdSql.Data.Isql | 6 types | 4 types | FirebirdSql.Data.FirebirdClient |
FirebirdSql.Data.Entity | FirebirdSql.Data.FirebirdClient | 4 types | 3 types | FirebirdSql.Data.Entity |
FirebirdSql.Data.Common | FirebirdSql.Data.FirebirdClient | 24 types | 1 type | FirebirdSql.Data.Common |
FirebirdSql.Data.Client.Native.Handle | FirebirdSql.Data.Client.Native | 5 types | 2 types | FirebirdSql.Data.Client.Native.Handle |
FirebirdSql.Data.Client.Managed | FirebirdSql.Data.Client.Managed.Version11 | 5 types | 1 type | FirebirdSql.Data.Client.Managed |
FirebirdSql.Data.EntityFramework6.SqlGen | FirebirdSql.Data.EntityFramework6 | 3 types | 2 types | FirebirdSql.Data.EntityFramework6.SqlGen |
Rule warning: Avoid namespaces dependency cycles |
• How to Fix Violations: Removing first pairs of mutually dependent namespaces will eliminate most namespaces dependency cycles. This is why we suggest focusing on matches of the default rule Avoid namespaces mutually dependent before dealing with the present rule. Once solving all mutually dependent namespaces, remaining cycles matched by the present rule necessarily involve 3 or more namespaces like in: A is using B is using C is using A. Such cycle can be broken by identifying which namespace should be at the lower-level. For example if B should be at the lower-level, then it means C should be at the higher-level and to break the cycle, you just have to remove the dependency from B to C, with a pattern described in the HowToFix section of the rule Avoid namespaces mutually dependent.
2 namespaces matched
namespaces | cycle | Full Name |
---|---|---|
FirebirdSql.Data.Services | 14 namespaces | FirebirdSql.Data.Services |
FirebirdSql.Data.EntityFramework6 | 2 namespaces | FirebirdSql.Data.EntityFramework6 |
Rule warning: Namespaces with poor cohesion (RelationalCohesion) |
• How to Fix Violations: Matches of this present rule might reveal either namespaces with specific coding constraints (like code generated that have particular structure) either issues in design. In the second case, refactoring sessions can be planned to increase the overall design and code maintainability.
1 namespaces matched
namespace | ChildTypes | relationalCohesion | Full Name |
---|---|---|---|
FirebirdSql.Data.Services | 35 types | 1.25 | FirebirdSql.Data.Services |
Dead Code | 202 |
|
Critical Rule warning: Potentially dead Types |
• How to Fix Violations: Static analysis cannot provide an exact list of dead types, because there are several ways to use a type dynamically (like through reflection). For each type matched by this query, first investigate if the type is used somehow (like through reflection). If the type is really never used, it is important to remove it to avoid maintaining useless code. If you estimate the code of the type might be used in the future, at least comment it, and provide an explanatory comment about the future intentions. If a type is used somehow, but still is matched by this rule, you can tag it with the attribute IsNotDeadCodeAttribute found in NDepend.API.dll to avoid matching the type again. You can also provide your own attribute for this need, but then you'll need to adapt this code rule.
1 types matched
type | depth | TypesUsingMe | Full Name |
---|---|---|---|
FbClient | 0 | 0 type | FirebirdSql.Data.Client.Native.FbClient |
Critical Rule warning: Potentially dead Methods |
• How to Fix Violations: Static analysis cannot provide an exact list of dead methods, because there are several ways to invoke a method dynamically (like through reflection). For each method matched by this query, first investigate if the method is invoked somehow (like through reflection). If the method is really never invoked, it is important to remove it to avoid maintaining useless code. If you estimate the code of the method might be used in the future, at least comment it, and provide an explanatory comment about the future intentions. If a method is invoked somehow, but still is matched by this rule, you can tag it with the attribute IsNotDeadCodeAttribute found in NDepend.API.dll to avoid matching the method again. You can also provide your own attribute for this need, but then you'll need to adapt this code rule.
80 methods matched
methods | depth | MethodsCallingMe | Full Name |
---|---|---|---|
.ctor() | 0 | 0 method | FirebirdSql.Data.Schema.FbSchemaFactory. .ctor() |
IsFacetValueConstant(TypeUsage,String) | 0 | 0 method | FirebirdSql.Data.Entity.MetadataHelpers .IsFacetValueConstant(TypeUsage,String) |
GetFacet(IEnumerable<FacetDescription> ,String) | 1 | 1 method | FirebirdSql.Data.Entity.MetadataHelpers .GetFacet(IEnumerable<FacetDescription> ,String) |
IsStoreFunction(EdmFunction) | 0 | 0 method | FirebirdSql.Data.Entity.MetadataHelpers .IsStoreFunction(EdmFunction) |
.ctor(Int32) | 0 | 0 method | FirebirdSql.Data.Entity.SkipClause..ctor (Int32) |
FormatTime(TimeSpan) | 0 | 0 method | FirebirdSql.Data.Entity.SqlGenerator .FormatTime(TimeSpan) |
ByteArrayToBinaryString(Byte[]) | 0 | 0 method | FirebirdSql.Data.Entity.SqlGenerator .ByteArrayToBinaryString(Byte[]) |
get_IsUnnest() | 0 | 0 method | FirebirdSql.Data.Entity.Symbol .get_IsUnnest() |
set_IsUnnest(Boolean) | 0 | 0 method | FirebirdSql.Data.Entity.Symbol .set_IsUnnest(Boolean) |
.ctor() | 0 | 0 method | FirebirdSql.Data.Common .BlobParameterBuffer..ctor() |
IsNumeric() | 0 | 0 method | FirebirdSql.Data.Common.DbField .IsNumeric() |
ForSQLSTATE(String,Exception) | 0 | 0 method | FirebirdSql.Data.Common.IscException .ForSQLSTATE(String,Exception) |
.ctor(SerializationInfo,StreamingContext ) | 0 | 0 method | FirebirdSql.Data.Common.IscException. .ctor(SerializationInfo,StreamingContext ) |
GetSqlInfo(Byte[]) | 0 | 0 method | FirebirdSql.Data.Common.StatementBase .GetSqlInfo(Byte[]) |
get_ActiveReader() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbCommand.get_ActiveReader() |
get_ActiveTransaction() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbCommand.get_ActiveTransaction() |
Verify() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionInternal.Verify() |
.ctor(Boolean) | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionString..ctor(Boolean) |
.ctor() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbDataReader..ctor() |
.ctor(Byte,String,Int32) | 0 | 0 method | FirebirdSql.Data.FirebirdClient.FbError. .ctor(Byte,String,Int32) |
IndexOf(String) | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbErrorCollection.IndexOf(String) |
.ctor() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbException..ctor() |
.ctor(SerializationInfo,StreamingContext ) | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbException..ctor(SerializationInfo ,StreamingContext) |
.ctor(FbConnection) | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbTransaction..ctor(FbConnection) |
.ctor() | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient. .ctor() |
isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) |
isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) |
isc_cancel_blob(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_cancel_blob(Int32[],Int32&) |
isc_close_blob(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_close_blob(Int32[],Int32&) |
isc_attach_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_attach_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[]) |
isc_detach_database(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_detach_database(Int32[],Int32&) |
isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_create_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[],Int16) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_create_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[],Int16) |
isc_drop_database(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_drop_database(Int32[],Int32&) |
isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) |
isc_commit_transaction(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_commit_transaction(Int32[],Int32&) |
isc_commit_retaining(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_commit_retaining(Int32[],Int32&) |
isc_rollback_transaction(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_transaction(Int32[],Int32& ) |
isc_rollback_retaining(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_retaining(Int32[],Int32&) |
isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) |
isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) |
isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) |
isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) |
isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) |
isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_free_statement(Int32[],Int32& ,Int16) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_free_statement(Int32[],Int32& ,Int16) |
isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_vax_integer(Byte[],Int16) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_vax_integer(Byte[],Int16) |
isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) |
isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) |
isc_service_detach(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_service_detach(Int32[],Int32&) |
isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) |
.ctor() | 0 | 0 method | FirebirdSql.Data.Client.Native .FesConnection..ctor() |
get_Charset() | 0 | 0 method | FirebirdSql.Data.Client.Native .FesServiceManager.get_Charset() |
set_Charset(Charset) | 0 | 0 method | FirebirdSql.Data.Client.Native .FesServiceManager.set_Charset(Charset) |
GetString(Charset,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler.GetString (Charset,Byte[]) |
ServerSeed(String,String,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Managed .SrpClient.ServerSeed(String,String ,Byte[]) |
GetServerSessionKey(String,String,Byte[] ,BigInteger,BigInteger,BigInteger) | 0 | 0 method | FirebirdSql.Data.Client.Managed .SrpClient.GetServerSessionKey(String ,String,Byte[],BigInteger,BigInteger ,BigInteger) |
GetSalt() | 0 | 0 method | FirebirdSql.Data.Client.Managed .SrpClient.GetSalt() |
FromHexString(String) | 0 | 0 method | FirebirdSql.Data.Client.Managed .SrpClient.FromHexString(String) |
get_IsConnected() | 0 | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection.get_IsConnected() |
get_ProtocolArchitecture() | 0 | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection.get_ProtocolArchitecture( ) |
get_ProtocolMinimunType() | 0 | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection.get_ProtocolMinimunType() |
get_UserID() | 0 | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection.get_UserID() |
set_Handle(Int32) | 0 | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase.set_Handle(Int32) |
set_ServerVersion(String) | 0 | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase.set_ServerVersion (String) |
.ctor(Nullable<Int32>) | 0 | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle..ctor (Nullable<Int32>) |
.ctor(Byte[],SSPIHelper+SecBufferType) | 0 | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBuffer..ctor (Byte[],SSPIHelper+SecBufferType) |
IsFacetValueConstant(TypeUsage,String) | 0 | 0 method | FirebirdSql.Data.EntityFramework6 .MetadataHelpers.IsFacetValueConstant (TypeUsage,String) |
GetFacet(IEnumerable<FacetDescription> ,String) | 1 | 1 method | FirebirdSql.Data.EntityFramework6 .MetadataHelpers.GetFacet(IEnumerable <FacetDescription>,String) |
IsStoreFunction(EdmFunction) | 0 | 0 method | FirebirdSql.Data.EntityFramework6 .MetadataHelpers.IsStoreFunction (EdmFunction) |
.ctor(Int32) | 0 | 0 method | FirebirdSql.Data.EntityFramework6.SqlGen .SkipClause..ctor(Int32) |
ByteArrayToBinaryString(Byte[]) | 0 | 0 method | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.ByteArrayToBinaryString (Byte[]) |
get_IsUnnest() | 0 | 0 method | FirebirdSql.Data.EntityFramework6.SqlGen .Symbol.get_IsUnnest() |
set_IsUnnest(Boolean) | 0 | 0 method | FirebirdSql.Data.EntityFramework6.SqlGen .Symbol.set_IsUnnest(Boolean) |
Visibility | 181 |
|
Rule warning: Methods that could have a lower visibility |
• How to Fix Violations: Declare each matched method with the specified optimal visibility in the CouldBeDeclared rule result column. By default, this rule matches public methods. If you are publishing an API many public methods matched should remain public. In such situation, you can opt for the coarse solution to this problem by adding in the rule source code && !m.IsPubliclyVisible or you can prefer the finer solution by tagging each concerned method with CannotDecreaseVisibilityAttribute.
1,034 methods matched
methods | Visibility | CouldBeDeclared | MethodsCallingMe | Full Name |
---|---|---|---|---|
get_BackupFiles() | Public | Private | 0 method | FirebirdSql.Data.Services.FbBackup .get_BackupFiles() |
get_Verbose() | Public | Private | 1 method | FirebirdSql.Data.Services.FbBackup .get_Verbose() |
set_Verbose(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services.FbBackup .set_Verbose(Boolean) |
get_Factor() | Public | Private | 0 method | FirebirdSql.Data.Services.FbBackup .get_Factor() |
set_Factor(Int32) | Public | Private | 0 method | FirebirdSql.Data.Services.FbBackup .set_Factor(Int32) |
get_Options() | Public | Private | 1 method | FirebirdSql.Data.Services.FbBackup .get_Options() |
set_Options(FbBackupFlags) | Public | Private | 0 method | FirebirdSql.Data.Services.FbBackup .set_Options(FbBackupFlags) |
.ctor(String) | Public | Private | 0 method | FirebirdSql.Data.Services.FbBackup..ctor (String) |
Execute() | Public | Private | 0 method | FirebirdSql.Data.Services.FbBackup .Execute() |
get_BackupFile() | Public | Internal | 2 methods | FirebirdSql.Data.Services.FbBackupFile .get_BackupFile() |
set_BackupFile(String) | Public | Private | 1 method | FirebirdSql.Data.Services.FbBackupFile .set_BackupFile(String) |
get_BackupLength() | Public | Internal | 1 method | FirebirdSql.Data.Services.FbBackupFile .get_BackupLength() |
set_BackupLength(Nullable<Int32>) | Public | Private | 1 method | FirebirdSql.Data.Services.FbBackupFile .set_BackupLength(Nullable<Int32>) |
.ctor(String,Nullable<Int32>) | Public | Private | 0 method | FirebirdSql.Data.Services.FbBackupFile. .ctor(String,Nullable<Int32>) |
.ctor(String) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration..ctor(String) |
SetSqlDialect(Int32) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.SetSqlDialect(Int32) |
SetSweepInterval(Int32) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.SetSweepInterval(Int32) |
SetPageBuffers(Int32) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.SetPageBuffers(Int32) |
DatabaseShutdown(FbShutdownMode,Int32) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.DatabaseShutdown (FbShutdownMode,Int32) |
DatabaseShutdown2(FbShutdownOnlineMode ,FbShutdownType,Int32) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.DatabaseShutdown2 (FbShutdownOnlineMode,FbShutdownType ,Int32) |
DatabaseOnline() | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.DatabaseOnline() |
DatabaseOnline2(FbShutdownOnlineMode) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.DatabaseOnline2 (FbShutdownOnlineMode) |
ActivateShadows() | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.ActivateShadows() |
SetForcedWrites(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.SetForcedWrites(Boolean ) |
SetReserveSpace(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.SetReserveSpace(Boolean ) |
SetAccessMode(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services .FbConfiguration.SetAccessMode(Boolean) |
get_ConnectionCount() | Public | Private | 0 method | FirebirdSql.Data.Services .FbDatabasesInfo.get_ConnectionCount() |
get_Databases() | Public | Private | 0 method | FirebirdSql.Data.Services .FbDatabasesInfo.get_Databases() |
get_DatabaseName() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_DatabaseName() |
set_DatabaseName(String) | Public | Private | 0 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_DatabaseName(String) |
get_Enabled() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_Enabled() |
set_Enabled(Boolean) | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_Enabled(Boolean) |
get_Events() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration.get_Events () |
set_Events(FbDatabaseTraceEvents) | Public | Private | 0 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration.set_Events (FbDatabaseTraceEvents) |
get_ConnectionID() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_ConnectionID() |
set_ConnectionID(Int32) | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_ConnectionID(Int32) |
get_TimeThreshold() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_TimeThreshold() |
set_TimeThreshold(TimeSpan) | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_TimeThreshold(TimeSpan) |
get_MaxSQLLength() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_MaxSQLLength() |
set_MaxSQLLength(Int32) | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_MaxSQLLength(Int32) |
get_MaxBLRLength() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_MaxBLRLength() |
set_MaxBLRLength(Int32) | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_MaxBLRLength(Int32) |
get_MaxDYNLength() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_MaxDYNLength() |
set_MaxDYNLength(Int32) | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_MaxDYNLength(Int32) |
get_MaxArgumentLength() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_MaxArgumentLength() |
set_MaxArgumentLength(Int32) | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_MaxArgumentLength(Int32) |
get_MaxArgumentsCount() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_MaxArgumentsCount() |
set_MaxArgumentsCount(Int32) | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_MaxArgumentsCount(Int32) |
get_IncludeFilter() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_IncludeFilter() |
set_IncludeFilter(String) | Public | Private | 0 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_IncludeFilter(String) |
get_ExcludeFilter() | Public | Private | 1 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .get_ExcludeFilter() |
set_ExcludeFilter(String) | Public | Private | 0 method | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration .set_ExcludeFilter(String) |
get_Options() | Public | Private | 1 method | FirebirdSql.Data.Services .FbStreamingBackup.get_Options() |
set_Options(FbBackupFlags) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingBackup.set_Options (FbBackupFlags) |
set_OutputStream(Stream) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingBackup.set_OutputStream (Stream) |
.ctor(String) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingBackup..ctor(String) |
Execute() | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingBackup.Execute() |
get_PageSize() | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingRestore.get_PageSize() |
set_PageSize(Nullable<Int32>) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingRestore.set_PageSize (Nullable<Int32>) |
get_InputStream() | Public | Private | 1 method | FirebirdSql.Data.Services .FbStreamingRestore.get_InputStream() |
set_InputStream(Stream) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingRestore.set_InputStream (Stream) |
get_Verbose() | Public | Private | 1 method | FirebirdSql.Data.Services .FbStreamingRestore.get_Verbose() |
set_Verbose(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingRestore.set_Verbose(Boolean) |
get_PageBuffers() | Public | Private | 1 method | FirebirdSql.Data.Services .FbStreamingRestore.get_PageBuffers() |
set_PageBuffers(Nullable<Int32>) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingRestore.set_PageBuffers (Nullable<Int32>) |
get_ReadOnly() | Public | Private | 1 method | FirebirdSql.Data.Services .FbStreamingRestore.get_ReadOnly() |
set_ReadOnly(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingRestore.set_ReadOnly(Boolean ) |
get_Options() | Public | Private | 1 method | FirebirdSql.Data.Services .FbStreamingRestore.get_Options() |
set_Options(FbRestoreFlags) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingRestore.set_Options (FbRestoreFlags) |
.ctor(String) | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingRestore..ctor(String) |
Execute() | Public | Private | 0 method | FirebirdSql.Data.Services .FbStreamingRestore.Execute() |
.ctor(String) | Public | Private | 0 method | FirebirdSql.Data.Services.FbLog..ctor (String) |
Execute() | Public | Private | 0 method | FirebirdSql.Data.Services.FbLog.Execute( ) |
get_Level() | Public | Private | 0 method | FirebirdSql.Data.Services.FbNBackup .get_Level() |
set_Level(Int32) | Public | Private | 0 method | FirebirdSql.Data.Services.FbNBackup .set_Level(Int32) |
get_BackupFile() | Public | Private | 1 method | FirebirdSql.Data.Services.FbNBackup .get_BackupFile() |
set_BackupFile(String) | Public | Private | 0 method | FirebirdSql.Data.Services.FbNBackup .set_BackupFile(String) |
get_DirectIO() | Public | Private | 1 method | FirebirdSql.Data.Services.FbNBackup .get_DirectIO() |
set_DirectIO(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services.FbNBackup .set_DirectIO(Boolean) |
get_Options() | Public | Private | 1 method | FirebirdSql.Data.Services.FbNBackup .get_Options() |
set_Options(FbNBackupFlags) | Public | Private | 0 method | FirebirdSql.Data.Services.FbNBackup .set_Options(FbNBackupFlags) |
.ctor(String) | Public | Private | 0 method | FirebirdSql.Data.Services.FbNBackup. .ctor(String) |
Execute() | Public | Private | 0 method | FirebirdSql.Data.Services.FbNBackup .Execute() |
get_BackupFiles() | Public | Private | 1 method | FirebirdSql.Data.Services.FbNRestore .get_BackupFiles() |
set_BackupFiles(IEnumerable<String>) | Public | Private | 0 method | FirebirdSql.Data.Services.FbNRestore .set_BackupFiles(IEnumerable<String>) |
get_DirectIO() | Public | Private | 1 method | FirebirdSql.Data.Services.FbNRestore .get_DirectIO() |
set_DirectIO(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services.FbNRestore .set_DirectIO(Boolean) |
.ctor(String) | Public | Private | 0 method | FirebirdSql.Data.Services.FbNRestore. .ctor(String) |
Execute() | Public | Private | 0 method | FirebirdSql.Data.Services.FbNRestore .Execute() |
get_BackupFiles() | Public | Private | 0 method | FirebirdSql.Data.Services.FbRestore .get_BackupFiles() |
get_PageSize() | Public | Private | 0 method | FirebirdSql.Data.Services.FbRestore .get_PageSize() |
set_PageSize(Nullable<Int32>) | Public | Private | 0 method | FirebirdSql.Data.Services.FbRestore .set_PageSize(Nullable<Int32>) |
get_Verbose() | Public | Private | 1 method | FirebirdSql.Data.Services.FbRestore .get_Verbose() |
set_Verbose(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services.FbRestore .set_Verbose(Boolean) |
get_PageBuffers() | Public | Private | 1 method | FirebirdSql.Data.Services.FbRestore .get_PageBuffers() |
set_PageBuffers(Nullable<Int32>) | Public | Private | 0 method | FirebirdSql.Data.Services.FbRestore .set_PageBuffers(Nullable<Int32>) |
get_ReadOnly() | Public | Private | 1 method | FirebirdSql.Data.Services.FbRestore .get_ReadOnly() |
set_ReadOnly(Boolean) | Public | Private | 0 method | FirebirdSql.Data.Services.FbRestore .set_ReadOnly(Boolean) |
get_Options() | Public | Private | 1 method | FirebirdSql.Data.Services.FbRestore .get_Options() |
set_Options(FbRestoreFlags) | Public | Private | 0 method | FirebirdSql.Data.Services.FbRestore .set_Options(FbRestoreFlags) |
Rule warning: Types that could have a lower visibility |
• How to Fix Violations: Declare each matched type with the specified optimal visibility in the CouldBeDeclared rule result column. By default, this rule matches public types. If you are publishing an API many public types matched should remain public. In such situation, you can opt for the coarse solution to this problem by adding in the rule source code && !m.IsPubliclyVisible or you can prefer the finer solution by tagging each concerned type with CannotDecreaseVisibilityAttribute.
53 types matched
types | Visibility | CouldBeDeclared | TypesUsingMe | Full Name |
---|---|---|---|---|
FbBackup | Public | Internal | 0 type | FirebirdSql.Data.Services.FbBackup |
FbBackupFile | Public | Internal | 3 types | FirebirdSql.Data.Services.FbBackupFile |
FbBackupFileCollection | Public | Internal | 2 types | FirebirdSql.Data.Services .FbBackupFileCollection |
FbConfiguration | Public | Internal | 0 type | FirebirdSql.Data.Services .FbConfiguration |
FbDatabasesInfo | Public | Internal | 2 types | FirebirdSql.Data.Services .FbDatabasesInfo |
FbDatabaseTraceConfiguration | Public | Internal | 1 type | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration |
FbStreamingBackup | Public | Internal | 0 type | FirebirdSql.Data.Services .FbStreamingBackup |
FbStreamingRestore | Public | Internal | 0 type | FirebirdSql.Data.Services .FbStreamingRestore |
FbLog | Public | Internal | 0 type | FirebirdSql.Data.Services.FbLog |
FbNBackup | Public | Internal | 0 type | FirebirdSql.Data.Services.FbNBackup |
FbNRestore | Public | Internal | 0 type | FirebirdSql.Data.Services.FbNRestore |
FbRestore | Public | Internal | 0 type | FirebirdSql.Data.Services.FbRestore |
FbSecurity | Public | Internal | 0 type | FirebirdSql.Data.Services.FbSecurity |
FbServerConfig | Public | Internal | 2 types | FirebirdSql.Data.Services.FbServerConfig |
FbServiceTraceConfiguration | Public | Internal | 1 type | FirebirdSql.Data.Services .FbServiceTraceConfiguration |
FbStatistical | Public | Internal | 0 type | FirebirdSql.Data.Services.FbStatistical |
FbTrace | Public | Internal | 0 type | FirebirdSql.Data.Services.FbTrace |
FbDatabaseTraceConfigurationCollection | Public | Internal | 1 type | FirebirdSql.Data.Services .FbDatabaseTraceConfigurationCollection |
FbUserData | Public | Internal | 2 types | FirebirdSql.Data.Services.FbUserData |
FbValidation | Public | Internal | 0 type | FirebirdSql.Data.Services.FbValidation |
ServiceOutputEventArgs | Public | Internal | 1 type | FirebirdSql.Data.Services .ServiceOutputEventArgs |
UnknownStatementEventArgs | Public | Internal | 1 type | FirebirdSql.Data.Isql .UnknownStatementEventArgs |
CommandExecutedEventArgs | Public | Internal | 1 type | FirebirdSql.Data.Isql .CommandExecutedEventArgs |
CommandExecutingEventArgs | Public | Internal | 1 type | FirebirdSql.Data.Isql .CommandExecutingEventArgs |
FbProviderManifest | Public | Internal | 1 type | FirebirdSql.Data.FirebirdClient .FbProviderManifest |
FbProviderServices | Public | Internal | 2 types | FirebirdSql.Data.FirebirdClient .FbProviderServices |
FbTransactionOptions | Public | Internal | 3 types | FirebirdSql.Data.FirebirdClient .FbTransactionOptions |
FbCommandBuilder | Public | Internal | 1 type | FirebirdSql.Data.FirebirdClient .FbCommandBuilder |
FbConnectionStringBuilder | Public | Internal | 3 types | FirebirdSql.Data.FirebirdClient .FbConnectionStringBuilder |
FbDataAdapter | Public | Internal | 3 types | FirebirdSql.Data.FirebirdClient .FbDataAdapter |
FbDatabaseInfo | Public | Internal | 0 type | FirebirdSql.Data.FirebirdClient .FbDatabaseInfo |
FbDataReader | Public | Internal | 3 types | FirebirdSql.Data.FirebirdClient .FbDataReader |
FbError | Public | Internal | 3 types | FirebirdSql.Data.FirebirdClient.FbError |
FbErrorCollection | Public | Internal | 2 types | FirebirdSql.Data.FirebirdClient .FbErrorCollection |
FbException | Public | Internal | 19 types | FirebirdSql.Data.FirebirdClient .FbException |
FbInfoMessageEventArgs | Public | Internal | 1 type | FirebirdSql.Data.FirebirdClient .FbInfoMessageEventArgs |
FirebirdClientPermission | Public | Internal | 3 types | FirebirdSql.Data.FirebirdClient .FirebirdClientPermission |
FirebirdClientPermissionAttribute | Public | Internal | 0 type | FirebirdSql.Data.FirebirdClient .FirebirdClientPermissionAttribute |
FbRemoteEvent | Public | Internal | 0 type | FirebirdSql.Data.FirebirdClient .FbRemoteEvent |
FbRemoteEventEventArgs | Public | Internal | 1 type | FirebirdSql.Data.FirebirdClient .FbRemoteEventEventArgs |
FbRowUpdatedEventArgs | Public | Internal | 1 type | FirebirdSql.Data.FirebirdClient .FbRowUpdatedEventArgs |
FbRowUpdatingEventArgs | Public | Internal | 2 types | FirebirdSql.Data.FirebirdClient .FbRowUpdatingEventArgs |
FbTransaction | Public | Internal | 7 types | FirebirdSql.Data.FirebirdClient .FbTransaction |
FirebirdClientFactory | Public | Internal | 1 type | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory |
IFirebirdHandle | Public | Internal | 6 types | FirebirdSql.Data.Client.Native.Handle .IFirebirdHandle |
SSPIHelper+SecHandle | Public | Private | 1 type | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle |
SSPIHelper+SecInteger | Public | Private | 1 type | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecInteger |
FbProviderManifest | Public | Internal | 1 type | FirebirdSql.Data.EntityFramework6 .FbProviderManifest |
FbProviderServices | Public | Internal | 1 type | FirebirdSql.Data.EntityFramework6 .FbProviderServices |
DefaultFbMigrationSqlGeneratorBehavior | Public | Internal | 1 type | FirebirdSql.Data.EntityFramework6 .DefaultFbMigrationSqlGeneratorBehavior |
FbConnectionFactory | Public | Internal | 1 type | FirebirdSql.Data.EntityFramework6 .FbConnectionFactory |
FbMigrationSqlGenerator | Public | Internal | 5 types | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator |
IFbMigrationSqlGeneratorBehavior | Public | Internal | 2 types | FirebirdSql.Data.EntityFramework6 .IFbMigrationSqlGeneratorBehavior |
Rule warning: Fields that could have a lower visibility |
• How to Fix Violations: Declare each matched field with the specified optimal visibility in the CouldBeDeclared rule result column. By default, this rule matches public fields. If you are publishing an API some public fields matched should remain public. In such situation, you can opt for the coarse solution to this problem by adding in the rule source code && !m.IsPubliclyVisible or you can prefer the finer solution by tagging eah concerned field with CannotDecreaseVisibilityAttribute.
51 fields matched
fields | Visibility | CouldBeDeclared | MethodsUsingMe | Full Name |
---|---|---|---|---|
StartSpb | Internal | Protected | 28 methods | FirebirdSql.Data.Services.FbService .StartSpb |
QuerySpb | Internal | Protected | 2 methods | FirebirdSql.Data.Services.FbService .QuerySpb |
InfiniteTimeSpan | Public | Internal | 3 methods | FirebirdSql.Data.Common.TimeoutHelper .InfiniteTimeSpan |
DescribePlanInfoItems | Protected | Private | 2 methods | FirebirdSql.Data.Common.StatementBase .DescribePlanInfoItems |
Instance | Public | Internal | 2 methods | FirebirdSql.Data.FirebirdClient .FbProviderServices.Instance |
DefaultValues | Internal | Private | 2 methods | FirebirdSql.Data.FirebirdClient .FbConnectionString.DefaultValues |
Instance | Public | Internal | 2 methods | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory.Instance |
dbb_ptr | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb.dbb_ptr |
tpb_len | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb.tpb_len |
tpb_ptr | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb.tpb_ptr |
LowerBound | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayBoundMarshal.LowerBound |
UpperBound | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayBoundMarshal.UpperBound |
DataType | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.DataType |
Scale | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Scale |
Length | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Length |
FieldName | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.FieldName |
RelationName | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal .RelationName |
Dimensions | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Dimensions |
Flags | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Flags |
version | Public | Internal | 1 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.version |
sqldaid | Public | Private | 0 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqldaid |
sqldabc | Public | Private | 0 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqldabc |
sqln | Public | Internal | 4 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqln |
sqld | Public | Internal | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqld |
sqltype | Public | Internal | 4 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqltype |
sqlscale | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlscale |
sqlsubtype | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlsubtype |
sqllen | Public | Internal | 4 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqllen |
sqldata | Public | Internal | 4 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqldata |
sqlind | Public | Internal | 4 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlind |
sqlname_length | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlname_length |
sqlname | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlname |
relname_length | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.relname_length |
relname | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.relname |
ownername_length | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.ownername_length |
ownername | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.ownername |
aliasname_length | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.aliasname_length |
aliasname | Public | Internal | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.aliasname |
_warningMessage | Protected | Private | 4 methods | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase._warningMessage |
_handle | Protected | Private | 11 methods | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase._handle |
_serverVersion | Protected | Private | 5 methods | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase._serverVersion |
_handle | Protected | Private | 8 methods | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._handle |
_allRowsFetched | Protected | Private | 5 methods | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._allRowsFetched |
LowPart | Public | Private | 2 methods | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle.LowPart |
HighPart | Public | Private | 2 methods | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle.HighPart |
LowPart | Public | Private | 1 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecInteger.LowPart |
HighPart | Public | Private | 1 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecInteger .HighPart |
ulVersion | Public | Private | 2 methods | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBufferDesc .ulVersion |
cBuffers | Public | Private | 2 methods | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBufferDesc .cBuffers |
pBuffers | Public | Private | 4 methods | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBufferDesc .pBuffers |
Instance | Public | Private | 1 method | FirebirdSql.Data.EntityFramework6 .FbProviderServices.Instance |
Rule warning: Types that could be declared as private, nested in a parent type |
• How to Fix Violations: Nest each matched type into the specified parent type and declare it as private. However nested private types are hardly testable. Hence this rule might not be applied to types consumed directly by tests.
55 types matched
types | couldBeNestedIn | Full Name |
---|---|---|
FbCharacterSets | FbSchemaFactory | FirebirdSql.Data.Schema.FbCharacterSets |
FbCheckConstraints | FbSchemaFactory | FirebirdSql.Data.Schema .FbCheckConstraints |
FbChecksByTable | FbSchemaFactory | FirebirdSql.Data.Schema.FbChecksByTable |
FbCollations | FbSchemaFactory | FirebirdSql.Data.Schema.FbCollations |
FbColumnPrivileges | FbSchemaFactory | FirebirdSql.Data.Schema .FbColumnPrivileges |
FbColumns | FbSchemaFactory | FirebirdSql.Data.Schema.FbColumns |
FbDomains | FbSchemaFactory | FirebirdSql.Data.Schema.FbDomains |
FbForeignKeyColumns | FbSchemaFactory | FirebirdSql.Data.Schema .FbForeignKeyColumns |
FbForeignKeys | FbSchemaFactory | FirebirdSql.Data.Schema.FbForeignKeys |
FbFunctions | FbSchemaFactory | FirebirdSql.Data.Schema.FbFunctions |
FbGenerators | FbSchemaFactory | FirebirdSql.Data.Schema.FbGenerators |
FbIndexColumns | FbSchemaFactory | FirebirdSql.Data.Schema.FbIndexColumns |
FbIndexes | FbSchemaFactory | FirebirdSql.Data.Schema.FbIndexes |
FbPrimaryKeys | FbSchemaFactory | FirebirdSql.Data.Schema.FbPrimaryKeys |
FbProcedureParameters | FbSchemaFactory | FirebirdSql.Data.Schema .FbProcedureParameters |
FbProcedurePrivilegesSchema | FbSchemaFactory | FirebirdSql.Data.Schema .FbProcedurePrivilegesSchema |
FbProcedures | FbSchemaFactory | FirebirdSql.Data.Schema.FbProcedures |
FbRoles | FbSchemaFactory | FirebirdSql.Data.Schema.FbRoles |
FbTableConstraints | FbSchemaFactory | FirebirdSql.Data.Schema .FbTableConstraints |
FbTablePrivileges | FbSchemaFactory | FirebirdSql.Data.Schema .FbTablePrivileges |
FbTables | FbSchemaFactory | FirebirdSql.Data.Schema.FbTables |
FbTriggers | FbSchemaFactory | FirebirdSql.Data.Schema.FbTriggers |
FbUniqueKeys | FbSchemaFactory | FirebirdSql.Data.Schema.FbUniqueKeys |
FbViewColumns | FbSchemaFactory | FirebirdSql.Data.Schema.FbViewColumns |
FbViewPrivileges | FbSchemaFactory | FirebirdSql.Data.Schema.FbViewPrivileges |
FbViews | FbSchemaFactory | FirebirdSql.Data.Schema.FbViews |
ExpressionTranslator | DmlSqlGenerator | FirebirdSql.Data.Entity .ExpressionTranslator |
SqlSelectStatement | SqlGenerator | FirebirdSql.Data.Entity .SqlSelectStatement |
SymbolPair | SqlGenerator | FirebirdSql.Data.Entity.SymbolPair |
SymbolTable | SqlGenerator | FirebirdSql.Data.Entity.SymbolTable |
IscErrorMessages | IscException | FirebirdSql.Data.Common.IscErrorMessages |
SqlStateMapping | IscException | FirebirdSql.Data.Common.SqlStateMapping |
BinaryEncoding | Charset | FirebirdSql.Data.Common.BinaryEncoding |
FbConnectionPoolManager | FbConnection | FirebirdSql.Data.FirebirdClient .FbConnectionPoolManager |
FbEnlistmentNotification | FbConnectionInternal | FirebirdSql.Data.FirebirdClient .FbEnlistmentNotification |
FesArray | FesStatement | FirebirdSql.Data.Client.Native.FesArray |
FesBlob | FesStatement | FirebirdSql.Data.Client.Native.FesBlob |
FesStatement | FesDatabase | FirebirdSql.Data.Client.Native .FesStatement |
ArrayDescMarshal | ArrayDescMarshaler | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal |
XSQLDA | XsqldaMarshaler | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA |
XSQLVAR | XsqldaMarshaler | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR |
ProtocolsSupported | GdsConnection | FirebirdSql.Data.Client.Managed .ProtocolsSupported |
SrpClient | GdsConnection | FirebirdSql.Data.Client.Managed .SrpClient |
GdsArray | GdsStatement | FirebirdSql.Data.Client.Managed .Version10.GdsArray |
GdsBlob | GdsStatement | FirebirdSql.Data.Client.Managed .Version10.GdsBlob |
GdsEventManager | GdsDatabase | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager |
GdsStatement | GdsDatabase | FirebirdSql.Data.Client.Managed .Version13.GdsStatement |
SSPIHelper | GdsDatabase | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper |
SsdlToFb | FbProviderServices | FirebirdSql.Data.EntityFramework6 .SsdlToFb |
TypeHelpers | FbProviderManifest | FirebirdSql.Data.EntityFramework6 .TypeHelpers |
FbMigrationsTransactionsInterceptor | FbProviderServices | FirebirdSql.Data.EntityFramework6 .FbMigrationsTransactionsInterceptor |
ExpressionTranslator | DmlSqlGenerator | FirebirdSql.Data.EntityFramework6.SqlGen .ExpressionTranslator |
SqlSelectStatement | SqlGenerator | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement |
SymbolPair | SqlGenerator | FirebirdSql.Data.EntityFramework6.SqlGen .SymbolPair |
SymbolTable | SqlGenerator | FirebirdSql.Data.EntityFramework6.SqlGen .SymbolTable |
Rule warning: Avoid publicly visible constant fields |
• How to Fix Violations: Declare matched fields as static readonly instead of constant. This way, the field value is safely changeable without the need to recompile client assemblies. Notice that enumeration value fields suffer from the same potential pitfall. But enumeration values cannot be declared as static readonly hence the rule comes with the condition && !f.IsEnumValue to avoid matching these. Unless you decide to banish public enumerations, just let the rule as is.
2 fields matched
fields | Full Name |
---|---|
ProviderInvariantName | FirebirdSql.Data.FirebirdClient .FbProviderServices .ProviderInvariantName |
ProviderInvariantName | FirebirdSql.Data.EntityFramework6 .FbProviderServices .ProviderInvariantName |
Rule warning: Fields should be declared as private |
• How to Fix Violations: Declare a matched mutable field as private, or declare it as readonly.
54 fields matched
fields | Visibility | outsideMethodsAssigningMe | Full Name |
---|---|---|---|
StartSpb | Internal | 27 methods | FirebirdSql.Data.Services.FbService .StartSpb |
QuerySpb | Internal | 1 method | FirebirdSql.Data.Services.FbService .QuerySpb |
_blobId | Protected | 3 methods | FirebirdSql.Data.Common.BlobBase._blobId |
_position | Protected | 3 methods | FirebirdSql.Data.Common.BlobBase ._position |
_transaction | Protected | 2 methods | FirebirdSql.Data.Common.BlobBase ._transaction |
_TransactionUpdate | Protected | 4 methods | FirebirdSql.Data.Common.StatementBase ._TransactionUpdate |
dbb_ptr | Public | 1 method | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb.dbb_ptr |
tpb_len | Public | 1 method | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb.tpb_len |
tpb_ptr | Public | 1 method | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb.tpb_ptr |
LowerBound | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayBoundMarshal.LowerBound |
UpperBound | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayBoundMarshal.UpperBound |
DataType | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.DataType |
Scale | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Scale |
Length | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Length |
FieldName | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.FieldName |
RelationName | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal .RelationName |
Dimensions | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Dimensions |
Flags | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Flags |
version | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.version |
sqldaid | Public | 0 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqldaid |
sqldabc | Public | 0 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqldabc |
sqln | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqln |
sqld | Public | 1 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqld |
sqltype | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqltype |
sqlscale | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlscale |
sqlsubtype | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlsubtype |
sqllen | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqllen |
sqldata | Public | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqldata |
sqlind | Public | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlind |
sqlname_length | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlname_length |
sqlname | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlname |
relname_length | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.relname_length |
relname | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.relname |
ownername_length | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.ownername_length |
ownername | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.ownername |
aliasname_length | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.aliasname_length |
aliasname | Public | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.aliasname |
_warningMessage | Protected | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase._warningMessage |
_handle | Protected | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase._handle |
_serverVersion | Protected | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase._serverVersion |
_handle | Protected | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._handle |
_database | Protected | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._database |
_parameters | Protected | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._parameters |
_fields | Protected | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._fields |
_state | Protected | 3 methods | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._state |
_statementType | Protected | 1 method | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._statementType |
_allRowsFetched | Protected | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._allRowsFetched |
LowPart | Public | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle.LowPart |
HighPart | Public | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle.HighPart |
LowPart | Public | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecInteger.LowPart |
HighPart | Public | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecInteger .HighPart |
ulVersion | Public | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBufferDesc .ulVersion |
cBuffers | Public | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBufferDesc .cBuffers |
pBuffers | Public | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBufferDesc .pBuffers |
Critical Rule warning: Constructors of abstract classes should be declared as protected or private |
• How to Fix Violations: To fix a violation of this rule, either declare the constructor as protected, or do not declare the type as abstract.
1 types matched
type | ctors | Full Name |
---|---|---|
FbSchema | 1 method | FirebirdSql.Data.Schema.FbSchema |
Rule warning: Avoid public methods not publicly visible |
• How to Fix Violations: Declare the method as internal if it is used outside of its type, else declare it as private.
489 methods matched
methods | parentTypeVisibility | declareMethodAs | methodsCaller | Full Name |
---|---|---|---|---|
GetSchema(FbConnection,String,String[]) | Internal | Internal | 1 method | FirebirdSql.Data.Schema.FbSchema .GetSchema(FbConnection,String,String[]) |
GetSchema(FbConnection,String,String[]) | Internal | Internal | 1 method | FirebirdSql.Data.Schema.FbSchemaFactory .GetSchema(FbConnection,String,String[]) |
get_Tokens() | Internal | Private | 1 method | FirebirdSql.Data.Isql.SqlStringParser .get_Tokens() |
set_Tokens(String[]) | Internal | Internal | 7 methods | FirebirdSql.Data.Isql.SqlStringParser .set_Tokens(String[]) |
.ctor(String) | Internal | Internal | 6 methods | FirebirdSql.Data.Isql.SqlStringParser. .ctor(String) |
Parse() | Internal | Internal | 6 methods | FirebirdSql.Data.Isql.SqlStringParser .Parse() |
.ctor(String,TypeUsage,List<Symbol>) | Internal | Internal | 3 methods | FirebirdSql.Data.Entity.JoinSymbol..ctor (String,TypeUsage,List<Symbol>) |
Append(Object) | Internal | Internal | 47 methods | FirebirdSql.Data.Entity.SqlBuilder .Append(Object) |
AppendLine() | Internal | Internal | 6 methods | FirebirdSql.Data.Entity.SqlBuilder .AppendLine() |
get_IsEmpty() | Internal | Internal | 8 methods | FirebirdSql.Data.Entity.SqlBuilder .get_IsEmpty() |
get_OrderBy() | Internal | Internal | 4 methods | FirebirdSql.Data.Entity .SqlSelectStatement.get_OrderBy() |
.ctor(StringBuilder) | Internal | Internal | 2 methods | FirebirdSql.Data.Entity.SqlWriter..ctor (StringBuilder) |
Transform(StoreItemCollection,String) | Internal | Internal | 1 method | FirebirdSql.Data.Entity.SsdlToFb .Transform(StoreItemCollection,String) |
get_Name() | Internal | Internal | 5 methods | FirebirdSql.Data.Entity.Symbol.get_Name( ) |
get_NewName() | Internal | Internal | 2 methods | FirebirdSql.Data.Entity.Symbol .get_NewName() |
set_NewName(String) | Internal | Internal | 2 methods | FirebirdSql.Data.Entity.Symbol .set_NewName(String) |
.ctor(String,TypeUsage) | Internal | Internal | 5 methods | FirebirdSql.Data.Entity.Symbol..ctor (String,TypeUsage) |
get_Source() | Internal | Internal | 1 method | FirebirdSql.Data.Entity.SymbolPair .get_Source() |
set_Source(Symbol) | Internal | Private | 1 method | FirebirdSql.Data.Entity.SymbolPair .set_Source(Symbol) |
get_Column() | Internal | Internal | 1 method | FirebirdSql.Data.Entity.SymbolPair .get_Column() |
set_Column(Symbol) | Internal | Internal | 2 methods | FirebirdSql.Data.Entity.SymbolPair .set_Column(Symbol) |
.ctor(Symbol,Symbol) | Internal | Internal | 1 method | FirebirdSql.Data.Entity.SymbolPair..ctor (Symbol,Symbol) |
TryGetPrecision(TypeUsage,Byte&) | Internal | Internal | 2 methods | FirebirdSql.Data.Entity.TypeHelpers .TryGetPrecision(TypeUsage,Byte&) |
TryGetMaxLength(TypeUsage,Int32&) | Internal | Internal | 1 method | FirebirdSql.Data.Entity.TypeHelpers .TryGetMaxLength(TypeUsage,Int32&) |
TryGetScale(TypeUsage,Byte&) | Internal | Internal | 2 methods | FirebirdSql.Data.Entity.TypeHelpers .TryGetScale(TypeUsage,Byte&) |
SetKeepAlive(Socket,UInt64,UInt64) | Internal | Internal | 1 method | FirebirdSql.Data.Common.Extensions .SetKeepAlive(Socket,UInt64,UInt64) |
AsInt(IntPtr) | Internal | Internal | 4 methods | FirebirdSql.Data.Common.Extensions.AsInt (IntPtr) |
TryGetTarget<T>(WeakReference,T&) | Internal | Internal | 4 methods | FirebirdSql.Data.Common.Extensions .TryGetTarget<T>(WeakReference,T&) |
ReadIntPtr(BinaryReader) | Internal | Internal | 1 method | FirebirdSql.Data.Common.Extensions .ReadIntPtr(BinaryReader) |
ToHexString(Byte[]) | Internal | Internal | 6 methods | FirebirdSql.Data.Common.Extensions .ToHexString(Byte[]) |
get_Values() | Internal | Internal | 1 method | FirebirdSql.Data.Common.IscErrorMessages .get_Values() |
IsValidPageSize(Int32) | Internal | Internal | 2 methods | FirebirdSql.Data.Common.PageSizeHelper .IsValidPageSize(Int32) |
get_Values() | Internal | Internal | 1 method | FirebirdSql.Data.Common.SqlStateMapping .get_Values() |
Trace(TraceEventType,String) | Internal | Internal | 1 method | FirebirdSql.Data.Common.TraceHelper .Trace(TraceEventType,String) |
get_HasListeners() | Internal | Internal | 1 method | FirebirdSql.Data.Common.TraceHelper .get_HasListeners() |
get_Descriptor() | Internal | Internal | 9 methods | FirebirdSql.Data.Common.ArrayBase .get_Descriptor() |
Read() | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayBase.Read() |
Write(Array) | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayBase.Write (Array) |
SetDesc(Array) | Internal | Private | 1 method | FirebirdSql.Data.Common.ArrayBase .SetDesc(Array) |
LookupBounds() | Internal | Internal | 2 methods | FirebirdSql.Data.Common.ArrayBase .LookupBounds() |
LookupDesc() | Internal | Private | 1 method | FirebirdSql.Data.Common.ArrayBase .LookupDesc() |
get_LowerBound() | Internal | Internal | 6 methods | FirebirdSql.Data.Common.ArrayBound .get_LowerBound() |
set_LowerBound(Int32) | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayBound .set_LowerBound(Int32) |
get_UpperBound() | Internal | Internal | 5 methods | FirebirdSql.Data.Common.ArrayBound .get_UpperBound() |
set_UpperBound(Int32) | Internal | Internal | 2 methods | FirebirdSql.Data.Common.ArrayBound .set_UpperBound(Int32) |
get_DataType() | Internal | Internal | 9 methods | FirebirdSql.Data.Common.ArrayDesc .get_DataType() |
set_DataType(Byte) | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayDesc .set_DataType(Byte) |
get_Scale() | Internal | Internal | 7 methods | FirebirdSql.Data.Common.ArrayDesc .get_Scale() |
set_Scale(Int16) | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayDesc .set_Scale(Int16) |
get_Length() | Internal | Internal | 8 methods | FirebirdSql.Data.Common.ArrayDesc .get_Length() |
set_Length(Int16) | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayDesc .set_Length(Int16) |
get_FieldName() | Internal | Internal | 3 methods | FirebirdSql.Data.Common.ArrayDesc .get_FieldName() |
set_FieldName(String) | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayDesc .set_FieldName(String) |
get_RelationName() | Internal | Internal | 3 methods | FirebirdSql.Data.Common.ArrayDesc .get_RelationName() |
set_RelationName(String) | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayDesc .set_RelationName(String) |
get_Dimensions() | Internal | Internal | 5 methods | FirebirdSql.Data.Common.ArrayDesc .get_Dimensions() |
set_Dimensions(Int16) | Internal | Internal | 2 methods | FirebirdSql.Data.Common.ArrayDesc .set_Dimensions(Int16) |
get_Flags() | Internal | Internal | 2 methods | FirebirdSql.Data.Common.ArrayDesc .get_Flags() |
set_Flags(Int16) | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayDesc .set_Flags(Int16) |
get_Bounds() | Internal | Internal | 7 methods | FirebirdSql.Data.Common.ArrayDesc .get_Bounds() |
set_Bounds(ArrayBound[]) | Internal | Internal | 1 method | FirebirdSql.Data.Common.ArrayDesc .set_Bounds(ArrayBound[]) |
BytesToString(Byte[]) | Internal | Private | 2 methods | FirebirdSql.Data.Common.BinaryEncoding .BytesToString(Byte[]) |
get_Id() | Internal | Internal | 1 method | FirebirdSql.Data.Common.BlobBase.get_Id( ) |
get_EOF() | Internal | Private | 1 method | FirebirdSql.Data.Common.BlobBase.get_EOF () |
ReadString() | Internal | Internal | 1 method | FirebirdSql.Data.Common.BlobBase .ReadString() |
Read() | Internal | Internal | 2 methods | FirebirdSql.Data.Common.BlobBase.Read() |
Write(String) | Internal | Internal | 1 method | FirebirdSql.Data.Common.BlobBase.Write (String) |
Write(Byte[]) | Internal | Internal | 2 methods | FirebirdSql.Data.Common.BlobBase.Write (Byte[]) |
Write(Byte[],Int32,Int32) | Internal | Private | 1 method | FirebirdSql.Data.Common.BlobBase.Write (Byte[],Int32,Int32) |
get_DefaultCharset() | Internal | Internal | 10 methods | FirebirdSql.Data.Common.Charset .get_DefaultCharset() |
GetCharset(Int32) | Internal | Internal | 2 methods | FirebirdSql.Data.Common.Charset .GetCharset(Int32) |
GetCharset(String) | Internal | Internal | 9 methods | FirebirdSql.Data.Common.Charset .GetCharset(String) |
get_Identifier() | Internal | Internal | 4 methods | FirebirdSql.Data.Common.Charset .get_Identifier() |
get_Name() | Internal | Internal | 2 methods | FirebirdSql.Data.Common.Charset.get_Name () |
get_BytesPerCharacter() | Internal | Internal | 6 methods | FirebirdSql.Data.Common.Charset .get_BytesPerCharacter() |
get_IsOctetsCharset() | Internal | Internal | 6 methods | FirebirdSql.Data.Common.Charset .get_IsOctetsCharset() |
get_IsNoneCharset() | Internal | Internal | 1 method | FirebirdSql.Data.Common.Charset .get_IsNoneCharset() |
.ctor(Int32,String,Int32,String) | Internal | Private | 1 method | FirebirdSql.Data.Common.Charset..ctor (Int32,String,Int32,String) |
GetBytes(String) | Internal | Internal | 7 methods | FirebirdSql.Data.Common.Charset.GetBytes (String) |
GetBytes(String,Int32,Int32,Byte[],Int32 ) | Internal | Internal | 1 method | FirebirdSql.Data.Common.Charset.GetBytes (String,Int32,Int32,Byte[],Int32) |
GetString(Byte[]) | Internal | Internal | 3 methods | FirebirdSql.Data.Common.Charset .GetString(Byte[]) |
GetString(Byte[],Int32,Int32) | Internal | Internal | 9 methods | FirebirdSql.Data.Common.Charset .GetString(Byte[],Int32,Int32) |
Append(Int32,Byte) | Internal | Internal | 1 method | FirebirdSql.Data.Common .DatabaseParameterBuffer.Append(Int32 ,Byte) |
Append(Int32,Int16) | Internal | Internal | 1 method | FirebirdSql.Data.Common .DatabaseParameterBuffer.Append(Int32 ,Int16) |
Append(Int32,Int32) | Internal | Internal | 6 methods | FirebirdSql.Data.Common .DatabaseParameterBuffer.Append(Int32 ,Int32) |
Append(Int32,String) | Internal | Internal | 6 methods | FirebirdSql.Data.Common .DatabaseParameterBuffer.Append(Int32 ,String) |
Append(Int32,Byte[]) | Internal | Internal | 6 methods | FirebirdSql.Data.Common .DatabaseParameterBuffer.Append(Int32 ,Byte[]) |
get_DbDataType() | Internal | Internal | 17 methods | FirebirdSql.Data.Common.DbField .get_DbDataType() |
get_SqlType() | Internal | Internal | 6 methods | FirebirdSql.Data.Common.DbField .get_SqlType() |
get_DataType() | Internal | Internal | 8 methods | FirebirdSql.Data.Common.DbField .get_DataType() |
set_DataType(Int16) | Internal | Internal | 5 methods | FirebirdSql.Data.Common.DbField .set_DataType(Int16) |
get_NumericScale() | Internal | Internal | 9 methods | FirebirdSql.Data.Common.DbField .get_NumericScale() |
set_NumericScale(Int16) | Internal | Internal | 3 methods | FirebirdSql.Data.Common.DbField .set_NumericScale(Int16) |
get_SubType() | Internal | Internal | 3 methods | FirebirdSql.Data.Common.DbField .get_SubType() |
set_SubType(Int16) | Internal | Internal | 4 methods | FirebirdSql.Data.Common.DbField .set_SubType(Int16) |
get_Length() | Internal | Internal | 10 methods | FirebirdSql.Data.Common.DbField .get_Length() |
set_Length(Int16) | Internal | Internal | 4 methods | FirebirdSql.Data.Common.DbField .set_Length(Int16) |
get_NullFlag() | Internal | Internal | 6 methods | FirebirdSql.Data.Common.DbField .get_NullFlag() |
set_NullFlag(Int16) | Internal | Internal | 3 methods | FirebirdSql.Data.Common.DbField .set_NullFlag(Int16) |
get_Name() | Internal | Internal | 7 methods | FirebirdSql.Data.Common.DbField.get_Name () |
Rule warning: Event handler methods should be declared private |
• How to Fix Violations: If you have the need that event handler method should be called from another class, then find a code structure that more closely matches the concept of what you're trying to do. Certainly you don't want the other class to click a button; you want your other class to do something that clicking a button also do.
3 methods matched
methods | Visibility | Full Name |
---|---|---|
TransactionUpdated(Object,EventArgs) | Protected | FirebirdSql.Data.Common.StatementBase .TransactionUpdated(Object,EventArgs) |
TransactionUpdated(Object,EventArgs) | Protected | FirebirdSql.Data.Client.Native .FesStatement.TransactionUpdated(Object ,EventArgs) |
TransactionUpdated(Object,EventArgs) | Protected | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .TransactionUpdated(Object,EventArgs) |
Immutability | 361 |
|
Rule warning: Fields should be marked as ReadOnly when possible |
• How to Fix Violations: Declare the field with the C# readonly keyword (ReadOnly in VB.NET). This way the intention that the field value shouldn't change is made explicit.
116 fields matched
fields | MethodsReadingMeButNotAssigningMe | MethodsAssigningMe | Full Name |
---|---|---|---|
_backupFiles | 3 methods | 0 method | FirebirdSql.Data.Services.FbBackup ._backupFiles |
_databases | 3 methods | 0 method | FirebirdSql.Data.Services .FbDatabasesInfo._databases |
_backupFiles | 3 methods | 0 method | FirebirdSql.Data.Services.FbRestore ._backupFiles |
_serviceName | 2 methods | 0 method | FirebirdSql.Data.Services.FbService ._serviceName |
_message | 2 methods | 0 method | FirebirdSql.Data.Services .ServiceOutputEventArgs._message |
_statements | 4 methods | 0 method | FirebirdSql.Data.Isql.FbBatchExecution ._statements |
_connectionString | 7 methods | 0 method | FirebirdSql.Data.Isql.FbBatchExecution ._connectionString |
_parser | 2 methods | 0 method | FirebirdSql.Data.Isql.FbScript._parser |
_results | 3 methods | 0 method | FirebirdSql.Data.Isql.FbScript._results |
_source | 4 methods | 0 method | FirebirdSql.Data.Isql.SqlStringParser ._source |
_sourceLength | 6 methods | 0 method | FirebirdSql.Data.Isql.SqlStringParser ._sourceLength |
_firstCount | 3 methods | 0 method | FirebirdSql.Data.Entity.FirstClause ._firstCount |
_extentList | 2 methods | 0 method | FirebirdSql.Data.Entity.JoinSymbol ._extentList |
_nameToExtent | 2 methods | 0 method | FirebirdSql.Data.Entity.JoinSymbol ._nameToExtent |
_skipCount | 3 methods | 0 method | FirebirdSql.Data.Entity.SkipClause ._skipCount |
_symbolTable | 11 methods | 0 method | FirebirdSql.Data.Entity.SqlGenerator ._symbolTable |
_shortenedNames | 2 methods | 0 method | FirebirdSql.Data.Entity.SqlGenerator ._shortenedNames |
_select | 3 methods | 0 method | FirebirdSql.Data.Entity .SqlSelectStatement._select |
_from | 2 methods | 0 method | FirebirdSql.Data.Entity .SqlSelectStatement._from |
_columns | 2 methods | 0 method | FirebirdSql.Data.Entity.Symbol._columns |
_name | 2 methods | 0 method | FirebirdSql.Data.Entity.Symbol._name |
_symbols | 5 methods | 0 method | FirebirdSql.Data.Entity.SymbolTable ._symbols |
_messages | 2 methods | 0 method | FirebirdSql.Data.Common.IscErrorMessages ._messages |
_mapping | 2 methods | 0 method | FirebirdSql.Data.Common.SqlStateMapping ._mapping |
_instance | 3 methods | 0 method | FirebirdSql.Data.Common.TraceHelper ._instance |
_descriptor | 7 methods | 0 method | FirebirdSql.Data.Common.ArrayBase ._descriptor |
_tableName | 4 methods | 0 method | FirebirdSql.Data.Common.ArrayBase ._tableName |
_fieldName | 5 methods | 0 method | FirebirdSql.Data.Common.ArrayBase ._fieldName |
_charset | 3 methods | 0 method | FirebirdSql.Data.Common.BlobBase ._charset |
_segmentSize | 3 methods | 0 method | FirebirdSql.Data.Common.BlobBase ._segmentSize |
_id | 4 methods | 0 method | FirebirdSql.Data.Common.Charset._id |
_bytesPerCharacter | 2 methods | 0 method | FirebirdSql.Data.Common.Charset ._bytesPerCharacter |
_name | 2 methods | 0 method | FirebirdSql.Data.Common.Charset._name |
_systemName | 1 method | 0 method | FirebirdSql.Data.Common.Charset ._systemName |
_encoding | 4 methods | 0 method | FirebirdSql.Data.Common.Charset ._encoding |
_dbValue | 5 methods | 0 method | FirebirdSql.Data.Common.DbField._dbValue |
_statement | 6 methods | 0 method | FirebirdSql.Data.Common.DbValue ._statement |
_field | 8 methods | 0 method | FirebirdSql.Data.Common.DbValue._field |
_count | 2 methods | 0 method | FirebirdSql.Data.Common.Descriptor ._count |
_fields | 5 methods | 0 method | FirebirdSql.Data.Common.Descriptor ._fields |
_type | 6 methods | 0 method | FirebirdSql.Data.Common.IscError._type |
_strParam | 2 methods | 0 method | FirebirdSql.Data.Common.IscError ._strParam |
_stream | 6 methods | 0 method | FirebirdSql.Data.Common.ParameterBuffer ._stream |
_isLittleEndian | 2 methods | 0 method | FirebirdSql.Data.Common.ParameterBuffer ._isLittleEndian |
_events | 4 methods | 0 method | FirebirdSql.Data.Common.RemoteEvent ._events |
_db | 4 methods | 0 method | FirebirdSql.Data.Common.RemoteEvent._db |
_instanceLazy | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionPoolManager._instanceLazy |
_syncRoot | 6 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionPoolManager+Pool._syncRoot |
_preparedCommands | 5 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionInternal._preparedCommands |
_preparedCommandsCleanupSyncRoot | 3 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionInternal ._preparedCommandsCleanupSyncRoot |
_isServiceConnectionString | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionString ._isServiceConnectionString |
_shouldDisposeSelectCommand | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbDataAdapter ._shouldDisposeSelectCommand |
_commandBehavior | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbDataReader._commandBehavior |
_classError | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient.FbError ._classError |
_lineNumber | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient.FbError ._lineNumber |
_message | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient.FbError ._message |
_number | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient.FbError ._number |
_errors | 7 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbErrorCollection._errors |
_errors | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbInfoMessageEventArgs._errors |
_message | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbInfoMessageEventArgs._message |
_parameters | 20 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbParameterCollection._parameters |
_revent | 8 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbRemoteEvent._revent |
_synchronizationContext | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbRemoteEvent._synchronizationContext |
_name | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbRemoteEventEventArgs._name |
_counts | 2 methods | 0 method | FirebirdSql.Data.FirebirdClient .FbRemoteEventEventArgs._counts |
cache | 2 methods | 0 method | FirebirdSql.Data.Client.Native .FbClientFactory.cache |
injectionTypes | 2 methods | 0 method | FirebirdSql.Data.Client.Native .FbClientFactory.injectionTypes |
_statusVector | 5 methods | 0 method | FirebirdSql.Data.Client.Native.FesArray ._statusVector |
_db | 8 methods | 0 method | FirebirdSql.Data.Client.Native.FesBlob ._db |
_statusVector | 8 methods | 0 method | FirebirdSql.Data.Client.Native.FesBlob ._statusVector |
_blobHandle | 8 methods | 0 method | FirebirdSql.Data.Client.Native.FesBlob ._blobHandle |
_handle | 10 methods | 0 method | FirebirdSql.Data.Client.Native .FesDatabase._handle |
_syncObject | 1 method | 0 method | FirebirdSql.Data.Client.Native .FesDatabase._syncObject |
_fbClient | 8 methods | 0 method | FirebirdSql.Data.Client.Native .FesDatabase._fbClient |
_fbClient | 5 methods | 0 method | FirebirdSql.Data.Client.Native .FesServiceManager._fbClient |
_statusVector | 6 methods | 0 method | FirebirdSql.Data.Client.Native .FesServiceManager._statusVector |
_handle | 10 methods | 0 method | FirebirdSql.Data.Client.Native .FesStatement._handle |
_handle | 9 methods | 0 method | FirebirdSql.Data.Client.Native .FesTransaction._handle |
sizeofXSQLDA | 2 methods | 0 method | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler.sizeofXSQLDA |
sizeofXSQLVAR | 3 methods | 0 method | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler .sizeofXSQLVAR |
_status | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .FetchResponse._status |
_count | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .FetchResponse._count |
_objectHandle | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .GenericResponse._objectHandle |
_blobId | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .GenericResponse._blobId |
_data | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .GenericResponse._data |
_exception | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .GenericResponse._exception |
_count | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .SqlResponse._count |
_userID | 4 methods | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection._userID |
_password | 3 methods | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection._password |
_dataSource | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection._dataSource |
_portNumber | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection._portNumber |
_packetSize | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection._packetSize |
_characterSet | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection._characterSet |
_srpClient | 3 methods | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection._srpClient |
_ownsStream | 2 methods | 0 method | FirebirdSql.Data.Client.Managed .XdrStream._ownsStream |
_database | 8 methods | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsBlob._database |
_syncObject | 1 method | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase._syncObject |
_database | 3 methods | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager._database |
_events | 5 methods | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager._events |
_handle | 1 method | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager._handle |
Rule warning: Structures should be immutable |
• How to Fix Violations: Make sure matched structures are immutable. This way, all automatic copies of an original instance, resulting from being passed by value will hold the same values and there will be no surprises. If your structure is immutable then if you want to change a value, you have to consciously do it by creating a new instance of the structure with the modified data.
10 types matched
types | # lines of code (LOC) | mutableFields | Full Name |
---|---|---|---|
ArrayBound | 4 | 2 fields | FirebirdSql.Data.Common.ArrayBound |
ArrayDesc | 16 | 8 fields | FirebirdSql.Data.Common.ArrayDesc |
FesTransaction+IscTeb | 0 | 3 fields | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb |
ArrayBoundMarshal | 0 | 2 fields | FirebirdSql.Data.Client.Native .Marshalers.ArrayBoundMarshal |
ArrayDescMarshal | 1 | 7 fields | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal |
XSQLDA | 0 | 5 fields | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA |
SSPIHelper+SecHandle | 3 | 2 fields | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle |
SSPIHelper+SecInteger | 2 | 2 fields | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecInteger |
SSPIHelper+SecBuffer | 19 | 1 field | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBuffer |
SSPIHelper+SecBufferDesc | 19 | 3 fields | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBufferDesc |
Rule warning: Property Getters should be immutable |
• How to Fix Violations: Make sure that matched property getters don't assign any field. Notice the case of an object lazy-initialized when the property getter is accessed the first time. In such situation the getter assigns a field, but it is only once and from the client point of view, lazy initialization is an invisible implementation detail. If you are using a lot lazy initalization but still want to use the present rule, an option is to create a LazyInitializerAttribute that tags concerned property getters, and modify the present rule to avoid matching them.
22 methods matched
methods | # lines of code (LOC) | fieldsAssigned | Full Name |
---|---|---|---|
get_ColumnList() | 3 | 1 field | FirebirdSql.Data.Entity.JoinSymbol .get_ColumnList() |
get_FlattenedExtentList() | 3 | 1 field | FirebirdSql.Data.Entity.JoinSymbol .get_FlattenedExtentList() |
get_SqlFragments() | 3 | 1 field | FirebirdSql.Data.Entity.SqlBuilder .get_SqlFragments() |
get_OrderBy() | 3 | 1 field | FirebirdSql.Data.Entity .SqlSelectStatement.get_OrderBy() |
get_FromExtents() | 3 | 1 field | FirebirdSql.Data.Entity .SqlSelectStatement.get_FromExtents() |
get_OuterExtents() | 3 | 1 field | FirebirdSql.Data.Entity .SqlSelectStatement.get_OuterExtents() |
get_Where() | 3 | 1 field | FirebirdSql.Data.Entity .SqlSelectStatement.get_Where() |
get_GroupBy() | 3 | 1 field | FirebirdSql.Data.Entity .SqlSelectStatement.get_GroupBy() |
get_StrParam() | 4 | 1 field | FirebirdSql.Data.Common.IscError .get_StrParam() |
get_LockTables() | 1 | 1 field | FirebirdSql.Data.FirebirdClient .FbTransactionOptions.get_LockTables() |
get_Parameters() | 3 | 1 field | FirebirdSql.Data.FirebirdClient .FbCommand.get_Parameters() |
get_Errors() | 1 | 1 field | FirebirdSql.Data.FirebirdClient .FbException.get_Errors() |
get_Fill() | 7 | 1 field | FirebirdSql.Data.Client.Managed .XdrStream.get_Fill() |
get_Pad() | 1 | 1 field | FirebirdSql.Data.Client.Managed .XdrStream.get_Pad() |
get_ColumnList() | 3 | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .JoinSymbol.get_ColumnList() |
get_FlattenedExtentList() | 3 | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .JoinSymbol.get_FlattenedExtentList() |
get_SqlFragments() | 3 | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlBuilder.get_SqlFragments() |
get_OrderBy() | 3 | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement.get_OrderBy() |
get_FromExtents() | 3 | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement.get_FromExtents() |
get_OuterExtents() | 3 | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement.get_OuterExtents() |
get_Where() | 3 | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement.get_Where() |
get_GroupBy() | 3 | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement.get_GroupBy() |
Rule warning: Avoid static fields with a mutable field type |
• How to Fix Violations: If the static field is just assigned once in the program lifetime, make sure to declare it as readonly and assign it inline, or from the static constructor. Else, to fix violations of this rule, make sure to hold mutable states through objects that are passed explicitly everywhere they need to be consumed, in opposition to mutable object hold by a static field that makes it modifiable from a bit everywhere in the program.
3 fields matched
fields | mutableFieldType | isFieldImmutable | isFieldIsReadOnly | Full Name |
---|---|---|---|---|
Instance | FbProviderServices | True | True | FirebirdSql.Data.FirebirdClient .FbProviderServices.Instance |
Instance | FirebirdClientFactory | True | True | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory.Instance |
Instance | FbProviderServices | True | True | FirebirdSql.Data.EntityFramework6 .FbProviderServices.Instance |
Rule warning: A field must not be assigned from outside its parent hierarchy types |
• How to Fix Violations: Matched fields must be declared as protected and even better as private. Alternatively, if the field can reference immutable states, it can remain visible from the outside, but then must be declared as readonly.
29 fields matched
fields | methodsAssignerOutsideOfMyType | Full Name |
---|---|---|
dbb_ptr | 1 method | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb.dbb_ptr |
tpb_len | 1 method | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb.tpb_len |
tpb_ptr | 1 method | FirebirdSql.Data.Client.Native .FesTransaction+IscTeb.tpb_ptr |
LowerBound | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayBoundMarshal.LowerBound |
UpperBound | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayBoundMarshal.UpperBound |
DataType | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.DataType |
Scale | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Scale |
Length | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Length |
FieldName | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.FieldName |
RelationName | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal .RelationName |
Dimensions | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Dimensions |
Flags | 1 method | FirebirdSql.Data.Client.Native .Marshalers.ArrayDescMarshal.Flags |
version | 1 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.version |
sqln | 1 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqln |
sqld | 1 method | FirebirdSql.Data.Client.Native .Marshalers.XSQLDA.sqld |
sqltype | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqltype |
sqlscale | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlscale |
sqlsubtype | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlsubtype |
sqllen | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqllen |
sqldata | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqldata |
sqlind | 3 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlind |
sqlname_length | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlname_length |
sqlname | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.sqlname |
relname_length | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.relname_length |
relname | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.relname |
ownername_length | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.ownername_length |
ownername | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.ownername |
aliasname_length | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.aliasname_length |
aliasname | 2 methods | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR.aliasname |
Critical Rule warning: Don't assign a field from many methods |
• How to Fix Violations: There is no straight advice to refactor the number of methods responsible for assigning a field. Solutions often involve rethinking and then rewriting a complex algorithm. Such field can sometime become just a variable accessed locally by a method or a closure. Sometime, just rethinking the life-time and the role of the parent object allows the field to become immutable (i.e assigned only by the constructor).
23 fields matched
fields | methodsAssigningMe | MethodsReadingMeButNotAssigningMe | MethodsUsingMe | Full Name |
---|---|---|---|---|
StartSpb | 27 methods | 1 method | 28 methods | FirebirdSql.Data.Services.FbService .StartSpb |
_shouldHandleBoolComparison | 4 methods | 1 method | 5 methods | FirebirdSql.Data.Entity.SqlGenerator ._shouldHandleBoolComparison |
_value | 4 methods | 17 methods | 21 methods | FirebirdSql.Data.Common.DbValue._value |
_TransactionUpdate | 5 methods | 0 method | 5 methods | FirebirdSql.Data.Common.StatementBase ._TransactionUpdate |
_transaction | 7 methods | 3 methods | 10 methods | FirebirdSql.Data.FirebirdClient .FbCommand._transaction |
_activeReader | 4 methods | 5 methods | 9 methods | FirebirdSql.Data.FirebirdClient .FbCommand._activeReader |
_implicitTransaction | 4 methods | 2 methods | 6 methods | FirebirdSql.Data.FirebirdClient .FbCommand._implicitTransaction |
_transaction | 4 methods | 5 methods | 9 methods | FirebirdSql.Data.FirebirdClient .FbTransaction._transaction |
_parameters | 5 methods | 2 methods | 7 methods | FirebirdSql.Data.Client.Native .FesStatement._parameters |
_fields | 6 methods | 2 methods | 8 methods | FirebirdSql.Data.Client.Native .FesStatement._fields |
_state | 5 methods | 3 methods | 8 methods | FirebirdSql.Data.Client.Native .FesStatement._state |
_statementType | 4 methods | 3 methods | 7 methods | FirebirdSql.Data.Client.Native .FesStatement._statementType |
_allRowsFetched | 5 methods | 0 method | 5 methods | FirebirdSql.Data.Client.Native .FesStatement._allRowsFetched |
_state | 6 methods | 2 methods | 8 methods | FirebirdSql.Data.Client.Native .FesTransaction._state |
_handle | 6 methods | 5 methods | 11 methods | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase._handle |
_serverVersion | 4 methods | 1 method | 5 methods | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase._serverVersion |
_parameters | 5 methods | 4 methods | 9 methods | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._parameters |
_fields | 4 methods | 5 methods | 9 methods | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._fields |
_state | 10 methods | 3 methods | 13 methods | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._state |
_statementType | 5 methods | 4 methods | 9 methods | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._statementType |
_allRowsFetched | 5 methods | 0 method | 5 methods | FirebirdSql.Data.Client.Managed .Version10.GdsStatement._allRowsFetched |
_state | 8 methods | 2 methods | 10 methods | FirebirdSql.Data.Client.Managed .Version10.GdsTransaction._state |
_shouldHandleBoolComparison | 4 methods | 1 method | 5 methods | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator ._shouldHandleBoolComparison |
Rule warning: Do not declare read only mutable reference types |
• How to Fix Violations: To fix a violation of this rule, replace the field type with an immutable type, or declare the field as private.
3 fields matched
fields | FieldType | FieldVisibility | Full Name |
---|---|---|---|
Instance | FbProviderServices | Public | FirebirdSql.Data.FirebirdClient .FbProviderServices.Instance |
Instance | FirebirdClientFactory | Public | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory.Instance |
Instance | FbProviderServices | Public | FirebirdSql.Data.EntityFramework6 .FbProviderServices.Instance |
Naming Conventions | 881 |
|
Rule warning: Instance fields should be prefixed with a 'm_' |
• How to Fix Violations: Once the rule has been adapted to your own naming convention make sure to name all matched instance fields adequately.
447 fields matched
fields | Size of instance | Full Name |
---|---|---|
_backupFiles | 4 | FirebirdSql.Data.Services.FbBackup ._backupFiles |
_databases | 4 | FirebirdSql.Data.Services .FbDatabasesInfo._databases |
_pageSize | 5 | FirebirdSql.Data.Services .FbStreamingRestore._pageSize |
_level | 4 | FirebirdSql.Data.Services.FbNBackup ._level |
_backupFiles | 4 | FirebirdSql.Data.Services.FbRestore ._backupFiles |
_pageSize | 5 | FirebirdSql.Data.Services.FbRestore ._pageSize |
_svc | 4 | FirebirdSql.Data.Services.FbService._svc |
_state | 4 | FirebirdSql.Data.Services.FbService ._state |
_csManager | 4 | FirebirdSql.Data.Services.FbService ._csManager |
_connectionString | 4 | FirebirdSql.Data.Services.FbService ._connectionString |
_serviceName | 4 | FirebirdSql.Data.Services.FbService ._serviceName |
_queryBufferSize | 4 | FirebirdSql.Data.Services.FbService ._queryBufferSize |
StartSpb | 4 | FirebirdSql.Data.Services.FbService .StartSpb |
QuerySpb | 4 | FirebirdSql.Data.Services.FbService .QuerySpb |
_options | 4 | FirebirdSql.Data.Services.FbStatistical ._options |
_userName | 4 | FirebirdSql.Data.Services.FbUserData ._userName |
_firstName | 4 | FirebirdSql.Data.Services.FbUserData ._firstName |
_lastName | 4 | FirebirdSql.Data.Services.FbUserData ._lastName |
_middleName | 4 | FirebirdSql.Data.Services.FbUserData ._middleName |
_userPassword | 4 | FirebirdSql.Data.Services.FbUserData ._userPassword |
_groupName | 4 | FirebirdSql.Data.Services.FbUserData ._groupName |
_roleName | 4 | FirebirdSql.Data.Services.FbUserData ._roleName |
_userID | 4 | FirebirdSql.Data.Services.FbUserData ._userID |
_groupID | 4 | FirebirdSql.Data.Services.FbUserData ._groupID |
_options | 4 | FirebirdSql.Data.Services.FbValidation ._options |
_message | 4 | FirebirdSql.Data.Services .ServiceOutputEventArgs._message |
_statements | 4 | FirebirdSql.Data.Isql.FbBatchExecution ._statements |
_sqlConnection | 4 | FirebirdSql.Data.Isql.FbBatchExecution ._sqlConnection |
_sqlTransaction | 4 | FirebirdSql.Data.Isql.FbBatchExecution ._sqlTransaction |
_connectionString | 4 | FirebirdSql.Data.Isql.FbBatchExecution ._connectionString |
_sqlCommand | 4 | FirebirdSql.Data.Isql.FbBatchExecution ._sqlCommand |
_requiresNewConnection | 1 | FirebirdSql.Data.Isql.FbBatchExecution ._requiresNewConnection |
_shouldClose | 1 | FirebirdSql.Data.Isql.FbBatchExecution ._shouldClose |
_parser | 4 | FirebirdSql.Data.Isql.FbScript._parser |
_results | 4 | FirebirdSql.Data.Isql.FbScript._results |
_source | 4 | FirebirdSql.Data.Isql.SqlStringParser ._source |
_sourceLength | 4 | FirebirdSql.Data.Isql.SqlStringParser ._sourceLength |
_tokens | 4 | FirebirdSql.Data.Isql.SqlStringParser ._tokens |
_commandText | 4 | FirebirdSql.Data.Entity .ExpressionTranslator._commandText |
_commandTree | 4 | FirebirdSql.Data.Entity .ExpressionTranslator._commandTree |
_parameters | 4 | FirebirdSql.Data.Entity .ExpressionTranslator._parameters |
_memberValues | 4 | FirebirdSql.Data.Entity .ExpressionTranslator._memberValues |
generateParameters | 1 | FirebirdSql.Data.Entity .ExpressionTranslator.generateParameters |
_parameterNameCount | 4 | FirebirdSql.Data.Entity .ExpressionTranslator ._parameterNameCount |
_firstCount | 4 | FirebirdSql.Data.Entity.FirstClause ._firstCount |
_columnList | 4 | FirebirdSql.Data.Entity.JoinSymbol ._columnList |
_extentList | 4 | FirebirdSql.Data.Entity.JoinSymbol ._extentList |
_flattenedExtentList | 4 | FirebirdSql.Data.Entity.JoinSymbol ._flattenedExtentList |
_nameToExtent | 4 | FirebirdSql.Data.Entity.JoinSymbol ._nameToExtent |
_isNestedJoin | 1 | FirebirdSql.Data.Entity.JoinSymbol ._isNestedJoin |
_skipCount | 4 | FirebirdSql.Data.Entity.SkipClause ._skipCount |
_sqlFragments | 4 | FirebirdSql.Data.Entity.SqlBuilder ._sqlFragments |
_selectStatementStack | 4 | FirebirdSql.Data.Entity.SqlGenerator ._selectStatementStack |
_isParentAJoinStack | 4 | FirebirdSql.Data.Entity.SqlGenerator ._isParentAJoinStack |
_allExtentNames | 4 | FirebirdSql.Data.Entity.SqlGenerator ._allExtentNames |
_allColumnNames | 4 | FirebirdSql.Data.Entity.SqlGenerator ._allColumnNames |
_symbolTable | 4 | FirebirdSql.Data.Entity.SqlGenerator ._symbolTable |
_isVarRefSingle | 1 | FirebirdSql.Data.Entity.SqlGenerator ._isVarRefSingle |
_shouldHandleBoolComparison | 1 | FirebirdSql.Data.Entity.SqlGenerator ._shouldHandleBoolComparison |
_shouldCastParameter | 1 | FirebirdSql.Data.Entity.SqlGenerator ._shouldCastParameter |
_shortenedNames | 4 | FirebirdSql.Data.Entity.SqlGenerator ._shortenedNames |
_isDistinct | 1 | FirebirdSql.Data.Entity .SqlSelectStatement._isDistinct |
_allJoinExtents | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._allJoinExtents |
_fromExtents | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._fromExtents |
_outerExtents | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._outerExtents |
_first | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._first |
_skip | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._skip |
_select | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._select |
_from | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._from |
_where | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._where |
_groupBy | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._groupBy |
_orderBy | 4 | FirebirdSql.Data.Entity .SqlSelectStatement._orderBy |
_isTopMost | 1 | FirebirdSql.Data.Entity .SqlSelectStatement._isTopMost |
_indent | 4 | FirebirdSql.Data.Entity.SqlWriter ._indent |
_atBeginningOfLine | 1 | FirebirdSql.Data.Entity.SqlWriter ._atBeginningOfLine |
_columns | 4 | FirebirdSql.Data.Entity.Symbol._columns |
_needsRenaming | 1 | FirebirdSql.Data.Entity.Symbol ._needsRenaming |
_isUnnest | 1 | FirebirdSql.Data.Entity.Symbol._isUnnest |
_name | 4 | FirebirdSql.Data.Entity.Symbol._name |
_newName | 4 | FirebirdSql.Data.Entity.Symbol._newName |
_type | 4 | FirebirdSql.Data.Entity.Symbol._type |
_source | 4 | FirebirdSql.Data.Entity.SymbolPair ._source |
_column | 4 | FirebirdSql.Data.Entity.SymbolPair ._column |
_symbols | 4 | FirebirdSql.Data.Entity.SymbolTable ._symbols |
_descriptor | 21 | FirebirdSql.Data.Common.ArrayBase ._descriptor |
_tableName | 4 | FirebirdSql.Data.Common.ArrayBase ._tableName |
_fieldName | 4 | FirebirdSql.Data.Common.ArrayBase ._fieldName |
_rdbFieldName | 4 | FirebirdSql.Data.Common.ArrayBase ._rdbFieldName |
lowerBound | 4 | FirebirdSql.Data.Common.ArrayBound .lowerBound |
upperBound | 4 | FirebirdSql.Data.Common.ArrayBound .upperBound |
dataType | 1 | FirebirdSql.Data.Common.ArrayDesc .dataType |
scale | 2 | FirebirdSql.Data.Common.ArrayDesc.scale |
length | 2 | FirebirdSql.Data.Common.ArrayDesc.length |
fieldName | 4 | FirebirdSql.Data.Common.ArrayDesc .fieldName |
relationName | 4 | FirebirdSql.Data.Common.ArrayDesc .relationName |
dimensions | 2 | FirebirdSql.Data.Common.ArrayDesc .dimensions |
flags | 2 | FirebirdSql.Data.Common.ArrayDesc.flags |
bounds | 4 | FirebirdSql.Data.Common.ArrayDesc.bounds |
_rblFlags | 4 | FirebirdSql.Data.Common.BlobBase ._rblFlags |
_charset | 4 | FirebirdSql.Data.Common.BlobBase ._charset |
Rule warning: Static fields should be prefixed with a 's_' |
• How to Fix Violations: Once the rule has been adapted to your own naming convention make sure to name all matched static fields adequately.
38 fields matched
fields | Size of instance | Full Name |
---|---|---|
ResourceName | N/A | FirebirdSql.Data.Schema.FbSchemaFactory .ResourceName |
_builtInFunctionHandlers | N/A | FirebirdSql.Data.Entity.SqlGenerator ._builtInFunctionHandlers |
_canonicalFunctionHandlers | N/A | FirebirdSql.Data.Entity.SqlGenerator ._canonicalFunctionHandlers |
_functionNameToOperatorDictionary | N/A | FirebirdSql.Data.Entity.SqlGenerator ._functionNameToOperatorDictionary |
hexDigits | N/A | FirebirdSql.Data.Entity.SqlGenerator .hexDigits |
_messages | N/A | FirebirdSql.Data.Common.IscErrorMessages ._messages |
_mapping | N/A | FirebirdSql.Data.Common.SqlStateMapping ._mapping |
InfiniteTimeSpan | N/A | FirebirdSql.Data.Common.TimeoutHelper .InfiniteTimeSpan |
_instance | N/A | FirebirdSql.Data.Common.TraceHelper ._instance |
charsetsById | N/A | FirebirdSql.Data.Common.Charset .charsetsById |
charsetsByName | N/A | FirebirdSql.Data.Common.Charset .charsetsByName |
DescribePlanInfoItems | N/A | FirebirdSql.Data.Common.StatementBase .DescribePlanInfoItems |
RowsAffectedInfoItems | N/A | FirebirdSql.Data.Common.StatementBase .RowsAffectedInfoItems |
DescribeInfoAndBindInfoItems | N/A | FirebirdSql.Data.Common.StatementBase .DescribeInfoAndBindInfoItems |
StatementTypeInfoItems | N/A | FirebirdSql.Data.Common.StatementBase .StatementTypeInfoItems |
_instanceLazy | N/A | FirebirdSql.Data.FirebirdClient .FbConnectionPoolManager._instanceLazy |
Instance | N/A | FirebirdSql.Data.FirebirdClient .FbProviderServices.Instance |
Synonyms | N/A | FirebirdSql.Data.FirebirdClient .FbConnectionString.Synonyms |
DefaultValues | N/A | FirebirdSql.Data.FirebirdClient .FbConnectionString.DefaultValues |
EventRowUpdated | N/A | FirebirdSql.Data.FirebirdClient .FbDataAdapter.EventRowUpdated |
EventRowUpdating | N/A | FirebirdSql.Data.FirebirdClient .FbDataAdapter.EventRowUpdating |
Instance | N/A | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory.Instance |
DefaultDllName | N/A | FirebirdSql.Data.Client.Native .FbClientFactory.DefaultDllName |
cache | N/A | FirebirdSql.Data.Client.Native .FbClientFactory.cache |
injectionTypes | N/A | FirebirdSql.Data.Client.Native .FbClientFactory.injectionTypes |
sizeofXSQLDA | N/A | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler.sizeofXSQLDA |
sizeofXSQLVAR | N/A | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler .sizeofXSQLVAR |
N | N/A | FirebirdSql.Data.Client.Managed .SrpClient.N |
g | N/A | FirebirdSql.Data.Client.Managed .SrpClient.g |
k | N/A | FirebirdSql.Data.Client.Managed .SrpClient.k |
SEPARATOR_BYTES | N/A | FirebirdSql.Data.Client.Managed .SrpClient.SEPARATOR_BYTES |
fill | N/A | FirebirdSql.Data.Client.Managed .XdrStream.fill |
pad | N/A | FirebirdSql.Data.Client.Managed .XdrStream.pad |
Instance | N/A | FirebirdSql.Data.EntityFramework6 .FbProviderServices.Instance |
_builtInFunctionHandlers | N/A | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator._builtInFunctionHandlers |
_canonicalFunctionHandlers | N/A | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator._canonicalFunctionHandlers |
_functionNameToOperatorDictionary | N/A | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator ._functionNameToOperatorDictionary |
hexDigits | N/A | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.hexDigits |
Rule warning: Abstract base class should be suffixed with 'Base' |
• How to Fix Violations: Suffix the names of matched base classes with Base.
4 types matched
types | Full Name |
---|---|
FbService | FirebirdSql.Data.Services.FbService |
FbTraceConfiguration | FirebirdSql.Data.Services .FbTraceConfiguration |
FbSchema | FirebirdSql.Data.Schema.FbSchema |
ParameterBuffer | FirebirdSql.Data.Common.ParameterBuffer |
Rule warning: Methods name should begin with an Upper character |
• How to Fix Violations: Pascal Case the names of matched methods.
65 methods matched
methods | Full Name |
---|---|
isc_array_get_slice(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,Int64&,IntPtr,Byte[],Int32&) | FirebirdSql.Data.Client.Native.IFbClient .isc_array_get_slice(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,Int64&,IntPtr,Byte[],Int32&) |
isc_array_put_slice(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,Int64&,IntPtr,Byte[],Int32&) | FirebirdSql.Data.Client.Native.IFbClient .isc_array_put_slice(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,Int64&,IntPtr,Byte[],Int32&) |
isc_create_blob2(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,BlobHandle&,Int64&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_create_blob2(IntPtr[] ,DatabaseHandle&,TransactionHandle& ,BlobHandle&,Int64&,Int16,Byte[]) |
isc_open_blob2(IntPtr[],DatabaseHandle& ,TransactionHandle&,BlobHandle&,Int64& ,Int16,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_open_blob2(IntPtr[],DatabaseHandle& ,TransactionHandle&,BlobHandle&,Int64& ,Int16,Byte[]) |
isc_get_segment(IntPtr[],BlobHandle& ,Int16&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_get_segment(IntPtr[],BlobHandle& ,Int16&,Int16,Byte[]) |
isc_put_segment(IntPtr[],BlobHandle& ,Int16,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_put_segment(IntPtr[],BlobHandle& ,Int16,Byte[]) |
isc_cancel_blob(IntPtr[],BlobHandle&) | FirebirdSql.Data.Client.Native.IFbClient .isc_cancel_blob(IntPtr[],BlobHandle&) |
isc_close_blob(IntPtr[],BlobHandle&) | FirebirdSql.Data.Client.Native.IFbClient .isc_close_blob(IntPtr[],BlobHandle&) |
isc_attach_database(IntPtr[],Int16 ,Byte[],DatabaseHandle&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_attach_database(IntPtr[],Int16 ,Byte[],DatabaseHandle&,Int16,Byte[]) |
isc_detach_database(IntPtr[] ,DatabaseHandle&) | FirebirdSql.Data.Client.Native.IFbClient .isc_detach_database(IntPtr[] ,DatabaseHandle&) |
isc_database_info(IntPtr[] ,DatabaseHandle&,Int16,Byte[],Int16 ,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_database_info(IntPtr[] ,DatabaseHandle&,Int16,Byte[],Int16 ,Byte[]) |
isc_create_database(IntPtr[],Int16 ,Byte[],DatabaseHandle&,Int16,Byte[] ,Int16) | FirebirdSql.Data.Client.Native.IFbClient .isc_create_database(IntPtr[],Int16 ,Byte[],DatabaseHandle&,Int16,Byte[] ,Int16) |
isc_drop_database(IntPtr[] ,DatabaseHandle&) | FirebirdSql.Data.Client.Native.IFbClient .isc_drop_database(IntPtr[] ,DatabaseHandle&) |
isc_start_multiple(IntPtr[] ,TransactionHandle&,Int16,IntPtr) | FirebirdSql.Data.Client.Native.IFbClient .isc_start_multiple(IntPtr[] ,TransactionHandle&,Int16,IntPtr) |
isc_commit_transaction(IntPtr[] ,TransactionHandle&) | FirebirdSql.Data.Client.Native.IFbClient .isc_commit_transaction(IntPtr[] ,TransactionHandle&) |
isc_commit_retaining(IntPtr[] ,TransactionHandle&) | FirebirdSql.Data.Client.Native.IFbClient .isc_commit_retaining(IntPtr[] ,TransactionHandle&) |
isc_rollback_transaction(IntPtr[] ,TransactionHandle&) | FirebirdSql.Data.Client.Native.IFbClient .isc_rollback_transaction(IntPtr[] ,TransactionHandle&) |
isc_rollback_retaining(IntPtr[] ,TransactionHandle&) | FirebirdSql.Data.Client.Native.IFbClient .isc_rollback_retaining(IntPtr[] ,TransactionHandle&) |
fb_cancel_operation(IntPtr[] ,DatabaseHandle&,Int32) | FirebirdSql.Data.Client.Native.IFbClient .fb_cancel_operation(IntPtr[] ,DatabaseHandle&,Int32) |
isc_dsql_allocate_statement(IntPtr[] ,DatabaseHandle&,StatementHandle&) | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_allocate_statement(IntPtr[] ,DatabaseHandle&,StatementHandle&) |
isc_dsql_describe(IntPtr[] ,StatementHandle&,Int16,IntPtr) | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_describe(IntPtr[] ,StatementHandle&,Int16,IntPtr) |
isc_dsql_describe_bind(IntPtr[] ,StatementHandle&,Int16,IntPtr) | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_describe_bind(IntPtr[] ,StatementHandle&,Int16,IntPtr) |
isc_dsql_prepare(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,Byte[],Int16,IntPtr) | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_prepare(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,Byte[],Int16,IntPtr) |
isc_dsql_execute(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,IntPtr) | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_execute(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,IntPtr) |
isc_dsql_execute2(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,IntPtr,IntPtr) | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_execute2(IntPtr[] ,TransactionHandle&,StatementHandle& ,Int16,IntPtr,IntPtr) |
isc_dsql_fetch(IntPtr[],StatementHandle& ,Int16,IntPtr) | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_fetch(IntPtr[] ,StatementHandle&,Int16,IntPtr) |
isc_dsql_free_statement(IntPtr[] ,StatementHandle&,Int16) | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_free_statement(IntPtr[] ,StatementHandle&,Int16) |
isc_dsql_sql_info(IntPtr[] ,StatementHandle&,Int16,Byte[],Int16 ,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_dsql_sql_info(IntPtr[] ,StatementHandle&,Int16,Byte[],Int16 ,Byte[]) |
isc_vax_integer(Byte[],Int16) | FirebirdSql.Data.Client.Native.IFbClient .isc_vax_integer(Byte[],Int16) |
isc_service_attach(IntPtr[],Int16,String ,Int32&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_service_attach(IntPtr[],Int16 ,String,Int32&,Int16,Byte[]) |
isc_service_start(IntPtr[],Int32&,Int32& ,Int16,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_service_start(IntPtr[],Int32& ,Int32&,Int16,Byte[]) |
isc_service_detach(IntPtr[],Int32&) | FirebirdSql.Data.Client.Native.IFbClient .isc_service_detach(IntPtr[],Int32&) |
isc_service_query(IntPtr[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | FirebirdSql.Data.Client.Native.IFbClient .isc_service_query(IntPtr[],Int32& ,Int32&,Int16,Byte[],Int16,Byte[],Int16 ,Byte[]) |
isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) |
isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) |
isc_cancel_blob(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_cancel_blob(Int32[],Int32&) |
isc_close_blob(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_close_blob(Int32[],Int32&) |
isc_attach_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_attach_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[]) |
isc_detach_database(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_detach_database(Int32[],Int32&) |
isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_create_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[],Int16) | FirebirdSql.Data.Client.Native.FbClient .isc_create_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[],Int16) |
isc_drop_database(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_drop_database(Int32[],Int32&) |
isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) |
isc_commit_transaction(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_commit_transaction(Int32[],Int32&) |
isc_commit_retaining(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_commit_retaining(Int32[],Int32&) |
isc_rollback_transaction(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_transaction(Int32[],Int32& ) |
isc_rollback_retaining(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_retaining(Int32[],Int32&) |
isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) |
isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) |
isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) |
isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) |
isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) |
isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_free_statement(Int32[],Int32& ,Int16) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_free_statement(Int32[],Int32& ,Int16) |
isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_vax_integer(Byte[],Int16) | FirebirdSql.Data.Client.Native.FbClient .isc_vax_integer(Byte[],Int16) |
isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) |
isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) |
isc_service_detach(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_service_detach(Int32[],Int32&) |
isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) |
Rule warning: Avoid types with name too long |
• How to Fix Violations: To fix a violation of this rule, rename the type with a shortest name or eventually split the type in several more fine-grained types.
2 types matched
types | SimpleName | Full Name |
---|---|---|
FbDatabaseTraceConfigurationCollection | FbDatabaseTraceConfigurationCollection | FirebirdSql.Data.Services .FbDatabaseTraceConfigurationCollection |
DefaultFbMigrationSqlGeneratorBehavior | DefaultFbMigrationSqlGeneratorBehavior | FirebirdSql.Data.EntityFramework6 .DefaultFbMigrationSqlGeneratorBehavior |
Rule warning: Avoid methods with name too long |
• How to Fix Violations: To fix a violation of this rule, rename the method with a shortest name that equally conveys the behavior of the method. Or eventually split the method into several smaller methods.
16 methods matched
methods | SimpleName | Full Name |
---|---|---|
InitializeFunctionNameToOperatorDictiona ry() | InitializeFunctionNameToOperatorDictionary | FirebirdSql.Data.Entity.SqlGenerator .InitializeFunctionNameToOperatorDiction ary() |
HandleCanonicalFunctionCurrentUtcDateTim e(SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCurrentUtcDateTime | FirebirdSql.Data.Entity.SqlGenerator .HandleCanonicalFunctionCurrentUtcDateTi me(SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionCurrentDateTimeOf fset(SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCurrentDateTimeOffset | FirebirdSql.Data.Entity.SqlGenerator .HandleCanonicalFunctionCurrentDateTimeO ffset(SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionGetTotalOffsetMin utes(SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionGetTotalOffsetMinutes | FirebirdSql.Data.Entity.SqlGenerator .HandleCanonicalFunctionGetTotalOffsetMi nutes(SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionCurrentDateTime (SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCurrentDateTime | FirebirdSql.Data.Entity.SqlGenerator .HandleCanonicalFunctionCurrentDateTime (SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionCreateDateTime (SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCreateDateTime | FirebirdSql.Data.Entity.SqlGenerator .HandleCanonicalFunctionCreateDateTime (SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionCreateDateTimeOff set(SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCreateDateTimeOffset | FirebirdSql.Data.Entity.SqlGenerator .HandleCanonicalFunctionCreateDateTimeOf fset(SqlGenerator,DbFunctionExpression) |
EmitClientInjectionToFirebirdHandleOject s(Type,List<ParameterInfo>,ILGenerator) | EmitClientInjectionToFirebirdHandleOjects | FirebirdSql.Data.Client.Native .FbClientFactory .EmitClientInjectionToFirebirdHandleOjec ts(Type,List<ParameterInfo>,ILGenerator) |
ProcessStoredProcedureExecuteResponse (SqlResponse) | ProcessStoredProcedureExecuteResponse | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ProcessStoredProcedureExecuteResponse (SqlResponse) |
InitializeFunctionNameToOperatorDictiona ry() | InitializeFunctionNameToOperatorDictionary | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .InitializeFunctionNameToOperatorDiction ary() |
HandleCanonicalFunctionCurrentUtcDateTim e(SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCurrentUtcDateTime | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .HandleCanonicalFunctionCurrentUtcDateTi me(SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionCurrentDateTimeOf fset(SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCurrentDateTimeOffset | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .HandleCanonicalFunctionCurrentDateTimeO ffset(SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionGetTotalOffsetMin utes(SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionGetTotalOffsetMinutes | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .HandleCanonicalFunctionGetTotalOffsetMi nutes(SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionCurrentDateTime (SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCurrentDateTime | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .HandleCanonicalFunctionCurrentDateTime (SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionCreateDateTime (SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCreateDateTime | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .HandleCanonicalFunctionCreateDateTime (SqlGenerator,DbFunctionExpression) |
HandleCanonicalFunctionCreateDateTimeOff set(SqlGenerator,DbFunctionExpression) | HandleCanonicalFunctionCreateDateTimeOffset | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator .HandleCanonicalFunctionCreateDateTimeOf fset(SqlGenerator,DbFunctionExpression) |
Critical Rule warning: Avoid having different types with same name |
• How to Fix Violations: To fix a violation of this rule, rename concerned types.
21 types matched
types | types | Full Name |
---|---|---|
GdsDatabase | 4 types | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase |
GdsStatement | 4 types | FirebirdSql.Data.Client.Managed .Version10.GdsStatement |
DmlSqlGenerator | 2 types | FirebirdSql.Data.Entity.DmlSqlGenerator |
ExpressionTranslator | 2 types | FirebirdSql.Data.Entity .ExpressionTranslator |
FirstClause | 2 types | FirebirdSql.Data.Entity.FirstClause |
ISqlFragment | 2 types | FirebirdSql.Data.Entity.ISqlFragment |
JoinSymbol | 2 types | FirebirdSql.Data.Entity.JoinSymbol |
MetadataHelpers | 2 types | FirebirdSql.Data.Entity.MetadataHelpers |
SkipClause | 2 types | FirebirdSql.Data.Entity.SkipClause |
SqlBuilder | 2 types | FirebirdSql.Data.Entity.SqlBuilder |
SqlGenerator | 2 types | FirebirdSql.Data.Entity.SqlGenerator |
SqlSelectStatement | 2 types | FirebirdSql.Data.Entity .SqlSelectStatement |
SqlWriter | 2 types | FirebirdSql.Data.Entity.SqlWriter |
SsdlToFb | 2 types | FirebirdSql.Data.Entity.SsdlToFb |
Symbol | 2 types | FirebirdSql.Data.Entity.Symbol |
SymbolPair | 2 types | FirebirdSql.Data.Entity.SymbolPair |
SymbolTable | 2 types | FirebirdSql.Data.Entity.SymbolTable |
TypeHelpers | 2 types | FirebirdSql.Data.Entity.TypeHelpers |
FbProviderManifest | 2 types | FirebirdSql.Data.FirebirdClient .FbProviderManifest |
FbProviderServices | 2 types | FirebirdSql.Data.FirebirdClient .FbProviderServices |
VersionInfo | 2 types | FirebirdSql.Data.FirebirdClient .Properties.VersionInfo |
Rule warning: Avoid prefixing type name with parent namespace name |
• How to Fix Violations: To fix a violation of this rule, remove the prefix from the type name.
4 types matched
types | namespaceName | Full Name |
---|---|---|
SqlGenerator | SqlGen | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator |
FirebirdClientPermission | FirebirdClient | FirebirdSql.Data.FirebirdClient .FirebirdClientPermission |
FirebirdClientPermissionAttribute | FirebirdClient | FirebirdSql.Data.FirebirdClient .FirebirdClientPermissionAttribute |
FirebirdClientFactory | FirebirdClient | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory |
Rule warning: Methods prefixed with 'Try' should return a boolean |
• How to Fix Violations: To fix a violation of this rule, Rename the method, or transform it into an operation that can fail.
1 methods matched
method | ReturnType | Full Name |
---|---|---|
TryAddCharset(List<Charset>,Func<Charset >) | Void | FirebirdSql.Data.Common.Charset .TryAddCharset(List<Charset>,Func <Charset>) |
Source Files Organization | 420 |
|
Rule warning: Avoid referencing source file out of Visual Studio project directory |
• How to Fix Violations: To fix a violation of this rule, prefer referencing from a VS project only source files defined in sub-directories of the VS project file location.
1 types matched
type | sourceFilePathLower | projectFilePath | Full Name |
---|---|---|---|
VersionInfo | c:\users\jiri\desktop\firebirdsql.data.firebirdclient-5.0.5.0\firebirdsql.data.firebirdclient-5.0.5.0\provider\src\firebirdsql.data.firebirdclient\properties\versioninfo.cs | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\EntityFramework.Firebird\EntityFramework.Firebird.csproj | FirebirdSql.Data.EntityFramework6 .Properties.VersionInfo |
Rule warning: Namespace name should correspond to file location |
• How to Fix Violations: To fix a violation of this rule, make sure that the type parent namespace and the directory sub-paths that contains the type source file, are mirrored.
184 types matched
types | dirCorresponding | sourceFilePath | Full Name |
---|---|---|---|
DefaultFbMigrationSqlGeneratorBehavior | FirebirdSql Data EntityFramework6 | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\EntityFramework.Firebird\DefaultFbMigrationSqlGeneratorBehavior.cs | FirebirdSql.Data.EntityFramework6 .DefaultFbMigrationSqlGeneratorBehavior |
FbConnectionFactory | FirebirdSql Data EntityFramework6 | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\EntityFramework.Firebird\FbConnectionFactory.cs | FirebirdSql.Data.EntityFramework6 .FbConnectionFactory |
FbMigrationSqlGenerator | FirebirdSql Data EntityFramework6 | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\EntityFramework.Firebird\FbMigrationSqlGenerator.cs | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator |
IFbMigrationSqlGeneratorBehavior | FirebirdSql Data EntityFramework6 | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\EntityFramework.Firebird\IFbMigrationSqlGeneratorBehavior.cs | FirebirdSql.Data.EntityFramework6 .IFbMigrationSqlGeneratorBehavior |
FbMigrationsTransactionsInterceptor | FirebirdSql Data EntityFramework6 | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\EntityFramework.Firebird\FbMigrationsTransactionsInterceptor.cs | FirebirdSql.Data.EntityFramework6 .FbMigrationsTransactionsInterceptor |
VersionInfo | FirebirdSql Data EntityFramework6 Properties | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Properties\VersionInfo.cs | FirebirdSql.Data.EntityFramework6 .Properties.VersionInfo |
FbBackup | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbBackup.cs | FirebirdSql.Data.Services.FbBackup |
FbBackupFile | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbBackupFile.cs | FirebirdSql.Data.Services.FbBackupFile |
FbBackupFileCollection | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbBackupFileCollection.cs | FirebirdSql.Data.Services .FbBackupFileCollection |
FbBackupFlags | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbBackupFlags.cs | FirebirdSql.Data.Services.FbBackupFlags |
FbConfiguration | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbConfiguration.cs | FirebirdSql.Data.Services .FbConfiguration |
FbDatabasesInfo | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbDatabasesInfo.cs | FirebirdSql.Data.Services .FbDatabasesInfo |
FbDatabaseTraceConfiguration | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbDatabaseTraceConfiguration.cs | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration |
FbDatabaseTraceEvents | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbDatabaseTraceEvents.cs | FirebirdSql.Data.Services .FbDatabaseTraceEvents |
FbShutdownMode | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbShutdownMode.cs | FirebirdSql.Data.Services.FbShutdownMode |
FbShutdownOnlineMode | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbShutdownOnlineMode.cs | FirebirdSql.Data.Services .FbShutdownOnlineMode |
FbStreamingBackup | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbStreamingBackup.cs | FirebirdSql.Data.Services .FbStreamingBackup |
FbStreamingRestore | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbStreamingRestore.cs | FirebirdSql.Data.Services .FbStreamingRestore |
FbLog | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbLog.cs | FirebirdSql.Data.Services.FbLog |
FbNBackup | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbNBackup.cs | FirebirdSql.Data.Services.FbNBackup |
FbNBackupFlags | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbNBackupFlags.cs | FirebirdSql.Data.Services.FbNBackupFlags |
FbNRestore | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbNRestore.cs | FirebirdSql.Data.Services.FbNRestore |
FbRestore | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbRestore.cs | FirebirdSql.Data.Services.FbRestore |
FbRestoreFlags | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbRestoreFlags.cs | FirebirdSql.Data.Services.FbRestoreFlags |
FbSecurity | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbSecurity.cs | FirebirdSql.Data.Services.FbSecurity |
FbServerConfig | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbServerConfig.cs | FirebirdSql.Data.Services.FbServerConfig |
FbServerProperties | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbServerProperties.cs | FirebirdSql.Data.Services .FbServerProperties |
FbService | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbService.cs | FirebirdSql.Data.Services.FbService |
FbServiceState | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbServiceState.cs | FirebirdSql.Data.Services.FbServiceState |
FbServiceTraceConfiguration | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbServiceTraceConfiguration.cs | FirebirdSql.Data.Services .FbServiceTraceConfiguration |
FbServiceTraceEvents | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbServiceTraceEvents.cs | FirebirdSql.Data.Services .FbServiceTraceEvents |
FbShutdownType | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbShutdownType.cs | FirebirdSql.Data.Services.FbShutdownType |
FbStatistical | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbStatistical.cs | FirebirdSql.Data.Services.FbStatistical |
FbStatisticalFlags | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbStatisticalFlags.cs | FirebirdSql.Data.Services .FbStatisticalFlags |
FbTrace | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbTrace.cs | FirebirdSql.Data.Services.FbTrace |
FbDatabaseTraceConfigurationCollection | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbDatabaseTraceConfigurationCollection.cs | FirebirdSql.Data.Services .FbDatabaseTraceConfigurationCollection |
FbTraceConfiguration | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbTraceConfiguration.cs | FirebirdSql.Data.Services .FbTraceConfiguration |
FbUserData | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbUserData.cs | FirebirdSql.Data.Services.FbUserData |
FbValidation | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbValidation.cs | FirebirdSql.Data.Services.FbValidation |
FbValidationFlags | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\FbValidationFlags.cs | FirebirdSql.Data.Services .FbValidationFlags |
ServiceOutputEventArgs | FirebirdSql Data Services | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Services\ServiceOutputEventArgs.cs | FirebirdSql.Data.Services .ServiceOutputEventArgs |
FbCharacterSets | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbCharacterSets.cs | FirebirdSql.Data.Schema.FbCharacterSets |
FbCheckConstraints | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbCheckConstraints.cs | FirebirdSql.Data.Schema .FbCheckConstraints |
FbChecksByTable | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbChecksByTable.cs | FirebirdSql.Data.Schema.FbChecksByTable |
FbCollations | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbCollations.cs | FirebirdSql.Data.Schema.FbCollations |
FbColumnPrivileges | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbColumnPrivileges.cs | FirebirdSql.Data.Schema .FbColumnPrivileges |
FbColumns | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbColumns.cs | FirebirdSql.Data.Schema.FbColumns |
FbSchema | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbSchema.cs | FirebirdSql.Data.Schema.FbSchema |
FbSchemaFactory | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbSchemaFactory.cs | FirebirdSql.Data.Schema.FbSchemaFactory |
FbDomains | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbDomains.cs | FirebirdSql.Data.Schema.FbDomains |
FbForeignKeyColumns | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbForeignKeyColumns.cs | FirebirdSql.Data.Schema .FbForeignKeyColumns |
FbForeignKeys | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbForeignKeys.cs | FirebirdSql.Data.Schema.FbForeignKeys |
FbFunctions | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbFunctions.cs | FirebirdSql.Data.Schema.FbFunctions |
FbGenerators | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbGenerators.cs | FirebirdSql.Data.Schema.FbGenerators |
FbIndexColumns | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbIndexColumns.cs | FirebirdSql.Data.Schema.FbIndexColumns |
FbIndexes | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbIndexes.cs | FirebirdSql.Data.Schema.FbIndexes |
FbPrimaryKeys | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbPrimaryKeys.cs | FirebirdSql.Data.Schema.FbPrimaryKeys |
FbProcedureParameters | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbProcedureParameters.cs | FirebirdSql.Data.Schema .FbProcedureParameters |
FbProcedurePrivilegesSchema | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbProcedurePrivileges.cs | FirebirdSql.Data.Schema .FbProcedurePrivilegesSchema |
FbProcedures | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbProcedures.cs | FirebirdSql.Data.Schema.FbProcedures |
FbRoles | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbRoles.cs | FirebirdSql.Data.Schema.FbRoles |
FbTableConstraints | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbTableConstraints.cs | FirebirdSql.Data.Schema .FbTableConstraints |
FbTablePrivileges | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbTablePrivileges.cs | FirebirdSql.Data.Schema .FbTablePrivileges |
FbTables | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbTables.cs | FirebirdSql.Data.Schema.FbTables |
FbTriggers | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbTriggers.cs | FirebirdSql.Data.Schema.FbTriggers |
FbUniqueKeys | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbUniqueKeys.cs | FirebirdSql.Data.Schema.FbUniqueKeys |
FbViewColumns | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbViewColumns.cs | FirebirdSql.Data.Schema.FbViewColumns |
FbViewPrivileges | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbViewPrivileges.cs | FirebirdSql.Data.Schema.FbViewPrivileges |
FbViews | FirebirdSql Data Schema | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Schema\FbViews.cs | FirebirdSql.Data.Schema.FbViews |
FbStatement | FirebirdSql Data Isql | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Isql\FbStatement.cs | FirebirdSql.Data.Isql.FbStatement |
UnknownStatementEventArgs | FirebirdSql Data Isql | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Isql\UnknownStatementEventArgs.cs | FirebirdSql.Data.Isql .UnknownStatementEventArgs |
CommandExecutedEventArgs | FirebirdSql Data Isql | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Isql\CommandExecutedEventArgs.cs | FirebirdSql.Data.Isql .CommandExecutedEventArgs |
CommandExecutingEventArgs | FirebirdSql Data Isql | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Isql\CommandExecutingEventArgs.cs | FirebirdSql.Data.Isql .CommandExecutingEventArgs |
FbBatchExecution | FirebirdSql Data Isql | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Isql\FbBatchExecution.cs | FirebirdSql.Data.Isql.FbBatchExecution |
FbScript | FirebirdSql Data Isql | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Isql\FbScript.cs | FirebirdSql.Data.Isql.FbScript |
SqlStatementType | FirebirdSql Data Isql | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Isql\SqlStatementType.cs | FirebirdSql.Data.Isql.SqlStatementType |
SqlStringParser | FirebirdSql Data Isql | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Isql\SqlStringParser.cs | FirebirdSql.Data.Isql.SqlStringParser |
FbStatementCollection | FirebirdSql Data Isql | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Isql\FbStatementCollection.cs | FirebirdSql.Data.Isql .FbStatementCollection |
DmlSqlGenerator | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\DmlSqlGenerator.cs | FirebirdSql.Data.Entity.DmlSqlGenerator |
ExpressionTranslator | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\ExpressionTranslator.cs | FirebirdSql.Data.Entity .ExpressionTranslator |
FirstClause | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\FirstClause.cs | FirebirdSql.Data.Entity.FirstClause |
ISqlFragment | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\ISqlFragment.cs | FirebirdSql.Data.Entity.ISqlFragment |
JoinSymbol | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\JoinSymbol.cs | FirebirdSql.Data.Entity.JoinSymbol |
MetadataHelpers | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\MetadataHelpers.cs | FirebirdSql.Data.Entity.MetadataHelpers |
SkipClause | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\SkipClause.cs | FirebirdSql.Data.Entity.SkipClause |
SqlBuilder | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\SqlBuilder.cs | FirebirdSql.Data.Entity.SqlBuilder |
SqlGenerator | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\SqlGenerator.cs | FirebirdSql.Data.Entity.SqlGenerator |
SqlSelectStatement | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\SqlSelectStatement.cs | FirebirdSql.Data.Entity .SqlSelectStatement |
SqlWriter | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\SqlWriter.cs | FirebirdSql.Data.Entity.SqlWriter |
SsdlToFb | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\SsdlToFb.cs | FirebirdSql.Data.Entity.SsdlToFb |
SsdlToFb+GenerateColumnResult | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\SsdlToFb.cs | FirebirdSql.Data.Entity .SsdlToFb+GenerateColumnResult |
Symbol | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\Symbol.cs | FirebirdSql.Data.Entity.Symbol |
SymbolPair | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\SymbolPair.cs | FirebirdSql.Data.Entity.SymbolPair |
SymbolTable | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\SymbolTable.cs | FirebirdSql.Data.Entity.SymbolTable |
TypeHelpers | FirebirdSql Data Entity | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Entity\TypeHelpers.cs | FirebirdSql.Data.Entity.TypeHelpers |
Extensions | FirebirdSql Data Common | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Common\Extensions.cs | FirebirdSql.Data.Common.Extensions |
IscErrorMessages | FirebirdSql Data Common | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Common\IscErrorMessages.cs | FirebirdSql.Data.Common.IscErrorMessages |
PageSizeHelper | FirebirdSql Data Common | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Common\PageSizeHelper.cs | FirebirdSql.Data.Common.PageSizeHelper |
SqlStateMapping | FirebirdSql Data Common | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Common\SqlStateMapping.cs | FirebirdSql.Data.Common.SqlStateMapping |
TimeoutHelper | FirebirdSql Data Common | C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\Common\TimeoutHelper.cs | FirebirdSql.Data.Common.TimeoutHelper |
.NET Framework Usage | 1980 |
|
System | 1120 |
|
Rule warning: Do not raise too general exception types |
• How to Fix Violations: To fix a violation of this rule, change the type of the thrown exception to either a more derived type that already exists in the framework, or create your own type that derives from System.Exception.
2 methods matched
methods | Full Name |
---|---|
InitializeClientSecurity() | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .InitializeClientSecurity() |
GetClientSecurity(Byte[]) | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper.GetClientSecurity (Byte[]) |
Rule warning: Do not raise reserved exception types |
• How to Fix Violations: To fix a violation of this rule, change the type of the thrown exception to a specific type that is not one of the reserved types.
3 methods matched
methods | reservedExceptionsCreated | Full Name |
---|---|---|
CheckIndex(Int32) | 1 type | FirebirdSql.Data.FirebirdClient .FbDataReader.CheckIndex(Int32) |
GetColumnIndex(String) | 1 type | FirebirdSql.Data.FirebirdClient .FbDataReader.GetColumnIndex(String) |
RemoveAt(Int32) | 1 type | FirebirdSql.Data.FirebirdClient .FbParameterCollection.RemoveAt(Int32) |
System.Collection | 020 |
|
Rule warning: Collection properties should be read only |
• How to Fix Violations: To fix a violation of this rule, make the property read-only and, if the design requires it, add methods to clear and re-populate the collection.
10 methods matched
methods | CollectionType | Full Name |
---|---|---|
set_Tokens(String[]) | Array | FirebirdSql.Data.Isql.SqlStringParser .set_Tokens(String[]) |
set_ColumnList(List<Symbol>) | List<T> | FirebirdSql.Data.Entity.JoinSymbol .set_ColumnList(List<Symbol>) |
set_FlattenedExtentList(List<Symbol>) | List<T> | FirebirdSql.Data.Entity.JoinSymbol .set_FlattenedExtentList(List<Symbol>) |
set_AllJoinExtents(List<Symbol>) | List<T> | FirebirdSql.Data.Entity .SqlSelectStatement.set_AllJoinExtents (List<Symbol>) |
set_Bounds(ArrayBound[]) | Array | FirebirdSql.Data.Common.ArrayDesc .set_Bounds(ArrayBound[]) |
set_LockTables(IDictionary<String ,FbTransactionBehavior>) | IDictionary<TKey,TValue> | FirebirdSql.Data.FirebirdClient .FbTransactionOptions.set_LockTables (IDictionary<String ,FbTransactionBehavior>) |
set_Parent(FbParameterCollection) | FbParameterCollection | FirebirdSql.Data.FirebirdClient .FbParameter.set_Parent (FbParameterCollection) |
set_ColumnList(List<Symbol>) | List<T> | FirebirdSql.Data.EntityFramework6.SqlGen .JoinSymbol.set_ColumnList(List<Symbol>) |
set_FlattenedExtentList(List<Symbol>) | List<T> | FirebirdSql.Data.EntityFramework6.SqlGen .JoinSymbol.set_FlattenedExtentList(List <Symbol>) |
set_AllJoinExtents(List<Symbol>) | List<T> | FirebirdSql.Data.EntityFramework6.SqlGen .SqlSelectStatement.set_AllJoinExtents (List<Symbol>) |
Rule warning: Don't use .NET 1.x HashTable and ArrayList |
• How to Fix Violations: List<T> should be preferred over ArrayList. It is generic hence you get strongly typed elements. Also, it is faster with T as a value types since it avoids boxing. For the same reasons: • Dictionary<K,V> should be prevered over HashTable. • Queue<T> should be prevered over Queue. • Stack<T> should be prevered over Stack. • SortedDictionary<K,V> or SortedList<K,V> should be prevered over SortedList. You can be forced to use non generic collections because you are using third party code that requires working with these classes or because you are coding with .NET 1.x, but nowadays this situation should question about using newer updates of .NET. .NET 1.x is an immature platform conpared to newer .NET updates.
4 methods matched
methods | Full Name |
---|---|
Query(Byte[]) | FirebirdSql.Data.Services.FbService .Query(Byte[]) |
BuildExceptionMessage() | FirebirdSql.Data.Common.IscException .BuildExceptionMessage() |
ParseDatabaseInfo(Byte[]) | FirebirdSql.Data.Common.IscHelper .ParseDatabaseInfo(Byte[]) |
.ctor(IDatabase,TransactionBase) | FirebirdSql.Data.Client.Native .FesStatement..ctor(IDatabase ,TransactionBase) |
System.Runtime .InteropServices | 120 |
|
Rule warning: P/Invokes should be static and not be visible |
• How to Fix Violations: To fix a violation of this rule, change the access level of the method and/or declare it as static.
32 methods matched
methods | Visibility | IsStatic | Full Name |
---|---|---|---|
isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) |
isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) |
isc_cancel_blob(Int32[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_cancel_blob(Int32[],Int32&) |
isc_close_blob(Int32[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_close_blob(Int32[],Int32&) |
isc_attach_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_attach_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[]) |
isc_detach_database(Int32[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_detach_database(Int32[],Int32&) |
isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_create_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[],Int16) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_create_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[],Int16) |
isc_drop_database(Int32[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_drop_database(Int32[],Int32&) |
isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) |
isc_commit_transaction(Int32[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_commit_transaction(Int32[],Int32&) |
isc_commit_retaining(Int32[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_commit_retaining(Int32[],Int32&) |
isc_rollback_transaction(Int32[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_transaction(Int32[],Int32& ) |
isc_rollback_retaining(Int32[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_retaining(Int32[],Int32&) |
isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) |
isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) |
isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) |
isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) |
isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) |
isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_free_statement(Int32[],Int32& ,Int16) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_free_statement(Int32[],Int32& ,Int16) |
isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_vax_integer(Byte[],Int16) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_vax_integer(Byte[],Int16) |
isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) |
isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) |
isc_service_detach(Int32[],Int32&) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_service_detach(Int32[],Int32&) |
isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | Public | True | FirebirdSql.Data.Client.Native.FbClient .isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) |
Rule warning: Move P/Invokes to NativeMethods class |
• How to Fix Violations: To fix a violation of this rule, move the method to the appropriate NativeMethods class. For most applications, moving P/Invokes to a new class that is named NativeMethods is enough.
37 methods matched
methods | Full Name |
---|---|
isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) |
isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) |
isc_cancel_blob(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_cancel_blob(Int32[],Int32&) |
isc_close_blob(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_close_blob(Int32[],Int32&) |
isc_attach_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_attach_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[]) |
isc_detach_database(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_detach_database(Int32[],Int32&) |
isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_create_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[],Int16) | FirebirdSql.Data.Client.Native.FbClient .isc_create_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[],Int16) |
isc_drop_database(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_drop_database(Int32[],Int32&) |
isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) |
isc_commit_transaction(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_commit_transaction(Int32[],Int32&) |
isc_commit_retaining(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_commit_retaining(Int32[],Int32&) |
isc_rollback_transaction(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_transaction(Int32[],Int32& ) |
isc_rollback_retaining(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_retaining(Int32[],Int32&) |
isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) |
isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) |
isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) |
isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) |
isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) |
isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_free_statement(Int32[],Int32& ,Int16) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_free_statement(Int32[],Int32& ,Int16) |
isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_vax_integer(Byte[],Int16) | FirebirdSql.Data.Client.Native.FbClient .isc_vax_integer(Byte[],Int16) |
isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) |
isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) |
isc_service_detach(Int32[],Int32&) | FirebirdSql.Data.Client.Native.FbClient .isc_service_detach(Int32[],Int32&) |
isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | FirebirdSql.Data.Client.Native.FbClient .isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) |
AcquireCredentialsHandle(String,String ,Int32,IntPtr,IntPtr,Int32,IntPtr ,SSPIHelper+SecHandle& ,SSPIHelper+SecInteger&) | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .AcquireCredentialsHandle(String,String ,Int32,IntPtr,IntPtr,Int32,IntPtr ,SSPIHelper+SecHandle& ,SSPIHelper+SecInteger&) |
InitializeSecurityContext (SSPIHelper+SecHandle&,IntPtr,String ,Int32,Int32,Int32,IntPtr,Int32 ,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .InitializeSecurityContext (SSPIHelper+SecHandle&,IntPtr,String ,Int32,Int32,Int32,IntPtr,Int32 ,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) |
InitializeSecurityContext (SSPIHelper+SecHandle& ,SSPIHelper+SecHandle&,String,Int32 ,Int32,Int32,SSPIHelper+SecBufferDesc& ,Int32,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .InitializeSecurityContext (SSPIHelper+SecHandle& ,SSPIHelper+SecHandle&,String,Int32 ,Int32,Int32,SSPIHelper+SecBufferDesc& ,Int32,SSPIHelper+SecHandle& ,SSPIHelper+SecBufferDesc&,UInt32& ,SSPIHelper+SecInteger&) |
FreeCredentialsHandle (SSPIHelper+SecHandle&) | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .FreeCredentialsHandle (SSPIHelper+SecHandle&) |
DeleteSecurityContext (SSPIHelper+SecHandle&) | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper .DeleteSecurityContext (SSPIHelper+SecHandle&) |
System.Threading | 320 |
|
Rule warning: Don't create threads explicitly |
• How to Fix Violations: Instead of creating explicitly threads, use the Task Parralel Library (TPL) that relies on the CLR thread pool. Introduction to TPL: https://msdn.microsoft.com/en-us/library/dd460717(v=vs.110).aspx TPL and the CLR v4 thread pool: http://www.danielmoth.com/Blog/New-And-Improved-CLR-4-Thread-Pool-Engine.aspx
1 methods matched
method | Full Name |
---|---|
QueueEvents(RemoteEvent) | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager.QueueEvents (RemoteEvent) |
Rule warning: Don't use dangerous threading methods |
• How to Fix Violations: Suppress calls to Thread methods exposed in the suppressCallsTo column in the rule result. Use instead facilities offered by the Task Parralel Library (TPL) : https://msdn.microsoft.com/en-us/library/dd460717(v=vs.110).aspx
1 methods matched
method | suppressCallsTo | Full Name |
---|---|---|
Close() | 1 method | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager.Close() |
Object Oriented Design
Base class should not use derivatives |
• How to Fix Violations: Understand the need for using derivatives, then imagine a new design, and then refactor. Typically an algorithm in the base class needs to access something from derived classes. You can try to encapsulate this access behind an abstract or a virtual method. If you see in the base class some conditions on typeof(DerivedClass) not only urgent refactoring is needed. Such condition can easily be replaced through an abstract or a virtual method. Sometime you'll see a base class that creates instance of some derived classes. In such situation, certainly using the factory method pattern http://en.wikipedia.org/wiki/Factory_method_pattern or the abstract factory pattern http://en.wikipedia.org/wiki/Abstract_factory_pattern will improve the design.
No types matched
Rule warning: Class shouldn't be too deep in inheritance tree |
• How to Fix Violations: In Object-Oriented Programming, a well-known motto is Favor Composition over Inheritance. This is because inheritance comes with pitfalls. In general, the implementation of a derived class is very bound up with the base class implementation. Also a base class exposes implementation details to its derived classes, that's why it's often said that inheritance breaks encapsulation. On the other hands, Composition favors binding with interfaces over binding with implementations. Hence, not only the encapsulation is preserved, but the design is clearer, because interfaces make it explicit and less coupled. Hence, to break a long inheritance chain, Composition is often a powerful way to enhance the design of the refactored underlying logic. You can also read: http://en.wikipedia.org/wiki/Composition_over_inheritance and http://stackoverflow.com/questions/49002/prefer-composition-over-inheritance
3 types matched
types | baseClasses | Depth of inheritance | Full Name |
---|---|---|---|
GdsDatabase | 3 types | 4 | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase |
GdsStatement | 4 types | 5 | FirebirdSql.Data.Client.Managed .Version13.GdsStatement |
GdsStatement | 3 types | 4 | FirebirdSql.Data.Client.Managed .Version12.GdsStatement |
Rule warning: Class with no descendant should be sealed if possible |
• How to Fix Violations: For each matched class, take the time to assess if it is really meant to be subclassed. Certainly most matched class will end up being declared as sealed.
82 types matched
types | # lines of code (LOC) | Full Name |
---|---|---|
FbMigrationSqlGenerator | 346 | FirebirdSql.Data.EntityFramework6 .FbMigrationSqlGenerator |
FbScript | 219 | FirebirdSql.Data.Isql.FbScript |
FbBatchExecution | 207 | FirebirdSql.Data.Isql.FbBatchExecution |
FbConnectionInternal | 178 | FirebirdSql.Data.FirebirdClient .FbConnectionInternal |
XdrStream | 175 | FirebirdSql.Data.Client.Managed .XdrStream |
FbProviderServices | 147 | FirebirdSql.Data.EntityFramework6 .FbProviderServices |
FbProviderServices | 143 | FirebirdSql.Data.FirebirdClient .FbProviderServices |
FbProviderManifest | 135 | FirebirdSql.Data.EntityFramework6 .FbProviderManifest |
FbProviderManifest | 134 | FirebirdSql.Data.FirebirdClient .FbProviderManifest |
GdsConnection | 131 | FirebirdSql.Data.Client.Managed .GdsConnection |
FbDatabaseTraceConfiguration | 99 | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration |
ExpressionTranslator | 90 | FirebirdSql.Data.Entity .ExpressionTranslator |
ExpressionTranslator | 90 | FirebirdSql.Data.EntityFramework6.SqlGen .ExpressionTranslator |
SqlStringParser | 85 | FirebirdSql.Data.Isql.SqlStringParser |
FbConnectionStringBuilder | 74 | FirebirdSql.Data.FirebirdClient .FbConnectionStringBuilder |
DefaultFbMigrationSqlGeneratorBehavior | 68 | FirebirdSql.Data.EntityFramework6 .DefaultFbMigrationSqlGeneratorBehavior |
RemoteEvent | 62 | FirebirdSql.Data.Common.RemoteEvent |
FbColumns | 55 | FirebirdSql.Data.Schema.FbColumns |
FbProcedureParameters | 55 | FirebirdSql.Data.Schema .FbProcedureParameters |
FbStreamingRestore | 54 | FirebirdSql.Data.Services .FbStreamingRestore |
FbViewColumns | 52 | FirebirdSql.Data.Schema.FbViewColumns |
FbDomains | 49 | FirebirdSql.Data.Schema.FbDomains |
BinaryEncoding | 44 | FirebirdSql.Data.Common.BinaryEncoding |
GdsEventManager | 42 | FirebirdSql.Data.Client.Managed .Version10.GdsEventManager |
FbServerConfig | 39 | FirebirdSql.Data.Services.FbServerConfig |
FbTables | 39 | FirebirdSql.Data.Schema.FbTables |
FbTableConstraints | 38 | FirebirdSql.Data.Schema .FbTableConstraints |
GdsStatement | 38 | FirebirdSql.Data.Client.Managed .Version13.GdsStatement |
FbIndexes | 31 | FirebirdSql.Data.Schema.FbIndexes |
FbServiceTraceConfiguration | 28 | FirebirdSql.Data.Services .FbServiceTraceConfiguration |
FbFunctions | 28 | FirebirdSql.Data.Schema.FbFunctions |
FbGenerators | 28 | FirebirdSql.Data.Schema.FbGenerators |
FbProcedures | 28 | FirebirdSql.Data.Schema.FbProcedures |
FbTriggers | 28 | FirebirdSql.Data.Schema.FbTriggers |
FbViews | 25 | FirebirdSql.Data.Schema.FbViews |
FbIndexColumns | 21 | FirebirdSql.Data.Schema.FbIndexColumns |
FbColumnPrivileges | 20 | FirebirdSql.Data.Schema .FbColumnPrivileges |
FbViewPrivileges | 19 | FirebirdSql.Data.Schema.FbViewPrivileges |
FbForeignKeyColumns | 18 | FirebirdSql.Data.Schema .FbForeignKeyColumns |
FbProcedurePrivilegesSchema | 18 | FirebirdSql.Data.Schema .FbProcedurePrivilegesSchema |
FbTablePrivileges | 18 | FirebirdSql.Data.Schema .FbTablePrivileges |
SqlWriter | 17 | FirebirdSql.Data.Entity.SqlWriter |
GdsDatabase | 17 | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase |
SqlWriter | 17 | FirebirdSql.Data.EntityFramework6.SqlGen .SqlWriter |
FbForeignKeys | 16 | FirebirdSql.Data.Schema.FbForeignKeys |
FbPrimaryKeys | 14 | FirebirdSql.Data.Schema.FbPrimaryKeys |
FbUniqueKeys | 14 | FirebirdSql.Data.Schema.FbUniqueKeys |
FbCharacterSets | 13 | FirebirdSql.Data.Schema.FbCharacterSets |
FbChecksByTable | 13 | FirebirdSql.Data.Schema.FbChecksByTable |
FbCollations | 13 | FirebirdSql.Data.Schema.FbCollations |
CommandExecutedEventArgs | 13 | FirebirdSql.Data.Isql .CommandExecutedEventArgs |
FbTransactionOptions | 13 | FirebirdSql.Data.FirebirdClient .FbTransactionOptions |
FirebirdClientFactory | 13 | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory |
FbCheckConstraints | 12 | FirebirdSql.Data.Schema .FbCheckConstraints |
UnknownStatementEventArgs | 12 | FirebirdSql.Data.Isql .UnknownStatementEventArgs |
FbRoles | 11 | FirebirdSql.Data.Schema.FbRoles |
FirstClause | 11 | FirebirdSql.Data.Entity.FirstClause |
SkipClause | 11 | FirebirdSql.Data.Entity.SkipClause |
FirstClause | 11 | FirebirdSql.Data.EntityFramework6.SqlGen .FirstClause |
SkipClause | 11 | FirebirdSql.Data.EntityFramework6.SqlGen .SkipClause |
FbStatement | 10 | FirebirdSql.Data.Isql.FbStatement |
SymbolPair | 8 | FirebirdSql.Data.Entity.SymbolPair |
BlobHandle | 8 | FirebirdSql.Data.Client.Native.Handle .BlobHandle |
DatabaseHandle | 8 | FirebirdSql.Data.Client.Native.Handle .DatabaseHandle |
StatementHandle | 8 | FirebirdSql.Data.Client.Native.Handle .StatementHandle |
TransactionHandle | 8 | FirebirdSql.Data.Client.Native.Handle .TransactionHandle |
FbConnectionFactory | 8 | FirebirdSql.Data.EntityFramework6 .FbConnectionFactory |
SymbolPair | 8 | FirebirdSql.Data.EntityFramework6.SqlGen .SymbolPair |
FbBackupFile | 7 | FirebirdSql.Data.Services.FbBackupFile |
CommandExecutingEventArgs | 7 | FirebirdSql.Data.Isql .CommandExecutingEventArgs |
ProtocolsSupported+Protocol | 7 | FirebirdSql.Data.Client.Managed .ProtocolsSupported+Protocol |
FbDatabasesInfo | 6 | FirebirdSql.Data.Services .FbDatabasesInfo |
FetchResponse | 5 | FirebirdSql.Data.Client.Managed .FetchResponse |
FbMigrationsTransactionsInterceptor | 5 | FirebirdSql.Data.EntityFramework6 .FbMigrationsTransactionsInterceptor |
SsdlToFb+GenerateColumnResult | 4 | FirebirdSql.Data.Entity .SsdlToFb+GenerateColumnResult |
AuthResponse | 4 | FirebirdSql.Data.Client.Managed .Version11.AuthResponse |
SsdlToFb+GenerateColumnResult | 4 | FirebirdSql.Data.EntityFramework6 .SsdlToFb+GenerateColumnResult |
SqlResponse | 3 | FirebirdSql.Data.Client.Managed .SqlResponse |
FbDatabaseTraceConfigurationCollection | 2 | FirebirdSql.Data.Services .FbDatabaseTraceConfigurationCollection |
FbStatementCollection | 1 | FirebirdSql.Data.Isql .FbStatementCollection |
FbBackupFileCollection | 0 | FirebirdSql.Data.Services .FbBackupFileCollection |
XSQLVAR | 0 | FirebirdSql.Data.Client.Native .Marshalers.XSQLVAR |
Rule warning: Overrides of Method() should call base.Method() |
• How to Fix Violations: You should investigate if inheritance is the right choice to bind the base class implementation with the derived classes implementations. Does presenting the method with polymorphic behavior through an interface, would be a better design choice? In such situation, often using the design pattern template method http://en.wikipedia.org/wiki/Template_method_pattern might help improving the design.
26 methods matched
methods | shouldCall | definedInBaseClass | Full Name |
---|---|---|---|
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbColumns .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbDomains .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbFunctions .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbGenerators .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbIndexes .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema .FbProcedureParameters.ProcessResult (DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbProcedures .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbTables .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbTriggers .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbViewColumns .ProcessResult(DataTable) |
ProcessResult(DataTable) | ProcessResult(DataTable) | FbSchema | FirebirdSql.Data.Schema.FbViews .ProcessResult(DataTable) |
ParseRestrictions(String[]) | ParseRestrictions(String[]) | FbSchema | FirebirdSql.Data.Schema .FbTableConstraints.ParseRestrictions (String[]) |
AttachWithTrustedAuth (DatabaseParameterBuffer,String,Int32 ,String) | AttachWithTrustedAuth(DatabaseParameterBuffer,String,Int32,String) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version11.GdsDatabase .AttachWithTrustedAuth (DatabaseParameterBuffer,String,Int32 ,String) |
CreateStatement() | CreateStatement() | GdsDatabase | FirebirdSql.Data.Client.Managed .Version11.GdsDatabase.CreateStatement() |
CreateStatement(TransactionBase) | CreateStatement(TransactionBase) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version11.GdsDatabase.CreateStatement (TransactionBase) |
ReleaseObject(Int32,Int32) | ReleaseObject(Int32,Int32) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version11.GdsDatabase.ReleaseObject (Int32,Int32) |
Prepare(String) | Prepare(String) | GdsStatement | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Prepare(String) |
Execute() | Execute() | GdsStatement | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Execute() |
Free(Int32) | Free(Int32) | GdsStatement | FirebirdSql.Data.Client.Managed .Version11.GdsStatement.Free(Int32) |
SendAttachToBuffer (DatabaseParameterBuffer,String) | SendAttachToBuffer(DatabaseParameterBuffer,String) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase .SendAttachToBuffer (DatabaseParameterBuffer,String) |
SendCreateToBuffer (DatabaseParameterBuffer,String) | SendCreateToBuffer(DatabaseParameterBuffer,String) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase .SendCreateToBuffer (DatabaseParameterBuffer,String) |
CreateStatement() | CreateStatement() | GdsDatabase | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase.CreateStatement() |
CreateStatement(TransactionBase) | CreateStatement(TransactionBase) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version13.GdsDatabase.CreateStatement (TransactionBase) |
CreateStatement() | CreateStatement() | GdsDatabase | FirebirdSql.Data.Client.Managed .Version12.GdsDatabase.CreateStatement() |
CreateStatement(TransactionBase) | CreateStatement(TransactionBase) | GdsDatabase | FirebirdSql.Data.Client.Managed .Version12.GdsDatabase.CreateStatement (TransactionBase) |
Execute() | Execute() | GdsStatement | FirebirdSql.Data.Client.Managed .Version12.GdsStatement.Execute() |
Do not hide base class methods |
• How to Fix Violations: To fix a violation of this rule, remove or rename the method, or change the parameter signature so that the method does not hide the base method. However method hiding is for those times when you need to have two things to have the same name but different behavior. This is a very rare situations, described here: http://blogs.msdn.com/b/ericlippert/archive/2008/05/21/method-hiding-apologia.aspx
No methods matched
Rule warning: A stateless class or structure might be turned into a static type |
• How to Fix Violations: Declare all methods as static and transform the class or structure into a static class.
3 types matched
types | Full Name |
---|---|
FbSchemaFactory | FirebirdSql.Data.Schema.FbSchemaFactory |
FbClient | FirebirdSql.Data.Client.Native.FbClient |
FesConnection | FirebirdSql.Data.Client.Native .FesConnection |
Rule warning: Non-static classes should be instantiated or turned to static |
• How to Fix Violations: First it is important to investigate why the class is never instantiated. If the reason is the class hosts only static methods then the class can be safely declared as static. Others reasons like, the class is meant to be instantiated via reflection, or is meant to be instantiated only by client code should lead to adapt this rule code to avoid these matches.
20 types matched
types | Visibility | Full Name |
---|---|---|
FbBackup | Public | FirebirdSql.Data.Services.FbBackup |
FbBackupFile | Public | FirebirdSql.Data.Services.FbBackupFile |
FbConfiguration | Public | FirebirdSql.Data.Services .FbConfiguration |
FbDatabaseTraceConfiguration | Public | FirebirdSql.Data.Services .FbDatabaseTraceConfiguration |
FbStreamingBackup | Public | FirebirdSql.Data.Services .FbStreamingBackup |
FbStreamingRestore | Public | FirebirdSql.Data.Services .FbStreamingRestore |
FbLog | Public | FirebirdSql.Data.Services.FbLog |
FbNBackup | Public | FirebirdSql.Data.Services.FbNBackup |
FbNRestore | Public | FirebirdSql.Data.Services.FbNRestore |
FbRestore | Public | FirebirdSql.Data.Services.FbRestore |
FbSecurity | Public | FirebirdSql.Data.Services.FbSecurity |
FbServiceTraceConfiguration | Public | FirebirdSql.Data.Services .FbServiceTraceConfiguration |
FbStatistical | Public | FirebirdSql.Data.Services.FbStatistical |
FbTrace | Public | FirebirdSql.Data.Services.FbTrace |
FbValidation | Public | FirebirdSql.Data.Services.FbValidation |
FbSchemaFactory | Internal | FirebirdSql.Data.Schema.FbSchemaFactory |
BlobParameterBuffer | Internal | FirebirdSql.Data.Common .BlobParameterBuffer |
FbDatabaseInfo | Public | FirebirdSql.Data.FirebirdClient .FbDatabaseInfo |
FbClient | Internal | FirebirdSql.Data.Client.Native.FbClient |
FesConnection | Internal | FirebirdSql.Data.Client.Native .FesConnection |
Rule warning: Methods should be declared static if possible |
• How to Fix Violations: Declare matched methods as static. Since such method doesn't use any instance fields and methods of its type and base-types, you should consider if it makes sense, to move such a method to a static utility class.
55 methods matched
methods | staticFieldsUsed | Full Name |
---|---|---|
FbShutdownOnlineModeToIscCode (FbShutdownOnlineMode) | 0 field | FirebirdSql.Data.Services .FbConfiguration .FbShutdownOnlineModeToIscCode (FbShutdownOnlineMode) |
SetAutoDdl(String,Boolean&) | 0 field | FirebirdSql.Data.Isql.FbBatchExecution .SetAutoDdl(String,Boolean&) |
GenerateFunctionSql (DbFunctionCommandTree,CommandType&) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .GenerateFunctionSql (DbFunctionCommandTree,CommandType&) |
IsSpecialBuiltInFunction (DbFunctionExpression) | 1 field | FirebirdSql.Data.Entity.SqlGenerator .IsSpecialBuiltInFunction (DbFunctionExpression) |
IsSpecialCanonicalFunction (DbFunctionExpression) | 1 field | FirebirdSql.Data.Entity.SqlGenerator .IsSpecialCanonicalFunction (DbFunctionExpression) |
IsApplyExpression(DbExpression) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .IsApplyExpression(DbExpression) |
IsJoinExpression(DbExpression) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .IsJoinExpression(DbExpression) |
IsComplexExpression(DbExpression) | 1 field | FirebirdSql.Data.Entity.SqlGenerator .IsComplexExpression(DbExpression) |
IsCompatible(SqlSelectStatement ,DbExpressionKind) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .IsCompatible(SqlSelectStatement ,DbExpressionKind) |
WrapNonQueryExtent(SqlSelectStatement ,ISqlFragment,DbExpressionKind) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .WrapNonQueryExtent(SqlSelectStatement ,ISqlFragment,DbExpressionKind) |
WriteFunctionName(SqlBuilder,EdmFunction ) | 0 field | FirebirdSql.Data.Entity.SqlGenerator .WriteFunctionName(SqlBuilder ,EdmFunction) |
BuildDefaultErrorMessage(Int32) | 0 field | FirebirdSql.Data.Common.IscException .BuildDefaultErrorMessage(Int32) |
ProcessRecordsAffectedBuffer(Byte[]) | 0 field | FirebirdSql.Data.Common.StatementBase .ProcessRecordsAffectedBuffer(Byte[]) |
ProcessStatementTypeInfoBuffer(Byte[]) | 0 field | FirebirdSql.Data.Common.StatementBase .ProcessStatementTypeInfoBuffer(Byte[]) |
GetStoreSchemaMapping(String) | 0 field | FirebirdSql.Data.FirebirdClient .FbProviderManifest .GetStoreSchemaMapping(String) |
GetStoreSchemaDescription(String) | 0 field | FirebirdSql.Data.FirebirdClient .FbProviderManifest .GetStoreSchemaDescription(String) |
CreateCommand(DbProviderManifest ,DbCommandTree) | 0 field | FirebirdSql.Data.FirebirdClient .FbProviderServices.CreateCommand (DbProviderManifest,DbCommandTree) |
CreateParameter() | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.CreateParameter() |
EndExecuteNonQuery(IAsyncResult) | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.EndExecuteNonQuery (IAsyncResult) |
EndExecuteReader(IAsyncResult) | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.EndExecuteReader(IAsyncResult ) |
EndExecuteScalar(IAsyncResult) | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.EndExecuteScalar(IAsyncResult ) |
IsNullParameterValue(Object) | 0 field | FirebirdSql.Data.FirebirdClient .FbCommand.IsNullParameterValue(Object) |
GetHostingPath() | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionInternal.GetHostingPath() |
GetRealProcessName() | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionInternal.GetRealProcessName () |
GetProcessId() | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionInternal.GetProcessId() |
ExpandDataDirectory(String) | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionString.ExpandDataDirectory (String) |
WrapValueIfNeeded(String) | 0 field | FirebirdSql.Data.FirebirdClient .FbConnectionString.WrapValueIfNeeded (String) |
CloseConnections(ICollection <IDbConnection>) | 0 field | FirebirdSql.Data.FirebirdClient .FbDataAdapter.CloseConnections (ICollection<IDbConnection>) |
IsNull(Object) | 0 field | FirebirdSql.Data.FirebirdClient .FbDataAdapter.IsNull(Object) |
EnsureFbParameterType(Object) | 0 field | FirebirdSql.Data.FirebirdClient .FbParameterCollection .EnsureFbParameterType(Object) |
ReleaseParameter(FbParameter) | 0 field | FirebirdSql.Data.FirebirdClient .FbParameterCollection.ReleaseParameter (FbParameter) |
GetServerSessionKey(String,String,Byte[] ,BigInteger,BigInteger,BigInteger) | 2 fields | FirebirdSql.Data.Client.Managed .SrpClient.GetServerSessionKey(String ,String,Byte[],BigInteger,BigInteger ,BigInteger) |
GetSalt() | 0 field | FirebirdSql.Data.Client.Managed .SrpClient.GetSalt() |
GetSecret() | 0 field | FirebirdSql.Data.Client.Managed .SrpClient.GetSecret() |
GetIPAddress(String,AddressFamily) | 0 field | FirebirdSql.Data.Client.Managed .GdsConnection.GetIPAddress(String ,AddressFamily) |
Stuff(BinaryWriter,Int16,Object[]) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsArray.Stuff(BinaryWriter ,Int16,Object[]) |
Stuff(BinaryWriter,Byte[]) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsArray.Stuff(BinaryWriter ,Byte[]) |
ProcessResponse(IResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase.ProcessResponse (IResponse) |
ProcessReleaseObjectResponse(IResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase .ProcessReleaseObjectResponse(IResponse) |
ProcessInfoSqlResponse(GenericResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ProcessInfoSqlResponse(GenericResponse) |
ProcessFreeResponse(IResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ProcessFreeResponse(IResponse) |
ProcessExecuteResponse(GenericResponse) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .ProcessExecuteResponse(GenericResponse) |
WriteRawParameter(XdrStream,DbField) | 0 field | FirebirdSql.Data.Client.Managed .Version10.GdsStatement .WriteRawParameter(XdrStream,DbField) |
GetStoreSchemaMapping(String) | 0 field | FirebirdSql.Data.EntityFramework6 .FbProviderManifest .GetStoreSchemaMapping(String) |
GetStoreSchemaDescription(String) | 0 field | FirebirdSql.Data.EntityFramework6 .FbProviderManifest .GetStoreSchemaDescription(String) |
CreateCommand(DbProviderManifest ,DbCommandTree) | 0 field | FirebirdSql.Data.EntityFramework6 .FbProviderServices.CreateCommand (DbProviderManifest,DbCommandTree) |
GenerateFunctionSql (DbFunctionCommandTree,CommandType&) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.GenerateFunctionSql (DbFunctionCommandTree,CommandType&) |
IsSpecialBuiltInFunction (DbFunctionExpression) | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsSpecialBuiltInFunction (DbFunctionExpression) |
IsSpecialCanonicalFunction (DbFunctionExpression) | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsSpecialCanonicalFunction (DbFunctionExpression) |
IsApplyExpression(DbExpression) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsApplyExpression (DbExpression) |
IsJoinExpression(DbExpression) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsJoinExpression (DbExpression) |
IsComplexExpression(DbExpression) | 1 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsComplexExpression (DbExpression) |
IsCompatible(SqlSelectStatement ,DbExpressionKind) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.IsCompatible (SqlSelectStatement,DbExpressionKind) |
WrapNonQueryExtent(SqlSelectStatement ,ISqlFragment,DbExpressionKind) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.WrapNonQueryExtent (SqlSelectStatement,ISqlFragment ,DbExpressionKind) |
WriteFunctionName(SqlBuilder,EdmFunction ) | 0 field | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.WriteFunctionName (SqlBuilder,EdmFunction) |
Rule warning: Constructor should not call a virtual method |
• How to Fix Violations: Violations reported can be solved by re-designing object initialisation or by declaring the parent class as sealed, if possible.
1 methods matched
method | virtualMethodsCalled | DerivedTypes | Full Name |
---|---|---|---|
.ctor(IDatabase,TransactionBase) | 2 methods | 3 types | FirebirdSql.Data.Client.Managed .Version10.GdsStatement..ctor(IDatabase ,TransactionBase) |
Rule warning: Avoid the Singleton pattern |
• How to Fix Violations: This rule matches the classic syntax of singletons, where one static field hold the single instance of the parent class. We underline that the problem is this particular syntax, that plays against testability. The problem is not the fact that a single instance of the class lives at runtime. Hence to fix matches fo this rule, creates the single instance at the startup of the program, and pass it to all classes and methods that need to access it. If multiple singletons are identified, they actually form together a program execution context. Such context can be unified in a unique singleton context. Doing so will make it easier to propagate the context across the various program units.
1 types matched
type | staticFieldInstance | Full Name |
---|---|---|
FirebirdClientFactory | Instance | FirebirdSql.Data.FirebirdClient .FirebirdClientFactory |
Don't assign static fields from instance methods |
• How to Fix Violations: If the static field is just assigned once in the program lifetime, make sure to declare it as readonly and assign it inline, or from the static constructor. In Object-Oriented-Programming the natural artifact to hold states that can be modified is instance fields. Hence to fix violations of this rule, make sure to hold assignable states through instance fields, not through static fields.
No fields matched
Rule warning: Avoid empty interfaces |
• How to Fix Violations: Remove the interface or add members to it. If the empty interface is being used to label a set of types, replace the interface with a custom attribute.
1 types matched
type | TypesThatImplementMe | Full Name |
---|---|---|
IResponse | 4 types | FirebirdSql.Data.Client.Managed .IResponse |
Avoid types initialization cycles |
• How to Fix Violations: Types initialization cycles create confusion and unexpected behaviors. If several states hold by several classes must be initialized during the first access of any of those classes, a better design option is to create a dedicated class whose responsibility is to initialize and hold all these states.
No methods matched
API Breaking Changes
|
API Breaking Changes: Types |
• How to Fix Violations: Make sure that public types that used to be presented to clients, still remain public now, and in the future. If a public type must really be removed, you can tag it with System.ObsoleteAttribute with a workaround message during a few public releases, until it gets removed definitely. Notice that this rule doesn't match types removed that were tagged as obsolete.
No types matched
API Breaking Changes: Methods |
• How to Fix Violations: Make sure that public methods that used to be presented to clients, still remain public now, and in the future. If a public method must really be removed, you can tag it with System.ObsoleteAttribute with a workaround message during a few public releases, until it gets removed definitely. Notice that this rule doesn't match methods removed that were tagged as obsolete.
No methods matched
API Breaking Changes: Fields |
• How to Fix Violations: Make sure that public fields that used to be presented to clients, still remain public now, and in the future. If a public field must really be removed, you can tag it with System.ObsoleteAttribute with a workaround message during a few public releases, until it gets removed definitely. Notice that this rule doesn't match fields removed that were tagged as obsolete.
No fields matched
API Breaking Changes: Interfaces and Abstract Classes |
• How to Fix Violations: Make sure that the public contracts of interfaces and abstract classes that used to be presented to clients, remain stable now, and in the future. If a public contract must really be changed, you can tag abstract methods that will be removed with System.ObsoleteAttribute with a workaround message during a few public releases, until it gets removed definitely.
No types matched
Broken serializable types |
• How to Fix Violations: Make sure that the serialization process of serializable types remains stable now, and in the future. Else you'll have to deal with Version Tolerant Serialization that is explained here: https://msdn.microsoft.com/en-us/library/ms229752(v=vs.110).aspx
No types matched
Avoid changing enumerations Flags status |
• How to Fix Violations: Make sure the FlagsAttribute status of each enumeration remains stable now, and in the future.
No types matched
API: New publicly visible types |
No types matched
API: New publicly visible methods |
No methods matched
API: New publicly visible fields |
No fields matched
Code Diff Summary
New assemblies |
No assemblies matched
Assemblies removed |
No assemblies matched
Assemblies where code was changed |
No assemblies matched
New namespaces |
No namespaces matched
Namespaces removed |
No namespaces matched
Namespaces where code was changed |
No namespaces matched
New types |
No types matched
Types removed |
No types matched
Types where code was changed |
No types matched
Heuristic to find types moved from one namespace or assembly to another |
No types matched
Types directly using one or several types changed |
No types matched
Types indirectly using one or several types changed |
No types matched
New methods |
No methods matched
Methods removed |
No methods matched
Methods where code was changed |
No methods matched
Methods directly calling one or several methods changed |
No methods matched
Methods indirectly calling one or several methods changed |
No methods matched
New fields |
No fields matched
Fields removed |
No fields matched
Third party types that were not used and that are now used |
No types matched
Third party types that were used and that are not used anymore |
No types matched
Third party methods that were not used and that are now used |
No methods matched
Third party methods that were used and that are not used anymore |
No methods matched
Third party fields that were not used and that are now used |
No fields matched
Third party fields that were used and that are not used anymore |
No fields matched
Test and Code Coverage
C.R.A.P method code metric |
• How to Fix Violations: In such situation, it is recommended to both refactor the complex method logic into several smaller and less complex methods (that might belong to some new types especially created), and also write unit-tests to full cover the refactored logic. You'll find code impossible to cover by unit-tests, like calls to MessageBox.Show(). An infrastructure must be defined to be able to mock such code at test-time.
No methods matched
Complex methods partially covered by tests should be 100% covered |
• How to Fix Violations: In such situation, it is recommended to both: • refactor the complex method logic into several smaller and less complex methods (that might belong to some new types especially created), • and also write more unit-tests to full cover the refactored logic. You'll find code impossible to cover by unit-tests, like calls to MessageBox.Show(). An infrastructure must be defined to be able to mock such code at test-time.
No methods matched
Method changed poorly covered |
• How to Fix Violations: Write unit-tests to cover the code of most methods and classes refactored.
No methods matched
Method added poorly covered |
• How to Fix Violations: Write unit-tests to cover the code of most methods and classes added.
No methods matched
Types 95% to 99% covered |
• How to Fix Violations: Write more unit-tests dedicated to cover code not covered yet. If you find some hard-to-test code, it is certainly a sign that this code is not well designed and hence, needs refactoring.
No types matched
Namespaces 95% to 99% covered |
• How to Fix Violations: Write more unit-tests dedicated to cover code not covered yet in the namespace. If you find some hard-to-test code, it is certainly a sign that this code is not well designed and hence, needs refactoring.
No namespaces matched
Types tagged with FullCoveredAttribute should be 100% covered |
• How to Fix Violations: Write more unit-tests dedicated to cover code of matched classes not covered yet. If you find some hard-to-test code, it is certainly a sign that this code is not well designed and hence, needs refactoring.
No types matched
Types 100% covered should be tagged with FullCoveredAttribute |
• How to Fix Violations: Just tag types 100% covered by tests with the FullCoveredAttribute that can be found in NDepend.API.dll, or by an attribute of yours defined in your own code (in which case this rule must be adapted).
No types matched
Types not covered at all |
No types matched
Namespaces not covered at all |
No namespaces matched
Test Methods |
No methods matched
Methods directly called by test Methods |
No methods matched
Methods directly and indirectly called by test Methods |
No methods matched
Dead Code
Critical Rule warning: Potentially dead Types |
• How to Fix Violations: Static analysis cannot provide an exact list of dead types, because there are several ways to use a type dynamically (like through reflection). For each type matched by this query, first investigate if the type is used somehow (like through reflection). If the type is really never used, it is important to remove it to avoid maintaining useless code. If you estimate the code of the type might be used in the future, at least comment it, and provide an explanatory comment about the future intentions. If a type is used somehow, but still is matched by this rule, you can tag it with the attribute IsNotDeadCodeAttribute found in NDepend.API.dll to avoid matching the type again. You can also provide your own attribute for this need, but then you'll need to adapt this code rule.
1 types matched
type | depth | TypesUsingMe | Full Name |
---|---|---|---|
FbClient | 0 | 0 type | FirebirdSql.Data.Client.Native.FbClient |
Critical Rule warning: Potentially dead Methods |
• How to Fix Violations: Static analysis cannot provide an exact list of dead methods, because there are several ways to invoke a method dynamically (like through reflection). For each method matched by this query, first investigate if the method is invoked somehow (like through reflection). If the method is really never invoked, it is important to remove it to avoid maintaining useless code. If you estimate the code of the method might be used in the future, at least comment it, and provide an explanatory comment about the future intentions. If a method is invoked somehow, but still is matched by this rule, you can tag it with the attribute IsNotDeadCodeAttribute found in NDepend.API.dll to avoid matching the method again. You can also provide your own attribute for this need, but then you'll need to adapt this code rule.
80 methods matched
methods | depth | MethodsCallingMe | Full Name |
---|---|---|---|
.ctor() | 0 | 0 method | FirebirdSql.Data.Schema.FbSchemaFactory. .ctor() |
IsFacetValueConstant(TypeUsage,String) | 0 | 0 method | FirebirdSql.Data.Entity.MetadataHelpers .IsFacetValueConstant(TypeUsage,String) |
GetFacet(IEnumerable<FacetDescription> ,String) | 1 | 1 method | FirebirdSql.Data.Entity.MetadataHelpers .GetFacet(IEnumerable<FacetDescription> ,String) |
IsStoreFunction(EdmFunction) | 0 | 0 method | FirebirdSql.Data.Entity.MetadataHelpers .IsStoreFunction(EdmFunction) |
.ctor(Int32) | 0 | 0 method | FirebirdSql.Data.Entity.SkipClause..ctor (Int32) |
FormatTime(TimeSpan) | 0 | 0 method | FirebirdSql.Data.Entity.SqlGenerator .FormatTime(TimeSpan) |
ByteArrayToBinaryString(Byte[]) | 0 | 0 method | FirebirdSql.Data.Entity.SqlGenerator .ByteArrayToBinaryString(Byte[]) |
get_IsUnnest() | 0 | 0 method | FirebirdSql.Data.Entity.Symbol .get_IsUnnest() |
set_IsUnnest(Boolean) | 0 | 0 method | FirebirdSql.Data.Entity.Symbol .set_IsUnnest(Boolean) |
.ctor() | 0 | 0 method | FirebirdSql.Data.Common .BlobParameterBuffer..ctor() |
IsNumeric() | 0 | 0 method | FirebirdSql.Data.Common.DbField .IsNumeric() |
ForSQLSTATE(String,Exception) | 0 | 0 method | FirebirdSql.Data.Common.IscException .ForSQLSTATE(String,Exception) |
.ctor(SerializationInfo,StreamingContext ) | 0 | 0 method | FirebirdSql.Data.Common.IscException. .ctor(SerializationInfo,StreamingContext ) |
GetSqlInfo(Byte[]) | 0 | 0 method | FirebirdSql.Data.Common.StatementBase .GetSqlInfo(Byte[]) |
get_ActiveReader() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbCommand.get_ActiveReader() |
get_ActiveTransaction() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbCommand.get_ActiveTransaction() |
Verify() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionInternal.Verify() |
.ctor(Boolean) | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbConnectionString..ctor(Boolean) |
.ctor() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbDataReader..ctor() |
.ctor(Byte,String,Int32) | 0 | 0 method | FirebirdSql.Data.FirebirdClient.FbError. .ctor(Byte,String,Int32) |
IndexOf(String) | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbErrorCollection.IndexOf(String) |
.ctor() | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbException..ctor() |
.ctor(SerializationInfo,StreamingContext ) | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbException..ctor(SerializationInfo ,StreamingContext) |
.ctor(FbConnection) | 0 | 0 method | FirebirdSql.Data.FirebirdClient .FbTransaction..ctor(FbConnection) |
.ctor() | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient. .ctor() |
isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_array_get_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_array_put_slice(Int32[],Int32& ,Int32&,Int64&,IntPtr,Byte[],Int32&) |
isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_create_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_open_blob2(Int32[],Int32&,Int32& ,Int32&,Int64&,Int16,Byte[]) |
isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_get_segment(Int32[],Int32&,Int16& ,Int16,Byte[]) |
isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_put_segment(Int32[],Int32&,Int16 ,Byte[]) |
isc_cancel_blob(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_cancel_blob(Int32[],Int32&) |
isc_close_blob(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_close_blob(Int32[],Int32&) |
isc_attach_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_attach_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[]) |
isc_detach_database(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_detach_database(Int32[],Int32&) |
isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_database_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_create_database(Int32[],Int16,Byte[] ,Int32&,Int16,Byte[],Int16) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_create_database(Int32[],Int16 ,Byte[],Int32&,Int16,Byte[],Int16) |
isc_drop_database(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_drop_database(Int32[],Int32&) |
isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_start_multiple(Int32[],Int32&,Int16 ,IntPtr) |
isc_commit_transaction(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_commit_transaction(Int32[],Int32&) |
isc_commit_retaining(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_commit_retaining(Int32[],Int32&) |
isc_rollback_transaction(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_transaction(Int32[],Int32& ) |
isc_rollback_retaining(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_rollback_retaining(Int32[],Int32&) |
isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_allocate_statement(Int32[] ,Int32&,Int32&) |
isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_describe_bind(Int32[],Int32& ,Int16,IntPtr) |
isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_prepare(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,IntPtr) |
isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute(Int32[],Int32&,Int32& ,Int16,IntPtr) |
isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_execute2(Int32[],Int32&,Int32& ,Int16,IntPtr,IntPtr) |
isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_fetch(Int32[],Int32&,Int16 ,IntPtr) |
isc_dsql_free_statement(Int32[],Int32& ,Int16) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_free_statement(Int32[],Int32& ,Int16) |
isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_dsql_sql_info(Int32[],Int32&,Int16 ,Byte[],Int16,Byte[]) |
isc_vax_integer(Byte[],Int16) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_vax_integer(Byte[],Int16) |
isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_service_attach(Int32[],Int16,String ,Int32&,Int16,Byte[]) |
isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_service_start(Int32[],Int32&,Int32& ,Int16,Byte[]) |
isc_service_detach(Int32[],Int32&) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_service_detach(Int32[],Int32&) |
isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native.FbClient .isc_service_query(Int32[],Int32&,Int32& ,Int16,Byte[],Int16,Byte[],Int16,Byte[]) |
.ctor() | 0 | 0 method | FirebirdSql.Data.Client.Native .FesConnection..ctor() |
get_Charset() | 0 | 0 method | FirebirdSql.Data.Client.Native .FesServiceManager.get_Charset() |
set_Charset(Charset) | 0 | 0 method | FirebirdSql.Data.Client.Native .FesServiceManager.set_Charset(Charset) |
GetString(Charset,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Native .Marshalers.XsqldaMarshaler.GetString (Charset,Byte[]) |
ServerSeed(String,String,Byte[]) | 0 | 0 method | FirebirdSql.Data.Client.Managed .SrpClient.ServerSeed(String,String ,Byte[]) |
GetServerSessionKey(String,String,Byte[] ,BigInteger,BigInteger,BigInteger) | 0 | 0 method | FirebirdSql.Data.Client.Managed .SrpClient.GetServerSessionKey(String ,String,Byte[],BigInteger,BigInteger ,BigInteger) |
GetSalt() | 0 | 0 method | FirebirdSql.Data.Client.Managed .SrpClient.GetSalt() |
FromHexString(String) | 0 | 0 method | FirebirdSql.Data.Client.Managed .SrpClient.FromHexString(String) |
get_IsConnected() | 0 | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection.get_IsConnected() |
get_ProtocolArchitecture() | 0 | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection.get_ProtocolArchitecture( ) |
get_ProtocolMinimunType() | 0 | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection.get_ProtocolMinimunType() |
get_UserID() | 0 | 0 method | FirebirdSql.Data.Client.Managed .GdsConnection.get_UserID() |
set_Handle(Int32) | 0 | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase.set_Handle(Int32) |
set_ServerVersion(String) | 0 | 0 method | FirebirdSql.Data.Client.Managed .Version10.GdsDatabase.set_ServerVersion (String) |
.ctor(Nullable<Int32>) | 0 | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecHandle..ctor (Nullable<Int32>) |
.ctor(Byte[],SSPIHelper+SecBufferType) | 0 | 0 method | FirebirdSql.Data.Client.Managed .Version11.SSPIHelper+SecBuffer..ctor (Byte[],SSPIHelper+SecBufferType) |
IsFacetValueConstant(TypeUsage,String) | 0 | 0 method | FirebirdSql.Data.EntityFramework6 .MetadataHelpers.IsFacetValueConstant (TypeUsage,String) |
GetFacet(IEnumerable<FacetDescription> ,String) | 1 | 1 method | FirebirdSql.Data.EntityFramework6 .MetadataHelpers.GetFacet(IEnumerable <FacetDescription>,String) |
IsStoreFunction(EdmFunction) | 0 | 0 method | FirebirdSql.Data.EntityFramework6 .MetadataHelpers.IsStoreFunction (EdmFunction) |
.ctor(Int32) | 0 | 0 method | FirebirdSql.Data.EntityFramework6.SqlGen .SkipClause..ctor(Int32) |
ByteArrayToBinaryString(Byte[]) | 0 | 0 method | FirebirdSql.Data.EntityFramework6.SqlGen .SqlGenerator.ByteArrayToBinaryString (Byte[]) |
get_IsUnnest() | 0 | 0 method | FirebirdSql.Data.EntityFramework6.SqlGen .Symbol.get_IsUnnest() |
set_IsUnnest(Boolean) | 0 | 0 method | FirebirdSql.Data.EntityFramework6.SqlGen .Symbol.set_IsUnnest(Boolean) |
Potentially dead Fields |
• How to Fix Violations: Static analysis cannot provide an exact list of dead fields, because there are several ways to assign or read a field dynamically (like through reflection). For each field matched by this query, first investigate if the field is used somehow (like through reflection). If the field is really never used, it is important to remove it to avoid maintaining a useless code element. If a field is used somehow, but still is matched by this rule, you can tag it with the attribute IsNotDeadCodeAttribute found in NDepend.API.dll to avoid matching the field again. You can also provide your own attribute for this need, but then you'll need to adapt this code rule.
No fields matched
Wrong usage of IsNotDeadCodeAttribute |
• How to Fix Violations: Just remove IsNotDeadCodeAttribute tagging of types, methods and fields matched by this rule because this tag is not useful anymore.
No types matched
Trend Charts
Lines of Code
No Trend Data has been logged for this Chart.Rules Violated
Rules Violations
Percentage Coverage by Tests
No Trend Data has been logged for this Chart.Max
No Trend Data has been logged for this Chart.Average
No Trend Data has been logged for this Chart.Third-Party Usage
No Trend Data has been logged for this Chart.Assemblies Dependencies
Assembly | Depends on | Is referenced by |
---|---|---|
FirebirdSql.Data.FirebirdClient v5.0.5.0 | mscorlib v4.0.0.0 ; System v4.0.0.0 ; System.Data v4.0.0.0 ; System.Core v4.0.0.0 ; System.Data.Entity v4.0.0.0 ; System.Xml v4.0.0.0 ; System.Transactions v4.0.0.0 ; System.Numerics v4.0.0.0 ; | EntityFramework.Firebird v5.0.5.0 ; |
EntityFramework.Firebird v5.0.5.0 | EntityFramework v6.0.0.0 ; mscorlib v4.0.0.0 ; System v4.0.0.0 ; System.Data v4.0.0.0 ; System.Core v4.0.0.0 ; System.Xml v4.0.0.0 ; FirebirdSql.Data.FirebirdClient v5.0.5.0 ; System.Configuration v4.0.0.0 ; Microsoft.CSharp v4.0.0.0 ; | - |
Assemblies Build Order
- FirebirdSql.Data.FirebirdClient
- EntityFramework.Firebird
Assemblies Build Order
- FirebirdSql.Data.FirebirdClient
- EntityFramework.Firebird
Analysis Log : Information and Warnings
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.
Message | |
---|---|
Begin full analysis with NDepend v6.3.0.8686 | |
No Baseline for Comparison loaded. | |
Concurrent mode | |
.NET Assemblies loaded from {C:\Windows\Microsoft.NET\Framework\v4.0.30319} mscorlib.dll v4.0.0.0 System.dll v4.0.0.0 System.Data.dll v4.0.0.0 System.Data.Entity.dll v4.0.0.0 System.Xml.dll v4.0.0.0 System.Transactions.dll v4.0.0.0 System.Numerics.dll v4.0.0.0 System.Core.dll v4.0.0.0 System.Configuration.dll v4.0.0.0 Microsoft.CSharp.dll v4.0.0.0 | |
No application or third party assembly found in directory {C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF} | |
.NET Assembly loaded from {C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.FirebirdClient\bin\Debug} FirebirdSql.Data.FirebirdClient.dll v5.0.5.0 | |
.NET Assemblies loaded from {C:\Users\Jiri\Desktop\FirebirdSql.Data.FirebirdClient-5.0.5.0\FirebirdSql.Data.FirebirdClient-5.0.5.0\Provider\src\FirebirdSql.Data.UnitTests\bin\Debug} EntityFramework.Firebird.dll v5.0.5.0 EntityFramework.dll v6.0.0.0 | |
232 source files parsed ; all source files found ; all source files in-sync with PDB | |
0 code rule has been extracted from code. | |
No dependency cycle detected in assemblies referencement graph. | |
Do merge code generated by compiler into application code. | |
Analyse dependencies of your application. | |
Execute queries and rules | |
9 critical rules are violated. - Types too big - critical - Methods too complex - critical - Methods with too many parameters - critical - Avoid namespaces mutually dependent - Potentially dead Types - Potentially dead Methods - Constructors of abstract classes should be declared as protected or private - Don't assign a field from many methods - Avoid having different types with same name | |
NDepend analysis done. Duration: 00:11 | |
Building the report (standard). |