Difference between revisions of "Bugzilla Analysis"

From CDOT Wiki
Jump to: navigation, search
Line 24: Line 24:
 
<td>1994</td>
 
<td>1994</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1994%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1994%';</td>
<th>2</th>
+
<td>2</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>1995</td>
 
<td>1995</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1995%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1995%';</td>
<th>1</th>
+
<td>1</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>1996</td>
 
<td>1996</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1996%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1996%';</td>
<th>5</th>
+
<td>5</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>1997</td>
 
<td>1997</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1997%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1997%';</td>
<th>36</th>
+
<td>36</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>1998</td>
 
<td>1998</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1998%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1998%';</td>
<th>2020</th>
+
<td>2020</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>1999</td>
 
<td>1999</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1999%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '1999%';</td>
<th>20,411</th>
+
<td>20,411</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>2000</td>
 
<td>2000</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2000%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2000%';</td>
<th>40298</th>
+
<td>40298</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>2001</td>
 
<td>2001</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2001%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2001%';</td>
<th>2</th>
+
<td>53,468</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>2002</td>
 
<td>2002</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2002%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2002%';</td>
<th>2</th>
+
<td>69,701</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>2003</td>
 
<td>2003</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2003%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2003%';</td>
<th>2</th>
+
<td>42,371</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>2004</td>
 
<td>2004</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2004%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2004%';</td>
<th>2</th>
+
<td>46,739</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>2005</td>
 
<td>2005</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2005%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2005%';</td>
<th>2</th>
+
<td>45,173</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>2006</td>
 
<td>2006</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2006%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2006%';</td>
<th>2</th>
+
<td>41,898</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>2007</td>
 
<td>2007</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2007%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2007%';</td>
<th>2</th>
+
<td>41,872</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>2008</td>
 
<td>2008</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2008%';</td>
 
<td>Select count(distinct bug_id) from bugs where creation_ts like '2008%';</td>
<th>2</th>
+
<td>21,997</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 23:16, 25 June 2008

Students in BTR490 are working on analyzing historical Bugzilla data for Mozilla. This pages documents some of their findings and ideas.


Bugzilla Database Questions

By:Timothy Kwan, Rajiv Gagwani, Jasdeep Singh Goraya


Questions Query Result
How many bugs are there? Select count(bug_id) from bugs; 425,992
How many bugs per year?
1994 Select count(distinct bug_id) from bugs where creation_ts like '1994%'; 2
1995 Select count(distinct bug_id) from bugs where creation_ts like '1995%'; 1
1996 Select count(distinct bug_id) from bugs where creation_ts like '1996%'; 5
1997 Select count(distinct bug_id) from bugs where creation_ts like '1997%'; 36
1998 Select count(distinct bug_id) from bugs where creation_ts like '1998%'; 2020
1999 Select count(distinct bug_id) from bugs where creation_ts like '1999%'; 20,411
2000 Select count(distinct bug_id) from bugs where creation_ts like '2000%'; 40298
2001 Select count(distinct bug_id) from bugs where creation_ts like '2001%'; 53,468
2002 Select count(distinct bug_id) from bugs where creation_ts like '2002%'; 69,701
2003 Select count(distinct bug_id) from bugs where creation_ts like '2003%'; 42,371
2004 Select count(distinct bug_id) from bugs where creation_ts like '2004%'; 46,739
2005 Select count(distinct bug_id) from bugs where creation_ts like '2005%'; 45,173
2006 Select count(distinct bug_id) from bugs where creation_ts like '2006%'; 41,898
2007 Select count(distinct bug_id) from bugs where creation_ts like '2007%'; 41,872
2008 Select count(distinct bug_id) from bugs where creation_ts like '2008%'; 21,997