Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: On the Utility of Marrying GIN and PMD for Improving Stack Overflow Code
  Snippets   Software developers are increasingly dependent on question and answer portals
and blogs for coding solutions. While such interfaces provide useful
information, there are concerns that code hosted here is often incorrect,
insecure or incomplete. Previous work indeed detected a range of faults in code
provided on Stack Overflow through the use of static analysis. Static analysis
may go a far way towards quickly establishing the health of software code
available online. In addition, mechanisms that enable rapid automated program
improvement may then enhance such code. Accordingly, we present this proof of
concept. We use the PMD static analysis tool to detect performance faults for a
sample of Stack Overflow Java code snippets, before performing mutations on
these snippets using GIN. We then re-analyse the performance faults in these
snippets after the GIN mutations. GIN's RandomSampler was used to perform
17,986 unique line and statement patches on 3,034 snippets where PMD violations
were removed from 770 patched versions. Our outcomes indicate that static
analysis techniques may be combined with automated program improvement methods
to enhance publicly available code with very little resource requirements. We
discuss our planned research agenda in this regard.

20
The categories of this paper are: acc-phys
26
The categories of this paper are: bayes-an
32
The categories of this paper are: atom-ph
34
The categories of this paper are: chem-ph
0
The categories of this paper are: hep-ph
29
The categories of this paper are: funct-an
22
The categories of this paper are: chao-dyn
17
The categories of this paper are: q-fin
2
The categories of this paper are: math
8
The categories of this paper are: hep-ex
3
The categories of this paper are: physics
30
The categories of this paper are: q-alg
11
The categories of this paper are: hep-lat
15
The categories of this paper are: nucl-ex
10
The categories of this paper are: q-bio
5
The categories of this paper are: gr-qc