Title
Code style analytics for the automatic setting of formatting rules in IDEs: A solution to the Tabs vs. Spaces Debate
Abstract
The use of code style is very important since it conveys meaning as well as intent of source code. Developers are used to reading code according to their preferred style but those guidelines of proper style vary among software teams, and even different companies. Code style decisions are typically made by managers of software developers, but we would like to investigate how common the different variations of code style are. There are also automated tools to convert code style in a file, however the tools must be configured manually. In this paper, we present a tool for the collection and analysis of code style metrics. We demonstrate the feasibility of scanning existing source code to automatically generate the code style rules for existing tools. We also look at the results of our data mining to look at trends in source code. We perform a quantitative analysis on source code for questions like: How many functions are in a class, on average? How many lines of code are in a method, on average? We also present graphs of the distribution of these data, as well look at special cases of outliers.
Year
DOI
Venue
2017
10.1109/ICDIM.2017.8244675
2017 Twelfth International Conference on Digital Information Management (ICDIM)
Keywords
Field
DocType
soft-ware prototyping,code style,analytics,software metrics,static code tools
Information retrieval,Computer science,Visualization,Source code,Software bug,Outlier,Software,Disk formatting,Analytics,Source lines of code
Conference
ISBN
Citations 
PageRank 
978-1-5386-0665-0
0
0.34
References 
Authors
7
3
Name
Order
Citations
PageRank
Eric Torunski100.34
M. Omair Shafiq213918.59
Anthony Whitehead314320.84