{"title":"Better similarity coefficients to identify refactoring opportunities","authors":"Arthur F. Pinto, Ricardo Terra","doi":"10.1145/3132498.3132511","DOIUrl":"https://doi.org/10.1145/3132498.3132511","url":null,"abstract":"Similarity coefficients are used by several techniques to identify refactoring opportunities. As an example, it is expected that a method is located in a class that is structurally similar to it. However, the existing coefficients in Literature have not been designed for the structural analysis of software systems, which may not guarantee satisfactory accuracy. This paper, therefore, proposes new coefficients---based on genetic algorithms over a training set of ten systems---to improve the accuracy of the identification of Move Class, Move Method, and Extract Method refactoring opportunities. We conducted an empirical study comparing these proposed coefficients with other 18 coefficients in other 101 systems. The results indicate, in relation to the best analyzed coefficient, an improvement of 10.57% for the identification of Move Method refactoring opportunities, 3.17% for Move Class, and 0.30% for Extract Method. Moreover, we implemented a tool that relies on the proposed coefficients to recommend refactoring opportunities.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"26 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127859989","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
V. Schettino, Regina M. M. Braga, J. M. David, M. A. Araújo
{"title":"Spotify characterization as a software ecosystem","authors":"V. Schettino, Regina M. M. Braga, J. M. David, M. A. Araújo","doi":"10.1145/3132498.3133836","DOIUrl":"https://doi.org/10.1145/3132498.3133836","url":null,"abstract":"[Context] Software production methods are changing at high rate. Organizations and their former product lines are evolving to software ecosystems, seeking to take advantage of external resources that can aggregate value on their projects, such as seasoned engineers and open-source components. Meanwhile, external developers are looking to bond products with established market share, aiming for niches that may provide innovative business opportunity. [Objective] The objective of this work is to describe and evaluate technical, organizational and social aspects of Spotify, called software ecosystem, regarding previous works. [Methods] Besides the literature review and research about Spotify characteristics, we developed an application that extends Spotify native recommendation and presents information about the tracks listened, such as energy, danceability and popularity. These properties are gathered from the Spotify Web API, bringing forward deepen enlightenment about technical aspects of the platform. [Results] Through the knowledge acquired on this work, we present improvement suggestions for the ecosystem, regarding interoperability aspect.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127254627","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Priscila P. Souza, B. L. Sousa, K. Ferreira, Mariza Bigonha
{"title":"Applying software metric thresholds for detection of bad smells","authors":"Priscila P. Souza, B. L. Sousa, K. Ferreira, Mariza Bigonha","doi":"10.1145/3132498.3134268","DOIUrl":"https://doi.org/10.1145/3132498.3134268","url":null,"abstract":"Software metrics can be an effective measurement tool to assess the quality of software. In the literature, there are a lot of software metrics applicable to systems implemented in different paradigms like Objects Oriented Programming (OOP). To guide the use of these metrics in the evaluation of the quality of software systems, it is important to define their thresholds. The aim of this study is to investigate the effectiveness of the thresholds in the evaluation of the quality of object oriented software. To do that, we used a threshold catalog of 18 software metrics derived from 100 software systems to define detection strategies for five bad smells. They are: Large Class, Long Method, Data Class, Feature Envy and Refused Bequest. We investigate the effectiveness of the thresholds in detection analysis of 12 software systems using these strategies. The results obtained by the proposed strategies were compared with the results obtained by the tools JDeodorant and JSPiRIT, used to identify bad smells. This study shows that the metric thresholds were significantly effective in supporting the detection of bad smells.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"55 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124801874","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Preliminary study on the correlation of objective functions to optimize product-line architectures","authors":"M. Santos, T. Colanzi, A. Amaral, E. Oliveirajr","doi":"10.1145/3132498.3133834","DOIUrl":"https://doi.org/10.1145/3132498.3133834","url":null,"abstract":"The Product Line Architecture (PLA) is one of the most important artifacts of a Software Product Line (SPL). The Multi-Objective Approach for PLA Design (MOA4PLA) aims at optimizing the PLA design by using search algorithms easing the design activity. From an original PLA, MOA4PLA automatically obtains alternative designs to improve the original one in terms of the objectives selected for optimization. The use of search algorithms is an incipient research topic, which includes several open research questions. The evaluation model of MOA4PLA is composed of various objective functions, which use software metrics to evaluate different factors that influence on the PLA design. However, the simultaneous optimization of all objective functions is a computationally complex task. In this sense, it is worthwhile to investigate the possible correlation between objective functions because the discovery of correlated functions allows to reduce the number of objectives to be optimized by the search algorithm. Hence, in this paper we perform a preliminary study to investigate the correlation among five objective functions related to metrics that provide indicators on conventional architectural properties, such as coupling, cohesion and size. To accomplish the objective of this paper, four controlled experiments were carried out with four different PLA designs. Empirical results provide preliminary evidence that two pairs of functions are positively correlated and two other pairs of functions are negatively correlated. From such findings, several guidelines were derived to help architects to both reduce and select the objectives related to conventional architectural properties to be tackled during the PLA design optimization.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"2022 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121787701","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A structured survey on the usage of the issue tracking system provided by the GitHub platform","authors":"Casimiro Conde Marco Neto, M. Barros","doi":"10.1145/3132498.3134110","DOIUrl":"https://doi.org/10.1145/3132498.3134110","url":null,"abstract":"Issue tracking systems help software development teams in identifying problems to be solved and new features to be added to a software system. In this paper, we replicate and extend a study carried out in 2013 on the usage of the issue tracking system provided by the GitHub platform. The replication aims at determining whether the results observed four years ago are still valid. The extension seeks to analyze how often issues are terminated by commits to the version control system and understand whether this feature allows developers to relate an issue to the source code modules that were changed to resolve it. We conclude that the results of the previous study remain valid and that issues closed by commits are uncommon (about 4% of our sample) and often linked to technical aspects of the project.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"24 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126031336","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Magno Lua de Jesus Souza, A. R. Santos, I. Machado, E. Almeida, G. Gomes
{"title":"Evaluating Variability Modeling Techniques for Dynamic Software Product Lines: A Controlled Experiment","authors":"Magno Lua de Jesus Souza, A. R. Santos, I. Machado, E. Almeida, G. Gomes","doi":"10.1109/SBCARS.2016.15","DOIUrl":"https://doi.org/10.1109/SBCARS.2016.15","url":null,"abstract":"Dynamic Software Product Lines (DSPL) is a promising approach to enable variability management at runtime. As a particularly novel approach, variability management at runtime demands proper guidance for software engineers. Although there is a number of variability modeling techniques, understand whether they fulfill important requirements to deal with the DSPL challenges is necessary. In this work, we analyzed two variability modeling techniques with regard to their effectiveness and efficiency based on a controlled experiment conducted with 10 students. Data from performed tasks and background and feedback questionnaires were gathered and analyzed. The results showed Context-aware Feature Model technique more effective than Tropos Goal Model with Context technique considering precision. Nevertheless, both techniques were effective considering recall.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"12 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126752844","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"ObasCId: An Ontologically-Based Approach for Concern Identification and Classification","authors":"Paulo Afonso Parreira Júnior, R. Penteado","doi":"10.1109/SBCARS.2016.10","DOIUrl":"https://doi.org/10.1109/SBCARS.2016.10","url":null,"abstract":"The Aspect-Oriented Requirements Engineering(AORE) area intends to provide more appropriate strategiesfor software concern identification, classification (ascrosscutting or non-crosscutting) and modularization, in theearly phases of software development cycle. A commonlyreported issue about the existing AORE approaches is the lackof appropriate resources (guidelines, processes, catalogs, among others) to support software engineers during theconcern identification and classification. This work aims tomitigate this issue by proposing: (i) a reference ontology for thesoftware concerns domain, called O4C (Ontology for Concerns), and (ii) an ontologically-based approach for AORE, calledObasCId (Ontologically-based Concern Identification andClassification), that suggests the usage of catalogs of softwareconcerns and a well-defined process for supporting softwareengineers to perform these activities in a more systematic way. An experimental study was performed on ObasCId and itsresults indicated that this approach may positively contributefor the concern identification and classification effectivenesswithout harming its execution time.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"16 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125043159","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Heberth Braga G. Ribeiro, S. Meira, E. Almeida, D. Lucrédio, Alexandre Alvaro, Vander Alves, V. Garcia
{"title":"An Assessment on Technologies for Implementing Core Assets in Service-Oriented Product Lines","authors":"Heberth Braga G. Ribeiro, S. Meira, E. Almeida, D. Lucrédio, Alexandre Alvaro, Vander Alves, V. Garcia","doi":"10.1109/SBCARS.2010.19","DOIUrl":"https://doi.org/10.1109/SBCARS.2010.19","url":null,"abstract":"Software Product Lines (SPL) and Service-Orientation (SO) are two strategies that focus on different goals, but they both use software reuse as their main principle. SPL encompass a family of software systems developed from reusable assets, while SO is a way of developing service-based applications, providing reusable business functionalities. In the combination of SPL and SO, a key aspect is the understanding about the use of variability mechanisms for realizing variabilities in different levels of granularity (e.g., components, services, service-orchestrations) addressed in a technology specific way and improve modularity, complexity, and Separation of Concerns (SoC) of reusable assets. In this paper, we present a quantitative case study for evaluating the modularity, complexity, SoC and stability of reusable core assets using distinct technologies for implementing them, and an initial decision model based to guide software engineers on choosing suitable technologies.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"12 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114986414","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
D. Lucrédio, Renata Pontin de Mattos Fortes, E. Almeida, S. Meira
{"title":"Designing Domain Architectures for Model-Driven Engineering","authors":"D. Lucrédio, Renata Pontin de Mattos Fortes, E. Almeida, S. Meira","doi":"10.1109/SBCARS.2010.20","DOIUrl":"https://doi.org/10.1109/SBCARS.2010.20","url":null,"abstract":"Model-Driven Engineering (MDE) can leverage domain engineering by offering support to complex variability and automatic implementation. However, little attention is given to the process of designing a domain architecture that is well suited to MDE techniques such as domain-specific languages and software transformations. A domain-specific software architecture is normally developed based on a few selected and important requirements, called architectural drivers. This paper presents three types of architectural drivers that can be used to build a software architecture that can take full advantage of the benefits of MDE. It also presents some patterns that can be used to help in the architectural design. An evaluation is also presented, showing that, when used together in a model-driven domain engineering project, these drivers and patterns can lead to some benefits in terms of reusability and complexity, but that in some cases there are drawbacks that need to be considered in a trade-off analysis.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"4 6 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122545904","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Taniro Rodrigues, Priscilla Dantas, Flávia Coimbra Delicato, Paulo F. Pires, Claudio Miceli, L. Pirmez
{"title":"Using MDA for Building Wireless Sensor Network Applications","authors":"Taniro Rodrigues, Priscilla Dantas, Flávia Coimbra Delicato, Paulo F. Pires, Claudio Miceli, L. Pirmez","doi":"10.1109/SBCARS.2010.21","DOIUrl":"https://doi.org/10.1109/SBCARS.2010.21","url":null,"abstract":"Research on Wireless Sensor Networks (WSN) has evolved with potential applications in several domains. However, the building of WSN applications is hampered by the need of programming in low-level abstractions provided by sensor OS and of specific knowledge about each application domain and each sensor platform. We propose a MDA approach to develop WSN applications. This approach allows domain experts to directly contribute in the development of applications without needing low level knowledge on WSN platforms and, at the same time, it allows network experts to program WSN nodes to met application requirements without specific knowledge on the application domain. Our approach also promotes the reuse of the developed software artifacts, allowing an application model to be reused across different sensor platforms and a platform model to be reused for different applications.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"67 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132015444","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}