[148310] Fix the test coverage report
diff --git a/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/xsl/api-tc-summary.xsl b/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/xsl/api-tc-summary.xsl
index a20f798..294170a 100644
--- a/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/xsl/api-tc-summary.xsl
+++ b/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/xsl/api-tc-summary.xsl
@@ -16,17 +16,42 @@
 							var y = parseInt(table.rows[j].cells[col].childNodes[0].data);
 							if (x < y)
 							{
-								table.moveRow(i, j + 1);
+								move(table, i, j + 1);
 								break;
 							}
 							if (j == 1)
 							{
-								table.moveRow(i, 1);
+								move(table, i, 1);
 								break;
 							}
 						}
 					}
 				}
+				function move(table, src, target)
+				{
+					var a = document.createElement("a");
+					var td_name = document.createElement("td");
+					var td_tested = document.createElement("td");
+					var td_tested_per = document.createElement("td");
+					var td_not_tested = document.createElement("td");
+					var td_not_tested_per = document.createElement("td");
+
+					a.href = table.rows[src].cells[0].childNodes[0].href;
+					a.appendChild(document.createTextNode(table.rows[src].cells[0].childNodes[0].childNodes[0].data));
+					td_name.appendChild(a);
+					td_tested.appendChild(document.createTextNode(table.rows[src].cells[1].childNodes[0].data));
+					td_tested_per.appendChild(document.createTextNode(table.rows[src].cells[2].childNodes[0].data));
+					td_not_tested.appendChild(document.createTextNode(table.rows[src].cells[3].childNodes[0].data));
+					td_not_tested_per.appendChild(document.createTextNode(table.rows[src].cells[4].childNodes[0].data));
+
+					table.deleteRow(src);
+					var tr = table.insertRow(target);
+					tr.appendChild(td_name);
+					tr.appendChild(td_tested);
+					tr.appendChild(td_tested_per);
+					tr.appendChild(td_not_tested);
+					tr.appendChild(td_not_tested_per);
+				}
 			</script>
 			<body>
 				<table border="0" cellpadding="2" cellspacing="5" width="100%">