Abstract
We propose an approach to characterize the behavior of classes using dynamic coupling distributions. To this end, we propose a general framework for modeling execution possibilities of a program by defining a probabilistic model over the inputs that drive the program. Because specifying inputs determines a particular execution, this model defines implicitly a probability distribution over the set of executions, and also over the coupling values calculated from them. Our approach is illustrated through two case studies representing two categories of programs. In the first case, the number of inputs is fixed (batch and command line programs) whereas, in the second case, the number of inputs is variable (interactive programs).
Chapter PDF
Similar content being viewed by others
References
Allier, S., Vaucher, S., Dufour, B., Sahraoui, H.A.: Deriving coupling metrics from call graphs. In: Int. Work. Conf. on Source Code Analysis and Manipulation, pp. 43–52 (2010)
Arisholm, E., Briand, L.C., Foyen, A.: Dynamic coupling measurement for object-oriented software. IEEE Trans. Softw. Eng. 30(8), 491–506 (2004)
Asmussen, S., Glynn, P.W.: Stochastic Simulation. Springer (2007)
Biggerstaff, T., Mitbander, B., Webster, D.: The concept assignment problem in program understanding. In: Int. Conf. on Software Engineering, pp. 482–498 (1993)
L’Ecuyer, P.: SSJ: A Java Library for Stochastic Simulation (2008), Software user’s guide, available at http://www.iro.umontreal.ca/~lecuyer
Nelsen, R.B.: An Introduction to Copulas. Lecture Notes in Statistics, vol. 139. Springer (1999)
Rajlich, V., Wilde, N.: The role of concepts in program comprehension. In: 10th International Workshop on Program Comprehension, pp. 271–278 (2002)
Setamanit, S., Wakeland, W., Raffo, D.: Planning and improving global software development process using simulation. In: Int. Workshop on Global Software Development for the Practitioner (2006)
Shao, J.: Mathematical Statistics. Springer (1999)
Stopford, B., Counsell, S.: A framework for the simulation of structural software evolution. ACM Trans. Model. Comput. Simul. 18(4), 1–36 (2008)
Tahvildar, L., Kontogiannis, K.: Improving design quality using meta-pattern transformations: a metric-based approach. J. Softw. Maint. Evol. 16(4-5), 331–361 (2004)
Yacoub, S.M., Ammar, H.H., Robinson, T.: Dynamic metrics for object oriented designs. In: METRICS 1999, pp. 50–61 (1999)
Zaidman, A., Demeyer, S.: Automatic identification of key classes in a software system using webmining techniques. J. Softw. Maint. Evol. 20(6), 387–417 (2008)
Zhou, Y., Leung, H., Winoto, P.: Mnav: A markov model-based web site navigability measure. IEEE Trans. Softw. Eng. 33(12), 869–890 (2007)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bouchoucha, A., Sahraoui, H., L’Ecuyer, P. (2013). Towards Understanding the Behavior of Classes Using Probabilistic Models of Program Inputs. In: Cortellessa, V., Varró, D. (eds) Fundamental Approaches to Software Engineering. FASE 2013. Lecture Notes in Computer Science, vol 7793. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-37057-1_8
Download citation
DOI: https://doi.org/10.1007/978-3-642-37057-1_8
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-37056-4
Online ISBN: 978-3-642-37057-1
eBook Packages: Computer ScienceComputer Science (R0)