Difference between revisions of "Bugzilla Analysis"

From CDOT Wiki
Jump to: navigation, search
Line 29: Line 29:
 
<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>2</th>
+
<th>1</th>
 
</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>2</th>
+
<th>5</th>
 
</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>2</th>
+
<th>36</th>
 
</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>2</th>
+
<th>2020</th>
 
</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>2</th>
+
<th>20,411</th>
 
</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>2</th>
+
<th>40298</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>

Revision as of 23:12, 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%'; 2
2002 Select count(distinct bug_id) from bugs where creation_ts like '2002%'; 2
2003 Select count(distinct bug_id) from bugs where creation_ts like '2003%'; 2
2004 Select count(distinct bug_id) from bugs where creation_ts like '2004%'; 2
2005 Select count(distinct bug_id) from bugs where creation_ts like '2005%'; 2
2006 Select count(distinct bug_id) from bugs where creation_ts like '2006%'; 2
2007 Select count(distinct bug_id) from bugs where creation_ts like '2007%'; 2
2008 Select count(distinct bug_id) from bugs where creation_ts like '2008%'; 2