Monday, July 7, 2008

Product Line Stakeholders - Do you know them?


Managers, Architects, Analysists, Testers, Software Engineers, CEOs...

It was a discussion with RiSE members about who are the stakeholders in a product line approach.

The idea is to define who they are, what they do, and in which phase during the life cycle they participate in the process. We would like to know your opnion based on your research, practical experience or just ideas.

20th International Conference on Software Engineering and Knowledge Engineering (SEKE)

Last week, in San Francisco, California, I participated in the 20th International Conference on Software Engineering and Knowledge Engineering (SEKE). The conference this year had roughly 120 attendants from more than 30 countries. During these three days, the conference discussed several aspects related to software engineering and knowledge engineering. In special, important topics were related to neural networks in software development (prediction systems), clone detection, component selection approaches, and product lines.

In this conference, the main drawback was the number of parallel tracks (3-4). On the other hand, the good point was the number of accepted papers from Brazil. There, the RiSE Labs presented a paper entitled: A Systematic Process for Domain Engineering discussing how to create family of reusable assets in a specific domain.

Thursday, June 19, 2008

An Approach to Measurement Java Code Quality in a Reuse Environment





A reuse environment was defined by [Frakes, 1994] as an environment where process and tools give support for activities that are important to build components with/for reuse. According to [Griss, 1994], a repository is one of the most important elements in a reuse environment. However, the quality of the assets on the repository had been questionable according to the type of reuse model adopted.

We are thinking about a reuse model where anyone can store assets on the repository without previous analysis. In this model, we have a low reliability about the reusable assets because anyone can store assets and who will reuse don’t have assets' quality assurance. In this model, the main problems are low reliability and a concern about code problems propagation.

We are developing an approach that can minimize these problems. In this approach, the repository can check the stored assets' quality according to metrics. For this initial stage, we are considering a repository where are stored only Java code. Thus, to develop this approach we accomplish the main steps: (i) investigate code metrics that can be used; (ii) select quality attributes; and (iii) quality attributes measurement.

In the first step, we made a time line about software code metrics and selected a set of metrics that can be used in our approach. We analyzed ten metrics groups and we were selecting the metrics according the following criteria: applicable for Java code; there are researche reporting about empiric validation; there are a consistent theoretical validation; and the metrics have a good acceptance, in other words, they were implemented in the analyzed metrics tools. The selected metrics were LOC, Cyclomatic Complexity [McCabe, 1976] and Chindamber and Kemerer metrics [Chidamber, 1994].

The second step was to select what type of quality attributes would be quantified in our approach. We selected the Maintainability quality attribute described in ISO 9126. In the third step, we made a relationship between each quality attribute of Maintainability and a set of metrics selected that can quantify these attributes. So, this approach can quantify a set of quality attributes using code metrics.

The next stage in this work is to integrate the approach automation in a reuse environment. Thus, we want to analyze if the retrieved component's quality is better, and if it is possible this approach to reduce the reuse of low quality code. We believe the main contribution of this research is to introduce a little bit of the quality analysis responsibility of the reusable assets also to the repository. Thus, we can have more reliability in a reuse environment without a certification process for stored assets on the repository, moreover it can reduce the cost to introduce reuse in a begging stage.

Tuesday, June 10, 2008

3rd Workshop for Introducing Reuse in Enterprises (WIRE)

During June 27-28 in Recife, Pernambuco, Brazil will be performed the 3rd Workshop for Introducing Reuse in Enterprises (WIRE). This workshop is inspired in a previous successful one: the Annual Workshop on Institutionalizing Software Reuse (WISR). WIRE will join together researchers and practitioners working with software reuse.

The workshop is composed of talks, tutorials, and panels. This year, Jan Bosch and Hassan Gomma will be the keynotes. The workshop is the right place to discuss practical software reuse. If you have time, combine the workshop with the São João in Caruaru one of the biggest party around the world. After the workshop, this blog will present a summary.

Sunday, June 1, 2008

10th International Conference on Software Reuse (ICSR) – Final Feedback

As I posted before in this blog, last week happened the International Conference on Software Reuse (ICSR) in Beijing, China. The conference was composed of tutorials, workshops, doctoral symposium, demo tools, and regular papers (see the program here). The key researchers working on the topic were there.

The main discussion during the ICSR involved search and retrieval and its related issues, architectures for reuse, COST, and several aspects of product lines (variability, domain analysis, feature interaction, technologies, and quality). Finally, two points should be highlighted: services starting to be discussed also in software reuse and empirical studies in the area. These two points are important: first, it is interesting to see some work investigating the [real] possibility of services work well in the reuse scenario; second, empirical results indicate that the field is each more becoming more mature with solid evaluations.

By the way, in this conference, the RiSE Labs presented two papers related to model-driven reuse and our repository system. In addiction, the RiSE business unit presented two of our products in the tools session.

The next ICSR will be in 2010. So far, we do not know where the conference will be hosted. When it was known, this blog will announce.

Monday, May 26, 2008

