Tuesday, December 22, 2009

Looking at Software Product Line Testing Tools


Software testing is a practice often used to determine and sometimes improve software quality. It is also a very labor and resource intensive process that often accounts for more than 50% of the total cost of software development[1]. According to Geppert[2] Software Testing is an area with high potential for reuse and reducing the current testing effort is a high priority topic.

Finding an effective and efficient software testing tool could be a life-saver for a project or a company. Yet there is no single test tool suitable for all possible systems and industry sectors. Deciding what criteria to apply when selecting a specific tool for a project is quite tricky [3].

In 2000, Harrold[4] said that: "We must develop methods and tools that implement the techniques and that can be used to demonstrate their effectiveness. To accomplish this, an important criterion is that these methods and tools be scalable to large systems. An efficient approach for development of methods and tools is to provide ways to automatically create them."

In our study of Software Product Lines Testing Tools we can see a tendency directed to Automatic Test Case Generation Tools and according to Bertolino [5] "The dream would be a powerful integrated test environment which by itself, as a piece of software is completed and deployed, can automatically take care of possibly instrumenting it and generating or recovering the needed scaffolding code (drivers, stubs, simulators), generating the most suitable test cases, executing them and finally issuing a test report".

Product lines exploit the commonalities and variability of reusable assets across different products. Nowadays, the most evident and perhaps most urging question is how to handle and represent variability[6]. Due to the large scale and huge complexity of today’s software-intensive systems, tool support is a key success factor in Software Product Line Engineering[7] and Software Product Line Testing.

[1]Myers, Glenford J., The art of software testing, New York: Wiley, c1979.

[2]Geppert, B., Robler, L. F., Weiss D. M., Towards Generating Acceptance Tests for Product Lines,Software Reuse: Methods, Techniques and Tools: 8th International Conference, ICSR 2004, Lecture Notes in Computer Science, 2004.

[3]Yang, Q., Li J. J., Weiss D., A Survey of Coverage Based Testing Tools, Proceedings of the 2006 International Workshop on Automation of Software Test.

[4]Harrold, M. J., Testing: A Roadmap, International Conference on Software Engineering, Proceedings of the Conference on The Future of Software Engineering, 2000.

[5]Bertolino A., Software Testing Research: Achievements, Challenges, Dreams, International Conference on Software Engineering, Future of Software Engineering, 2007.

[6]Jaring, M., and Bosch, J. Representing Variability in Software Product Lines: A Case Study. In Chastek G. J. (Ed.): Proc. Software Product Lines, 2nd Int. Conf, SPLC 2, San Diego, CA, USA, August 19-22, 2002, LNCS 2379, p.15-36.

[7]Clements, P. and Northrop, L., Software Product Lines: Practices and Patterns: SEI Series in Software Engineering, Addison-Wesley, 2001.

Monday, December 14, 2009

Traceability in Software Product Lines

The quality of any product line depends largely on the importance attached to the development process and its evolution. A good software development process takes place in an integrated environment that manages the process of product development as well as its evolution. This is possible only if the development process sends back information relating to its behavior to the process management and the process management is able to use this information to control the evolution process. Therefore, in order for this to take place, a well managed traceability mechanisms are required. These mechanisms are based on the dependency relationships between the different artifacts of the product line development process and its environment. To evolve a product line development process, it is necessary to analyze the factors that contribute to the evolution.

First of all, in order to design the primitive mechanisms to support the evolution, Samuel A. Ajila and Ali B. Kaba [1] suggest that we need to be able to answer the folIowing questions:

  1. What are the different types of changes that can occur in a software product line process?

  2. How can these changes be classified?

  3. Based on the identified changes, is it possible to provide a (reference) model of change that will define the different change management processes?

  4. Can the model of change be used to capture the interactions between the different artifacts in the product line and can it be used to identify the basic mechanisms to support the evolution process?

Moreover, Samuel A. Ajila and Ali B. Kaba [1] show the dependency relationships between the product line (PL) artifacts. The relationships between the artifacts of a PL life cycle phase (e.g. product line phase) are divided into two: intra-relationships and inter-relationships. These relationships allow for two levels of horizontal traceability while the relationships between the phases allow for vertical traceability. Each product in the product line has a three-dimensional plane consisting of a set of intra-relationships, inter-relationships, and vertical relationships.

Therefore, we can see that the task of maintaining the traceability between artifacts is a challenge.

