Difference between revisions of "Bugzilla Analysis"

From CDOT Wiki
Jump to: navigation, search
Line 25: Line 25:
 
<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>
 
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>1995</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '1995%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>1996</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '1996%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>1997</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '1997%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>1998</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '1998%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>1999</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '1999%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>2000</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '2000%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>2001</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '2001%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>2002</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '2002%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>2003</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '2003%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>2004</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '2004%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>2005</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '2005%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>2006</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '2006%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>2007</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '2007%';</td>
 +
<th>2</th>
 +
</tr>
 +
<tr>
 +
<td>2008</td>
 +
<td>Select count(distinct bug_id) from bugs where creation_ts like '2008%';</td>
 +
<th>2</th>
 +
</tr>
 
</table>
 
</table>

Revision as of 00:11, 26 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%'; 2
1996 Select count(distinct bug_id) from bugs where creation_ts like '1996%'; 2
1997 Select count(distinct bug_id) from bugs where creation_ts like '1997%'; 2
1998 Select count(distinct bug_id) from bugs where creation_ts like '1998%'; 2
1999 Select count(distinct bug_id) from bugs where creation_ts like '1999%'; 2
2000 Select count(distinct bug_id) from bugs where creation_ts like '2000%'; 2
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