CruiseControl.NET Logo Login Documentation

Version : 1.7.717.8065

Latest
Next
Previous
 
Build Report
View Build Log
FxCop Report
Gendarme Report
NAnt Output
NAnt Timings
NDepend Details
NUnit Details
NUnit Timings
 
Recent Builds
2012-04-13 04:33:57 (Failed)
2012-03-15 04:04:04 (Failed)
2012-03-14 04:16:20 (Failed)
2012-02-15 04:15:14 (Failed)
2012-02-10 09:01:31 (Failed)
2011-09-26 15:47:18 (Failed)
2011-08-15 00:05:16 (Failed)
2011-07-01 19:45:43 (1.0.24.239)
2011-07-01 19:22:17 (1.0.23.239)
2010-12-17 11:34:14 (1.0.22.239)
Show All

Gendarme Report

Produced on 18.05.2010 10:02:51 UTC.

Summary

Gendarme found 7 potential defects using 187 rules.

List of assemblies analyzed [show]

List of rules used [show]

Reported Defects

1. AvoidLackOfCohesionOfMethodsRule  [hide]

Problem:

The methods in this class lacks cohesion (higher score is better). This leads to code harder to understand and maintain.

Solution:

You can apply the Extract Class or Extract Subclass refactoring.

6 defect(s) found:

Target: NauckIT.NAnt.Tasks.FxCopTask
Assembly: NauckIT.NAnt, Version=1.0.20.237, Culture=neutral, PublicKeyToken=null

Severity: High  Confidence: Normal
Details: Type cohesiveness : 17%
Go to AvoidLackOfCohesionOfMethodsRule description

Target: NauckIT.NAnt.Tasks.GendarmeTask
Assembly: NauckIT.NAnt, Version=1.0.20.237, Culture=neutral, PublicKeyToken=null

Severity: High  Confidence: Normal
Source: d:\Build\Projects\NauckIT.NAnt\SCM\src\Tasks\GendarmeTask.cs(≈54)
Details: Type cohesiveness : 7%
Go to AvoidLackOfCohesionOfMethodsRule description

Target: NauckIT.NAnt.Tasks.MSBuildTask
Assembly: NauckIT.NAnt, Version=1.0.20.237, Culture=neutral, PublicKeyToken=null

Severity: High  Confidence: Normal
Details: Type cohesiveness : 17%
Go to AvoidLackOfCohesionOfMethodsRule description

Target: NauckIT.NAnt.Tasks.NDependTask
Assembly: NauckIT.NAnt, Version=1.0.20.237, Culture=neutral, PublicKeyToken=null

Severity: Medium  Confidence: Normal
Details: Type cohesiveness : 20%
Go to AvoidLackOfCohesionOfMethodsRule description

Target: NauckIT.NAnt.Tasks.NUnitTask
Assembly: NauckIT.NAnt, Version=1.0.20.237, Culture=neutral, PublicKeyToken=null

Severity: High  Confidence: Normal
Details: Type cohesiveness : 12%
Go to AvoidLackOfCohesionOfMethodsRule description

Target: NauckIT.NAnt.Types.Category
Assembly: NauckIT.NAnt, Version=1.0.20.237, Culture=neutral, PublicKeyToken=null

Severity: Medium  Confidence: Normal
Details: Type cohesiveness : 33%
Go to AvoidLackOfCohesionOfMethodsRule description

2. AvoidUnnecessarySpecializationRule  [hide]

Problem:

This method has a parameter whose type is more specialized than necessary. It can be harder to reuse and/or extend the method in derived types.

Solution:

Replace parameter type with the least specialized type necessary, or make use of the specifics of the actual parameter type.

1 defect(s) found:

Target: System.String NauckIT.NAnt.Tasks.NUnitTask::GetCategoryList(NauckIT.NAnt.Types.CategoryCollection)
Assembly: NauckIT.NAnt, Version=1.0.20.237, Culture=neutral, PublicKeyToken=null

Severity: Medium  Confidence: High
Source: d:\Build\Projects\NauckIT.NAnt\SCM\src\Tasks\NUnitTask.cs(≈191)
Details: Parameter 'categories' could be of type 'System.Collections.Generic.IEnumerable<T>'.
Go to AvoidUnnecessarySpecializationRule description