JP2017201450A5 - - Google Patents

Download PDF

Info

Publication number
JP2017201450A5
JP2017201450A5 JP2016092603A JP2016092603A JP2017201450A5 JP 2017201450 A5 JP2017201450 A5 JP 2017201450A5 JP 2016092603 A JP2016092603 A JP 2016092603A JP 2016092603 A JP2016092603 A JP 2016092603A JP 2017201450 A5 JP2017201450 A5 JP 2017201450A5
Authority
JP
Japan
Prior art keywords
character string
different
codes
words
replacement
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
Application number
JP2016092603A
Other languages
English (en)
Other versions
JP6649584B2 (ja
JP2017201450A (ja
Filing date
Publication date
Application filed filed Critical
Priority to JP2016092603A priority Critical patent/JP6649584B2/ja
Priority claimed from JP2016092603A external-priority patent/JP6649584B2/ja
Publication of JP2017201450A publication Critical patent/JP2017201450A/ja
Publication of JP2017201450A5 publication Critical patent/JP2017201450A5/ja
Application granted granted Critical
Publication of JP6649584B2 publication Critical patent/JP6649584B2/ja
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (8)

  1. コンピュータが、
    互いに類似する複数のコードそれぞれにおいて共通の箇所に記述され互いに相違する複数の単語を抽出し、前記複数の単語の間で相違する相違文字の位置を検出し、
    前記複数の単語それぞれのうち、前記位置の前方に連なる1以上の文字および前記位置の後方に連なる1以上の文字の両方または何れか一方と前記相違文字とを含む文字列を、パラメータ化の対象部分とする置換文字列と決定し、
    前記複数のコードそれぞれの前記置換文字列の情報を出力する、
    パラメータ化方法。
  2. 前記決定では、前記複数のコードと前記置換文字列の候補とを用いて作成される共通コードに含まれるパラメータの数に基づいて、前記置換文字列を決定する、請求項1記載のパラメータ化方法。
  3. 前記決定では、前記置換文字列の複数の候補のうち前記複数の候補それぞれに応じた共通コードに含まれる前記パラメータの数が少ない候補を優先的に選択することで、前記置換文字列を決定する、請求項2記載のパラメータ化方法。
  4. 前記決定では、更に、前記複数の単語それぞれに含まれる所定の文字または隣接する文字の種類の変化に応じて前記置換文字列を決定する、請求項2または3記載のパラメータ化方法。
  5. 前記複数のコード、および、前記複数のコードそれぞれの前記置換文字列の情報に基づいて、各コードの前記置換文字列をパラメータに置換した共通コードを出力する、請求項1乃至4の何れか1項に記載のパラメータ化方法。
  6. 前記抽出では、前記複数のコードそれぞれにおいて、処理内容を示す予約語の記述が一致し、変数名が相違する箇所から、相違する当該変数名を抽出する、請求項1乃至5の何れか1項に記載のパラメータ化方法。
  7. 互いに類似する複数のコードを記憶する記憶部と、
    前記複数のコードそれぞれにおいて共通の箇所に記述され互いに相違する複数の単語を抽出し、前記複数の単語の間で相違する相違文字の位置を検出し、前記複数の単語それぞれのうち、前記位置の前方に連なる1以上の文字および前記位置の後方に連なる1以上の文字の両方または何れか一方と前記相違文字とを含む文字列を、パラメータ化の対象部分とする置換文字列と決定し、前記複数のコードそれぞれの前記置換文字列の情報を出力する演算部と、
    を有する情報処理装置。
  8. コンピュータに、
    互いに類似する複数のコードそれぞれにおいて共通の箇所に記述され互いに相違する複数の単語を抽出し、前記複数の単語の間で相違する相違文字の位置を検出し、
    前記複数の単語それぞれのうち、前記位置の前方に連なる1以上の文字および前記位置の後方に連なる1以上の文字の両方または何れか一方と前記相違文字とを含む文字列を、パラメータ化の対象部分とする置換文字列と決定し、
    前記複数のコードそれぞれの前記置換文字列の情報を出力する、
    処理を実行させるパラメータ化プログラム。
JP2016092603A 2016-05-02 2016-05-02 パラメータ化方法、情報処理装置およびパラメータ化プログラム Active JP6649584B2 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016092603A JP6649584B2 (ja) 2016-05-02 2016-05-02 パラメータ化方法、情報処理装置およびパラメータ化プログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016092603A JP6649584B2 (ja) 2016-05-02 2016-05-02 パラメータ化方法、情報処理装置およびパラメータ化プログラム

Publications (3)

Publication Number Publication Date
JP2017201450A JP2017201450A (ja) 2017-11-09
JP2017201450A5 true JP2017201450A5 (ja) 2019-02-28
JP6649584B2 JP6649584B2 (ja) 2020-02-19

Family

ID=60264942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016092603A Active JP6649584B2 (ja) 2016-05-02 2016-05-02 パラメータ化方法、情報処理装置およびパラメータ化プログラム

Country Status (1)

Country Link
JP (1) JP6649584B2 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112015641B (zh) * 2020-08-22 2022-02-01 南京工业大学 一种基于多粒度级联森林模型的代码异味检测方法

Similar Documents

Publication Publication Date Title
JP2008287744A5 (ja)
RU2016133850A (ru) Определение задач в сообщениях
JP2017536601A5 (ja)
JP2017531372A5 (ja)
JP2016503216A5 (ja)
GB2555544A9 (en) International multi-language implementation method of configuration software
RU2016150428A (ru) Заполнение записей контактов пользователя
RU2015151699A (ru) Извлечение сущностей из текстов на естественном языке
WO2013019869A3 (en) Data fingerpringting for copy accuracy assurance
JP6324969B2 (ja) 手書き入力の進捗状況の表示
RU2015103466A (ru) Система и способ создания и использования пользовательских онтологических моделей для обработки пользовательского текста на естественном языке
JP2017507479A5 (ja)
JP2016539435A5 (ja)
JP2010009509A5 (ja)
JP2018128996A5 (ja)
JP2016085697A5 (ja)
JP2018509847A5 (ja)
GB2571685A (en) An apparatus and method for processing input operand values
JP2014149848A5 (ja)
JP2017527013A5 (ja)
JP2012243033A5 (ja)
JP2018081350A5 (ja)
WO2019092868A1 (ja) 情報処理装置、情報処理方法及びコンピュータ読み取り可能な記録媒体
JP2014219834A5 (ja)
JP2015148947A5 (ja)