![]() investigated the economical maintenance of large software products showing that comments are crucial for maintenance (Hartzman and Austin 1993). confirmed these results with more experiments (Tenny 1985, 1988). ![]() conducted one of the first experiments demonstrating that code comments improve program readability (Woodfield et al. Several researchers investigated the usefulness of these comments, showing that thoroughly commented code is more readable and maintainable. While writing and reading source code, software engineers routinely introduce code comments (Fluri et al. In addition, we investigate how to automatically classify code comments at line level into our taxonomy using machine learning initial results are promising and suggest that an accurate classification is within reach, even when training the machine learner on projects different than the target one. Through our analysis, we produce a taxonomy of source code comments subsequently, we investigate how often each category occur by manually classifying more than 40,000 lines of code comments from the aforementioned projects. ![]() In this paper, we investigate how 14 diverse Java open and closed source software projects use code comments, with the aim of understanding their purpose. Nevertheless, not all the comments have the same goal and target audience. ![]() Several studies have shown that code comments enhance the readability of the code. Code comments are a key software component containing information about the underlying implementation.
0 Comments
Leave a Reply. |