JP2014089700A - ランタイム実行障害のソースを識別するシステム及び方法 - Google Patents
ランタイム実行障害のソースを識別するシステム及び方法 Download PDFInfo
- Publication number
- JP2014089700A JP2014089700A JP2013200157A JP2013200157A JP2014089700A JP 2014089700 A JP2014089700 A JP 2014089700A JP 2013200157 A JP2013200157 A JP 2013200157A JP 2013200157 A JP2013200157 A JP 2013200157A JP 2014089700 A JP2014089700 A JP 2014089700A
- Authority
- JP
- Japan
- Prior art keywords
- computer program
- value
- variable
- expression
- analysis
- 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
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000004590 computer program Methods 0.000 claims abstract description 149
- 238000004458 analytical method Methods 0.000 claims abstract description 86
- 230000003068 static effect Effects 0.000 claims abstract description 77
- 230000014509 gene expression Effects 0.000 claims abstract description 61
- 230000008859 change Effects 0.000 claims abstract description 26
- 238000012986 modification Methods 0.000 claims description 7
- 230000004048 modification Effects 0.000 claims description 7
- 238000005206 flow analysis Methods 0.000 claims description 3
- 230000007547 defect Effects 0.000 description 25
- 230000000694 effects Effects 0.000 description 14
- 230000006870 function Effects 0.000 description 11
- 230000004044 response Effects 0.000 description 5
- 238000012552 review Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000006467 substitution reaction Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013522 software testing Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
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/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- 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/3612—Software analysis for verifying properties of programs by runtime analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
【解決手段】システムは、識別モジュール212と、解析モジュール214と、修正モジュール216と、静的解析モジュール218とを備える。識別モジュール212は、コンピュータプログラムにおいて関心点を識別する。解析モジュール214は、変数または式への前の代入を特定するため、その変数に関連付けられた値に応じて、静的解析を実行する。修正モジュール216は、その変数の値を新しい値に変更することを許可するか、または、その式を新しい式に変更することを許可する。静的解析モジュール218は、コンピュータプログラムにおいて変更を確認するため、修正されたコンピュータプログラムにおいて静的増分解析を実行する。
【選択図】図2
Description
ステップ412において‘a’の値が‘0’であることで、ランタイム実行障害の原因となる。コンピュータプログラムにおいて静的解析を実行することで、バックワードパスを用いて、関心点において変数の値が‘0’となるソースをチェックする。解析モジュール214により静的解析を実行することによって、その変数または他の関与する式(複数の場合もある)への前の代入を特定することができる。関心点すなわちステップ412から後戻りした前の定義において、変数‘a’がハイライト表示される。‘a’の値は、ステップ410で定義されているので、ステップ410をハイライト表示することができる。また、ステップ410で定義されている式‘a=c’を、次の関心点とすることができる。‘c’の前の定義すなわちステップ404が、ハイライト表示される。この解析によって、ランタイム実行障害のソースは、ステップ404の‘c=0’と特定することができる。ユーザは、ステップ404における‘c’の値を変更して、コンピュータプログラムの実行における変更の効果をチェックすることができる。一実施形態において、システム102は、ユーザが、ランタイム実行障害は値のゼロ除算に起因するとする手助けをすることができる。
Claims (7)
- コンピュータプログラムのランタイム実行障害について静的解析を実施する方法であって、
前記コンピュータプログラムを静的に解析することにより、前記コンピュータプログラムにおいて、前記ランタイム実行障害の原因となる変数または式を含む関心点を識別することと、
その変数に関連付けられた値に応じて、静的解析を実行することにより、その変数またはその式への前の代入を特定することと、
その変数の値を新しい値に変更することを許可すること、または、その式を新しい式に変更することを許可することと、
修正されたコンピュータプログラムを生成するため、その新しい値またはその新しい式に基づいて前記コンピュータプログラムを修正することと、
前記コンピュータプログラムにおいて変更を確認するため、前記修正されたコンピュータプログラムにおいて静的増分解析を実行することとを有し、
前記識別すること、前記特定すること、前記許可すること、前記コンピュータプログラムを修正すること、前記静的増分解析を実行することは、メモリに記憶されたプログラム命令を用いてプロセッサにより実行される
ことを特徴とする方法。 - 前記値は、意図した値と等しくなく、このとき、その意図した値は、前記コンピュータプログラムを実行するのに必要な値である
請求項1に記載の方法。 - 前記静的解析は、1つまたは複数のデータフロー解析法を用いて実行される
請求項1に記載の方法。 - コンピュータプログラムのランタイム実行障害を解析する静的解析を実施するシステムであって、
プロセッサと、
前記プロセッサに接続されたメモリとを備え、前記プロセッサは、前記メモリに記憶された複数のモジュールを実行することが可能であり、
その複数のモジュールは、
前記コンピュータプログラムにおいて関心点を識別する識別モジュールあって、前記関心点は、前記ランタイム実行障害の原因となる変数または式を含む識別モジュールと、
その変数またはその式への前の代入を特定するため、その変数に関連付けられた値に応じて、静的解析を実行するように構成された解析モジュールと、
その変数の値を新しい値に変更することを許可するか、または、その式を新しい式に変更することを許可するように構成された修正モジュールであって、これにより、修正されたコンピュータプログラムを生成するように、その新しい値またはその新しい式に基づいて前記コンピュータプログラムを修正する、修正モジュールと、
前記コンピュータプログラムにおいて変更を確認するため、前記修正されたコンピュータプログラムにおいて静的増分解析を実行するように構成された静的解析モジュールとを備える
ことを特徴とするシステム。 - 前記値は、意図した値と等しくなく、このとき、その意図した値は、前記コンピュータプログラムを実行するのに必要な値である
請求項4に記載のシステム。 - 前記静的解析は、1つまたは複数のデータフロー解析法を用いて実行される
請求項4に記載のシステム。 - コンピュータプログラムのランタイム実行障害を解析する静的解析を実施するコンピュータプログラム・プロダクトであって、
前記コンピュータプログラムを静的に解析することにより、前記コンピュータプログラムにおいて関心点を識別するためのプログラムコードであって、前記ランタイム実行障害の原因となる変数または式を含む関心点を識別するためのプログラムコードと、
その変数に関連付けられた値に応じて、その変数またはその式への前の代入を特定するためのプログラムコードと、
その変数の値を新しい値に変更することを許可するか、または、その式を新しい式に変更することを許可するためのプログラムコードと、
修正されたコンピュータプログラムを生成するため、その新しい値またはその新しい式に基づいて前記コンピュータプログラムを修正するためのプログラムコードと、
前記コンピュータプログラムにおいて変更を確認するため、前記修正されたコンピュータプログラムにおいて静的増分解析を実行するためのプログラムコードとを含む
ことを特徴とするコンピュータプログラム・プロダクト。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
IN2850MU2012 | 2012-09-27 | ||
IN2850/MUM/2012 | 2012-09-27 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014089700A true JP2014089700A (ja) | 2014-05-15 |
JP5706940B2 JP5706940B2 (ja) | 2015-04-22 |
Family
ID=50340165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013200157A Active JP5706940B2 (ja) | 2012-09-27 | 2013-09-26 | ランタイム実行障害のソースを識別するシステム及び方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US20140089738A1 (ja) |
JP (1) | JP5706940B2 (ja) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017045446A (ja) * | 2015-08-25 | 2017-03-02 | 富士通株式会社 | ソフトウェアプログラムを修復する方法、記憶媒体及びシステム |
JP2018026135A (ja) * | 2016-08-11 | 2018-02-15 | タタ コンサルタンシー サービシズ リミテッドTATA Consultancy Services Limited | 静的解析警告の効率的な運用のための原因ポイント解析のためのシステム及び方法 |
JP2020004363A (ja) * | 2018-06-25 | 2020-01-09 | タタ コンサルタンシー サービシズ リミテッドTATA Consultancy Services Limited | 複数の静的解析アラームを再配置するための方法およびシステム |
JP2020038482A (ja) * | 2018-09-04 | 2020-03-12 | 富士通株式会社 | プログラム検証プログラム、プログラム検証方法およびプログラム検証装置 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202494A (ja) * | 2004-01-13 | 2005-07-28 | Mitsubishi Electric Corp | 静的解析結果分析システムおよび静的解析結果分析装置 |
JP2012141741A (ja) * | 2010-12-28 | 2012-07-26 | Fujitsu Ltd | 解析支援プログラム,解析支援装置および解析支援方法 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7661097B2 (en) * | 2005-04-05 | 2010-02-09 | Cisco Technology, Inc. | Method and system for analyzing source code |
US20080244536A1 (en) * | 2007-03-27 | 2008-10-02 | Eitan Farchi | Evaluating static analysis results using code instrumentation |
US9342434B2 (en) * | 2007-10-30 | 2016-05-17 | International Business Machines Corporation | Revealing new errors in edited code |
US9274923B2 (en) * | 2008-03-25 | 2016-03-01 | Wind River Systems, Inc. | System and method for stack crawl testing and caching |
US8539447B2 (en) * | 2008-06-04 | 2013-09-17 | Microsoft Corporation | Real-time validation of interactive applications |
US8966453B1 (en) * | 2010-11-24 | 2015-02-24 | ECOLE POLYTECHNIQUE FéDéRALE DE LAUSANNE | Automatic generation of program execution that reaches a given failure point |
US8645761B2 (en) * | 2011-01-13 | 2014-02-04 | International Business Machines Corporation | Precise fault localization |
-
2013
- 2013-09-26 US US14/037,758 patent/US20140089738A1/en not_active Abandoned
- 2013-09-26 JP JP2013200157A patent/JP5706940B2/ja active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202494A (ja) * | 2004-01-13 | 2005-07-28 | Mitsubishi Electric Corp | 静的解析結果分析システムおよび静的解析結果分析装置 |
JP2012141741A (ja) * | 2010-12-28 | 2012-07-26 | Fujitsu Ltd | 解析支援プログラム,解析支援装置および解析支援方法 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017045446A (ja) * | 2015-08-25 | 2017-03-02 | 富士通株式会社 | ソフトウェアプログラムを修復する方法、記憶媒体及びシステム |
JP2018026135A (ja) * | 2016-08-11 | 2018-02-15 | タタ コンサルタンシー サービシズ リミテッドTATA Consultancy Services Limited | 静的解析警告の効率的な運用のための原因ポイント解析のためのシステム及び方法 |
JP2020004363A (ja) * | 2018-06-25 | 2020-01-09 | タタ コンサルタンシー サービシズ リミテッドTATA Consultancy Services Limited | 複数の静的解析アラームを再配置するための方法およびシステム |
JP2020038482A (ja) * | 2018-09-04 | 2020-03-12 | 富士通株式会社 | プログラム検証プログラム、プログラム検証方法およびプログラム検証装置 |
JP7111967B2 (ja) | 2018-09-04 | 2022-08-03 | 富士通株式会社 | プログラム検証プログラム、プログラム検証方法およびプログラム検証装置 |
Also Published As
Publication number | Publication date |
---|---|
JP5706940B2 (ja) | 2015-04-22 |
US20140089738A1 (en) | 2014-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9720798B2 (en) | Simulating black box test results using information from white box testing | |
US20200218533A1 (en) | Code analytics and publication platform | |
US20080126867A1 (en) | Method and system for selective regression testing | |
GB2536084A (en) | A system and method for accessibility assessment of a web application | |
US20170075795A1 (en) | Identifying test gaps using code execution paths | |
US9195570B2 (en) | Progressive black-box testing of computer software applications | |
US11888885B1 (en) | Automated security analysis of software libraries | |
JP5706940B2 (ja) | ランタイム実行障害のソースを識別するシステム及び方法 | |
US20170132121A1 (en) | Incremental code coverage analysis using automatic breakpoints | |
US11194703B2 (en) | System testing infrastructure for analyzing soft failures in active environment | |
JP2014170530A (ja) | 静的解析中に発生した警告をグループ化するシステムおよび方法 | |
Rana et al. | A review of tools and techniques used in software testing | |
US10725895B2 (en) | Measuring and improving test coverage | |
Heelan et al. | Augmenting vulnerability analysis of binary code | |
US11132286B1 (en) | Dynamic reordering of test case execution | |
US11609842B2 (en) | System testing infrastructure for analyzing and preventing soft failure in active environment | |
US20190102285A1 (en) | Testing pre and post system call exits | |
US20160041897A1 (en) | Generation of automated unit tests for a controller layer system and method | |
JP5778808B2 (ja) | エントリーポイントを参照したソフトウェアアプリケーション解析システムおよび方法 | |
Cai et al. | Analysis for cloud testing of web application | |
Mariano et al. | Comparing graph-based algorithms to generate test cases from finite state machines | |
US10467131B1 (en) | Method and system for performance analysis by test automation frameworks | |
US11593256B2 (en) | System testing infrastructure for detecting soft failure in active environment | |
Ahmed et al. | An Adaptation Model for Android Application Testing with Refactoring | |
CN115176233A (zh) | 以确定性顺序执行测试 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140930 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141028 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150115 |
|
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: 20150224 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150227 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5706940 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |