2019 IEEE/ACM 16th International Conference on Mining Software Repositories (MSR) 2019
DOI: 10.1109/msr.2019.00042
|View full text |Cite
|
Sign up to set email alerts
|

Python Coding Style Compliance on Stack Overflow

Abstract: Software developers all over the world use Stack Overflow (SO) to interact and exchange code snippets. Research also uses SO to harvest code snippets for use with recommendation systems. However, previous work has shown that code on SO may have quality issues, such as security or license problems. We analyse Python code on SO to determine its coding style compliance. From 1,962,535 code snippets tagged with 'python', we extracted 407,097 snippets of at least 6 statements of Python code. Surprisingly, 93.87% of… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

1
13
0

Year Published

2020
2020
2023
2023

Publication Types

Select...
6
1

Relationship

1
6

Authors

Journals

citations
Cited by 20 publications
(14 citation statements)
references
References 17 publications
1
13
0
Order By: Relevance
“…This step is also performed by our analysis tool and concerns running the static code analysis tool Pylint (version 2.6.0) in its default configuration on all pure Python files in each project (but not on any of the dependencies). We choose Pylint for static code analysis as it is widely used and widely accepted in the Python community, as well as being highly configurable [6,10]. It is also well integrated into IDEs such as PyCharm and VS Code.…”
Section: Static Analysismentioning
confidence: 99%
See 2 more Smart Citations
“…This step is also performed by our analysis tool and concerns running the static code analysis tool Pylint (version 2.6.0) in its default configuration on all pure Python files in each project (but not on any of the dependencies). We choose Pylint for static code analysis as it is widely used and widely accepted in the Python community, as well as being highly configurable [6,10]. It is also well integrated into IDEs such as PyCharm and VS Code.…”
Section: Static Analysismentioning
confidence: 99%
“…II. RELATED WORK Several studies have investigated linting and static code analysis of non-ML projects [8,9,10,11]. Tómasdóttir et al [8] researched why JavaScript (JS) developers use linters and how they tend to configure them.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…The MSR Mining Challenges have been used as student coursework on the MSc Software Systems Engineering programme at UCL Computer Science. Students are asked to work in groups on the challenge in the same way one would work on an actual submission to the challenge and some groups have had work accepted (Bafatakis et al 2019;Wilkie et al 2018).…”
Section: Case 3: Using Msr Mining Challenges For Student Courseworkmentioning
confidence: 99%
“…Vast number of researches focused on security assessment in different programming languages [22], [2], [31], [21], [28]. Security assessment in languages like Java, C and C++ have established guidelines, standardizations and even recommendations [12], [26], [23].…”
Section: Related Workmentioning
confidence: 99%