JP2015179312A - 情報処理装置、情報処理方法およびプログラム - Google Patents
情報処理装置、情報処理方法およびプログラム Download PDFInfo
- Publication number
- JP2015179312A JP2015179312A JP2014055360A JP2014055360A JP2015179312A JP 2015179312 A JP2015179312 A JP 2015179312A JP 2014055360 A JP2014055360 A JP 2014055360A JP 2014055360 A JP2014055360 A JP 2014055360A JP 2015179312 A JP2015179312 A JP 2015179312A
- Authority
- JP
- Japan
- Prior art keywords
- information
- feature information
- source code
- feature
- similarity
- 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
- 230000010365 information processing Effects 0.000 title claims description 34
- 238000003672 processing method Methods 0.000 title claims description 8
- 238000004458 analytical method Methods 0.000 claims abstract description 149
- 230000008859 change Effects 0.000 claims description 11
- 239000000284 extract Substances 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 abstract description 4
- 238000000034 method Methods 0.000 description 47
- 238000012545 processing Methods 0.000 description 22
- 238000012360 testing method Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 12
- 238000011156 evaluation Methods 0.000 description 9
- 238000012552 review Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000006872 improvement Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001151 other effect Effects 0.000 description 1
- 239000013585 weight reducing agent Substances 0.000 description 1
Images
Classifications
-
- 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/71—Version control; Configuration management
-
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/75—Structural analysis for program understanding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
cos(x,y)=xyT/|x||y| ・・・(1)
cos(x,y)=5/6≒0.8 ・・・(2)
101 受付部
102 記憶部
103 解析部
104 判定部
105 出力制御部
301 解析対象スコープ
302 特徴情報
303 スコープ位置情報
304 特徴情報
305 辞書
306 辞書群
307 解析結果
308 解析結果群
309 判定結果
310 判定結果群
311 補助情報
Claims (15)
- 1以上のソースコードの特徴をそれぞれ表す1以上の第1特徴情報と、前記ソースコードの更新状況を表す1以上の補助情報と、を対応づけて記憶する記憶部と、
解析対象とするソースコードの特徴を表す第2特徴情報の入力を受け付ける受付部と、
前記第1特徴情報と前記第2特徴情報との類似度を算出する解析部と、
前記類似度に基づいて、前記記憶部に記憶された前記補助情報から、出力する前記補助情報を選択する判定部と、
選択された前記補助情報を出力する出力制御部と、
を備える情報処理装置。 - 前記補助情報は、前記ソースコードの更新の履歴を表す情報、前記ソースコードの更新の目的を表す情報、および、前記ソースコードの更新前後のコストまたは性能の変化を表す情報、のうち少なくとも1つを含む、
請求項1に記載の情報処理装置。 - 前記出力制御部は、選択された前記補助情報に対応する前記第1特徴情報と前記第2特徴情報との類似度をさらに出力する、
請求項1に記載の情報処理装置。 - 前記受付部は、さらに、解析対象とするソースコードを特定する特定情報の入力を受け付け、
前記出力制御部は、前記特定情報で特定されるソースコードと、選択された前記補助情報と、を対応づけて出力する、
請求項1に記載の情報処理装置。 - 前記受付部は、前記第2特徴情報から、前記第1特徴情報と比較する第3特徴情報を抽出し、
前記解析部は、前記第3特徴情報と前記第1特徴情報との類似度を算出する、
請求項1に記載の情報処理装置。 - 1以上のソースコードの特徴をそれぞれ表す1以上の第1特徴情報と、前記ソースコードの更新状況を表す1以上の補助情報と、を対応づけて記憶する記憶部を備えるコンピュータを、
解析対象とするソースコードの特徴を表す第2特徴情報の入力を受け付ける受付部と、
前記第1特徴情報と前記第2特徴情報との類似度を算出する解析部と、
前記類似度に基づいて、前記記憶部に記憶された前記補助情報から、出力する前記補助情報を選択する判定部と、
選択された前記補助情報を出力する出力制御部、
として機能させるためのプログラム。 - 前記補助情報は、前記ソースコードの更新の履歴を表す情報、前記ソースコードの更新の目的を表す情報、および、前記ソースコードの更新前後のコストまたは性能の変化を表す情報、のうち少なくとも1つを含む、
請求項6に記載のプログラム。 - 前記出力制御部は、選択された前記補助情報に対応する前記第1特徴情報と前記第2特徴情報との類似度をさらに出力する、
請求項6に記載のプログラム。 - 前記受付部は、さらに、解析対象とするソースコードを特定する特定情報の入力を受け付け、
前記出力制御部は、前記特定情報で特定されるソースコードと、選択された前記補助情報と、を対応づけて出力する、
請求項6に記載のプログラム。 - 前記受付部は、前記第2特徴情報から、前記第1特徴情報と比較する第3特徴情報を抽出し、
前記解析部は、前記第3特徴情報と前記第1特徴情報との類似度を算出する、
請求項6に記載のプログラム。 - 1以上のソースコードの特徴をそれぞれ表す1以上の第1特徴情報と、前記ソースコードの更新状況を表す1以上の補助情報と、を対応づけて記憶する記憶部を備える情報処理装置で実行される情報処理方法であって、
解析対象とするソースコードの特徴を表す第2特徴情報の入力を受け付ける受付ステップと、
前記第1特徴情報と前記第2特徴情報との類似度を算出する解析ステップと、
前記類似度に基づいて、前記記憶部に記憶された前記補助情報から、出力する前記補助情報を選択する選択ステップと、
選択された前記補助情報を出力する出力制御ステップと、
を含む情報処理方法。 - 前記補助情報は、前記ソースコードの更新の履歴を表す情報、前記ソースコードの更新の目的を表す情報、および、前記ソースコードの更新前後のコストまたは性能の変化を表す情報、のうち少なくとも1つを含む、
請求項11に記載の情報処理方法。 - 前記出力制御ステップは、選択された前記補助情報に対応する前記第1特徴情報と前記第2特徴情報との類似度をさらに出力する、
請求項11に記載の情報処理方法。 - 前記受付ステップは、さらに、解析対象とするソースコードを特定する特定情報の入力を受け付け、
前記出力制御ステップは、前記特定情報で特定されるソースコードと、選択された前記補助情報と、を対応づけて出力する、
請求項11に記載の情報処理方法。 - 前記受付ステップは、前記第2特徴情報から、前記第1特徴情報と比較する第3特徴情報を抽出し、
前記解析ステップは、前記第3特徴情報と前記第1特徴情報との類似度を算出する、
請求項11に記載の情報処理方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014055360A JP6309795B2 (ja) | 2014-03-18 | 2014-03-18 | 情報処理装置、情報処理方法およびプログラム |
US14/638,008 US9495150B2 (en) | 2014-03-18 | 2015-03-04 | Information processing apparatus and method, and computer program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014055360A JP6309795B2 (ja) | 2014-03-18 | 2014-03-18 | 情報処理装置、情報処理方法およびプログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015179312A true JP2015179312A (ja) | 2015-10-08 |
JP6309795B2 JP6309795B2 (ja) | 2018-04-11 |
Family
ID=54142185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014055360A Expired - Fee Related JP6309795B2 (ja) | 2014-03-18 | 2014-03-18 | 情報処理装置、情報処理方法およびプログラム |
Country Status (2)
Country | Link |
---|---|
US (1) | US9495150B2 (ja) |
JP (1) | JP6309795B2 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021002158A (ja) * | 2019-06-20 | 2021-01-07 | 富士通株式会社 | 分析対象特定プログラム、分析対象特定方法、情報処理装置 |
JP7290784B1 (ja) | 2022-04-18 | 2023-06-13 | 中国長江三峡集団有限公司 | コード類似性に基づくファジーテスト方法、装置及び記憶媒体 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9792114B1 (en) * | 2016-10-10 | 2017-10-17 | Semmle Limited | Source code element signatures |
US10592392B2 (en) * | 2016-11-15 | 2020-03-17 | International Business Machines Corporation | System and method for predictive performance analysis via dynamic benchmark generation |
CN109213515B (zh) * | 2018-07-12 | 2021-10-29 | 创新先进技术有限公司 | 多平台下埋点归一方法及装置和电子设备 |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011081496A (ja) * | 2009-10-05 | 2011-04-21 | Toshiba Corp | 成果物レビュー支援装置 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5974254A (en) * | 1997-06-06 | 1999-10-26 | National Instruments Corporation | Method for detecting differences between graphical programs |
JP4560608B2 (ja) | 2006-08-11 | 2010-10-13 | 国立大学法人神戸大学 | 類似度評価プログラム、類似度評価装置及び類似度評価方法 |
US8645936B2 (en) * | 2009-09-30 | 2014-02-04 | Zynga Inc. | Apparatuses, methods and systems for an a API call abstractor |
JP5564448B2 (ja) | 2011-02-08 | 2014-07-30 | 株式会社日立製作所 | ソフトウェアの類似性評価方法 |
JP5273884B1 (ja) * | 2012-04-09 | 2013-08-28 | 伸一 石田 | 構造解析装置及びプログラム |
US9047403B2 (en) * | 2013-02-11 | 2015-06-02 | International Business Machines Corporation | Debugger with previous version feature |
-
2014
- 2014-03-18 JP JP2014055360A patent/JP6309795B2/ja not_active Expired - Fee Related
-
2015
- 2015-03-04 US US14/638,008 patent/US9495150B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011081496A (ja) * | 2009-10-05 | 2011-04-21 | Toshiba Corp | 成果物レビュー支援装置 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021002158A (ja) * | 2019-06-20 | 2021-01-07 | 富士通株式会社 | 分析対象特定プログラム、分析対象特定方法、情報処理装置 |
JP7290784B1 (ja) | 2022-04-18 | 2023-06-13 | 中国長江三峡集団有限公司 | コード類似性に基づくファジーテスト方法、装置及び記憶媒体 |
JP2023158623A (ja) * | 2022-04-18 | 2023-10-30 | 中国長江三峡集団有限公司 | コード類似性に基づくファジーテスト方法、装置及び記憶媒体 |
Also Published As
Publication number | Publication date |
---|---|
US9495150B2 (en) | 2016-11-15 |
JP6309795B2 (ja) | 2018-04-11 |
US20150268953A1 (en) | 2015-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6309795B2 (ja) | 情報処理装置、情報処理方法およびプログラム | |
WO2019075390A1 (en) | BOX BLACK MATCHING MOTOR | |
EP3679483A1 (en) | Pruning engine | |
JP2017041171A (ja) | テストシナリオ生成支援装置およびテストシナリオ生成支援方法 | |
CN116406459A (zh) | 一种代码处理方法、装置、设备及介质 | |
CN116305158A (zh) | 一种基于切片代码依赖图语义学习的漏洞识别方法 | |
US9563635B2 (en) | Automated recognition of patterns in a log file having unknown grammar | |
CN110750297A (zh) | 一种基于程序分析和文本分析的Python代码参考信息生成方法 | |
US9002772B2 (en) | Scalable rule-based processing system with trigger rules and rule evaluator | |
JPWO2014064777A1 (ja) | 文書評価支援システム、及び文書評価支援方法 | |
JP2017204080A (ja) | 情報処理装置、コンパイル方法及びコンパイラプログラム | |
US20190294637A1 (en) | Similar data search device, similar data search method, and recording medium | |
US11416246B2 (en) | Information processing apparatus, analysis system, analysis method, and non-transitory computer readable medium storing analysis program | |
CN111898762B (zh) | 深度学习模型目录创建 | |
JP6111150B2 (ja) | ソースコード解析装置、ソースコード解析方法、及びプログラム | |
JP6364332B2 (ja) | 仕様生成方法、仕様生成装置、及びプログラム | |
US20170220585A1 (en) | Sentence set extraction system, method, and program | |
WO2016189721A1 (ja) | ソースコード評価装置及びソースコード評価方法及びソースコード評価プログラム | |
US11281747B2 (en) | Predicting variables where a portion are input by a user and a portion are predicted by a system | |
JP5900212B2 (ja) | テストデータ生成装置、該プログラム、及び該方法 | |
KR20210153912A (ko) | 키워드 빈도수와 영역 중요도 분석 기반 딥러닝 문서 분석 시스템 및 방법 | |
JP5487078B2 (ja) | ソフトウェア資産整理方法及び装置 | |
JP2016051367A (ja) | データ解析装置、データ解析方法、および、プログラム。 | |
JP6954080B2 (ja) | 情報処理装置、分析プログラムおよび分析方法 | |
JPWO2018116522A1 (ja) | 判定装置、判定方法及び判定プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20151102 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160830 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170630 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170801 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170920 |
|
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: 20180213 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180315 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6309795 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |