CN113490920A - 一种评估代码设计质量的方法、装置和系统 - Google Patents
一种评估代码设计质量的方法、装置和系统 Download PDFInfo
- Publication number
- CN113490920A CN113490920A CN201980093503.9A CN201980093503A CN113490920A CN 113490920 A CN113490920 A CN 113490920A CN 201980093503 A CN201980093503 A CN 201980093503A CN 113490920 A CN113490920 A CN 113490920A
- Authority
- CN
- China
- Prior art keywords
- code
- design
- principle
- probability
- error
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3447—Performance evaluation by modeling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3452—Performance evaluation by statistical analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
- G06F11/3616—Software analysis for verifying properties of programs using software metrics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/77—Software metrics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/088—Non-supervised learning, e.g. competitive learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/048—Activation functions
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Life Sciences & Earth Sciences (AREA)
- Data Mining & Analysis (AREA)
- Biophysics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Evolutionary Biology (AREA)
- Computational Linguistics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Probability & Statistics with Applications (AREA)
- Stored Programmes (AREA)
Abstract
一种评估代码设计质量的方法、装置和系统。评估代码设计质量的方法包括:基于代码的静态扫描结果确定代码中存在易错模式的概率;输入概率到人工神经网络,基于人工神经网络确定代码是否违反预定的设计原则以及违反设计原则的量化程度的预测结果;基于预测结果评估代码的设计质量。本发明实施方式可以提高评估代码设计质量的准确度。通过检测代码中易错模式的存在,预测软件设计过程中是否违反关键设计原则以及违反关键设计原则的量化程度,并由此评估代码的设计质量,从而实现软件代码审核过程的全自动化,克服现有技术错误警告过多的缺点,具有评估准确度高的优点。
Description
PCT国内申请,说明书已公开。
Claims (20)
- PCT国内申请,权利要求书已公开。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/079738 WO2020191627A1 (zh) | 2019-03-26 | 2019-03-26 | 一种评估代码设计质量的方法、装置和系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113490920A true CN113490920A (zh) | 2021-10-08 |
Family
ID=72608724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201980093503.9A Pending CN113490920A (zh) | 2019-03-26 | 2019-03-26 | 一种评估代码设计质量的方法、装置和系统 |
Country Status (4)
Country | Link |
---|---|
US (1) | US11860764B2 (zh) |
EP (1) | EP3929752A4 (zh) |
CN (1) | CN113490920A (zh) |
WO (1) | WO2020191627A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117311806A (zh) * | 2023-11-30 | 2023-12-29 | 南昌航空大学 | 基于加权有向耦合网络的软件结构风险识别方法与装置 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022186541A (ja) * | 2021-06-04 | 2022-12-15 | 株式会社日立製作所 | ソースコード解析装置およびソースコード解析方法 |
CN113722239B (zh) * | 2021-11-01 | 2022-01-25 | 南昌航空大学 | 机载嵌入式软件质量检测方法、装置、介质及电子设备 |
CN114816963B (zh) * | 2022-06-28 | 2022-09-20 | 南昌航空大学 | 嵌入式软件质量评估方法、系统、计算机及可读存储介质 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013077297A (ja) * | 2011-09-15 | 2013-04-25 | Canon Inc | 情報処理装置およびその制御方法 |
US20130311968A1 (en) * | 2011-11-09 | 2013-11-21 | Manoj Sharma | Methods And Apparatus For Providing Predictive Analytics For Software Development |
CN103995775A (zh) | 2014-05-20 | 2014-08-20 | 浪潮电子信息产业股份有限公司 | 一种基于神经网络的测试数据生成方法 |
CN106055483B (zh) | 2016-06-06 | 2019-03-22 | 重庆大学 | 基于欠采样操作的代价敏感神经网络的警告分类方法 |
US10635409B2 (en) * | 2018-01-15 | 2020-04-28 | Cognizant Technology Solutions India Pvt. Ltd. | System and method for improving software code quality using artificial intelligence techniques |
CN108710568A (zh) | 2018-05-05 | 2018-10-26 | 中科软评科技(北京)有限公司 | 静态代码缺陷的检测方法、计算机设备及存储介质 |
US10621302B2 (en) * | 2018-06-27 | 2020-04-14 | International Business Machines Corporation | Classification and localization of hotspots in integrated physical design layouts |
EP3623948B1 (en) * | 2018-09-14 | 2021-09-29 | Tata Consultancy Services Limited | Method and system for code analysis to identify causes of code smells |
CN109408389B (zh) * | 2018-10-30 | 2020-10-16 | 北京理工大学 | 一种基于深度学习的代码缺陷检测方法及装置 |
US10782936B1 (en) * | 2019-01-30 | 2020-09-22 | Architecture Technology Corporation | Programming migration system and methods |
KR20220038167A (ko) * | 2019-08-30 | 2022-03-25 | 에이에스엠엘 네델란즈 비.브이. | 반도체 디바이스 지오메트리 방법 및 시스템 |
-
2019
- 2019-03-26 CN CN201980093503.9A patent/CN113490920A/zh active Pending
- 2019-03-26 EP EP19922029.4A patent/EP3929752A4/en active Pending
- 2019-03-26 US US17/441,781 patent/US11860764B2/en active Active
- 2019-03-26 WO PCT/CN2019/079738 patent/WO2020191627A1/zh unknown
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117311806A (zh) * | 2023-11-30 | 2023-12-29 | 南昌航空大学 | 基于加权有向耦合网络的软件结构风险识别方法与装置 |
CN117311806B (zh) * | 2023-11-30 | 2024-03-29 | 南昌航空大学 | 基于加权有向耦合网络的软件结构风险识别方法与装置 |
Also Published As
Publication number | Publication date |
---|---|
US20220179773A1 (en) | 2022-06-09 |
EP3929752A1 (en) | 2021-12-29 |
EP3929752A4 (en) | 2022-12-07 |
US11860764B2 (en) | 2024-01-02 |
WO2020191627A1 (zh) | 2020-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ampatzoglou et al. | The effect of GoF design patterns on stability: a case study | |
CN113490920A (zh) | 一种评估代码设计质量的方法、装置和系统 | |
Smith | Studies of sensor data interpretation for asset management of the built environment | |
Letier et al. | Uncertainty, risk, and information value in software requirements and architecture | |
Syring et al. | Evaluating conformance measures in process mining using conformance propositions | |
Menzies et al. | Data mining static code attributes to learn defect predictors | |
US8856725B1 (en) | Automated source code and development personnel reputation system | |
Zhang et al. | Optimal maintenance policy considering imperfect repairs and non-constant probabilities of inspection errors | |
CN117951701A (zh) | 用于确定软件代码中的缺陷和漏洞的方法 | |
Felli et al. | Soundness verification of decision-aware process models with variable-to-variable conditions | |
US20220300820A1 (en) | Ann-based program testing method, testing system and application | |
CN103294595B (zh) | 一种基于遗传算法的软件修复方法 | |
Colombo et al. | On statistical Multi-Objective optimization of sensor networks and optimal detector derivation for structural health monitoring | |
Zhang et al. | Predicting change consistency in a clone group | |
Al Dallal | Predicting fault-proneness of reused object-oriented classes in software post-releases | |
Peng et al. | Self-supervised and Interpretable Data Cleaning with Sequence Generative Adversarial Networks | |
Tarwani et al. | Application of deep learning models for code smell prediction | |
Tufano et al. | Code Review Automation: Strengths and Weaknesses of the State of the Art | |
Zhang et al. | Predicting consistent clone change | |
AKTAŞ et al. | An introduction to software testing methodologies | |
Tarvo et al. | Predicting risk of pre-release code changes with checkinmentor | |
Lil et al. | Validation of a methodology for assessing software reliability | |
CN115525899A (zh) | 面向持续集成平台的漏洞误报消除方法 | |
Rongviriyapanish et al. | Changeability prediction model for java class based on multiple layer perceptron neural network | |
Amara et al. | An Empirical Assessment and Validation of Redundancy Metrics Using Defect Density as Reliability Indicator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |