Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Software package importance measurement method based on weighted a index

A measurement method and importance technology, applied in the field of software package importance measurement based on weighted a index, can solve the problems of lack of software measurement work, lack of measurement of the importance of software elements, lack of measurement of the importance of code elements, etc., to achieve The effect of improving code maintenance efficiency

Active Publication Date: 2016-04-13
ZHEJIANG GONGSHANG UNIVERSITY
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] (1) Existing work mainly focuses on measuring the complexity of the code elements themselves, and lacks the measurement of the importance of code elements
[0005] (2) Existing work is mainly aimed at element-level measurement, which often measures local features of software, such as measuring a method or a class. There is a lack of work on software measurement from an overall perspective, let alone the importance of measuring software elements from an overall perspective sex work

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software package importance measurement method based on weighted a index
  • Software package importance measurement method based on weighted a index
  • Software package importance measurement method based on weighted a index

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Below by embodiment and in conjunction with accompanying drawing, technical scheme of the present invention will be further described:

[0056] A kind of software package importance measurement method based on weighted a index that the present invention proposes, concrete steps are as follows:

[0057] (1) Abstract the software source code written in the Java language into a feature dependency network FDN=(N f ,D f ). figure 1 Shown is a Java source code snippet. according to figure 1 Given the Java source code snippet, the corresponding FDN can be constructed (such as figure 2 As shown), the text on the side of the node is the name of the corresponding feature of the node (the name is composed of package name, class name, and feature name connected by "."). Among them, N f ={p1.classX.a(),p1.classX.v(),p1.classX.c(),p1.classX.b(),p2.classY.d(),p2.classZ.e(), p2.classZ.f(), p3.classL.g()} is a collection of feature nodes; D f ={(p1.classX.b(),p1.classX.a()),(p1...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a software package importance measurement method based on a weighted a index. The method comprises the steps of abstracting software source codes compiled by the Java language into a feature dependence network in feature granularity; building a class dependence network based on the feature dependence network; building a package dependence network based on the class dependence network; computing the weighed h index of a node based on the package dependence network; computing the weighted cit index of the node based on the package dependence network; and computing the weighted a index of the node based on the weighted h index and the weighted cit index of the node, and using the weighted a index of the node as a measurement index for the importance of the package. According to the software package importance measurement method based on the weighted a index, the shortage that the prior art hardly relates to the importance measurement is covered, and the important significance is provided for understanding the software and improving the code maintenance efficiency.

Description

technical field [0001] The invention relates to a software package importance measurement method, in particular to a software package importance measurement method based on weighted a index. Background technique [0002] Computer software has penetrated into every aspect of our work and daily life, is changing and will continue to change our lives. With the development of software technology and the popularization of the Internet, people's dependence on software is increasing day by day, and the requirements for software quality are getting higher and higher. This has led to a surge in system scale and an increasingly complex software application environment, which increases the risk of software development and makes it difficult to effectively control software quality. [0003] At the same time, evolution is one of the essential attributes of software. Like living things, software systems must evolve continuously during their life cycle, otherwise they may be eliminated i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
CPCG06F8/75
Inventor 潘伟丰宋贝贝徐红伟姜波谢波王家乐
Owner ZHEJIANG GONGSHANG UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products