Unlock instant, AI-driven research and patent intelligence for your innovation.

Software system maintainability evaluation and improvement method based on multi-objective community discovery

A software system and community discovery technology, applied in the field of software system maintainability evaluation and improvement, can solve problems such as inability to evaluate and improve software system maintainability, and achieve the effect of improving maintainability and modularity

Active Publication Date: 2017-01-04
XI AN JIAOTONG UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Developing a software system with high cohesion and low coupling is widely considered to be a software structure with relatively good modularity. Cohesion is the relationship between modules. High cohesion means that each module of the software is cohesive and closely related. For this research Staff have proposed a series of class cohesion measurement methods, such as: LCOM1, Coh, TCC, LCC, SCOM, CCM, etc. These methods are basically based on the use and sharing of instance variables in the class by methods in the class , only considering the relationship between methods and variables, methods and methods in the class, but these measurement methods cannot effectively evaluate and improve the maintainability of software systems

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 system maintainability evaluation and improvement method based on multi-objective community discovery
  • Software system maintainability evaluation and improvement method based on multi-objective community discovery
  • Software system maintainability evaluation and improvement method based on multi-objective community discovery

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following figures illustrate in detail the specific implementation of the software system maintainability and improvement method based on multi-objective community discovery in the present invention.

[0040] see figure 1 As shown, the present invention proposes a software system maintainability evaluation and improvement method based on multi-objective community discovery, including the following steps:

[0041] Step S101: using the static code analysis tool Understand and the complex network analysis package igraph to realize the generation of the largest weakly connected subgraph for Java software system method calls;

[0042] to combine figure 2 , specifically, after the Java software system to be analyzed is input, the maximum weakly connected subgraph of the Java software system call network is generated.

[0043] Step S201: parse the .java file of the Java software system to be analyzed, and obtain a list of methods defined in the project;

[0044] Step S...

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 provides a software system maintainability evaluation and promotion method based on multi-objective community detection. The software system maintainability evaluation and promotion method comprises the following steps: 1) constructing a maximum weakly connected subgraph; 2) calling the maximum weakly connected subgraph by a partition method, and calculating different method community cohesions of each class; 3) calculating the Spearman correlation coefficients of different method community cohesions, selecting two community partitioning algorithms with the maximum correlation coefficient to calculate the modularity of a software system, and evaluating software system maintainability; and 4) on the basis of the method community cohesions of each class, filtering classes with the low cohesion by adopting an adaptive threshold value filtering algorithm, wherein certain methods in the classes are in close connection with other classes, and the methods are removed to improve the cohesions of the classes and the modularity of the software system and improve the software system maintainability. The cohesions of the classes in the software system are improved, and the modularity of the whole software system is improved so as to improve the software system maintainability.

Description

Technical field: [0001] The invention belongs to the cross field of trusted software and software testing, and in particular relates to a method for evaluating and improving the maintainability of a software system. Background technique: [0002] The software system is composed of many modules, relying on the mutual calls between modules to complete various complex functions, the quality of software modularity will directly affect the realization of software functions, the operating efficiency of the system and the overall stability. The goal of software engineering is to use new technologies and correct management methods to improve the quality and survival rate of software, so that software systems have higher maintainability, reliability and reusability. [0003] Object-oriented technology adopts data abstraction, encapsulation, polymorphism, information hiding, reuse and other mechanisms to enhance the maintainability of software and improve production efficiency. In or...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 郑庆华李剑王志文屈宇刘烃
Owner XI AN JIAOTONG UNIV