METHOD AND APPARATUS FOR EVALUATING CODE IN HIERARCHICAL ARCHITECTURE SOFTWARE, AND STORAGE MEDIUM

Disclosed in embodiments of the present invention are a method and apparatus for evaluating code in hierarchical architecture software, and a storage medium. The method comprises: acquiring layer definition information of hierarchical architecture software to be tested, the layer definition informat...

Full description

Saved in:
Bibliographic Details
Main Authors HAN, Jie, PENG, Fei, REN, Wen Ke, GAO, Liang
Format Patent
LanguageEnglish
French
German
Published 26.02.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Disclosed in embodiments of the present invention are a method and apparatus for evaluating code in hierarchical architecture software, and a storage medium. The method comprises: acquiring layer definition information of hierarchical architecture software to be tested, the layer definition information comprising layer information and intra-layer component information; scanning code of the hierarchical architecture software to be tested, to acquire basic information of the code, the basic information comprising component information, intra-component file information and intra-file code metric information; mapping the basic information with the layer definition information, to obtain file information of each component in each layer of the hierarchical architecture software to be tested and intra-file code metric information; and calculating a code evaluation parameter of the hierarchical architecture software to be tested, on the basis of the file information of each component in each layer and the intra-file code metric information. The technical solution in embodiments of the present invention can acquire metric information, relating to layers, of hierarchical architecture software.
Bibliography:Application Number: EP20190192840