incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robw...@apache.org
Subject svn commit: r1373455 - in /incubator/ooo/ooo-site/trunk/content/stats: defects.html defects.txt
Date Wed, 15 Aug 2012 15:17:06 GMT
Author: robweir
Date: Wed Aug 15 15:17:06 2012
New Revision: 1373455

URL: http://svn.apache.org/viewvc?rev=1373455&view=rev
Log:
add defect stats

Added:
    incubator/ooo/ooo-site/trunk/content/stats/defects.html   (with props)
    incubator/ooo/ooo-site/trunk/content/stats/defects.txt   (with props)

Added: incubator/ooo/ooo-site/trunk/content/stats/defects.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/stats/defects.html?rev=1373455&view=auto
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/stats/defects.html (added)
+++ incubator/ooo/ooo-site/trunk/content/stats/defects.html Wed Aug 15 15:17:06 2012
@@ -0,0 +1,66 @@
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <title>Apache OpenOffice Comitters</title>
+    <script src="http://api.simile-widgets.org/timeplot/1.1/timeplot-api.js"  type="text/javascript">
+    </script>
+    <script type="text/javascript">
+    var resizeTimerID = null;
+    var timeplot;
+    function onResize() {
+        if (resizeTimerID == null)
+        {
+            resizeTimerID = window.setTimeout(function(){
+                                              resizeTimerID = null;
+                                             timeplot.repaint();
+                                             }, 100);
+        }
+    }
+    function onLoad() {
+        var eventSource = new Timeplot.DefaultEventSource();
+        var valueGeometry = new Timeplot.DefaultValueGeometry({
+                                                              gridColor: "#000000",
+                                                              axisLabelsPlacement: "left",
+                                                              });
+        var timeGeometry = new Timeplot.DefaultTimeGeometry({
+                                                            gridColor: new Timeplot.Color("#000000"),
+                                                            axisLabelsPlacement: "top"
+                                                            });
+        var plotInfo = [
+                       Timeplot.createPlotInfo({
+                                               id: "found",
+                                               dataSource: new Timeplot.ColumnSource(eventSource,1),
+                                               valueGeometry: valueGeometry,
+                                               timeGeometry: timeGeometry,
+                                               lineColor: "#ff0000",
+                                               showValues: true
+                                               }),
+                       Timeplot.createPlotInfo({
+                                               id: "fixed",
+                                               dataSource: new Timeplot.ColumnSource(eventSource,2),
+                                               valueGeometry: valueGeometry,
+                                               timeGeometry: timeGeometry,
+                                               lineColor: "#00ff00",
+                                               showValues: true
+                                               })
+                       ];
+        timeplot = Timeplot.create(document.getElementById("found"), plotInfo);
+        timeplot.loadText("defects.txt", ",", eventSource);
+    }
+    </script>
+</head>
+<body onload="onLoad();" onresize="onResize();">
+<h2>Defects found and fixed</h2>
+<p>
+Put discussion of chart here.
+</p>
+<div class="label">
+    Cumulative Defects, 
+    <span style="color: #FF0000;">found</span>
+    and <span style="color: #00FF00;">fixed</span> per month 
+</div> 
+
+<div id="found" style="height: 400px;"> </div> 
+
+</body> 
+</html> 

Propchange: incubator/ooo/ooo-site/trunk/content/stats/defects.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/ooo/ooo-site/trunk/content/stats/defects.txt
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/stats/defects.txt?rev=1373455&view=auto
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/stats/defects.txt (added)
+++ incubator/ooo/ooo-site/trunk/content/stats/defects.txt Wed Aug 15 15:17:06 2012
@@ -0,0 +1,16 @@
+date,reported,fixed
+2011-06-01,0,0
+2011-07-01,119,271
+2011-08-01,255,288
+2011-09-01,326,298
+2011-10-01,359,322
+2011-11-01,448,373
+2011-12-01,547,442
+2012-01-01,599,472
+2012-02-01,745,540
+2012-03-01,888,633
+2012-04-01,1050,714
+2012-05-01,1185,767
+2012-06-01,1564,857
+2012-07-01,2013,1065
+2012-08-01,2316,1208

Propchange: incubator/ooo/ooo-site/trunk/content/stats/defects.txt
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message