Tuesday, July 29, 2008

3rd Workshop for Introducing Reuse in Enterprises (WIRE)

As posted before in this blog, during June 27-28 happened the 3rd Workshop for Introducing Reuse in Enterprises (WIRE) in Recife, Brazil. The workshop was composed of tutorials, panels, keynotes, and a lot of discussions (see the program here). Key researchers working on the topic were there, such as Jan Bosch (VP, Engineering Process Intuit Inc., EUA) and Paulo Merson (Software Engineering Institute, USA).
During these days, the main topic in discussion was Software Product Lines. Jan Bosch (here and here) talked a lot about his experience in Software Product Lines adoption in industry, the main problems, the benefits, the big challenges, his maturity model for SPL. At the end of the first day, professor Paulo Borba (UFPE) presented an industrial report about a big project involving several institutions and a Game Mobile company addressed to implement a product line in the game mobile domain. The results were very interesting and the opportunity to see something closer to us was very important for the attendance. Moreover, in the first day we had other two industrial reports regarding reuse in industry. In the first one, Eduardo Cruz talked about RiSE's solutions to improve the productivity in software development, covering process, methods and tools. In the second one, Eliseu Santos talked about the CPM Braxis experience in adopt reuse in it software development process, the main problems, the business decisions related to reuse practices, and the solutions adopted to face these challenges.

In the second day was held the Industrial Panel, where the attendance asked the guests about everything related to reuse adoption, software product lines challenges, legal aspects related to software reuse, non technical decision, etc. The panel was formed by Eduardo Almeida (RiSE), Eliseu Santos (CPM Braxis), Jan Bosh (Intuit Inc.), Paulo Adeodato (Neurotech) and was moderated by Eduardo Cruz (RiSE). After the painel, Paulo Merson started his talk about Service-Oriented Architecture for Quality-Oriented Architects, a practical information for the creation and evaluation of the architecture of an SOA system was discussed. Next, Paulo Merson discussed important questions to how to document product lines architectures using UML 2.0 and other solutions.
If you did not have the opportunity to be there, the workshop pictures and presentations are available in the WIRE web site. If you were there, it is time to remember more.

Sunday, July 27, 2008

An Enduring Legacy - Randy Pausch

Randy Pausch, the professor at Carnegie Mellon University who inspired countless students in the classroom and others worldwide through his highly acclaimed last lecture, has died of complications from pancreatic cancer. He was 47.

See all the information at Carnegie Mellon University website.

His legacy was incredible. I had the opportunity to learn last year about one of his project: Alice and it was brilliant. Take a time to watch his last lecture talk. It was amazing. From there, he said:
"We cannot change the cards we are dealt, just how we play the hand."--Randy Pausch


Bug Reports Scenarios

A big problem in software development nowadays in the practical and academic sense is the Bug Duplication Problem [see the first discussion about it here]. RiSE Labs is working in this direction too and I was wondering about possible solutions about it. I would like to discuss it with you here. The discussion is based on scenarios and some possibilities.

General Case: Don’t mess up my Repository
In this general case, the idea is that a tool can help you to avoid the mess. Maybe, we [user and tool?] can do it.

1st – Scenario – I cannot avoid it but I can help you with it (No intelligence both side)

The idea here is that the user sends a bug report for the environment without checking previous bug report and a tool cannot do anything to solve it. The tool just confirms it (Bug sent with success!). You can do some searches and see the reports after and remove it [if it is a duplicate].


What can we do now? Maybe, I can hire a person to check the new submissions every day or the tool can check it in order to try to identify similar bugs and send a message for someone (the bug report author and the manager) in a configurable way (here we have some intelligence in the tool side). Yes, we have to define how to identify similar bugs with some confidence (otherwise we can have the false/positive problem) and automate it.


2nd – Scenario – I can try to avoid it and maybe I can help you (Some intelligence in the tool side)

