An empirical study on the impact of refactoring activities on evolving client-used APIs
نویسندگان
چکیده
Context: Refactoring is recognized as an effective practice to maintain evolving software systems. For software libraries, we study how library developers refactor their Application Programming Interfaces (APIs), especially when it impacts client users by breaking an API of the library. Objective: Our work aims to understand how clients that use a library API are affected by refactoring activities. We target popular libraries that potentially impact more library client users. Method: We distinguish between library APIs based on their client-usage (refereed to as client-used APIs) in order to understand the extent to which API breakages relate to refactorings. Our tool-based approach allows for a large-scale study across eight libraries (i.e., totaling 183 consecutive versions) with around 900 clients projects. Results: We find that library maintainers are less likely to break client-used API classes. Quantitatively, we find that refactoring activities break less than 37% of all client-used APIs. In a more qualitative analysis, we show two documented cases of where non-refactoring API breaking changes are motivated by other maintenance issues (i.e., bug fix and new features) and involve more complex refactoring operations. Conclusion: Using our automated approach, we find that library developers are less likely to break APIs and tend to break client-used APIs when addressing these maintenance issues.
منابع مشابه
Capturing and Replaying Refactorings to Support API Evolution
Library developers who have to evolve a library to accommodate changing requirements often face a dilemma: Either they implement a clean, efficient solution but risk breaking client code, or they maintain compatibility with client code, but pay with increased design complexity and thus higher maintenance costs over time. We address this dilemma by presenting a lightweight approach for evolving ...
متن کاملHow Do Developers React to RESTful API Evolution?
With the rapid adoption of REpresentational State Transfer (REST), more software organizations expose their applications as RESTful web APIs and client code developers integrate RESTful APIs into their applications. When web APIs evolve, the client code developers have to update their applications to incorporate the API changes accordingly. However client code developers often encounter challen...
متن کاملAn Empirical Assessment of Refactoring Impact on Software Quality Using a Hierarchical Quality Model
Software refactoring is a collection of reengineering activities that aims to improve software quality. Refactorings are commonly used in agile software processes to improve software quality after a significant software development or evolution. There is belief that refactoring improves quality factors such as understandability, flexibility, and reusability. However, there is limited empirical ...
متن کاملStuding the Effect of Organizational Citizenship Behavior (OCB) on Client Satisfaction of Judiciary System (Case Study: Judicial System of Kermanshah Province)
This Study Examines the Impact of Organizational Citizenship Behavior (OCB) on Client Satisfaction of the Judiciary System. The Research is Applied Based on Objective and Based on the Type of Data is a Correlation Analysis. To Test the Hypothesis of the Research, the Data Were Collected Using a Likert Scale Questionnaire and be Analyzed Using SPSS and AMOS Packages. Statistical Population of th...
متن کاملSupplier Development Activities and Buying Firm’s Performance: An Empirical Investigation of Iranian SMEs
This study attempts to investigate the major antecedent factors that influence manufacturing SMEs intentions toward the implementation of supplier development activities in Iranian SMEs. In order to achieve this objective, the research constructs were developed. The conceptual framework underlying this study was based on the theories of supplier development activities and social capital. These...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Information & Software Technology
دوره 93 شماره
صفحات -
تاریخ انتشار 2018