Journal of Computer Science | |
Design Dynamic Coupling Measurement of Distributed Object Oriented Software Using Trace Events | Science Publications | |
R. M.S. Parvathi1  S. Babu1  | |
关键词: Static code; dynamic code; object oriented; scientific method; dynamic coupling; theoretical model; structural complexity; oriented software; Java Virtual Machine (JVM); | |
DOI : 10.3844/jcssp.2011.770.778 | |
学科分类:计算机科学(综合) | |
来源: Science Publications | |
【 摘 要 】
Problem statement: A common way to define and measure coupling is through structuralproperties and static code analysis. However, because of polymorphism, dynamic binding and thecommon presence of unused code in commercial software, the resulting coupling measures areimprecise as they do not perfectly reflect the actual coupling taking place among classes at run-time. Forexample, when using static analysis to measure coupling, it is difficult and sometimes impossible todetermine what actual methods can be invoked from a client class if those methods are overridden in thesubclasses of the server classes. Approach: Coupling measurement has traditionally been performedusing static code analysis, because most of the existing work was done on non-object oriented code andbecause dynamic code analysis is more expensive and complex to perform. We refer to this type ofcoupling as dynamic coupling. In this study we propose a dynamic and efficient measurement techniqueover object oriented software. Result: We propose a hybrid model to measure the dynamic couplingpresent in distributed object oriented software. The proposed method has three steps; they areinstrumentation process, post process and coupling measurement. First, the instrumentation process isperformed. In this process, to trace method calls, a modified instrumented JVM has been used. Duringthis process, three trace files, .prf, .clp and .svp are created. In the second step, the information presentin these files, are merged. At the end of this step, the merged detailed trace of each Jvms containspointers to the merged trace files of the other JVM
【 授权许可】
Unknown
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
RO201911300706951ZK.pdf | 282KB | download |