Fig 1 - uploaded by Mashal Ahmad
Content may be subject to copyright.
Impact of Stack Overflow snippet on cohesion metrics

Impact of Stack Overflow snippet on cohesion metrics

Source publication
Preprint
Full-text available
Developers frequently copy code snippets from publicly-available resources such as Stack Overflow (SO). While this may lead to a 'quick fix' for a development problem, little is known about how these copied code snippets affect the code quality of the recipient application, or how the quality of the recipient classes subsequently evolves over the t...

Contexts in source publication

Context 1
... the other hand, if the changing value is increased, it is categorised as improving. Figure 1 depicts the results of this investigation. From the sample set of 378 cases, the Low-level Similarity-based Class Cohesion metric (LSCC) remains constant in 39% of cases and varies in the remaining 61% of cases. ...
Context 2
... can been seen in Figure 1, the results for the Class Cohesion metric (CC) are similar. It should be noted though that in spite of this similarity, there is a significant degree of disagreement between the metrics on the impact of the added snippet. ...