10th International Conference on Software Reuse (ICSR) – Initial Feedback

Yesterday, (May 25, 2008) started the main reuse conference around the world. The initial day started with the Doctoral Symposium. In this symposium, coordinated by Greg Kulczycki (Virginia Tech) with the participation of Bill Frakes (Virginia Tech) and I, three Ph.D. students received feedback from their research related to quality improvement, formal methods and agents. The main issue in this symposium was the lack of the big picture during the presentations. The students had difficulties to explain clearly the main points: the problem, the state-of-the-art, and their proposal. However, I believe that the feedback received will be useful.

In the afternoon, we had the IV RESAFE: International Workshop on Software Reuse and Safety coordinated by Bill Frakes and Jonh Favaro. In this workshop, Bill, John, Dirk Muthig, Greg and I had good discussions about contracts, certification, safety, reliability. John presented his experience with automobile projects in Europe while Bill and Greg discussed their point of views related to Therac accident and contracts respectively. I explained a little about experience with component certification and Dirk showed some directions related to the KobrA approach. After the conference, Bill and John will write a summary about the workshop. By the way, the day was good to meet other researchers such as Ruben-Prieto and Wayne Lim who was presenting his awarded tutorial at RiSS in the ICSR.

Monday, May 19, 2008

Tribute to Honor Jim Gray

If you are in the U.S during May 31, 2008, you should consider participate in the Tribute to Honor Jim Gray. Jim Gray was a computer science pioneer, known for his incredible work as programmer and mentor. The University of Berkeley is organizing this tribute which will have the participation of important names in the computer science community. At this university, Jim Gray earned the university’s first Ph.D. in Computer Science.

Tuesday, May 13, 2008

Can We define a Software Reuse Dictionary?

Yesterday, I was listening the great interview with Krzysztof Czarnecki at Software Engineering Radio when the interviewer commented about the list of buzzwords that we have in the software engineering/reuse community. I agree with them, and I think that sometimes we have the same concepts with different names. I tried to put some ones here, please, help me with it.

Perhaps, we can create a reuse dictionary and after that, uniform it.

A – Application Generators, Application Engineering (AE)

C – Code Generators, Component, Component-Based Development (CBD), Core asset

D – Design Patterns, Domain Analysis, Domain Design, Domain Engineering, Domain Implementation, Domain Model, Domain Modeling, Domain-Specific Software Architecture (DSSA), Domain-Specific Languages (DSL), Domain Scope

F – Facets, Feature, Feature Modeling, Feature-Driven Development (FDD), Feature-Oriented Programming (FOP), Frameworks

G – Generative Programming (GP)

M – Model-Driven Development (MDD), Model-Driven Architecture (MDA)

P – Platform Independent Model (PIM), Platform Specific Model (PSM), Product Development, Product Lines Engineering (PLE), Product Instantiation

R – Reuse Maturity Model (RMM), Reuse Libraries, Repository System, Repository

S – Software Factories, Software Product Lines (SPL), Software Product Line Architecture

T – Transformational Systems

V – Visual Domain-Specific Languages

Thursday, May 8, 2008

Software Measurement: The Initial Climb

Software Measurement: The Initial Climb. Yes, it was the title of my talk at Virginia Tech University, Falls Church, U.S. In this talk, I presented an overview about this topic involving some definitions, the measurement process, the theory of measurement, software measurement programs, including empirical studies and companies reports, and the current state in the area.
You can see our previous discussion about software measurement here.

See the slides of the presentation here.

Saturday, May 3, 2008

Applying a Semantic Layer in a Source Code Retrieval Tool


Today, a master thesis of a RiSE member is published in this blog.

Here is the abstract of the work: The challenge for achieving a more efficient software engineering practice comprises a vast number of obstacles related to the intrinsic complexity of software systems and their surrounding contexts. Consequently, software systems tend to fail in meeting the real needs they were developed to address, consuming more resources, thus having a higher cost, and taking longer to complete than anticipated. The software reuse field is often regarded as the most promising discipline for closing these gaps, however, models and tools are still immature to make its adoption on a systematic fashion.

To promote the development of practices, models and tools are welcome activities to boost the reuse activity in most software development organizations. The lack of knowledge about reusable assets and the use of inappropriate tools are example of reasons for the low reuse activity. In this sense, this work presents a semantic layer applied to a source code search tool with the objective of bringing real relevant returns closer to user need, and, consequently to increase the chance of reuse. Two new components are proposed for the execution of the semantic activities and the resulting semantic search engine is evaluated with a realistic environment configuration analogous to projects from software organizations.

Outline: The main contribution of this work refers to the semantic layer applied to a keyword-based search engine in order to increase the precision of search returns. The proposed solution utilizes a domain ontology for enhancing the construction of the query with related terms and a machine learning technique for source code classification. The implemented proposal configures a viable and practical solution for being utilized in an industrial scenario in favor of source code reuse. Through the real experiment, it was evidenced the increase of precision during the code searches and this finding goes against the semantic conceptual gap between user needs and machine understanding.
The full text you can get here.