In this case the user sends a bug report – in the same way without checking a previous one – and the tool presents a message for the user that there is a possibility that it is a duplicate bug report. Yes, the tool can do some analyzes, compute some data and say that. The user has the opportunity to see the duplication and confirms in any case the manager receives a notification also about this possibility.


3rd – Scenario – Yes, we can have some intelligence in the process.

In this case the user has some templates and a well defined vocabulary to send the bug report. Maybe with a restricted one we can be more precise and the tool can have more accuracy in its prediction. Thus, the user based on some templates sends the reports and the tool can do some analyzes and predict a better possibility about the duplication and do the notifications.


4th – Scenario – Intelligent tool

Using a template or not, while the user is writing the bug report, the tool can perform some analysis and notify him with some confidence that that one can be a duplication and show why. Yes, the tool can combine semantic and textual information and say it for the user.

What do you think about it? Can you present more scenarios? Another possibility is a scenario as: My repository has duplicate reports [I cannot say that it is a mess or I can have problems with some companies] and what a tool can do in order to help me to be more productive? It is that I am starting a bug report and my tool cannot support the previous scenarios.

Sunday, July 13, 2008

RiSE’s Interviews: Episode 5 – Software Reuse with Dr. Jan Bosch

During the 3rd Workshop to Introduce Reuse in Enterprises (WIRE), I performed an interview with Jan Bosch, an outstanding researcher working in the software architecture and software product lines area. Nowadays, Jan is a VP from Intuit. You can listen it here.

I would like to thank Jan for the interview and patience because of the noise at the hotel during this podcast. Thus, I will publish the questions here in order to facilitate it.

1 - You started you career as a software engineering professor in the Netherlands and after that you moved to Nokia Research Center and nowadays you are working at Intuit in the U.S. I would like to know about these experiences and the work at the university and industry, your challenges as a professor and after that in the industry as a VP and how as the road to be there because it is an incredible career.

2 - You worked a lot with software architecture and software product lines. For you, what is the importance of the industry in the field?

3 - In the software product line area, we can see the community increasing. In the last year, during SPLC, we had more than 200 participants and too many from the industry. In your opinion what are the ingredients for this success in this conference?

4 - For you, is there difference between domain engineering and software product lines?

5 - You had/have many projects with the industry. What are the main problems to introduce software product lines in companies?
What are the risks and how to avoid them? Finally, how to define a road to start it in companies?

6 - Some companies believe that software product lines can be a good approach to obtain benefits related to time-to-market cost reduction, etc. However, we do not have many specific models to show the risks, the benefits, economic models etc. So, how to show for companies that a software product lines approach can be good?

7 - You had many industrial projects in the software product lines area. For you, what were the strong, weak points and main lessons learned?

8 - How to introduce software product lines in a software factory working with different domains?

9 - We can see in the reuse field, ideas like: modules, objects, components, software product lines, and others ones such as models, services, DSLs. For you what can be the next one?

10 - For you what is the state of the practice in the area and the directions for future research?

Thursday, July 10, 2008

Do you care about source code as you should?

Diomidis Spinelle has performed an interesting research about communication through source code in Open Source (OS) projects, and wen can summarize it by paraphrasing him: "... it confirms my belief that source code is the most important artifact of the software development process".

In such research, Spinelle computed the amount of source code that are not of compiler's interest from 30 OS projects. The results showed that for most of projects, more than 60% of source code is composed by code used to facilitate the source code understanding. The Figure bellow summarizes the results (click to expand).


I absolutely agree with him when he says that source code is the most important asset. And current, in OS world, Reuse is all about reusing source code. Thus, to understand what some source code does and how it does is very important to reuse it.

Efforts have been concentrated to defined architecture and design definition process (among other software aspects) to facilitate software reuse, however we are still looking at the source code before to reuse it. Thus, such efforts seem to forget that some programming language (actually source code) will be used to make the project runs.

Furthermore, most of projects analyzed by Spinelle is composed by successful open source projects; another reason to believe that source code is the most important artifact of software development ever.

So remember, if your project is going to be evolved on the future, the source code is probably the first place where developers will look at.

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.