Skip to main content
Log in

Application of swarm techniques to requirements tracing

  • Best Papers of RE'10: Requirements Engineering in a Multi-faceted World
  • Published:
Requirements Engineering Aims and scope Submit manuscript

Abstract

We posit that swarm intelligence can be applied to effectively address requirements engineering problems. Specifically, this paper demonstrates the applicability of swarm intelligence to the requirements tracing problem using two techniques: a simple swarm algorithm and a pheromone swarm algorithm. The techniques have been validated using two real-world datasets from two problem domains. The simple swarm technique generated requirements traceability matrices between textual requirements artifacts (high-level requirements traced to low-level requirements, for example). When compared with a baseline information retrieval tracing method, the swarm algorithms showed mixed results. The swarms achieved statistically significantly results on one of the secondary measurements for one dataset compared with the baseline method, lending support for continued investigation into swarms for tracing.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16

Similar content being viewed by others

Notes

  1. Note that F and F2 values reported in this paper differ from the RE 2010 conference paper due to a formula error (\( \beta^{2} \) was not squared in the RE 2010 results but is here).

  2. We used delta ranging from 1 to 5. We present the results for 1, 3, and 5 only. The results corresponding to delta of 2 and 4 followed a linear trend and fit between the selected values.

  3. Note that the RE 2010 paper presented average precision and average recall for the swarm and TF-IDF methods (which was mislabeled as overall precision and recall). The results in this paper use overall precision and recall for all methods.

