Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering 2016
DOI: 10.1145/2950290.2950298
|View full text |Cite
|
Sign up to set email alerts
|

API deprecation: a retrospective analysis and detection method for code examples on the web

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

0
29
0

Year Published

2018
2018
2023
2023

Publication Types

Select...
3
2
2

Relationship

0
7

Authors

Journals

citations
Cited by 59 publications
(29 citation statements)
references
References 28 publications
0
29
0
Order By: Relevance
“…Recently, Fischer et al find that 29% of security-related snippets in Stack Overflow are insecure and these snippets could have been reused by over 1 million Android apps on Google play, which raises a big security concern [9]. Previous studies have also investigated the quality of online code examples in terms of compilability [23,37], unchecked obsolete usage [39], and comprehension issues [29]. However, none of these studies have investigated the reliability of online code examples in terms of API usage correctness.…”
Section: Introductionmentioning
confidence: 99%
“…Recently, Fischer et al find that 29% of security-related snippets in Stack Overflow are insecure and these snippets could have been reused by over 1 million Android apps on Google play, which raises a big security concern [9]. Previous studies have also investigated the quality of online code examples in terms of compilability [23,37], unchecked obsolete usage [39], and comprehension issues [29]. However, none of these studies have investigated the reliability of online code examples in terms of API usage correctness.…”
Section: Introductionmentioning
confidence: 99%
“…Subramanian and Holmes find that the majority of SO snippets are free standing statements with no class or method headers [23]. Zhou et al find that 86 of 200 accepted SO posts use deprecated APIs but only 3 of them are reported by other programmers [9].…”
Section: Related Workmentioning
confidence: 99%
“…SO examples are created for illustration purposes, which can serve as a good starting point. However, these examples may be insufficient to be ported to a production environment, as previous studies find that SO examples may suffer from API usage violations [7], insecure coding practices [8], unchecked obsolete usage [9], and incomplete code * Both the first author and the second author contributed significantly and this research is led by UCLA. fragments [10].…”
Section: Introductionmentioning
confidence: 99%
“…The recently proposed framework DEPRECATION WATCHER detects deprecated APIs in the source code snippets of StackOverflow posts. Since StackOverflow posts are concise and focus on a single topic, a lightweight tool like DEPRECATION WATCHER can be effective in detecting deprecated API while disregarding the natural language context of the post. However, researchers have pointed out that the content of the surrounding text is especially important in high‐quality answers on StackOverflow .…”
Section: Related Workmentioning
confidence: 99%
“…Although researchers have proposed approaches aimed at extracting the mentions of API elements from Web resources, all of these techniques fail to manage the existence of numerous API versions with removed or deprecated API elements . Researchers have proposed tools that automatically detect the compatible versions of a source code repository, but these tools are not appropriate for detecting versions of documents like tutorials, which contain a combination of natural language text and source code .…”
Section: Introductionmentioning
confidence: 99%