scispace - formally typeset
Proceedings ArticleDOI

Evaluating domain-specific metric thresholds: an empirical study

Reads0
Chats0
TLDR
This paper investigates whether and how thresholds vary across domains by presenting a large-scale study on 3,107 software systems from 15 domains, and analyzed the derivation and distribution of thresholds based on 8 well-known source code metrics.
Abstract
Software metrics and thresholds provide means to quantify several quality attributes of software systems Indeed, they have been used in a wide variety of methods and tools for detecting different sorts of technical debts, such as code smells Unfortunately, these methods and tools do not take into account characteristics of software domains, as the intrinsic complexity of geo-localization and scientific software systems or the simple protocols employed by messaging applications Instead, they rely on generic thresholds that are derived from heterogeneous systems Although derivation of reliable thresholds has long been a concern, we still lack empirical evidence about threshold variation across distinct software domains To tackle this limitation, this paper investigates whether and how thresholds vary across domains by presenting a large-scale study on 3,107 software systems from 15 domains We analyzed the derivation and distribution of thresholds based on 8 well-known source code metrics As a result, we observed that software domain and size are relevant factors to be considered when building benchmarks for threshold derivation Moreover, we also observed that domain-specific metric thresholds are more appropriated than generic ones for code smell detection

read more

Citations
More filters
Journal ArticleDOI

On the proposal and evaluation of a benchmark-based threshold derivation method

TL;DR: The proposed method, called Vale’s method, is a novel benchmark-based method for deriving metric thresholds aimed at composing detection strategies for two well-known code smells, namely god class and lazy class.
Journal ArticleDOI

Evaluating the agreement among technical debt measurement tools: building an empirical benchmark of technical debt liabilities

TL;DR: This study evaluates the degree of agreement among leading TD assessment tools and proposes a framework to capture the diversity of the examined tools with the aim of identifying few “ reference assessments ” representing characteristic cases of classes/files with respect to their level of TD.
Proceedings Article

Microservices in Practice: A Survey Study

TL;DR: A survey with 122 professionals who work with microservices reports how the industry is using this architectural style and whether the perception of practitioners regarding the advantages and challenges of microservices is according to the literature.
Proceedings ArticleDOI

Applying Gamification to Motivate Students to Write High-Quality Code in Programming Assignments

TL;DR: This work proposes applying gamification with code metrics to measure code quality in programming assignments and can motivate students to write code with good metric scores independent of grading.
Journal ArticleDOI

Detecting Java software similarities by using different clustering techniques

TL;DR: A set of clustering techniques are defined that might be used to group similar software systems, and whether a suite of well-known object-oriented metrics is context-specific, and its values differ along the defined clusters are evaluated.
References
More filters
Book

A metrics suite for object oriented design

TL;DR: This research addresses the needs for software measures in object-orientation design through the development and implementation of a new suite of metrics for OO design, and suggests ways in which managers may use these metrics for process improvement.
Book

Refactoring: Improving the Design of Existing Code

TL;DR: Almost every expert in Object-Oriented Development stresses the importance of iterative development, but how do you add function to the existing code base while still preserving its design integrity?
Book

A complexity measure

TL;DR: In this paper, a graph-theoretic complexity measure for managing and controlling program complexity is presented. But the complexity is independent of physical size, and complexity depends only on the decision structure of a program.
Journal ArticleDOI

A Complexity Measure

TL;DR: Several properties of the graph-theoretic complexity are proved which show, for example, that complexity is independent of physical size and complexity depends only on the decision structure of a program.
Book

Pattern-oriented Software Architecture: A System of Patterns

TL;DR: Patterns.
Related Papers (5)