Skip to content

Commit

Permalink
#202: Attribute 'branch' is no longer required in Cobertura files
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Jan 23, 2019
1 parent 43e8663 commit ff4b6b7
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/AzureDevopsTask/ReportGenerator/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 17
"Patch": 18
},
"instanceNameFormat": "ReportGenerator",
"groups": [
Expand Down
2 changes: 1 addition & 1 deletion src/AzureDevopsTask/vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "reportgenerator",
"name": "ReportGenerator",
"version": "1.0.17",
"version": "1.0.18",
"publisher": "Palmmedia",
"public": true,
"targets": [
Expand Down
4 changes: 4 additions & 0 deletions src/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ For further details take a look at LICENSE.txt.

CHANGELOG

4.0.9.0

* Fix: Issue #202: Attribute 'branch' is no longer required in Cobertura files

4.0.8.0

* Fix: Issue #199: Handling of negative NPath complexity values (integer overflow)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<AssemblyName>ReportGenerator</AssemblyName>
<RootNamespace>Palmmedia.ReportGenerator</RootNamespace>
<StartupObject>Palmmedia.ReportGenerator.Console.NetCore.Program</StartupObject>
<AssemblyVersion>4.0.8.0</AssemblyVersion>
<FileVersion>4.0.8.0</FileVersion>
<AssemblyVersion>4.0.9.0</AssemblyVersion>
<FileVersion>4.0.9.0</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
4 changes: 2 additions & 2 deletions src/ReportGenerator.Console/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.0.8.0")]
[assembly: AssemblyFileVersion("4.0.8.0")]
[assembly: AssemblyVersion("4.0.9.0")]
[assembly: AssemblyFileVersion("4.0.9.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<TargetFramework>netcoreapp2.0</TargetFramework>
<IsPackable>false</IsPackable>
<RootNamespace>Palmmedia.ReportGenerator.Core.Test</RootNamespace>
<AssemblyVersion>4.0.8.0</AssemblyVersion>
<FileVersion>4.0.8.0</FileVersion>
<AssemblyVersion>4.0.9.0</AssemblyVersion>
<FileVersion>4.0.9.0</FileVersion>
</PropertyGroup>


Expand Down
2 changes: 1 addition & 1 deletion src/ReportGenerator.Core/Parser/CoberturaParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ private static void SetCodeElements(CodeFile codeFile, IEnumerable<XElement> met

foreach (var line in lines)
{
if (!line.Attribute("branch").Value.Equals("true", StringComparison.OrdinalIgnoreCase))
if (line.Attribute("branch") == null || !line.Attribute("branch").Value.Equals("true", StringComparison.OrdinalIgnoreCase))
{
continue;
}
Expand Down
4 changes: 2 additions & 2 deletions src/ReportGenerator.Core/ReportGenerator.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AssemblyName>ReportGenerator.Core</AssemblyName>
<AssemblyVersion>4.0.8.0</AssemblyVersion>
<FileVersion>4.0.8.0</FileVersion>
<AssemblyVersion>4.0.9.0</AssemblyVersion>
<FileVersion>4.0.9.0</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<AssemblyName>dotnet-reportgenerator</AssemblyName>
<RootNamespace>Palmmedia.ReportGenerator</RootNamespace>
<StartupObject>Palmmedia.ReportGenerator.DotnetCliTool.Program</StartupObject>
<AssemblyVersion>4.0.8.0</AssemblyVersion>
<FileVersion>4.0.8.0</FileVersion>
<AssemblyVersion>4.0.9.0</AssemblyVersion>
<FileVersion>4.0.9.0</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RootNamespace>ReportGenerator.DotnetCorePluginLoader</RootNamespace>
<AssemblyVersion>4.0.8.0</AssemblyVersion>
<FileVersion>4.0.8.0</FileVersion>
<AssemblyVersion>4.0.9.0</AssemblyVersion>
<FileVersion>4.0.9.0</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<AssemblyName>ReportGenerator</AssemblyName>
<RootNamespace>Palmmedia.ReportGenerator</RootNamespace>
<StartupObject>Palmmedia.ReportGenerator.DotnetGlobalTool.Program</StartupObject>
<AssemblyVersion>4.0.8.0</AssemblyVersion>
<FileVersion>4.0.8.0</FileVersion>
<AssemblyVersion>4.0.9.0</AssemblyVersion>
<FileVersion>4.0.9.0</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
4 changes: 2 additions & 2 deletions src/build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

<!-- Version, adjust before build -->
<PropertyGroup>
<Version>4.0.8.0</Version>
<VersionShort>4.0.8</VersionShort>
<Version>4.0.9.0</Version>
<VersionShort>4.0.9</VersionShort>
</PropertyGroup>

<!-- Tools -->
Expand Down

0 comments on commit ff4b6b7

Please sign in to comment.