Traceability relations can be used to mitigate the difficulties associated with product line engineering. More specifically, traceability relations can assist with the:

  1. Identification of common and variable functionalities in product members;

  2. Reduction of inconsistencies between product members;

  3. Reuse of core assets that are available in a product line system;

  4. Maintenance of historical information of the development process;

  5. Establishment of relationships between product line and product members specification documents.

However, the majority of the approaches concerning traceability for product line systems focus on traceability metamodels and do not provide ways of generating traceability relations automatically.

Recently, Waraporn Jirapanthong and Andrea Zismanhas[2] have been working in a rule-based approach to support automatic generation of traceability relations between feature-based object-oriented documents.


[1] Ajila, S.A.a, K.A. Using traceability mechanisms to support software product line evolution Memon A.M., Z. N. (ed.) Proceedings of the 2004 IEEE International Conference on Information Reuse and Integration, IRI-2004, 2004, pp. 157-162

[2] Jirapanthong, W. & Zisman, A. XTraQue: traceability for product line systems. Software and System Modeling, 2009, Vol. 8(1), pp. 117-144






Friday, December 4, 2009

Agile Software Product Line


In the column, Agile Software Product Line, Deconstructed and Mix and Match, John D. McGregor depicted the software product line through the SEI's practice framework and agile approach through the agile manifesto principles in order to discuss some options to combining these approaches in a software development and the implications of these.

Furthermore, John compared the pieces of each approach, and depicted some suggestions about how to re-construct a hybrid method, through the deconstruction the product line and agile practices.

Some personal assumptions were highlighted by John:

(i) Agile product line method can improve how we develop software intensive products

(ii) No one wants to do extra work

(iii) Strategic levels of reuse is what provides the productivity and time improvements that make the software product line approach useful

He assumes that agile is an adjective for software product line treating agility as a quality attribute of the process.

It is important to highlight that agile approaches are strongly based on incremental, iterative, adaptive and evolutionary approaches. Several agile methods are defined, documented and publicized (XP, SCRUM, DSDM, FDD). All these methods and approaches have a common base, the agile manifesto.

The agile manifesto has values and principles and John uses the twelve principles to deconstruct the agile approach.

As John, I don't disagree with any of those agile principles, as well as, the agile values. However, he remembers that maybe some relative term drove by the business goals is better. For example, in the face-to-face communication, in a scenario with few financial resources, what is the better? We have a person with experience occasionally or a person without experience every day!? I prefer a person with experience occasionally, and you?

The Software Engineering Institute (SEI) has developed a Framework with 29 practices that affect the success of a software product line organization. John uses this framework to deconstruct the process of a product line. He uses two different decompositions of the practices as the base for the discussion. Both decompositions have activities that are smaller and more tractable with agile practices.

The first decomposition is in the practice areas: Software Engineering, Technical Management and Organizational Management. The second decomposition is in the essential activities: core asset development, product development and management.

In the column, John considers that three dimensions have an affect into agile software product line method: the degree of commonality among the products, the volatility of the relevant domains and the size of products, teams, and of the organization. Considering the coordinate system 3 dimensions, the point position can indicate the agile degree into software product line, as well as, the systematic reuse degree into agile approach. Thus, this point can indicate the method for this context. See the image below, adapted from Barry Boehm.

John, remember that both agile and software product line approaches are collaborative, operate within a scope and maximize the amount of work not done. Moreover, agile accepts the requirement changes while software product line accepts variable requirements by anticipating and planning them by including variation points in the design of each asset. In addition, agile produces pieces of software early during the software development, while product building teams in a product line do so as well, by assembling and configuring core assets.

