Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleArticle metrics
Research Article · Free to read · Published 7 May 2011

Design Dynamic Coupling Measurement of Distributed Object Oriented Software Using Trace Events

S. Babu & R. M.S. Parvathi

Journal of Computer Science, Volume 7, Issue 5, pp. 770–778 · doi.org/10.3844/jcssp.2011.770.778

6,934 accesses5,465 downloads2 citations (Crossref)Journal metrics
Cite Check for updates

Abstract

Problem statement: A common way to define and measure coupling is through structural properties and static code analysis. However, because of polymorphism, dynamic binding and the common presence of unused code in commercial software, the resulting coupling measures are imprecise as they do not perfectly reflect the actual coupling taking place among classes at run-time. For example, when using static analysis to measure coupling, it is difficult and sometimes impossible to determine what actual methods can be invoked from a client class if those methods are overridden in the subclasses of the server classes. Approach: Coupling measurement has traditionally been performed using static code analysis, because most of the existing work was done on non-object oriented code and because dynamic code analysis is more expensive and complex to perform. We refer to this type of coupling as dynamic coupling. In this study we propose a dynamic and efficient measurement technique over object oriented software. Result: We propose a hybrid model to measure the dynamic coupling present in distributed object oriented software. The proposed method has three steps; they are instrumentation process, post process and coupling measurement. First, the instrumentation process is performed. In this process, to trace method calls, a modified instrumented JVM has been used. During this process, three trace files, .prf, .clp and .svp are created. In the second step, the information present in these files, are merged. At the end of this step, the merged detailed trace of each Jvms contains pointers to the merged trace files of the other JVM’s such that the path of each remote call from the client to the server can be uniquely identified. Conclusion: Finally, the coupling metrics are measured dynamically. The proposed system was implemented in JAVA. The implementation results show that the proposed system effectively measures the dynamic coupling.

Licence and reuse

Free to read. This article carries the publisher’s copyright, as printed on it: © 2011 Science Publications. It is free to read; ask us before reusing it.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Babu, S. & Parvathi, R. M. (2011). Design Dynamic Coupling Measurement of Distributed Object Oriented Software Using Trace Events. Journal of Computer Science, 7(5), 770–778. https://doi.org/10.3844/jcssp.2011.770.778

Licence
© Science Publications
Issue
Volume 7, Issue 5
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Design Dynamic Coupling Measurement of Distributed Object Oriented Software Using Trace EventsJournal of Computer Science · Volume 7, Issue 5 · pp. 770–778 · © Science PublicationsDownload