References

  1. Boehm B (1976) Software engineering. IEEE Trans Comput 25(12):1226–1241

    Article  MATH  Google Scholar 

  2. Johnson J (2000) Turning chaos into success. IEEE Softw Mag 19(3):21–27

    Google Scholar 

  3. Top Software Engineering Issues within Department of Defense and Defense Industry (2006) National Defense Industrial Association

  4. Tun TT, Jackson M, Laney R, Nuseibeh B, Yu Y (2009) Are your lights off? Using problem frames to diagnose system failures. In: Proceedings of the IEEE international conference on requirements engineering, vol 0, pp 343–348

  5. Hayes J, Dekhtyar A, Sundaram S, Howard (2004) Helping analysts trace requirements: an objective look. In: Proceedings of the 12th IEEE international conference in requirements engineering, 2004, pp 249–259

  6. Engelbrecht AP (2006) Fundamentals of computational swarm intelligence. Wiley, USA

    Google Scholar 

  7. Antoniol G, Penta MD, Harman M (2005) Search-based techniques applied to optimization of project planning for a massive maintenance project. In: Proceedings of the 21st IEEE international conference on software maintenance, pp 240–249

  8. Lam CP, Xiao J, Li H (2007) Ant colony optimisation for generation of conformance testing sequences using a characterising set. In: Proceedings of the third conference on IASTED international conference: advances in computer science and technology, pp 140–146

  9. Reitz M (2006) Software evolvability by component-orientation. In: Proceedings of the second international IEEE workshop on software evolvability, pp 66–73

  10. Ayari K, Bouktif S, Antoniol G (2007) Automatic mutation test input data generation via ant colony. In: Proceedings of the 9th annual conference on genetic and evolutionary computation, pp 1074–1081

  11. Diaz-Aviles E, Nejdl W, Schmidt-Thieme L (2009) Swarming to rank for information retrieval. In: Proceedings of the 11th annual conference on genetic and evolutionary computation, pp 9–16

  12. Zou X, Settimi R, Cleland-Huang J (2009) Improving automated requirements trace retrieval: a study of term-based enhancement methods. Empir Softw Eng 15(2):119–146

    Article  Google Scholar 

  13. Maarek Y, Berry D, Kaiser G (1991) An information retrieval approach for automatically constructing software libraries. IEEE Trans Softw Eng 17:800–813

    Article  Google Scholar 

  14. Niu N, Easterbrook S (2008) Extracting and modeling product line functional requirements. In: Proceedings of the IEEE international conference on requirements engineering, vol 0, pp 155–164

  15. Sundaram S, Hayes JH, Dekhtyar A, Holbrook A (2010) Assessing traceability of software engineering artifacts. Requir Eng J 15(3):211–220

    Article  Google Scholar 

  16. Sultanov H, Hayes JH (2010) Application of swarm techniques to requirements engineering: requirements tracing. In: Proceedings of the paper presented at the 18th international requirement engineering conference, Sydney, Australia

  17. Deneubourg J-L, Aaron S, Goss S, Pasteels JM (1990) The self-organizing exploratory pattern of the argentine ant. J Insect Behav 3(2):159–168

    Article  Google Scholar 

  18. Engelbrecht AP (2006) Fundamentals of computational swarm intelligence. Wiley, USA

    Google Scholar 

  19. Gotel O, Finkelstein A (1997) Extended requirements traceability: results of an industrial case study, p 169

  20. Manning CD, Raghavan P, Schütze H (2008) Introduction to information retrieval, 1st edn. Cambridge University Press, Cambridge

    Google Scholar 

  21. Cleland-Huang J, Settimi R, Romanova E, Berenbach B, Clark S (2007) Best practices for automated traceability. Computer 40(6):27–35

    Article  Google Scholar 

  22. Antoniol G, Canfora G, Casazza GA, Lucia D, Merlo E (2002) Recovering traceability links between code and documentation. IEEE Trans Softw Eng 28(10):970–983

    Article  Google Scholar 

  23. Marcus A, Maletic JI (2003) Recovering documentation-to-source-code traceability links using latent semantic indexing. In: Proceedings of the 25th international conference on software engineering, pp 125–135

  24. Hayes JH, Dekhtyar A, Osborne J (2003) Improving requirements tracing via information retrieval. In: Proceedings of the 11th IEEE international conference on requirements engineering, p 138

  25. Egyed A, Grünbacher P, Graf F (2010) Effort and quality of recovering requirements-to-code traces: two exploratory experiments. In: Proceedings of the 18th international IEEE requirements engineering conference

  26. Panis M (2010) Successful deployment of requirements traceability in a commercial engineering organization…really. In: Proceedings of the 18th international IEEE requirements engineering conference

  27. Zou X, Settimi R, Cleland-Huang J (2006) Phrasing in dynamic requirements trace retrieva. In: Proceedings of the paper presented at the computer software and applications conference, 2006. COMPSAC ‘06. 30th annual international, pp 265–272

  28. Spanoudakis G, Zisman A, Perez-Minana E, Krause P (2004) Rule-based generation of requirements traceability relations. J Syst Softw 72(2):105–127

    Article  Google Scholar 

  29. Bonabeau E, Dorigo M, Theraulaz G (1999) Swarm intelligence: from natural to artificial systems, 1st edn. Oxford University Press, USA

    Google Scholar 

  30. van der Merwe D, Engelbrecht A (2003) Data clustering using particle swarm optimization. In: Proceedings of the 2003 congress on evolutionary computation. CEC ’03, pp 215–220

  31. Cui X, Potok TE, Palathingal P (2005) Document clustering using particle swarm optimization. IEEE swarm intelligence symposium, The Westin

  32. Aghdam MH, Ghasem-Aghaee N, Basiri ME (2009) Text feature selection using ant colony optimization. Expert Syst Appl 36(3):6843–6853

    Article  Google Scholar 

  33. Porter M (1980) An algorithm for suffix stripping. Program 14(3):130–137

    Google Scholar 

  34. Pine Email System. [Online]. Available: http://www.washington.edu/pine/. Accessed 19 Feb 2010

  35. NASA IV&V facility metrics data program: glossary and definitions. [Online] Available: http://mdp.ivv.nasa.gov/mdp_glossary.html#CM1.%207. Accessed 19 Feb 2010

  36. Hayes J, Dekhtyar A, Sundaram S, Holbrook E, Vadlamudi S, April A (2007) Requirements tracing on target: improving software maintenance through traceability recovery. Innov Syst Softw Eng 3(3):193–202

    Article  Google Scholar 

  37. Hölldobler B, Wilson EO (1998) Journey to the ants: a story of scientific exploration. Belknap Press of Harvard University Press, USA

    Google Scholar 

Download references

Acknowledgments

This work is funded in part by the National Science Foundation under NSF grant CCF-0811140.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jane Huffman Hayes.

Appendix: Results for Pine and CM1 datasets

Appendix: Results for Pine and CM1 datasets

This Appendix provides results for the experiments run on the Pine and CM1 datasets. Table 1 lists each Method under each dataset with columns for Threshold, Recall, precision, F, F2, DiffAR, and MAP. Table 2 presents statistical analysis of the secondary measures.

Table 1 Detailed results for the TF-IDF, simple swarm, and pheromone swarm methods on the Pine and CM1 dataset
Table 2 Statistical analysis for the TF-IDF, simple swarm, and pheromone swarm methods on the Pine and CM1 dataset

Rights and permissions

Reprints and permissions

About this article

Cite this article

Sultanov, H., Hayes, J.H. & Kong, WK. Application of swarm techniques to requirements tracing. Requirements Eng 16, 209–226 (2011). https://doi.org/10.1007/s00766-011-0121-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00766-011-0121-4

Keywords

Navigation