Thus, John described some method fragments that could be used in some particular situations. He described a proposal by starting with the software product line method (SEI's framework) and adding the quality of agility when it is appropriate and possible. Thus, the two approaches been arose: Micro and Macro approaches.

In the micro approach each of the 29 practice areas are examined in order to apply some agile principle. In Mix and Match it is addressed several specific practices.

In the macro approach it is necessary to identify a place where a narrow interface is possible and allow tasks on one side of the interface to use an agile approach. In the software product line, this interface can be the communication between core asset team and product building team. If the process of feedback among them is agile, then faster the core asset team can comply with new assets. Here, it is important to observe that both teams can apply independent methods. Thus, product building can use agile method to build their products independently from the core asset team, because product building team has a contact direct with the customer, though the context be stable, well-understood domain. On the other hand, core asset team can use agile approach because is an exploratory process that could have benefit from those highly-motivated people.

John summarized that there are evident synergies between the agile and software product line methods. Some research are being conducted in Calgary, Canada and Dallas, EUA where tailored instantiations of these methods preserving the basic characteristics of each method.

I think that others possibilities or adjusts in the John’s ideas can be thought to combined the approaches: bottom-up approach where the software product line is built iteratively from products instances; test–driven development approach that need all feature development be driven by acceptance tests defined by the business stakeholders. This acceptance tests are core assets that drive reuse of artifacts in the product line and the large-scale component-driven development each component with teams (maybe less 10 people) could apply agile approach individually, for component development.

Thursday, November 26, 2009

Visualization in Software Product Lines

Software product lines (SPL) have become a reality in software development. Tools are appearing to deal with the different activities in SPL. One fundamental problem in software product line engineering is related to the fact that a product line of industrial size can easily incorporate thousands of variation points, and therefore, imposing a limitation of the amount of information that users are able to manage at the same time.

Visualization has proven useful to deal with large data sets and amplify cognition in many ways, for example, by increasing the “memory” and “amount of processing” available to users, by supporting the search for information, and by encoding information in a manipulable medium [1]. Then, in 2007, Nestor et al. [2] proposes some visualization techniques to improve some common tasks in SPL engineering.

Since, several works have been developed using visualization techniques, in different tasks of software product line engineering, for example: feature modeling, variability management, product derivation, design and implementation. How variability management and product derivation are essentials in SPL, the effort spent on these activities has been greater.

So, some questions remain interesting for discussion:
  • Which others tasks could be benefited by visualization techniques?
Other tasks should be investigated in order to find advantages in using visualization
  • Would be interesting create (implement) a visual framework to support all tasks of SPL projects?
To get more benefits and to avoid inconsistencies between the artifacts, tools should be integrated


[1] S. K. Card, J. D. Mackinlay, and B. Shneiderman, Readings in Information Visualization: Using Vision to Think. Morgan Kaufmann Publishers, 1999.
[2] Daren Nestor, Luke O'Malley, Aaron J. Quigley, Ernst Sikora, Steffen Thiel: Visualisation of Variability in Software Product Line Engineering. First International Workshop on Variability Modelling of Software-Intensive Systems (VaMoS 2007)

Wednesday, September 2, 2009

13th International Software Product Line Conference (SPLC)

Now in its 13th year, the International Software Product Line Conference (SPLC) 2009 was held August 24 – 28 in San Francisco, California. In this edition, the presence of industrial and academy people was remarkable, resulting in more than 150 attendees. Practitioners and researchers from different countries had the opportunity to discuss hot topics regarding to Software Product Lines area.


During the first two days, current SPL topics were discussed through different workshops and tutorials. Some workshops were realized at the first time, which indicates the emergence of new hot topics, indicating the need of investigation and study. For example, 1st workshop on consolidating community consensus in product line practice, which counter with the presence of different companies (SEI, BigLever, Yahoo, IBM), and 1st international workshop on Model-Driven Approaches in Software Product Line Engineering. Although the workshop on Dynamic Software Product Lines (DSPL) is in the third edition, this edition was marked by the research and practitioners discussion that did not achieved a consensus regarding to the concept of dynamic SPL, which highlights the lack of maturity in this field. They were discussing the difference between Dynamic SPLs and Single systems, since to dynamically change the code the software needs to be completely developed and integrated. The workshop Scalable Modeling Techniques for Software Product Lines (SCALE 2009 ), have Tomoki Kishi and Kyo Kang, and they start showing the problems when modeling scalable systems, for example, size, complexity, distributed environment, long life cycle and multiple stakeholders. In SPL context the main problems are variability management, configuration management, model based development and complicated development style. Later, the Service-Oriented Architectures and Software Product Lines (SOAPL) which was marked with the presence of the RiSE group represented by Flavio Medeiros, presenting the paper entitled "Towards an Approach for Service-Oriented Product Line Architectures".

On Wednesday, the first keynote speaker, Richard Gabriel from IBM discuss the about "Science is Not Enough: On Creation of Software", which presented a different perspective in the field. His talk was a mix between a talk and lecture including the strong relationship with arts. During this day, papers regarding to configuration, scoping and variability were presented and discussed.

On Thursday, the second keynote speaker, Jacob G. Refstrup - lead architect for the Owen software product line architecture from HP - which is used across multiple inkjet product families. He talked about "Adapting to Change: Architecture, Processes and Tools: a closer look at HP's Experience in Evolving the Owen Software Product Line".

On Friday, the last keynote speaker, Kyo Chul Kang presents the "FODA: Twenty Years ofk for feature analysis and simple but comprehensive way to modeling commonalities and variabilities. He also report the remaining problems of it, for example, addressing other parts of the life cycle (especially application engineering), clear the mapping between Perspective on Feature Models". Kyo shows that FODA has approximately 1300 citations, highlighting the importance of it. He presents as main contributions of FODA: systematic domain analysis, lying the groundworfeatures and software artifacts, standardization of feature model extensions, trade-offs between expressiveness and simplicity, scalability of feature model, managing complexity in view of many inter-dependent features, feature model evaluation and integration with UML model.

During this day the Goldfish Panel "How to Maximize Business Return of Software Product Line Development", had the presence of the most renowned researchers in the area as John D. McGregor, Dirk Murthig, David M. Weiss, Klaus Smith, Jan Bosch, Charles Krueger and Eduardo Almeida, which put in discussion the Brazilians company reality, reporting that they have not a specific domain and asking how is the best way to introduce the SPL approach in these companies. Others issues to think about were discussed as: Is it worthwhile at all?, What are the three top-most value-generating activities?, How to recognize where to focus efforts? (subsystem, functionality,..) and What was your worst ever product line experience?

Finally, the waiting hall of fame was presented by David Weiss showing the results of the evaluation from 2008 and presented the candidates for 2009. Two new companies were trying to have her names in the hall of fame, the TomTom company presents a GPS software product line and Lockeed Martin . In the end, the TomTom was nominated and will be evaluated during this year. The results will be available in the next SPLC 2010 held in Korea.

35th Euromicro Conference on Software Engineering and Advanced Applications


On last week, between 27-29 August, it was run the 12th Euromicro Conference on Digital System Design (DSD) and the 35th Euromicro Conference on Software Engineering and Advanced Applications (SEAA) 2009.

Both conferences took place at the Cultural and Conference Center, in the University of Patras. The event put togther research from various places of the world. All of them interested in discussing new ideas, such work in progress, and concluded work. The RiSE group was represented by Yguaratã Cerqueira Cavalcanti, in the SEAA 2009 sessions, where he presented three works from the group, as follows:

1 - Martins, A. C; Garcia, V. C.; Almeida, E. S.; Meira, S. R. L. Suggesting Software Components for Reuse in Search Engines Using Discovered Knowledge Techniques, 35th IEEE EUROMICRO Conference on Software Engineering and Advanced Applications (SEAA), Service and Component Based Software Engineering (SCBSE) Track, Patras, Greece, 2009.

2 - Neiva, D. F. S; Almeida, E. S.; Meira, S. R. L. An Experimental Study on Requirements Engineering for Software Product Lines, 35th IEEE EUROMICRO Conference on Software Engineering and Advanced Applications (SEAA), Service and Component Based Software Engineering (SCBSE) Track, Short Paper, Patras, Greece, 2009.

3 - Silva, F. R. C; Almeida, E. S.; Meira, S. R. L. A Component Testing Approach Supported by a CASE Tool, 35th IEEE EUROMICRO Conference on Software Engineering and Advanced Applications (SEAA), Service and Component Based Software Engineering (SCBSE) Track, Short Paper, Patras, Greece, 2009.

The paper "A Component Testing Approach Supported by a CASE Tool" was presented in the SCBSE: Component-based Systems Correctness and Test session. In conjunction with this work, several other articles were presented , showing really interesting approaches.

The paper "Suggesting Software Components for Reuse in Search Engines Using Discovered Knowledge Techniques" was presented in the session SCBSE: Experiences and Applications. And th paper "An Experimental Study on Requirements Engineering for Software Product Lines" was showed in the session SPPI: Empirical Approaches.

All the work presented were very interesting. People showed a lot of new ideas to solve the most well know problems regarding SCBSE, and the importance of the empirical approaches session should be emphasized, since there is a lack of well made empirical validation in most of CS work.

Oh, we had also a very amazing gala dinner organized by the Euromicro committee, in front of a very beautiful beach. There we could taste really nice Greek food, and it was also possible to see some Greek dance and to listen Greek music. Really nice!!!

The next Euromicro will take place on Lilly, France. I hope to see you there.

Wednesday, July 15, 2009

RiSE’s Interviews: Episode 6 – Software Reuse with Dr. John D. McGregor

After the 4th Workshop to Introduce Reuse in Enterprises (WIRE), in Recife. An interview was performed with John D. McGregor an associate professor of computer science at Clemson University, a founding partner of Luminary Software, and a Visiting Scientist at Software Engineering Institute (SEI).

This interview is available here.

I would like to thank McGregor for accepted the podcast invitation, and inform that was a very nice experience and a pleasure, interview a person with this importance for the research community.

1) Talk a little bit about your career, how do you initiated, your graduation and their relationship with industry. I would like to know about your experiences and the work at the university and industry, your challenges as a reuse practitioner and after in the industry and how as the road to be there because it is a 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?

