@@ -1024,14 +1024,15 @@ public void SummaryAssembly(Assembly assembly, bool branchCoverageAvailable)
1024
1024
this . reportTextWriter . Write ( "<th class=\" right\" >{0}</th>" , assembly . TotalLines . GetValueOrDefault ( ) ) ;
1025
1025
this . reportTextWriter . Write (
1026
1026
"<th title=\" {0}\" class=\" right\" >{1}</th>" ,
1027
- assembly . CoverageQuota . HasValue ? CoverageType . LineCoverage . ToString ( ) : string . Empty ,
1027
+ assembly . CoverageQuota . HasValue ? $ " { CoverageType . LineCoverage } : { assembly . CoveredLines } / { assembly . CoverableLines } " : string . Empty ,
1028
1028
assembly . CoverageQuota . HasValue ? assembly . CoverageQuota . Value . ToString ( CultureInfo . InvariantCulture ) + "%" : string . Empty ) ;
1029
1029
this . reportTextWriter . Write ( "<th>{0}</th>" , CreateCoverageTable ( assembly . CoverageQuota ) ) ;
1030
1030
1031
1031
if ( branchCoverageAvailable )
1032
1032
{
1033
1033
this . reportTextWriter . Write (
1034
- "<th class=\" right\" >{0}</th>" ,
1034
+ "<th class=\" right\" title=\" {0}\" >{1}</th>" ,
1035
+ assembly . BranchCoverageQuota . HasValue ? $ "{ assembly . CoveredBranches } /{ assembly . TotalBranches } " : "-" ,
1035
1036
assembly . BranchCoverageQuota . HasValue ? assembly . BranchCoverageQuota . Value . ToString ( CultureInfo . InvariantCulture ) + "%" : string . Empty ) ;
1036
1037
this . reportTextWriter . Write ( "<th>{0}</th>" , CreateCoverageTable ( assembly . BranchCoverageQuota ) ) ;
1037
1038
}
@@ -1070,14 +1071,15 @@ public void SummaryClass(Class @class, bool branchCoverageAvailable)
1070
1071
this . reportTextWriter . Write ( "<td class=\" right\" >{0}</td>" , @class . TotalLines . GetValueOrDefault ( ) ) ;
1071
1072
this . reportTextWriter . Write (
1072
1073
"<td title=\" {0}\" class=\" right\" >{1}</td>" ,
1073
- @class . CoverageType ,
1074
+ @class . CoverageQuota . HasValue ? $ " { @class . CoverageType } : { @class . CoveredLines } / { @class . CoverableLines } " : @class . CoverageType . ToString ( ) ,
1074
1075
@class . CoverageQuota . HasValue ? @class . CoverageQuota . Value . ToString ( CultureInfo . InvariantCulture ) + "%" : string . Empty ) ;
1075
1076
this . reportTextWriter . Write ( "<td>{0}</td>" , CreateCoverageTable ( @class . CoverageQuota ) ) ;
1076
1077
1077
1078
if ( branchCoverageAvailable )
1078
1079
{
1079
1080
this . reportTextWriter . Write (
1080
- "<td class=\" right\" >{0}</td>" ,
1081
+ "<td class=\" right\" title=\" {0}\" >{1}</td>" ,
1082
+ @class . BranchCoverageQuota . HasValue ? $ "{ @class . CoveredBranches } /{ @class . TotalBranches } " : "-" ,
1081
1083
@class . BranchCoverageQuota . HasValue ? @class . BranchCoverageQuota . Value . ToString ( CultureInfo . InvariantCulture ) + "%" : string . Empty ) ;
1082
1084
this . reportTextWriter . Write ( "<td>{0}</td>" , CreateCoverageTable ( @class . BranchCoverageQuota ) ) ;
1083
1085
}
0 commit comments