EasyCyclomaticComplexity Tool: A tool to support teaching the McCabe Cyclomatic Complexity metric

  • Bruno César Silva Vital Faculdade Metodista Granbery
  • Vitor Gomes Miranda Faculdade Metodista Granbery
  • Marco Antônio Pereira Araújo Faculdade Metodista Granbery

Abstract


EasyCyclomaticComplexity (ECC) is a web tool in order to support the teaching of the metric of McCabe Cyclomatic Complexity, which calculates the number of independent paths from source code. Through the tool, algorithms are inserted and the result of complexity Cyclomatic (CC) is calculated and the associated graph is drawn, so as to assist the teaching of the technique.

References

DELAMARO, M. et al., 2007. Introdução ao Teste de Software. Ed. Campus.

McCABE T. J., 1976. Structured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric, Computer Systems Laboratory National Institute of Standards and Technology Gaithersburg, MD.

PRESSMAN, R., 2006. Engenharia de Software. 6. ed. Rio de Janeiro: McGraw-Hill.

VANDOREN, E., 1997, "Cyclomatic Complexity", Web Publication. Disponível em: [link]. Acessado em: 06/05/2012.

Published
2012-07-16
VITAL, Bruno César Silva; MIRANDA, Vitor Gomes; ARAÚJO, Marco Antônio Pereira. EasyCyclomaticComplexity Tool: A tool to support teaching the McCabe Cyclomatic Complexity metric. In: WORKSHOP ON COMPUTING EDUCATION (WEI), 20. , 2012, Curitiba/PR. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2012 . p. 291-294. ISSN 2595-6175.