* This interview was performed by Paulo Anselmo from RiSE Labs.

Saturday, July 4, 2009

IV Workshop to Introduce Reuse in Enterprises (WIRE) - Workshop Report


4th WIRE, the Workshop to Introduce Reuse in Enterprises, the right place to discuss the state of the practice and exchange experiences with the most important reuse experts from Brazil and the world as well, was held at the Hotel Atlante Plaza in Recife, Brazil, in the last June 29 and 30.


The workshop attendance joined reuse practitioners from industry and academy. This year, people from 10 states in Brazil, and from European countries (Portugal, The Netherlands and Ireland) as well, comprising a set of 17 companies and 5 universities, came to the event.


Great discussions on reuse topic were performed, in which practitioners conducted a very interesting environment to discuss such a topic. This edition, WIRE were mainly concerned about the strategic reuse adoption based on Software Product Line (SPL) aspects, with the presence of important experts in this area, John D. McGregor, from Clemson University (US), presenting the tutorial Building Reusable Testing Assets for a Software Product Line and the keynote entitled Goal-driven Product Derivation; Frank van der Linden, from Philips Research (The Netherlands), with the tutorial Software Product Line engineering, the practical aspects, and a speech on Applying open source development in product line engineering; and Eduardo Almeida, from C.E.S.A.R (Brazil), presenting the topic Software Reuse Measurement: What the Experts Think about It.


