Skip to content

Commit 5e2ee24

Browse files
author
Aaron Pritzlaff
committed
cobertura write fix: added missing required complexity attribute to method
1 parent 4a3dd32 commit 5e2ee24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scalac-scoverage-plugin/src/main/scala/scoverage/report/CoberturaXmlWriter.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ class CoberturaXmlWriter(sourceDirectories: Seq[File], outputDir: File) extends
2525
<method name={method.name}
2626
signature="()V"
2727
line-rate={format(method.statementCoverage)}
28-
branch-rate={format(method.branchCoverage)}>
28+
branch-rate={format(method.branchCoverage)}
29+
complexity="0">
2930
<lines>
3031
{method.statements.map(stmt =>
3132
<line

0 commit comments

Comments
 (0)