Font Size: a A A

Measurement And Visualization For Function Calling Relationship

Posted on:2019-06-08Degree:MasterType:Thesis
Country:ChinaCandidate:W J LiuFull Text:PDF
GTID:2348330545955672Subject:Information security
Abstract/Summary:PDF Full Text Request
With the rapid development of computer software,the iterative upgrading and development of software make the size and complexity increase continuously.The modularized design idea leads to more and more function calls in the software system and the quality of the software becomes more and more difficult to grasp and control.Software Measurement Quantitative analysis method to control the quality of the software development process.The existing software metrics mainly include structure-oriented software metrics and object-oriented software metrics.Most of them are based on software design and project-driven management and cannot be effectively analyzed and measured for complex function calls in large projects.At the same time,it also lacks efficient measures such as visualization and cannot meet the needs of software measurement in unit testing of large-scale software systems.Based on the existing software metrics technology,this paper proposes a set of software metrics mechanism oriented to function calls and provides a visual measurement display and analysis platform.Mainly includes the following work:1.Proposed a function call set of relations building mechanism.syntax tree,module division and other technology-based,you can construct a complete software function call relationship.2.Based on the first work,the concept of function closure is proposed to describe the function reachability and the corresponding closure discovery mechanism is proposed.Find a subroutine call to a function from the entry of a function,thus finding the branch of an unreachable function,providing a prerequisite for the measurement of the unreachable code.3.Put forward a software metric system oriented to the function call relationship,define text metrics and visual metrics,including function attribute,recursive invocation existence,fan-in/fan-out,call number,code reachability and function Coverage,and the corresponding evaluation criteria.And then build the corresponding software metrics around these metrics.4.Finally,design a visualization platform for visualization of hierarchical function call relationships.On the basis of the proposed measurement mechanism,a hierarchical layout algorithm is designed,which uses visualization techniques to analyze and measure the function call relationships of software.This visual measurement approach has implications for many scenarios in the field of software visualization.The above method in the CTS code test system has been applied in the actual project has been verified.The results show that the metric mechanism proposed in this paper can efficiently measure the function call relationships in large-scale software systems by means of visualization.
Keywords/Search Tags:function calling relationship, software metrics, software visualization, visual layout
PDF Full Text Request
Related items