Moreover, work-in-group sessions (see a picture of this activity in the left) were performed that enabled the attendance to discuss the following questions: 1) What are the main pitfalls and challenges to the SPL adoption in your company and how they can be handled? and 2) Which changes must be implemented in the organization in order to address such issues? This effort made possible to attendance to exchange experience and ideas to be applied in order to solve still opened questions regarding SPL adoption in companies.


At the end of the event it was announced that next WIRE, the 5th edition, will be held in São Paulo - Brazil. We will be pleased to receive you in a next turn in order to make our discussion even better!

In name of the organization, I would like to say thank you for the participants, lecturers, and sponsors. See you next year at WIRE!

Friday, June 26, 2009

9th RiSE Day


Next wednesday, on July 1st, right after IV WIRE(*), RiSE will promote its 9th internal workshop, the RiSE Day, an environment in which RiSE Members present their master and doctoral works, some concluded and some 'working in progress', in order to discuss and have feedback on the issues they have been devoted effort.

The 9th RiSE Day will be held at C.E.S.A.R, in Recife-PE, Brazil, at 10:00 a.m. Software reuse practitioners are welcome to make discussions more interesting!

(*) IV WIRE - Workshop to Introduce Reuse in Enterprises - is promoted by RiSE in conjunction with C.E.S.A.R and CIn, and it will be held in next June 29 and 30, 2009.



*UPDATE - Jul 1st, 2009*



This edition included the following presentations:
  • Towards an Approach for Service-Oriented Product Line Architectures - Lecturer: Flavio Medeiros
  • RiPLE-DE - The RiSE Process for Product Line Engineering Design - Lecturer: Ednaldo Dilorenzo
  • RiSE Adoption Process Framework for Software Reuse Adoption in Brazilian Companies - Lecturer: Vinicius Garcia
  • Towards an approach to deal with feature interaction in software product lines - Lecturer: Hernan Muñoz
  • SPL Architectures - Variability in Quality Attributes - Lecturer: Ricardo Cavalcanti
  • Towards an effective Software Product Line Testing Approach - Lecturers: Paulo Anselmo and Ivan Machado

The Ph.D. student Pàdraig O'Leary, from Lero, The Irish Software Engineering Research Centre, came to this workshop to experience the research the RiSE group has been conducted and exchange ideas with RiSE members as well. He presented the research he's been worked on, entitled A Process Framework for Product Derivation.

We are glad for the comments and contributions from John D. McGregor and Frank van der Linden, who also joined this international RiSE Day.

Best Dissertation Award


In the last Brazilian Symposium on Software Quality, Fernando Raposo, member from the RiSE Labs was awarded with the best M.Sc. dissertation in the software quality area.

In his work, Fernando defined an approach for component testing and a CASE tool to automate it. Moreover, he defined an experimental study evaluating the approach and tool defined.

Congratulations, Fernando!!