C# Class MSR.Data.Entities.DSL.Selection.Metrics.BugLifetime

Calculate bug lifetime metrics.
Show file Open project: kirnosenko/msr-tools

Public Methods

Method Description
CalculateAvarageBugLifetime ( this bugFixes ) : IEnumerable

Calculate for each fix the time between the fix date and the avarage date of adding for the newest and the oldest code.

CalculateBugLifetimeSpread ( this bugFixes ) : IEnumerable

Calculate for each fix the time between dates when the oldest and the newest buggy code were added.

CalculateMaxBugLifetime ( this bugFixes ) : IEnumerable

Calculate for each fix the time between the fix date and the date when the oldest buggy code were added.

CalculateMinBugLifetime ( this bugFixes ) : IEnumerable

Calculate for each fix the time between the fix date and the date when the newest buggy code were added.

Method Details

CalculateAvarageBugLifetime() public static method

Calculate for each fix the time between the fix date and the avarage date of adding for the newest and the oldest code.
public static CalculateAvarageBugLifetime ( this bugFixes ) : IEnumerable
bugFixes this Fixes to be processed.
return IEnumerable

CalculateBugLifetimeSpread() public static method

Calculate for each fix the time between dates when the oldest and the newest buggy code were added.
public static CalculateBugLifetimeSpread ( this bugFixes ) : IEnumerable
bugFixes this Fixes to be processed.
return IEnumerable

CalculateMaxBugLifetime() public static method

Calculate for each fix the time between the fix date and the date when the oldest buggy code were added.
public static CalculateMaxBugLifetime ( this bugFixes ) : IEnumerable
bugFixes this Fixes to be processed.
return IEnumerable

CalculateMinBugLifetime() public static method

Calculate for each fix the time between the fix date and the date when the newest buggy code were added.
public static CalculateMinBugLifetime ( this bugFixes ) : IEnumerable
bugFixes this Fixes to be processed.
return IEnumerable