Brazilian Symposium on Software Components, Architectures and Reuse最新文献

筛选
英文 中文
Implementing a Classic ER Algebra to Automatically Generate Complex Queries for Document-Oriented Databases 实现经典ER代数自动生成面向文档数据库的复杂查询
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357601
V. Noguera, D. Lucrédio
{"title":"Implementing a Classic ER Algebra to Automatically Generate Complex Queries for Document-Oriented Databases","authors":"V. Noguera, D. Lucrédio","doi":"10.1145/3357141.3357601","DOIUrl":"https://doi.org/10.1145/3357141.3357601","url":null,"abstract":"NoSQL databases are designed to fulfill performance and scalability requirements, normally by allowing data to be stored without a fixed schema. For this reason, it is not rare that new usage and performance requirements appear during a system's life cycle, demanding changes to be made in the schema, challenging the developer with extra adaptation effort to update data access code (database queries). The literature presents some solutions to reduce this effort by making queries independent from the schema, but the solutions are normally restricted to simple queries or a predefined mapping. In this paper, we present evidence showing that a classic ER algebra and a Model Management approach can be used to implement a solution that works with complex queries in any schema. The algebra defines operations that can be used by developers to specify complex queries in terms of Entities and Relationships. We created a language for this algebra, with a concrete syntax and a generative operational semantics targeting a document-oriented database. As in Model Management, the generative semantics is guided by the mapping information between Entities, Relationships, and Documents, and is able to generate, for a single ER-based input query, native query code for different schemas, all producing the same results in terms of data structure. Test results show that our implementation is consistent with the algebra's definition, producing evidence that this approach can lead to schema independence in complex NoSQL queries.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"33 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134367965","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}
引用次数: 2
A Microservice Based Architecture to Support Offloading in Mobile Cloud Computing 基于微服务的移动云计算卸载支持架构
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357148
Adriano L. Cândido, Fernando A. M. Trinta, L. Rocha, P. Rego, N. Mendonça, V. Garcia
{"title":"A Microservice Based Architecture to Support Offloading in Mobile Cloud Computing","authors":"Adriano L. Cândido, Fernando A. M. Trinta, L. Rocha, P. Rego, N. Mendonça, V. Garcia","doi":"10.1145/3357141.3357148","DOIUrl":"https://doi.org/10.1145/3357141.3357148","url":null,"abstract":"Mobile devices are increasingly present in people's daily lives. However, despite the substantial improvement of new generations of smartphones, the amount of information and the complexity of the procedures delegated to these devices still imposes certain restrictions on processing, especially regarding energy consumption. A promise solution to this issue is the technique known as offloading. Over the last few years, several offloading support platforms have been proposed. This work has a particular interest in one of those platforms, called CAOS. Despite its success to perform offloading tasks, CAOS still has problems such as low scalability. In this paper, we report on the refactoring of CAOS into a new microservice-based architecture. Performance and scalability evaluations were performed in both monolithic and microservices versions to show the benefits achieved with the new CAOS architecture.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132183446","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}
引用次数: 2
On the Prioritization of Design-Relevant Smelly Elements: A Mixed-Method, Multi-Project Study 设计相关臭元素的优先排序:一项混合方法、多项目研究
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357142
Anderson Oliveira, L. Sousa, W. Oizumi, Alessandro F. Garcia
{"title":"On the Prioritization of Design-Relevant Smelly Elements: A Mixed-Method, Multi-Project Study","authors":"Anderson Oliveira, L. Sousa, W. Oizumi, Alessandro F. Garcia","doi":"10.1145/3357141.3357142","DOIUrl":"https://doi.org/10.1145/3357141.3357142","url":null,"abstract":"Software systems are likely to face what is called design problems. Given the typical lack of design documentation, developers have to rely on implementation-level symptoms, the so-called code smells, to identify and remove design problems. A code smell is a microstructure in the program that can indicate the presence of a design problem. Large programs have hundreds or thousands of program elements (e.g., classes) in which a significant proportion may be affected by smells. Consequently, due to time constraints and the large number of elements, developers have to prioritize the designrelevant program elements, i.e., locate a shortlist of elements that are suspects of having design-relevant smells. However, this task is hard and time-consuming. Unfortunately, the literature fails to provide developers with effective heuristics that automate such prioritization task. The objective of this paper is to propose heuristics that effectively locate a shortlist of design-relevant smelly program elements. For this purpose, we report two studies. In the first one, we investigated the criteria that developers used in practice to accurately prioritize design-relevant smelly elements. Based on these criteria, we derived a preliminary suite of prioritization heuristics. Since we do not know if the heuristics are suitable for an effective prioritization across multiple projects, we performed a second study to evaluate the proposed heuristics. We found that two out of nine heuristics reached an average precision higher than 75% for the four projects we analyzed. Thus, our findings suggest these heuristics are promising to support developers in prioritizing design-relevant smelly elements.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"55 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131906819","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}
引用次数: 8
Microservice-oriented Product Line Architecture Design: An Exploratory Study 面向服务的微产品线架构设计:探索性研究
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357599
A. C. A. Costa, T. Colanzi, A. Marcolino, E. Barbosa
{"title":"Microservice-oriented Product Line Architecture Design: An Exploratory Study","authors":"A. C. A. Costa, T. Colanzi, A. Marcolino, E. Barbosa","doi":"10.1145/3357141.3357599","DOIUrl":"https://doi.org/10.1145/3357141.3357599","url":null,"abstract":"Microservice has been successfully employed in software industry [1, 11], as they provide modularization and easy management of small and autonomous services, high availability, scalability and short time-to-market. A recent study on microservices shows that most studies generate specific solutions, which emphasize the need for fundamental research, proposals of reusable practices and works that focus on providing information to ease communication between architects and stakeholders [11] -- software architecture can be a powerful tool for this regard. The definition and documentation of the software product line architecture (PLA) is an important activity, especially for inception and extraction of microservice-oriented PLA, because they involve decisions about how to design customizable microservices, how to arrange the communication between microsservices and APIs, etc. In this work, it is proposed a metamodel for the specification of microsserve-oriented PLA design in order to assist the developer in carrying out such an activity. The proposed metamodel was validated in an exploratory study, in which a new PLA was designed through the instantiation of the proposed metamodel and a product was configured from the designed PLA. Both the metamodel and its instantiation were evaluated in a survey involving software developers. The results indicate that the metamodel addresses the structural needs of microservice-oriented architectures. The main contributions of this work are (i) to assist the software product line developers in the specification and documentation of microservice-oriented PLA design and (ii) the lessons about the industrial practice learned from the surveys that are useful to enhance the proposed metamodel.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"13 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128195831","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}
引用次数: 1
Detecting Design Violations in Django-based Web Applications 在基于django的Web应用程序中检测设计违规
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357600
Renieri Correia, E. Barbosa
{"title":"Detecting Design Violations in Django-based Web Applications","authors":"Renieri Correia, E. Barbosa","doi":"10.1145/3357141.3357600","DOIUrl":"https://doi.org/10.1145/3357141.3357600","url":null,"abstract":"If on one hand frameworks allow programmers to reuse well-known architectural solutions, on the other hand they can make programmers unaware of important design decisions that should be followed during software construction, maintenance and evolution. And if programmers are unaware of these design decisions, there is a high risk of introducing design violations in the source code, and the accumulation of these violations might hinder software maintainability and evolvability. The use of static analysis tools might be employed to mitigate these problems by assisting the detection of recurring design violations in a given architectural pattern. In this work, we present MTV-Checker, a tool to assist the automatic detection of 5 design violations in Django-based web applications. We also conducted an empirical study in the context of the SUAP system, a large-scale Django-based information system with more than 175.000 lines of Python code currently deployed in more than 30 Brazilian institutions. Our results present the most recurrent violations, how they evolve along software evolution, and the opinions and experiences of software architects regarding these violations.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"6 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127805850","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}
引用次数: 3
An approach to detect false design patterns 一种检测错误设计模式的方法
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357146
Natan da Silva Severo, Ricardo de Sousa Job
{"title":"An approach to detect false design patterns","authors":"Natan da Silva Severo, Ricardo de Sousa Job","doi":"10.1145/3357141.3357146","DOIUrl":"https://doi.org/10.1145/3357141.3357146","url":null,"abstract":"A false design pattern occurs when software vocabularies indicate the existence of a design pattern, but it is not implemented. Occurrences of false design patterns may make it difficult to understand, maintain, and evolve software. In this context, we present an approach to detect false patterns of projects implemented in the Java language. We evaluated this solution in eighteen open source projects and through three research questions, we identified 435 indications of false design patterns. Of these, we detected a set of 202 real occurrences of false design patterns. In one of the evaluated projects we achieved an accuracy of approximately 81%. In addition, it was possible to relate the false standards to some software metrics. Identifying these occurrences enables better communication and understanding of the code.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127873710","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}
引用次数: 0
Incidence of code smells in the application of design patterns: a method-level analysis 设计模式应用中代码气味的发生率:方法级分析
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357143
E. Assunção, Rodrigo R. G. Souza
{"title":"Incidence of code smells in the application of design patterns: a method-level analysis","authors":"E. Assunção, Rodrigo R. G. Souza","doi":"10.1145/3357141.3357143","DOIUrl":"https://doi.org/10.1145/3357141.3357143","url":null,"abstract":"Design patterns are reusable solutions that can be applied to solve specific problems in software design. Such patterns can be misapplied, though, and give rise to code smells, i.e., fragments in the code that indicate possible design flaws. In this study, we aim to understand how often code smells co-occur with design patterns, as well as to determine the most common co-occurrences. To this end, we identified instances of code smells and design patterns in methods of 25 open source Java projects, by using automated detection tools. We also manually inspected fragments of the projects' source code to gather insight on the relationship between specific pairs of smells and patterns. Among other findings, we found that methods that are part of the Adapter pattern are more likely to contain code smells, especially the Feature Envy smell, although it can be argued that the detection of this smell in this context is a false positive.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"112 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124820910","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}
引用次数: 0
Improving the prediction of files changed by programming tasks 改进了对编程任务更改的文件的预测
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357145
João Pedro Santos, Thaís Rocha, Paulo Borba
{"title":"Improving the prediction of files changed by programming tasks","authors":"João Pedro Santos, Thaís Rocha, Paulo Borba","doi":"10.1145/3357141.3357145","DOIUrl":"https://doi.org/10.1145/3357141.3357145","url":null,"abstract":"Integration conflicts often damage software quality and developers' productivity in a collaborative development environment. For reducing merge conflicts, we could avoid asking developers to execute potentially conflicting tasks in parallel, as long as we can predict the files to be changed by each task. As manually predicting that is hard, the TAITI tool tries to do that in the context of BDD (Behaviour-Driven Development) projects, by statically analysing the automated acceptance tests that validate each task. TAITI computes the set of files that might be executed by the tests of a task (a so called test-based task interface), approximating the files that developers will change when performing the task. Although TAITI performs better than a random task interface, there is space for accuracy improvements. In this paper, we extend the interfaces computed by TAITI by including the dependences of the application files reached by the task tests. To understand the potential benefits of our extension, we evaluate precision and recall of 60 task interfaces from 8 Rails GitHub projects. The results bring evidence that the extended interface improves recall by slightly compromising precision.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"63 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126308908","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}
引用次数: 2
Analysis of Coupling Evolution on Open Source Systems 开源系统耦合演化分析
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357147
B. L. Sousa, Mariza Bigonha, Kecia Ferreira
{"title":"Analysis of Coupling Evolution on Open Source Systems","authors":"B. L. Sousa, Mariza Bigonha, Kecia Ferreira","doi":"10.1145/3357141.3357147","DOIUrl":"https://doi.org/10.1145/3357141.3357147","url":null,"abstract":"Software evolution is an intrinsic process of the software life cycle. The comprehension of this process is a central research topic in Software Engineering. It is widely accepted that as a software system evolves, its internal quality declines, and its complexity increases. However, there is a gap in the comprehension of how this process occurs in a fine-grained view. In this work, we apply a software metric approach to investigate how the internal quality of object-oriented software systems evolves in the aspect of coupling. More specifically, we analyze (i) how the coupling behavior may be described over the software evolution, (ii) how the coupling behavior affects the reusability and complexity of the systems, and (iii) the percentage of classes from the systems that directly impacts on the coupling evolution. The results and observations of this study are compiled in seven properties of coupling evolution, among which stand out: (i) the coupling behavior is better modeled by a cubic function, (ii) the coupling evolution tends to increase the complexity of the systems, (iii) the systems tend to be designed with a high level of complexity, and (iv) the coupling evolution is affected by a small group of classes.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"382 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132912481","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}
引用次数: 5
An Architecture for Dynamic Web Services that Integrates Adaptive Object Models with Existing Frameworks 将自适应对象模型与现有框架集成在一起的动态Web服务体系结构
Brazilian Symposium on Software Components, Architectures and Reuse Pub Date : 2019-09-23 DOI: 10.1145/3357141.3357602
A. Dias, E. Guerra, Phyllipe Lima
{"title":"An Architecture for Dynamic Web Services that Integrates Adaptive Object Models with Existing Frameworks","authors":"A. Dias, E. Guerra, Phyllipe Lima","doi":"10.1145/3357141.3357602","DOIUrl":"https://doi.org/10.1145/3357141.3357602","url":null,"abstract":"Nowadays, web services became one of the main alternatives for communication between software systems and even inside the components of the same application. In some domains, the change of requirements happens frequently, demanding flexibility from the architecture of the applications, and consequently also in the web services that they provide. In this context, the goal of this work is to provide an architecture that can be used for dynamic web services, allowing services to be changed and introduced at runtime. To fulfill these requirements this work proposes the usage of Adaptive Object Models (AOM) combined with existing web service framework, using dynamic adapters to integrate and decouple them. The framework Esfinge AOM Role Mapper received features to implement the behavioral part of the AOM model and to map the AOM rule objects with metadata to methods with code annotations in the dynamic adapters. The proposed architecture passes the adapters generated at runtime to the existing framework, which provide the web service based on its methods and code annotations. An evaluation based on a case study performed scenario-based tests to verify the architecture capability to create and change dynamic web services. Additionally, a modularity analysis verified the coupling between classes that use both frameworks. As a result, the proposed architectural solution was able to implement the dynamic web services in all the scenarios keeping the classes that handle the AOM model decoupled from the classes responsible for providing the web services.","PeriodicalId":138918,"journal":{"name":"Brazilian Symposium on Software Components, Architectures and Reuse","volume":"46 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129262626","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}
引用次数: 1
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书