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...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | English French German |
Published |
26.02.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
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 |