JP2023047126A - 演算プログラムチェック装置及び演算プログラムチェック用プログラム - Google Patents
演算プログラムチェック装置及び演算プログラムチェック用プログラム Download PDFInfo
- Publication number
- JP2023047126A JP2023047126A JP2021156069A JP2021156069A JP2023047126A JP 2023047126 A JP2023047126 A JP 2023047126A JP 2021156069 A JP2021156069 A JP 2021156069A JP 2021156069 A JP2021156069 A JP 2021156069A JP 2023047126 A JP2023047126 A JP 2023047126A
- Authority
- JP
- Japan
- Prior art keywords
- message
- unit information
- unit
- storage means
- program
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 claims abstract description 14
- 238000010586 diagram Methods 0.000 description 17
- 230000007257 malfunction Effects 0.000 description 14
- 238000000034 method Methods 0.000 description 8
- 238000012790 confirmation Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000000470 constituent Substances 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
Description
120 単位不一致演算検出手段
130 メッセージ出力制御手段
150 入力部
200 データベース
210 メッセージ記憶手段
300 表示手段
Claims (10)
- ソースプログラムのソースコードに含まれている演算から、少なくとも1つの変数に単位情報付き数値が設定される演算を検索する演算検索手段と、
演算の種類毎に、演算に含まれる変数に設定された単位が不一致の場合に、出力すべきメッセージが記憶されたメッセージ記憶手段と、
前記演算検索手段により検索された演算に設定されている単位情報が不一致な演算を検出する単位不一致演算検出手段と、
前記単位不一致演算検出手段が検出した演算に基づき前記メッセージ記憶手段を検索してメッセージを求め、このメッセージを出力するメッセージ出力制御手段と
を具備することを特徴とする演算プログラムチェック装置。 - 前記メッセージ記憶手段には、演算に設定されている単位情報が不一致な場合に演算が全く成り立たない場合の演算に対して、明らかに誤りである旨の警告メッセージが記憶されていることを特徴とする請求項1に記載の演算プログラムチェック装置。
- 前記メッセージ記憶手段には、演算に設定されている単位情報が不一致な場合でも演算が成り立つ場合がある演算に対して、誤りの可能性がある旨の注意喚起メッセージが記憶されていることを特徴とする請求項1または2に記載の演算プログラムチェック装置。
- 前記メッセージ記憶手段には、演算が乗算、除算、剰余算の場合に、例外的に注意喚起メッセージが記憶されていることを特徴とする請求項1乃至3のいずれか1項に記載の演算プログラムチェック装置。
- 前記メッセージ記憶手段は、演算の一方の変数に単位情報が設定されていない「単位情報なし」の場合に対応するメッセージが記憶された「単位情報なしエリア」を備えており、
前記単位不一致演算検出手段は、演算の一方の変数に単位情報が設定されていない「単位情報なし」を検出し、
前記メッセージ出力制御手段は、前記「単位情報なし」が検出されたときには前記メッセージ記憶手段の「単位情報なしエリア」を検索してメッセージを求め、このメッセージを出力する
ことを特徴とする請求項1乃至4のいずれか1項に記載の演算プログラムチェック装置。 - 演算の種類毎に、演算に含まれる変数に設定された単位が不一致の場合に、出力すべきメッセージが記憶されたメッセージ記憶手段を備える演算プログラムチェック装置に用いられているコンピュータを、
ソースプログラムのソースコードに含まれている演算から、少なくとも1つの変数に単位情報付き数値が設定される演算を検索する演算検索手段、
前記演算検索手段により検索された演算に設定されている単位情報が不一致な演算を検出する単位不一致演算検出手段、
前記単位不一致演算検出手段が検出した演算に基づき前記メッセージ記憶手段を検索してメッセージを求め、このメッセージを出力するメッセージ出力制御手段
として機能させることを特徴とする演算プログラムチェック用プログラム。 - 前記メッセージ記憶手段には、演算に設定されている単位情報が不一致な場合に演算が全く成り立たない場合の演算に対して、明らかに誤りである旨の警告メッセージが記憶されていることを特徴とする請求項6に記載の演算プログラムチェック用プログラム。
- 前記メッセージ記憶手段には、演算に設定されている単位情報が不一致な場合でも演算が成り立つ場合がある演算に対して、誤りの可能性がある旨の注意喚起メッセージが記憶されていることを特徴とする請求項6または7に記載の演算プログラムチェック用プログラム。
- 前記メッセージ記憶手段には、演算が乗算、除算、剰余算の場合に、例外的に注意喚起メッセージが記憶されていることを特徴とする請求項6乃至8のいずれか1項に記載の演算プログラムチェック用プログラム。
- 前記メッセージ記憶手段には、演算の一方の変数に単位情報が設定されていない「単位情報なし」の場合に対応して「単位情報なしエリア」に対応メッセージが記憶されており、
前記コンピュータを前記単位不一致演算検出手段として、演算の一方の変数に単位情報が設定されていない「単位情報なし」を検出するように機能させ、
前記コンピュータを前記メッセージ出力制御手段として、前記「単位情報なし」が検出されたときには前記メッセージ記憶手段の「単位情報なしエリア」を検索してメッセージを求め、このメッセージを出力するように機能させる
ことを特徴とする請求項6乃至9のいずれか1項に記載の演算プログラムチェック用プログラム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021156069A JP7385139B2 (ja) | 2021-09-24 | 2021-09-24 | 演算プログラムチェック装置及び演算プログラムチェック用プログラム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021156069A JP7385139B2 (ja) | 2021-09-24 | 2021-09-24 | 演算プログラムチェック装置及び演算プログラムチェック用プログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2023047126A true JP2023047126A (ja) | 2023-04-05 |
JP7385139B2 JP7385139B2 (ja) | 2023-11-22 |
Family
ID=85778189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021156069A Active JP7385139B2 (ja) | 2021-09-24 | 2021-09-24 | 演算プログラムチェック装置及び演算プログラムチェック用プログラム |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7385139B2 (ja) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070256060A1 (en) * | 2006-04-27 | 2007-11-01 | Sukyoung Ryu | Method and apparatus for expressing and checking relationships between types |
CN107850999A (zh) * | 2015-06-22 | 2018-03-27 | 非凡逻辑有限公司 | 自动化过程控制 |
-
2021
- 2021-09-24 JP JP2021156069A patent/JP7385139B2/ja active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070256060A1 (en) * | 2006-04-27 | 2007-11-01 | Sukyoung Ryu | Method and apparatus for expressing and checking relationships between types |
CN107850999A (zh) * | 2015-06-22 | 2018-03-27 | 非凡逻辑有限公司 | 自动化过程控制 |
Also Published As
Publication number | Publication date |
---|---|
JP7385139B2 (ja) | 2023-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ortona et al. | Robust discovery of positive and negative rules in knowledge bases | |
Koch | Rapid mathematical programming or how to solve sudoku puzzles in a few seconds | |
Song et al. | A general software defect-proneness prediction framework | |
Steiner et al. | An overview of the Shainin System™ for quality improvement | |
JP2017041171A (ja) | テストシナリオ生成支援装置およびテストシナリオ生成支援方法 | |
Wu et al. | An empirical study on challenging math problem solving with gpt-4 | |
CN111475196B (zh) | 编译告警溯源方法、装置、电子设备及计算机可读介质 | |
JP2023047126A (ja) | 演算プログラムチェック装置及び演算プログラムチェック用プログラム | |
Karamanis et al. | Stochastic text structuring using the principle of continuity | |
CN104205061A (zh) | 软件开发活动 | |
EP3438818A1 (en) | Method and device for compiling computer language | |
Morgan et al. | Probabilistic semantics for intuitionistic logic | |
JP5932721B2 (ja) | 障害情報管理方法、障害情報管理装置及びプログラム | |
JP2016057715A (ja) | 図形式プログラム解析装置 | |
Thiruthanigesan et al. | Data verification and validation process in the management system development | |
CN106775704B (zh) | 软件属性需求检验方法及装置 | |
Gupta et al. | A novel approach for mutant diversity-based fault localization: DAM-FL | |
CN114546876A (zh) | 一种在线编程学习辅助方法、装置、设备及存储介质 | |
JP6329545B2 (ja) | コントローラ | |
Yong et al. | Data change analysis based on function call path | |
JP2019220110A (ja) | プログラム比較装置、プログラム比較方法および比較プログラム | |
JP7268274B2 (ja) | Lsb演算チェック装置及びlsb演算チェック用プログラム | |
CN112632221A (zh) | 物料型号匹配方法、系统、电子设备及计算机存储介质 | |
Zhu et al. | False positive elimination in suspected code fault automatic confirmation | |
JP2863077B2 (ja) | 電子計算装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220112 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230328 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230526 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20230613 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230913 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20230922 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20231010 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231023 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7385139 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |