-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
131 lines (121 loc) · 4.5 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>SurfExample</title>
<link href="../css/style1.css" type="text/css" rel="stylesheet" />
<style type="text/css">
hl
{
color:#0066FF;
font-size:18px;
}
.important
{
color:#FF0000;
font-weight:bold;
}
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="1000" align="center">
<tr>
<td colspan="3">
</td>
</tr>
<tr>
<td width="70">
<img src="img/sexample.png" width="50" height="50" />
</td><td><h1>SurfExample</h1></td>
</tr>
<tr>
<td colspan="2">
<div class="rounded2">
<p>
<strong>Abstract:</strong> Studies show that software developers often either misuse exception handling features or use them inefficiently, and such a practice may lead an undergoing software project to a fragile, insecure and non-robust application system. In this paper, we propose a context-aware code recommendation approach that recommends exception handling code examples from a number of popular open source code repositories hosted at GitHub. It collects the code examples exploiting GitHub code search API, and then analyzes, filters and ranks them against the code under development in the IDE by leveraging not only the structural (i.e., graph-based) and lexical features but also the heuristic quality measures of exception handlers in the examples. Experiments with 4,400 code examples and 65 exception handling scenarios as well as comparisons with four existing approaches show that the proposed approach is highly promising.
</p>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<p style="font-weight:bold">Plugin & Web Service</p>
<hr />
<ul>
<li><a href="https://marketplace.eclipse.org/content/surfexample">SurfExample Eclipse Plugin</a></li>
<li><a href="http://srlabg53-2.usask.ca/wssurfexamples/">SurfExample Web service</a></li>
</ul>
</td>
</tr>
<tr>
<td colspan="2">
<p style="font-weight:bold">Experimental Data</p>
<hr />
<p style="font-weight:bold">Exception & Context code</p>
<ul>
<li><a href="https://drive.google.com/open?id=1HJKCWRcX3rWZZ82XKxV2Uy9l2R7L-0_Z">Exceptions</a></li>
<li><a href="https://drive.google.com/open?id=1elJaChUiNkNfhCY1ZCL2d-lWHz3jybFJ">Exception context code</a></li>
</ul>
<p style="font-weight:bold">Oracle (Solution Examples)</p>
<ul>
<li><a href="https://drive.google.com/open?id=1S_ycc33MZfOokH4YzYE7LFCy6BjHck38">Solution code examples</a></li>
</ul>
<p style="font-weight:bold">Example Corpus</p>
<ul>
<li><a href="https://drive.google.com/open?id=18pRsUeK45fwhBrYwiu6h2ZSH_rlE75V3">Corpus examples (4400)</a></li>
</ul>
<p style="font-weight:bold">Metric Weight Estimation Data</p>
<ul>
<li><a href="https://drive.google.com/open?id=14rsMfSoiWUXY2EqsTiKBoot_irwWETYx">Individual metric values for 650 code examples</a></li>
<li><a href="https://drive.google.com/open?id=1Y8POj_sT41gNq_RcVLS2kooQPsE6VtVF">Individual metric WEKA ARFF file</a></li>
<li><a href="https://drive.google.com/open?id=1u8mSQ_a-vq1J0CEMp7Pv49jo-sKmZM96">Subtotal metric values for 650 code examples</a></li>
<li><a href="https://drive.google.com/open?id=1qvbJGiUILHN_gBO-SyRyJZ96xtsgFQen">Subtotal metric WEKA ARFF file</a></li>
<li><a href="https://drive.google.com/open?id=1ZACs3wroe4UYpJDqmPp_CwAhtr3zzik-">Estimated Metric Weights</a></li>
</ul>
</td>
</tr>
<tr>
<td colspan="2">
<spacer></spacer>
<p style="font-weight:bold">Related Publication(s)</p>
<hr />
<ul>
<li>
M. M. Rahman and C.K. Roy, "<a href="http://homepage.usask.ca/~masud.rahman/papers/masud-SCAM2014-6148a285.pdf">On the Use of Context in Recommending Exception Handling Code Examples</a>", In Proceeding of The 14th IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2014), pp. 285--294, Victoria, Canada, September 2014 </a>
</li>
</ul>
<div>
<pre class="rounded2">
@INPROCEEDINGS{scam2014masud,
author={M. M. Rahman and C. K. Roy},
booktitle={Proc. SCAM},
title={On the Use of Context in Recommending Exception Handling Code Examples},
year={2014},
pages={285-294} }
</pre>
</div>
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="3">
<h4 style="text-align:center">
<a style="text-decoration:none; cursor:pointer" href="../tools">← Check out other tools by Masud Rahman</a>
</h4>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td colspan="3">
<hr />
<p>© Masud Rahman, Computer Science, University of Saskatchewan, Canada. </p>
</td>
</tr>
</table>
</body>
</html>