JP5933470B2 - Development support apparatus, development support method, and development support program - Google Patents
Development support apparatus, development support method, and development support program Download PDFInfo
- Publication number
- JP5933470B2 JP5933470B2 JP2013049654A JP2013049654A JP5933470B2 JP 5933470 B2 JP5933470 B2 JP 5933470B2 JP 2013049654 A JP2013049654 A JP 2013049654A JP 2013049654 A JP2013049654 A JP 2013049654A JP 5933470 B2 JP5933470 B2 JP 5933470B2
- Authority
- JP
- Japan
- Prior art keywords
- score
- decision table
- design document
- importance
- development support
- 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.)
- Active
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Description
本発明は、開発支援装置、開発支援方法、および開発支援プログラムに関する。 The present invention relates to a development support apparatus, a development support method, and a development support program.
各種のハードウェアやソフトウェアを開発する際、設計工程においては、設計書を作成し、作成した設計書に基づきシステムが開発される。設計書の品質は、開発されるシステムの品質を左右する。このため、有識者である第三者が設計書を目視により確認することで、設計書の品質向上が行われている。 When developing various hardware and software, in the design process, a design document is created, and a system is developed based on the created design document. The quality of the design document determines the quality of the system being developed. For this reason, the quality of a design document is improved by a third person who is an expert who visually confirms the design document.
また、近年、設計の規模が巨大化してきている。このように巨大化した設計においては、設計品質の向上のため、設計品質の可視化が求められている。例えば、特許文献1では、設計品質の向上のため、設計データ、検証データ、検証結果のいずれか又は全てを含む設計情報から、設計品質情報を分析して生成するシステムが提案されている。また、特許文献1の技術では、設計を開始するとき、検証データや検証結果は取得できないため、例えば、ハードウェアの図面データおよびハードウェアの記述データを入力値とし、これらの入力値を用いてシミュレータで検証処理を行っていた。
In recent years, the scale of design has become enormous. In such an enormous design, visualization of the design quality is required in order to improve the design quality. For example,
しかしながら、特許文献1では、設計書の記載ミス等による設計品質を評価できても、設計書の記載抜け等を網羅して評価することが困難であるという課題があった。
However, in
本発明は、上記の問題点に鑑みてなされたものであって、設計書を評価することで設計品質の向上を支援する開発支援装置、開発支援方法、および開発支援プログラムを提供することを目的としている。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a development support apparatus, a development support method, and a development support program that support improvement in design quality by evaluating a design document. It is said.
上記目的を達成するため、本発明に係る開発支援装置は、設計書に含まれる入力要素の条件の組み合わせと、当該条件の組み合わせに応じた出力要素の処理とを対応づけたデシジョンテーブルを作成するデシジョンテーブル作成部と、前記デシジョンテーブル作成部が作成した前記デシジョンテーブルに基づいて、前記設計書の品質を示すスコアを算出するスコア算出部と、を備えることを特徴としている。 In order to achieve the above object, the development support apparatus according to the present invention creates a decision table in which a combination of input element conditions included in a design document and an output element process corresponding to the combination of conditions are associated with each other. A decision table creation unit; and a score calculation unit that calculates a score indicating the quality of the design document based on the decision table created by the decision table creation unit.
また、本発明に係る開発支援装置であって、前記スコア算出部は、前記デシジョンテーブル作成部が作成した前記デシジョンテーブルに含まれる前記条件の組み合わせと、当該条件の組み合わせに応じた処理とについて、予め設定されたエラー条件に基づいてエラーの有無を判定するエラー判定処理を行い、判定した結果に応じて前記スコアを算出するようにしてもよい。 Further, in the development support apparatus according to the present invention, the score calculation unit, for the combination of the conditions included in the decision table created by the decision table creation unit, and processing according to the combination of the conditions, An error determination process for determining the presence or absence of an error may be performed based on a preset error condition, and the score may be calculated according to the determination result.
また、本発明に係る開発支援装置であって、前記スコア算出部は、前記エラーに応じた重要度を示す基準点に基づいて、前記設計書に対するスコアを算出するようにしてもよい。 Further, in the development support apparatus according to the present invention, the score calculation unit may calculate a score for the design document based on a reference point indicating importance according to the error.
また、本発明に係る開発支援装置であって、前記スコア算出部は、前記エラー判定処理における全ての判定個数と、当該エラー判定処理において、エラーがあると判定されたエラー個数との比に基づいて、前記スコアを算出するようにしてもよい。 Further, in the development support apparatus according to the present invention, the score calculation unit is based on a ratio between all the determination numbers in the error determination process and the number of errors determined to have an error in the error determination process. Then, the score may be calculated.
また、本発明に係る開発支援装置において、第1の前記重要度には、第1の基準点が設定され、前記第1の重要度より重要度が低い第2の重要度には、前記第1の基準点より大きい値の第2の基準点が設定されているようにしてもよい。 In the development support apparatus according to the present invention, a first reference point is set for the first importance, and the second importance that is lower than the first importance is the first importance. A second reference point having a value larger than one reference point may be set.
また、本発明に係る開発支援装置であって、前記スコア算出部は、前記第1の基準点を前記第1の重要度に対するエラー個数分だけ乗算した第1の乗算値に、前記第2の基準点を前記第2の重要度に対するエラー個数分だけ乗算した第2の乗算値を乗算して前記設計書に対するスコアを算出するようにしてもよい。 Further, in the development support apparatus according to the present invention, the score calculation unit adds the first multiplication value obtained by multiplying the first reference point by the number of errors with respect to the first importance, and the second multiplication value. A score for the design document may be calculated by multiplying a second multiplication value obtained by multiplying the reference point by the number of errors corresponding to the second importance.
上記目的を達成するため、本発明に係る開発支援装置における開発支援方法は、開発支援装置における開発支援方法であって、設計書に含まれる入力要素の条件の組み合わせと、当該条件の組み合わせに応じた出力要素の処理とを対応づけたデシジョンテーブルを作成するデシジョンテーブル作成手順と、スコア算出部が、前記デシジョンテーブル作成手順により作成された前記デシジョンテーブルに基づいて、前記設計書の品質を示すスコアを算出するスコア算出手順と、を含むことを特徴としている。 In order to achieve the above object, a development support method in a development support apparatus according to the present invention is a development support method in a development support apparatus, and a combination of input element conditions included in a design document and a combination of the conditions A decision table creation procedure for creating a decision table in association with the processing of the output element, and a score indicating the quality of the design document based on the decision table created by the decision table creation procedure. And a score calculation procedure for calculating.
上記目的を達成するため、本発明に係る開発支援プログラムは、開発支援装置のコンピュータに、設計書に含まれる入力要素の条件の組み合わせと、当該条件の組み合わせに応じた出力要素の処理とを対応づけたデシジョンテーブルを作成するデシジョンテーブル作成手順と、前記デシジョンテーブル作成手順により作成された前記デシジョンテーブルに基づいて、前記設計書の品質を示すスコアを算出するスコア算出手順と、を実行させることを特徴としている。 In order to achieve the above object, the development support program according to the present invention supports a combination of input element conditions included in a design document and output element processing corresponding to the combination of conditions in a computer of the development support apparatus. A decision table creation procedure for creating a decision table and a score calculation procedure for calculating a score indicating the quality of the design document based on the decision table created by the decision table creation procedure. It is a feature.
本発明によれば、開発支援装置は、設計書から作成したデシジョンテーブルに基づいてスコアを算出するため、設計品質の向上を支援できる。 According to the present invention, since the development support apparatus calculates a score based on a decision table created from a design document, it can support improvement in design quality.
以下、図面を用いて、本発明の実施形態について説明する。なお、本発明は係る実施形態に限定されず、その技術思想の範囲内で種々の変更が可能である。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, this invention is not limited to the embodiment which concerns, A various change is possible within the range of the technical thought.
[第1の実施形態]
図1は、本実施形態に係る開発支援装置1の概略構成図である。
図1に示すように、開発支援装置1は、入力部10、入出力要素抽出部(デシジョンテーブル作成部)20、処理抽出部(デシジョンテーブル作成部)30、デシジョンテーブル作成部40、データベース50、スコア算出部60、および出力部70を備えている。
[First Embodiment]
FIG. 1 is a schematic configuration diagram of a
As shown in FIG. 1, the
まず、図2〜図5を用いて、設計書の例を説明する。
また、図2〜図5は、設計書の一例を説明する図である。図2は、設計書における入力データの一例を説明する図である。図3は、設計書における検索の条件の一例と、検索した結果行われる内容を確認する一例を説明する図である。図4は、設計書における出力される項目(画面出力項目)の一例を説明する図である。図5は、設計書におけるエラー処理の一例を説明する図である。なお、図2〜図5に示した例は、日本国内への旅行ツアーに関する処理を行うシステムの設計書の例である。
First, an example of a design document will be described with reference to FIGS.
Moreover, FIGS. 2-5 is a figure explaining an example of a design document. FIG. 2 is a diagram illustrating an example of input data in a design document. FIG. 3 is a diagram for explaining an example of a search condition in the design document and an example of confirming the content to be performed as a result of the search. FIG. 4 is a diagram illustrating an example of items (screen output items) output in the design document. FIG. 5 is a diagram for explaining an example of error processing in a design document. The examples shown in FIGS. 2 to 5 are examples of a design document for a system that performs processing related to a travel tour into Japan.
図2〜図5に示した例では、設計書は、テキスト形式および表形式で記述されている。なお、設計書には、フローチャート、シーケンス図等の図のデータが含まれていても良い。
図2に示すように、入力データの項目番号、論理項目名、チェック内容が関連づけられて記述されている。例えば、項目番号“1”は、論理項目名“出発日”、チェック内容“出発日が存在する日付であるか検証する。存在しない場合は、5.1を実施する”が記述されている。なお、入力データにおいて『出発日』とは、出発日(年)、出発日(月)、および出発日(日)により構成される。また、チェック内容において、“5.1”等は、検証した結果に応じて、次に行われる項目番号を表している。例えば、“5.1”は、図5における項目番号1である。
In the example shown in FIGS. 2 to 5, the design document is described in a text format and a table format. The design document may include data such as flowcharts and sequence diagrams.
As shown in FIG. 2, the item number, logical item name, and check content of the input data are described in association with each other. For example, the item number “1” describes the logical item name “departure date” and the check content “verifies whether the departure date exists. If not, 5.1 is executed” is described. In the input data, “departure date” includes a departure date (year), a departure date (month), and a departure date (day). In the check contents, “5.1” or the like represents an item number to be performed next according to the verified result. For example, “5.1” is
次に、図3に示すように、検索の条件の一例として、ツアー情報の検索条件2.1〜2.3が記述されている。また、検索条件2.3は、図3に示すように、2.3.1と2.3.2とが記述されている。
さらに、図3に示すように、検索した結果行われる内容を確認する一例として、3.1および3.2が記述されている。また、図3において、“4.画面出力項目の設定を実施する”とは、図4に示した設定を実施することを表している。
Next, as shown in FIG. 3, tour information search conditions 2.1 to 2.3 are described as an example of search conditions. In the search condition 2.3, as shown in FIG. 3, 2.3.1 and 2.3.2 are described.
Furthermore, as shown in FIG. 3, 3.1 and 3.2 are described as an example for confirming the contents to be performed as a result of the search. In FIG. 3, “4. Perform setting of screen output item” indicates that the setting shown in FIG. 4 is performed.
次に、図4に示すように、出力される項目(画面出力項目)の一例として、項目番号、項目名、必須、項目の説明、出力先、備考が関連づけられて記述されている。例えば、項目番号“1”には、項目名“ツアー情報一覧”、必須“○”、項目の説明“ツアー情報の検索結果”、出力先“ツアー検索画面”、および備考“(空欄)”が関連づけられて記述されている。ここで、必須において、“○”は、画面に表表される必要がある情報を表し、“(空欄)”は、画面に表示されなくてもよい情報を表している。また、項目名の説明において、“ツアー情報検索結果”とは、図3に示したツアー情報の検索を行った結果を画面上のツアー検索画面に表示することを表している。また、備考における“(空欄)”は、その項目に対する備考が記述されていないことを表している。 Next, as shown in FIG. 4, as an example of an output item (screen output item), an item number, an item name, essential information, an item description, an output destination, and remarks are described in association with each other. For example, the item number “1” includes an item name “tour information list”, required “O”, item description “tour information search result”, output destination “tour search screen”, and remarks “(blank)”. It is associated and described. Here, indispensable, “◯” represents information that needs to be displayed on the screen, and “(blank)” represents information that may not be displayed on the screen. In the description of the item name, “tour information search result” represents that the result of the tour information search shown in FIG. 3 is displayed on the tour search screen on the screen. In addition, “(blank)” in the remarks indicates that no remarks are described for the item.
次に、図5に示すように、エラー処理の一例において、項目番号、項目名、必須、処理の内容、出力先、および備考が関連づけられて記述されている。例えば、項目番号“1”には、項目名“メッセージ”、必須“○”、処理の内容“第11メッセージを表示”、出力先“検索画面”、および備考“(空欄)”が関連づけられて記述されている。すなわち、設計書には、図2に示した項目番号1の入力データにおいて、出発日が存在しない場合、検索画面に第11メッセージが表示されることが記述されている。
Next, as shown in FIG. 5, in an example of error processing, an item number, an item name, essentiality, processing contents, an output destination, and remarks are described in association with each other. For example, the item number “1” is associated with the item name “message”, required “o”, processing content “display eleventh message”, output destination “search screen”, and remarks “(blank)”. It has been described. That is, the design document describes that the eleventh message is displayed on the search screen when there is no departure date in the input data of
図1に戻って、開発支援装置1の説明を続ける。
入力部10は、図2〜図5に示したような設計書のデータ(以下、設計書データという)を取得し、取得した設計書データを入出力要素抽出部20に出力する。
入出力要素抽出部20は、入力部10から入力された設計書データから入力要素と出力要素(以下、入出力要素という)を抽出する。入出力要素抽出部20は、抽出した入出力要素と設計書データとを処理抽出部30に出力する。
Returning to FIG. 1, the description of the
The
The input / output
処理抽出部30は、入出力要素抽出部20から入力された入出力要素に基づいて、設計書データから出力要素のアクション(処理)を抽出する。処理抽出部30は、抽出した出力要素の処理と、入出力要素抽出部20から入力された入出力要素および設計書データとをデシジョンテーブル作成部40に出力する。
The
デシジョンテーブル作成部40は、処理抽出部30から入力された入出力要素の中から入力要素を抽出し、抽出した入力要素の条件を、データベース50に格納されている情報および設計書データに基づいて決定する。ここで、入力要素の条件とは、入力要素が存在する値である場合、入力要素が存在しない値である場合等の条件である。次に、デシジョンテーブル作成部40は、データベース50に格納されている情報を用いて、入力要素に対する条件の組み合わせであるルールを生成し、生成したルールをNとYとを用いて表すことでデシジョンテーブルを作成する。
デシジョンテーブル作成部40は、データベース50に格納されている情報を用いて、処理抽出部30から入力された出力要素、出力要素の処理をデシジョンテーブルに記載する。ここで、デシジョンテーブルとは、ブラックボックステスト技法の1つであり、入力(条件)と出力(結果、アクション)との論理関係を表に整理して、テスト項目を作成する技法である。なお、入力要素の抽出、出力要素の抽出、出力要素の処理の抽出は、デシジョンテーブル作成部40が行うようにしてもよい。
The decision
The decision
データベース50には、設計書から入力要素、出力要素等を検出するための言語モデルや係り受け解析に必要な情報等が予め格納されている。
The
図6は、図2〜図5の設計書の一部をデシジョンテーブルにした例を説明する図である。図6に示すように、入出力要素抽出部20は、設計書から入力要素として、出発日、出発地、目的地、日数を抽出する。また、入出力要素抽出部20は、設計書から出力要素として、ツアー情報名、メッセージを抽出する。デシジョンテーブル作成部40は、各入力要素について、データベース50に格納されている情報および設計書から入力要素の条件を決定する。例えば、デシジョンテーブル作成部40は、入力要素“出発日”について、4つの入力要素の条件を決定する。4つの入力要素の条件は、図6に示すように、存在しない、存在する、予約不可能、予約可能である。また、処理抽出部30は、各要素について、設計書から出力要素の処理(アクション)を抽出する。
FIG. 6 is a diagram for explaining an example in which a part of the design document of FIGS. 2 to 5 is used as a decision table. As shown in FIG. 6, the input / output
例えば、図6において、入出力要素抽出部20は、図2の論理項目名から、出発日、出発地、目的地を入力要素として抽出する。また、デシジョンテーブル作成部40は、出発日について、チェック内容に記載されている“存在する”、“存在しない”を条件として抽出する。なお、存在しない日付とは、例えば2月30日など、カレンダー上に存在しない日付である。デシジョンテーブル作成部40は、このように抽出された入出力要素、入力要素の条件、出力要素の処理に基づいて、図6に示したようにデシジョンテーブルを作成する。
For example, in FIG. 6, the input / output
また、図6において、ルールは、要素の論理的な組み合わせである。例えば、ルール“1”は、入力要素“出発日”の条件“存在しない”が“Y”、入力要素“出発日”の条件“存在する”が“N”の組み合わせである。ここで、“Y”は、Yes、すなわち真を表し、“N”は、No、すなわち偽を表している。また、入力要素において、“−”は、論理が“Y”でも“N”でもよいことを表している。一方、出力要素において、“−”は、アクションを実行しないことを表している。 In FIG. 6, the rule is a logical combination of elements. For example, the rule “1” is a combination in which the condition “existing” of the input element “departure date” is “Y” and the condition “existing” of the input element “departure date” is “N”. Here, “Y” represents Yes, that is, true, and “N” represents No, that is, false. In the input element, “-” indicates that the logic may be “Y” or “N”. On the other hand, “-” in the output element indicates that no action is executed.
例えば、ルール“1”の場合、出力されるのは、“メッセージ”のうち“第1エラーメッセージ”であるため、アクション“第1エラーメッセージ”に“X”マークが設定されている。この意味は、ルール“1”の場合、Xを行う、すなわち、“第1エラーメッセージ”を表示することを表している。
このように、図6に示した例では、ルール“1”〜“7”毎に行われるアクションに“X”マークが設定されている。なお、デシジョンテーブル作成部40は、このようなデシジョンテーブルを、例えば、設計単位毎に作成するようにしてもよい。設計単位とは、設計書におけるグループであり、例えば、図2〜図5に示したように、旅行ツアーの検索の処理を行うグループである。
For example, in the case of the rule “1”, since the “first error message” of the “message” is output, the “X” mark is set in the action “first error message”. This means that in the case of the rule “1”, X is performed, that is, “first error message” is displayed.
As described above, in the example shown in FIG. 6, the “X” mark is set for the action performed for each of the rules “1” to “7”. The decision
図1に戻って、開発支援装置1の説明を続ける。
スコア算出部60は、デシジョンテーブル作成部40が作成したデシジョンテーブルに基づいて、スコアを算出し、算出したスコアを出力部70に出力する。ここで、スコアとは、設計書の設計品質を表す値である。例えば、スコアは、0点から100点の間の点数で表され、値が小さいほど設計品質が低いことを示し、値が大きいほど設計品質が高いことを示す。また、スコアは、後述するように網羅性、理解容易性、正確性等の観点から算出される。なお、スコアの算出については、後述する。
出力部70は、スコア算出部60が出力したスコアを表示する。出力部70は、例えば画像表示装置である。また、出力部70は、印字機能を有していてもよい。
Returning to FIG. 1, the description of the
The
The
次に、スコア算出部60が行うスコアの算出について説明する。
図7は、スコアを説明するためのデシジョンテーブルの例である。
図7に示すように、入力要素は、第1入力要素〜第3入力要素であり、出力要素は、メッセージ、遷移先画面および次処理である。そして、第1入力要素〜第3入力要素の条件は、おのおの“存在しない”と“存在する”である。出力要素“メッセージ”のアクションは、“エラーメッセージ”の表示であり、出力要素“遷移先画面”のアクションは、遷移先の“画面”の表示である。また、出力要素“次処理”のアクションは、“処理”を行うである。デシジョンテーブル作成部40は、これらの入力要素の条件に合わせて、ルール“1”〜“5”の論理関係を生成する。
Next, score calculation performed by the
FIG. 7 is an example of a decision table for explaining the score.
As shown in FIG. 7, the input elements are first to third input elements, and the output elements are a message, a transition destination screen, and a next process. The conditions of the first input element to the third input element are “not present” and “present”, respectively. The action of the output element “message” is a display of “error message”, and the action of the output element “transition destination screen” is a display of “screen” of the transition destination. The action of the output element “next processing” is “processing”. The decision
まず、デシジョンテーブル作成部40は、入出力要素抽出部20によって設計書から抽出された入力要素をデシジョンテーブルに記載する。次に、デシジョンテーブル作成部40は、入力要素に対する条件の組み合わせであるルール“1”〜“5”を生成し、生成したルールをNとYとを用いて表すことでデシジョンテーブルを作成する。次に、デシジョンテーブル作成部40は、入出力要素抽出部20によって設計書から抽出された出力要素をデシジョンテーブルに記載する。次に、デシジョンテーブル作成部40は、処理抽出部30によって抽出された出力要素の処理を、デシジョンテーブルに記載する。デシジョンテーブル作成部40は、例えば、実行される出力要素の処理に対応する箇所に“X”マークを記載する。また、デシジョンテーブル作成部40は、実行されない出力要素の処理に対応する箇所に“−”マークを記載する。なお、図7の符号201で囲んだ領域の項目は、空欄である。この4項目の空欄は、遷移先画面として期待される画面が設計書からデシジョンテーブル作成部40が判断できなかったことを表している。また、上述したデシジョンテーブルの作成方法は一例であり、作成の手順、作成の方法はこれに限られない。
First, the decision
図7に示した例では、第1入力要素〜第3入力要素のうち、いずれか1つの要素が存在しない場合、“エラーメッセージ”を表示することが設計書に記述されている。また、第1入力要素〜第3入力要素のうち、全ての要素が存在する場合、“次処理”を行うことが設計書に記述されている。
符号202で囲んだ“X”は、ルール“4”において、アクション(処理)として“エラーメッセージ”の表示が期待されるのに、その処理が設計書に記載されていなかったことを表している。このため、符号202で囲んだ“X”は、整合性が取れていないことを表している。
In the example illustrated in FIG. 7, it is described in the design document that an “error message” is displayed when any one of the first to third input elements does not exist. Further, it is described in the design document that “next processing” is performed when all of the first to third input elements are present.
“X” surrounded by
図7において、例えば、ルール“1”の場合、まず、Xを行う、すなわち、“エラーメッセージ”を表示する。そして、設計書に従えば、遷移画面として“第1画面”が表示される。しかしながら、ルール“1”に対する遷移画面のセルが空欄のため、設計書に記載されてなかった、または、設計書の記載からは、“第1画面”を表示するか否かが判断できないことを表している。 In FIG. 7, for example, in the case of the rule “1”, X is first performed, that is, an “error message” is displayed. Then, according to the design document, the “first screen” is displayed as the transition screen. However, since the transition screen cell for rule “1” is blank, it was not described in the design document, or it cannot be determined from the description of the design document whether the “first screen” is displayed. Represents.
次に、デシジョンテーブル作成部40は、入力要素の条件の組み合わせと、組み合わせに応じた処理について、予め定められているエラー条件に基づいて、エラー判定処理を行う。デシジョンテーブル作成部40は、エラー判定処理の判定結果に応じて、図8に示したような判定結果テーブルを作成する。デシジョンテーブル作成部40は、例えば、入力要素の条件の組み合わせと出力要素の処理との組み合わせが網羅されていると判定した場合“OK”と記述し、網羅されていないと判定した場合“NG”と記述しなおして判定結果テーブルを生成する。デシジョンテーブル作成部40は、例えば、設計書から抽出した入力要素と出力項目との対応が網羅されているか(網羅性)、設計書から抽出したルールに誤りや不整合がないか(正確性)、設計書から抽出したルールの内容は理解がしやすいか(理解容易性)について確認することで、図8に示すような判定結果テーブルを生成する。図8は、図7のデシジョンテーブルをスコア算出のために置き換えた判定結果テーブルの例である。図8に示すように、出力要素の処理に対するエラー(NG)の個数は、5個である。なお、図8に示すように、入力要素については、エラーの個数は0個である。
Next, the decision
図9は、網羅性、正確性、理解容易性について説明する図である。図9は、デシジョンテーブルの一例である。図9において、条件“遷移元”と“ステータス”が入力要素であり、動作“遷移先”が出力要素である。画面Aは、入力要素“遷移先”の条件である。また、異常と正常とは、入力要素“ステータス”の条件である。また、テスト項目は、図6に示したルールに相当する。デシジョンテーブル作成部40は、理解容易性のチェックの結果、ステータスが「異常」と「正常」の場合とあるが、どのように判断するのか設計書から読み取れないため、符号221に示した項目を理解容易性がNGと判定する。
また、デシジョンテーブル作成部40は、網羅性のチェックの結果、ステータスが「異常」の場合、「画面Bに遷移する」という記述と「画面Cに遷移する」という記述があるため、設計書に不整合があるため、符号222に示した項目を網羅性がNGと判定する。
また、デシジョンテーブル作成部40は、正確性のチェックの結果、画面A以外の画面からも処理が実行できるように読み取れるが、その場合の記述がないため、符号223に示した項目を正確性がNGと判定する。
図7および図8に示した例では、符号201および211が、網羅性NGであり、符号202および212が、正確性NGである。デシジョンテーブル作成部40は、このように確認した結果を、スコア算出部60に出力する。
FIG. 9 is a diagram for explaining completeness, accuracy, and ease of understanding. FIG. 9 is an example of a decision table. In FIG. 9, the conditions “transition source” and “status” are input elements, and the operation “transition destination” is an output element. Screen A is a condition for the input element “transition destination”. Also, abnormal and normal are conditions for the input element “status”. The test items correspond to the rules shown in FIG. The decision
In addition, when the status is “abnormal” as a result of the comprehensiveness check, the decision
Further, as a result of the accuracy check, the decision
In the example shown in FIGS. 7 and 8,
本実施形態では、スコアを、次式(1)のように定義する。 In the present embodiment, the score is defined as the following formula (1).
式(1)において、ルール数とは、図8に示すルールの列数に相当する。また、NG(エラー)の個数とは、図8において、NGが記載されているセルの総数である。また、入出力要素数とは、図8に示す入力要素と出力要素との行数に相当する。また、入出力要素数とルール数との積は、判定個数である。
スコア算出部60は、式(1)により、図8のテーブルに対するスコアを、83.33=((1−NGの個数5/(入出力要素数6×ルール数5))×100)として算出する。式(1)に示したように、本実施形態におけるスコアは、0点から100点の間の点数である。0点は、評価が最も低いことを表し、100点は、評価が最も高いことを表している。
なお、スコア算出部60は、算出したスコア、デシジョンテーブル作成部40が判定したチェック項目毎のNGの個数を関連付けて、不図示の記憶部に記憶させるようにしてもよい。
In Equation (1), the number of rules corresponds to the number of rule columns shown in FIG. In addition, the number of NG (error) is the total number of cells in which NG is described in FIG. The number of input / output elements corresponds to the number of rows of input elements and output elements shown in FIG. The product of the number of input / output elements and the number of rules is the number of determinations.
The
The
図10は、本実施形態に係る設計書に対する設計品質評価の処理手順のフローチャートである。
(ステップS1)入力部10は、設計書データを取得し、取得した設計書データを入出力要素抽出部20に出力する。
(ステップS2)入出力要素抽出部20は、入力部10から入力された設計書データから入出力要素を抽出し、抽出した入出力要素と設計書データとを処理抽出部30に出力する。
FIG. 10 is a flowchart of a processing procedure of design quality evaluation for the design document according to the present embodiment.
(Step S <b> 1) The
(Step S <b> 2) The input / output
(ステップS3)処理抽出部30は、入出力要素抽出部20から入力された入出力要素に基づいて、設計書データから出力要素の処理を抽出する。処理抽出部30は、抽出した出力要素の処理と、入出力要素抽出部20から入力された入出力要素および設計書データをデシジョンテーブル作成部40に出力する。
(ステップS4)デシジョンテーブル作成部40は、入力要素の条件を決定し、データベース50に格納されている情報を用いて、決定した入力要素の条件、処理抽出部30から入力された入出力要素、出力要素の処理に基づいてデシジョンテーブルを作成する。
(Step S <b> 3) The
(Step S4) The decision
(ステップS5)デシジョンテーブル作成部40は、作成したデシジョンテーブルを用いて、エラー判定処理を行って判定結果テーブルを作成し、作成した判定結果テーブルに基づいてNG(エラー)個数を抽出する。
(ステップS6)スコア算出部60は、ステップS5で抽出されたエラー個数に基づいて、式(1)を用いてスコアを算出する。次に、出力部70は、算出されたスコアを表示部に表示する。
以上で、設計書に対する設計品質評価の処理を終了する。
(Step S5) The decision
(Step S6) The
This completes the design quality evaluation process for the design document.
以上のように、本実施形態の開発支援装置1は、設計書に含まれる入力要素の条件の組み合わせと、当該条件の組み合わせに応じた出力要素の処理とを対応づけたデシジョンテーブルを作成するデシジョンテーブル作成部40と、デシジョンテーブル作成部40が作成したデシジョンテーブルに基づいて、設計書の品質を示すスコアを算出するスコア算出部60と、を備える。
As described above, the
この構成により、本実施形態の開発支援装置1は、設計書の設計品質をスコアで表すことができる。この結果、設計書の作成者または第三者は、スコアに基づいて、作成した設計書の設計品質を把握することができる。
特に、有識者ではない第三者は、スコアで提示されることで、設計書の設計品質を容易に理解することができる。
With this configuration, the
In particular, a third party who is not an expert can easily understand the design quality of the design document by being presented as a score.
なお、本実施形態では、算出されたスコアを出力部70に表示する例を説明したが、これに限られない。出力部70は、デシジョンテーブル作成部40が確認した結果も合わせて表示するようにしてもよい。例えば、図7に示したデシジョンテーブルが得られた場合、出力部70は、『網羅性NGの個数;4個、正確性NGの個数;1個、スコア;83.33点』等の表示を行うようにしてもよい。さらに出力部70は、例えば図8に示したテーブルを設計品質の評価の結果として、合わせて表示部に表示したり、紙に印字したりするようにしてもよい。
In this embodiment, the example in which the calculated score is displayed on the
さらに、データベース50には、過去に設計書の設計品質を評価したときのスコア、NG個数、および設計書の修正や設計変更に要した工数等も関連づけて記憶させておくようにしてもよい。この場合、スコア算出部60は、算出されたスコアと同等の過去の設計品質を評価した結果をデータベースから探索し、探索した結果を参考データとして、出力部70に出力するようにしてもよい。これにより、設計書の作成者または第三者は、表示されたスコアのみではなく、どの程度、修正等に工数を要するのかを把握することができる。この結果、本実施形態によれば、さらに設計品質の向上を支援できる。
Further, the
また、本実施形態では、デシジョンテーブル作成部40が設計書を解析して、入力要素、出力要素を抽出する例を説明したが、これに限られない。例えば、設計書に、入力要素、出力要素に記述しておくようにしてもよい。
In the present embodiment, the example in which the decision
[第2の実施形態]
第1実施形態では、開発支援装置1が、設計書に対してデシジョンテーブルを作成し、作成したデシジョンテーブルを用いてスコアを算出する例を説明した。本実施形態では、スコアの算出において、NGの要素に応じて重み付けを行ってスコアを算出する例について説明する。
[Second Embodiment]
In the first embodiment, an example has been described in which the
図11は、本実施形態に係る開発支援装置1Aの概略構成図である。
図11に示すように、開発支援装置1Aは、入力部10、入出力要素抽出部(デシジョンテーブル作成部)20、処理抽出部(デシジョンテーブル作成部)30、デシジョンテーブル作成部40、データベース50A、スコア算出部60A、および出力部70を備えている。なお、第1実施形態における開発支援装置1と同じ機能を有する機能部については、同じ符号を用いて説明を省略する。
FIG. 11 is a schematic configuration diagram of a development support apparatus 1A according to the present embodiment.
As shown in FIG. 11, the development support apparatus 1A includes an
データベース50Aには、設計書から入力要素、出力要素等を検出するための言語モデルや係り受け解析に必要な情報等が予め格納されている。また、データベース50Aには、重要度毎に少なくとも基準点が関連づけられて、予め格納されている。なお、基準点とは、重要度に応じた重み付けの点数である。例えば、基準点は、0点から1点の間の点数であり、値が小さいほど重要度が高いことを示し、値が大きいほど重要度が低いことを示す。また、基準点の値が小さいほど、算出されるスコアの値は小さくなる。換言すると、基準点は、重要度が高いほど1点から減点される点数が大きくなる。 The database 50A stores in advance a language model for detecting input elements, output elements and the like from a design document, information necessary for dependency analysis, and the like. In the database 50A, at least a reference point is associated with each importance and stored in advance. The reference point is a weighted score corresponding to the importance. For example, the reference point is a score between 0 and 1, and the smaller the value, the higher the importance, and the larger the value, the lower the importance. Further, the smaller the reference point value, the smaller the calculated score value. In other words, the higher the importance, the greater the number of points deducted from one point.
図12は、本実施形態に係る重要度の例を説明する図である。図12に示した例では、重要度が3種類の場合の例である。図12に示すように、3種類の重要度とは、重要度S、A、およびBである。重要度Aは、後工程への影響が確実であり、修正時期が即時であり、基準点が0.7であることを表している。重要度Bは、後工程への影響が十分懸念され、修正時期が実装前であり、基準点が0.8であることを表している。重要度Cは、後工程への影響がやや懸念され、修正時期がテスト前であり、基準点が0.95であることを表している。スコア算出部60Aは、例えば、入力要素および出力要素から正常処理系と判断されるルールに対する処理が、デシジョンテーブルにおいて網羅されていない場合、網羅されていない箇所を重要度Sと決定する。ここで、正常処理系とは、例えば、エラー処理ではない処理である。また、スコア算出部60Aは、例えば、デシジョンテーブルにおいて整合性が取れない箇所を重要度Aと決定する。 FIG. 12 is a diagram for explaining an example of importance according to the present embodiment. The example shown in FIG. 12 is an example when there are three types of importance. As shown in FIG. 12, the three types of importance are importance S, A, and B. The importance A indicates that the influence on the subsequent process is certain, the correction time is immediate, and the reference point is 0.7. The importance B represents that the influence on the subsequent process is sufficiently concerned, the correction time is before mounting, and the reference point is 0.8. The importance C indicates that the influence on the post-process is somewhat concerned, the correction time is before the test, and the reference point is 0.95. The score calculation unit 60A determines, for example, the importance S as a part that is not covered when the process for the rule that is determined to be a normal processing system from the input element and the output element is not covered in the decision table. Here, the normal processing system is, for example, processing that is not error processing. Further, the score calculation unit 60A determines, for example, the importance A as a location where consistency is not obtained in the decision table.
このように、重要度が高い、すなわち重大なエラーである程、基準点が小さく設定されている。また、軽度なエラーには、1に近い基準点が設定されている。なお、図12に示した基準点は一例であり、他の値であってもよい。例えば、重要度Sの基準点が0.8、重要度Aの基準点が0.9、重要度Bの基準点が0.95であってもよい。重要度毎の基準点は、例えば過去に作成された設計書を評価し、そのエラー項目によって生じた修正工数等に基づいて、設計書の評価毎に使い分けるようにしてもよい。 Thus, the higher the importance, that is, the more serious the error, the smaller the reference point is set. A reference point close to 1 is set for a minor error. Note that the reference points shown in FIG. 12 are examples, and other values may be used. For example, the reference point for importance S may be 0.8, the reference point for importance A may be 0.9, and the reference point for importance B may be 0.95. The reference point for each importance may be used for each evaluation of the design document based on, for example, a design document created in the past and based on the correction man-hour caused by the error item.
本実施形態では、このように、重要度に応じて基準点が予め設定されている。基準点は、例えば、後工程への影響、修正時期、修正にかかると予想される工数等に基づいて、予め設定しておく。また、重要度の分類についても、後工程への影響、修正時期、修正にかかると予想される工数等に基づいて、予め設定しておく。
なお、図12では、重要度が3種類の例を説明したが、重要度は2種類以上であればよく、3種類以上であってもよく、重要度に応じて異なる基準点であればよい。
In this embodiment, the reference point is set in advance according to the importance as described above. The reference point is set in advance based on, for example, the influence on the post-process, the correction time, the man-hour expected to be corrected, and the like. Also, the importance classification is set in advance based on the influence on the post-process, the correction time, the man-hour expected to be corrected, and the like.
In addition, although the example with three types of importance was demonstrated in FIG. 12, the importance may be two or more types, may be three or more types, and may be different reference points according to the importance. .
図11に戻って、開発支援装置1Aの説明を続ける。
スコア算出部60Aは、デシジョンテーブル作成部40が作成した判定結果テーブルにおけるNG項目について、データベース50Aに格納されている重み条件の情報を用いて、判定結果テーブルに基づき、NGの重要度を決定する。ここで、重み条件とは、どのようなエラーを重要度S、A、Bと決定するかの条件である。また、重み条件には、予め基準点が定められている。
Returning to FIG. 11, the description of the development support apparatus 1A will be continued.
The score calculation unit 60A determines the importance of NG based on the determination result table for the NG items in the determination result table created by the decision
本実施形態では、スコアを、次式(2)のように定義する。 In the present embodiment, the score is defined as the following formula (2).
式(2)において、nは、0以上の整数であり、重要度別のエラー個数である。また、iは、図12に示したような重要度S、A、B等である。式(2)に示したように、本実施形態におけるスコアは、第1実施形態と同様に、0点から100点の間の点数である。0点は、評価が最も低いことを表し、100点は、評価が最も高いことを表している。
例えば、図12に示した重要度S〜重要度Bの場合、スコアは、次式(3)である。
In Expression (2), n is an integer of 0 or more, and is the number of errors according to importance. Further, i is the importance S, A, B, etc. as shown in FIG. As shown in Expression (2), the score in the present embodiment is a score between 0 and 100, as in the first embodiment. 0 points represent the lowest evaluation, and 100 points represent the highest evaluation.
For example, in the case of the importance S to the importance B shown in FIG. 12, the score is the following expression (3).
なお、式(2)および式(3)では、各重要度の基準点を、その重要度の個数分、乗じる例を説明したが、これに限られない。スコア算出部60Aは、例えば、重要度Sのエラーが検出されなかった場合が1、重要度Sのエラーが検出された場合が0.7のように重み付けを行って、スコアを算出するようにしてもよい。 In addition, in Formula (2) and Formula (3), although the example which multiplies the reference point of each importance by the number of the importance was demonstrated, it is not restricted to this. The score calculation unit 60A calculates the score by weighting, for example, 1 when the error of the importance level S is not detected and 0.7 when the error of the importance level S is detected. May be.
また、重要度が、例えば5種類(S、A、B、C、D)の場合、式(2)の後に、重要度Cの基準点(0.97)Cの個数と、重要度Dの基準点(0.99)Dの個数とを乗じてスコアを算出する。なお、重要度Cは、例えば後工程への影響が少なく、修正時期が納品前であり、基準点が0.97である。また、重要度Dは、例えば後工程への影響がほぼなく、修正時期が任意であり、基準点が0.99である。 For example, when there are five types of importance (S, A, B, C, D), the number of reference points (0.97) C of importance C and the importance D Reference point (0.99) The score is calculated by multiplying by the number of D's . The importance C has, for example, little influence on the subsequent process, the correction time is before delivery, and the reference point is 0.97. The importance D has, for example, almost no influence on the subsequent process, the correction time is arbitrary, and the reference point is 0.99.
式(2)に示したスコアの計算によれば、例えば、重要度Sのエラー項目が1つでもあれば、スコアは必ず70点以下になる。同様に、重要度Aのエラー項目が1つでもあれば、スコアは必ず80点以下になる。また、複数のプロジェクトの設計書を本実施形態によって評価した場合、同じ重要度に対するエラー項目の個数の場合、プロジェクトの大小にかかわらず、スコアは同じ点数になる。これにより、本実施形態を用いることで、第三者は、複数のプロジェクトの設計書を横並びで評価することもできる。 According to the calculation of the score shown in Expression (2), for example, if there is one error item of importance S, the score is always 70 points or less. Similarly, if there is one error item of importance A, the score is always 80 points or less. Further, when the design documents of a plurality of projects are evaluated according to the present embodiment, in the case of the number of error items with the same importance, the score is the same regardless of the size of the project. Thus, by using this embodiment, a third party can also evaluate a plurality of project design documents side by side.
図13は、本実施形態に係るスコアの算出を説明する図である。なお、図13に示した判定結果テーブルは、図7のデシジョンテーブルに対してエラー判定処理を行った判定結果に基づいてデシジョンテーブル作成部40が作成する。
スコア算出部60Aは、入力要素または出力要素から、正常処理系に対する処理が網羅されていないため、図13の符号211の4つのNGの箇所を重要度Sであると決定し、Sの個数を1個と決定する。また、スコア算出部60Aは、整合性が取れていないため、符号212のNGを重要度Aであると決定し、Aの個数を1個と決定する。次に、スコア算出部60Aは、図13に示すように、スコアを式(2)により56.00点(=(0.71×0.81×0.950)×100)と算出する。
FIG. 13 is a diagram illustrating score calculation according to the present embodiment. The decision result table shown in FIG. 13 is created by the decision
Since the processing for the normal processing system is not covered from the input element or the output element, the score calculation unit 60A determines the four
また、本実施形態において、スコア算出部60Aは、判定結果テーブルのNGのセル毎に重要度を決定してもよく、または図13に示したように判定結果テーブルのNGの所定の固まりに対して1つの重要度を決定してもよい。このように重要度を、セル毎か固まりに対して決定するかは、例えば、予めエラー項目に対する修正にかかる項数等に基づいて決定するようにしてもよい。すなわち、本実施形態では、重み条件に応じて予め重み付けである基準点を設定しておく。ここで、重み条件とは、ルール毎、デシジョンテーブルまたは判定結果テーブルのセル毎、入力要素毎、出力要素毎、これらのうち同じ種類のエラー項目の固まりである。これらの重み条件は、データベース50Aに予め格納させておいてもよい。また、データベース50Aに格納されている過去に評価した設計書データとエラー項目に基づいて、スコア算出部60Aが予め決定しておくようにしてもよい。 Further, in the present embodiment, the score calculation unit 60A may determine the importance for each NG cell in the determination result table, or for a predetermined group of NG in the determination result table as shown in FIG. One importance may be determined. Whether the importance level is determined for each cell or cluster may be determined in advance based on, for example, the number of terms for correction of error items. That is, in this embodiment, a reference point that is weighted in advance is set according to the weighting condition. Here, the weight condition is a set of error items of the same type among the rules, the cells of the decision table or the determination result table, the input elements, and the output elements. These weighting conditions may be stored in advance in the database 50A. Further, the score calculation unit 60A may determine in advance based on design document data and error items evaluated in the past stored in the database 50A.
図14は、本実施形態に係る設計書に対する設計品質評価の処理手順のフローチャートである。なお、第1実施形態の図10に示したフローチャートと同じ処理については、同じ符号を用いている。
(ステップS1〜S5)図1のステップS1〜S5と同様に処理を行う。
(ステップS101)スコア算出部60Aは、ステップS5で抽出されたエラー項目に対して、データベース50Aに格納されている情報を用いて、おのおの重要度を決定する。
(ステップS102)スコア算出部60Aは、ステップS101で決定されたエラー項目の重要度に基づいて、式(2)を用いてスコアを算出する。次に、出力部70は、算出されたスコアを表示部に表示する。
以上で、設計書に対する設計品質評価の処理を終了する。
FIG. 14 is a flowchart of the processing procedure of design quality evaluation for the design document according to this embodiment. In addition, the same code | symbol is used about the same process as the flowchart shown in FIG. 10 of 1st Embodiment.
(Steps S1 to S5) Processing is performed in the same manner as steps S1 to S5 in FIG.
(Step S101) The score calculation unit 60A determines the importance of each of the error items extracted in Step S5 using information stored in the database 50A.
(Step S102) The score calculation unit 60A calculates a score using Expression (2) based on the importance of the error item determined in Step S101. Next, the
This completes the design quality evaluation process for the design document.
図15は、本実施形態に係る重要度毎の個数とスコアの関係の例を説明する図である。図15に示す例は、重要度の種類が5種類(S〜D)の場合であり、重要度Sの基準点が0.7、重要度Aの基準点が0.8、重要度Bの基準点が0.95、重要度Cの基準点が0.97、重要度Dの基準点が0.99である。また、図15において、横軸は、エラー数、縦軸はスコアである。また、図15において、曲線301は、エラーが重要度Sのみの場合であり、曲線302は、エラーが重要度Aのみの場合であり、曲線303は、エラーが重要度Bのみの場合である。また、曲線304は、エラーが重要度Cのみの場合であり、曲線305は、エラーが重要度Dのみの場合である。
FIG. 15 is a diagram for explaining an example of the relationship between the number and score for each importance according to the present embodiment. The example shown in FIG. 15 is the case where there are five types of importance (SD), the reference point of importance S is 0.7, the reference point of importance A is 0.8, and importance B is The reference point is 0.95, the importance C reference point is 0.97, and the importance D reference point is 0.99. In FIG. 15, the horizontal axis represents the number of errors, and the vertical axis represents the score. Further, in FIG. 15, a
図15に示すように、NG(エラー)の種類が重要度Sの場合、NG(エラー)が1つでもあれば、スコアは必ず70点以下になる。同様に、重要度AのNG(エラー)が1つでもある場合、スコアは必ず80点以下になる。そして、図15に示すように、エラーの個数に応じて、スコアの減少の仕方も異なる。例えば、エラーが2個であっても、重要度Sのエラーが2個の場合は、スコアが50点以下であり、一方、重要度Cのエラーが2個の場合は、スコアが約90点である。 As shown in FIG. 15, when the type of NG (error) is importance S, the score is always 70 or less if there is even one NG (error). Similarly, when there is at least one NG (error) of importance A, the score is always 80 points or less. Then, as shown in FIG. 15, the way in which the score decreases differs depending on the number of errors. For example, even if there are two errors, if there are two errors of importance S, the score is 50 points or less, whereas if there are two errors of importance C, the score is about 90 points. It is.
このように、本実施形態では、同じ設計書であっても、第1実施形態のスコアと比較して、重要度Sに対するNGがあるため、低いスコアが算出される。このため、算出されたスコアが、出力部70により表示されることで、設計書の作成者または第三者は、作成した設計書の設計品質をスコアから判別することができる。
さらに設計書の作成者または第三者は、このように表されたスコアに基づいて、同じスコアの過去の修正に要した工数を得ることで、修正にどの位の工数がかかるかを適切に判別することができる。
As described above, in the present embodiment, even if the design document is the same, a lower score is calculated because there is NG with respect to the importance S as compared with the score of the first embodiment. For this reason, the calculated score is displayed by the
Furthermore, the designer or third party of the design document obtains the man-hours required for the past correction of the same score based on the score expressed in this way, so that it can appropriately determine how much man-hours are required for the correction. Can be determined.
図16は、第1実施形態により算出したスコアと第2実施形態により算出したスコアの1例を説明する図である。図16において、横軸は処理の名称、左の縦軸はエラー数、右の縦軸はスコアである。なお、処理とは、設計書における1つのグループであり、例えば図2〜図5に示した処理である。また、図16に示した例では、図15と同様に、5種類の重要度と基準点を用いた例である。また、図16において、線311は、第1実施形態の式(1)により算出されたスコアであり、線312は、第2実施形態の式(2)により算出されたスコアである。
FIG. 16 is a diagram illustrating an example of the score calculated according to the first embodiment and the score calculated according to the second embodiment. In FIG. 16, the horizontal axis is the name of the process, the left vertical axis is the number of errors, and the right vertical axis is the score. The process is one group in the design document, for example, the process shown in FIGS. Further, the example shown in FIG. 16 is an example using five types of importance and reference points, as in FIG. In FIG. 16, a
図16に示すように、例えば処理1については、重要度Cのエラーが6個、第1実施形態により算出したスコアが約98点であり、第2実施形態により算出したスコアが約88点であることを表している。また、処理2については、重要度Sのエラーが1個、重要度Cのエラーが1個、第1実施形態により算出したスコアが約95点であり、第2実施形態により算出したスコアが約68点であることを表している。このように、四角313で囲んだ領域のように、重要度Sのエラーがある処理では、第1実施形態のスコアに比べて第2実施形態によるスコアが低くなる。
As shown in FIG. 16, for example, for
そして、図16のように、複数の処理についてグラフ等で表すことで、さらに、どの処理の設計品質が高く、どの処理の設計品質が高いかを、さらに設計書の作成者または第三者に対して、把握しやすい形で提示することができる。このため、スコア算出部60Aは、複数の処理毎に算出したスコアを、図16のようなグラフにして、出力部70に出力するようにしてもよい。そして、出力部70は、入力されたグラフの画像を、表示部に表示するようにしてもよい。
Then, as shown in FIG. 16, by expressing the plurality of processes in a graph or the like, it is further determined to the creator of the design document or a third party which process has higher design quality and which process has higher design quality. On the other hand, it can be presented in a form that is easy to grasp. For this reason, the score calculation unit 60A may output the scores calculated for each of the plurality of processes to the
図16に示した例において、処理1〜処理10は、1つの製品における処理であってもよく、あるいは異なる製品における処理であってもよい。例えば、処理1が第1の製品の処理の設計書、処理2が第2の製品の処理の設計書、・・・、処理10が第10の製品の処理の設計書であってもよい。このように、異なる製品の設計書に対するスコアを図16のように図示することで、第三者は、例えば社内におけるプロジェクト毎の設計書の設計品質を容易に把握することができる。
例えば、図16が、1つの製品における処理1〜処理10に関する各設計書である場合、この評価結果に基づいて、第三者は、処理2、処理4、処理5、処理8の設計書に対するエラーを先に修正する必要があることを知ることができる。このように、本実施形態の評価結果を用いることで、第三者は、いずれの処理から着手すべきかがわかり、さらに、いずれの設計書をどの程度まで修正すれば、開発する製品を所望の品質にできるかを把握することもできる。
In the example illustrated in FIG. 16, the
For example, when FIG. 16 shows each design document related to
さらに、データベース50Aには、過去に設計書の設計品質を評価したときのスコア、NGの個数、および設計書の修正や設計変更に要した工数等も関連づけて記憶させておくようにしてもよい。この場合、スコア算出部60Aは、算出されたスコアと同等の過去の設計品質を評価した結果をデータベースから探索し、探索した結果を参考データとして、出力部70に出力するようにしてもよい。さらに、スコアに対して閾値を予め設定しておき、算出されたスコアに基づいて、評価した設計書に対するランクを合わせて、出力部70が表示するようにしてもよい。ランクは、例えば、スコア90〜100点が第1ランク、80〜89点が第2ランク、70〜79点が第3ランク等である。このようなランクは、例えば、過去の設計書に対するスコアと、修正等に要した工数に基づいて設定するようにしてもよい。
これにより、設計書の作成者または第三者は、表示されたスコアのみではなく、どの程度、修正等に工数を要するのかを把握することができる。この結果、本実施形態によれば、さらに設計品質の向上を支援できる。
Further, the database 50A may store the score when the design quality of the design document is evaluated in the past, the number of NGs, and the man-hours required for the design document modification or design change, in association with each other. . In this case, the score calculation unit 60A may search the database for a result of evaluating past design quality equivalent to the calculated score, and output the searched result to the
Thereby, the creator or third party of the design document can grasp not only the displayed score but also how much man-hours are required for correction or the like. As a result, according to the present embodiment, further improvement in design quality can be supported.
なお、本実施形態では、出力部70に算出されたスコアを表示する例を説明したが、これに限られない。出力部70は、スコア算出部60Aが確認した結果も合わせて表示するようにしてもよい。例えば、出力部70は、『重要度SのNGの個数;1個、重要度AのNGの個数;1個、重要度BのNGの個数;0個、スコア;56.00点』等の表示を行うようにしてもよい。
In the present embodiment, the example in which the calculated score is displayed on the
また、本実施形態では、出力要素の処理がNGの場合の例を説明したが、入力要素がNGの場合であっても、同様にスコアを算出するようにしてもよい。
図17は、本実施形態に係る入力要素が網羅されていない場合のデシジョンテーブルの例を説明する図である。図17のデシジョンテーブルの各項目は、図7のデシジョンテーブルと同じである。図17に示す例では、ルール“1”の点線四角401で囲んだ領域入力要素が設計書からは抽出できていないのに、出力要素であるメッセージや遷移先画面が設計書から抽出できたことを表している。点線四角401で囲んだ領域の入力項目は、設計書に記載されていなければいけない要素であることが推定される。このような場合、デシジョンテーブル作成部40は、例えば、図13に示したテーブルにおいて、ルール“1”の第1入力要素〜第3入力要素について“NG”と判定する。
In the present embodiment, an example in which the processing of the output element is NG has been described. However, even when the input element is NG, the score may be calculated similarly.
FIG. 17 is a diagram illustrating an example of a decision table when input elements according to the present embodiment are not covered. Each item in the decision table of FIG. 17 is the same as that of the decision table of FIG. In the example shown in FIG. 17, the area input element surrounded by the dotted
あるいは、デシジョンテーブル作成部40は、設計書から全ての出力要素を抽出し、抽出した出力要素に対応する入力要素が網羅されているか否かを判別する。デシジョンテーブル作成部40は、出力要素に対する入力要素のルールが設計書から抽出できないルールがあると判別した場合、その出力要素に対するルールが設計書に記述されていないため、この記載されていないルールをNG”と判定するようにしてもよい。
Alternatively, the decision
あるいは、過去に作成されたエラーの無かった設計書に基づいて作成されたデシジョンテーブルを、データベース50Aに予め格納しておくようにしてもよい。
この場合、デシジョンテーブル作成部40は、データベース50Aに格納されているデシジョンテーブルと比較することで、入力要素が網羅されていないことを検出するようにしてもよい。このように、データベース50Aに格納されているデシジョンテーブルとの比較することで、設計書に入力要素も出力要素も記述されていない場合であってもエラーとして検出することができる。
そして、スコア算出部60Aは、デシジョンテーブル作成部40が作成、決定した結果に基づいて、スコアを算出する。
なお、このような入力要素に対する確認は、第1実施形態でも行うようにしてもよい。
Alternatively, a decision table created based on a design document with no error created in the past may be stored in the database 50A in advance.
In this case, the decision
Then, the score calculation unit 60A calculates a score based on the result created and determined by the decision
Note that such confirmation for input elements may also be performed in the first embodiment.
以上のように、本実施形態によれば、第三者は、設計書の設計品質を、スコアで知ることができる。本実施形態のスコアでは、第1実施形態と比べて、エラーに応じた重み付けが行われているため、第三者がスコアを見たとき、設計書の設計品質をさらに把握しやすくなる。また、本実施形態によれば、エラーと判別された項目に対して重要度を決定しているため、この決定した重要度を検出したエラー項目と合わせて提示することで、第三者は、どのエラー項目が問題なのかを把握しやすくなる。また、本実施形態によれば、例えば、図16に示したように、他のプロジェクトや過去の設計書のスコアおよびエラー項目の重要度の種類と個数等を合わせて提示することで、第三者は、設計書の設計品質を横並びで評価することができる。 As described above, according to the present embodiment, the third party can know the design quality of the design document by the score. Since the score according to the present embodiment is weighted according to an error as compared with the first embodiment, when the third party looks at the score, the design quality of the design document can be more easily grasped. Further, according to the present embodiment, since the importance is determined for the item determined to be an error, by presenting the determined importance together with the detected error item, a third party can It becomes easy to grasp which error item is a problem. Further, according to the present embodiment, for example, as shown in FIG. 16, by presenting the score of other projects and past design documents and the type and number of importance of error items together, the third The person can evaluate the design quality of the design document side by side.
また、本実施形態において、スコア算出部60Aは、データベース50Aに格納されているスコアの平均点を算出し、算出したスコアの平均点も合わせて出力部70に出力するようにしてもよい。これにより、本実施形態では、第三者は、提示されたスコアを平均点と比較することで、設計書の設計品質をさらに把握しやすくなる。さらに、データベース50Aに格納されている他のプロジェクトのスコア、または予め定められている目標点を出力部70が表示部に表示するようにしてもよい。これにより、第三者は、スコアに対する目標点も知ることができ、その目標点をクリアーできているか否かを知ることができる。
In the present embodiment, the score calculation unit 60A may calculate the average score of the scores stored in the database 50A, and output the calculated average score to the
また、本実施形態において、スコア算出部60Aは、網羅性、正確性、理解容易性のエラー毎にスコアを算出するようにしてもよい。この場合、以下のように、目標値も別々に設定するようにしてもよい。例えば、網羅性については、振る舞いに漏れがないことが必須であり、重要度にかかわらず漏れがあると修正を行う必要がある。このため、網羅性のエラーに対する目標値を100点に設定するようにしてもよい。また、正確性および理解容易性については、重要度Sおよび重要度Aに対するエラーがなく、重要度Bのエラーが少ないことが望まれる。このため、正確性および理解容易性のエラーに対する目標値を80点に設定するようにしてもよい。 In the present embodiment, the score calculation unit 60A may calculate a score for each error of completeness, accuracy, and understandability. In this case, the target value may be set separately as follows. For example, for completeness, it is essential that there is no omission in the behavior, and correction is necessary if there is omission regardless of the importance. For this reason, the target value for the error of completeness may be set to 100 points. As for accuracy and ease of understanding, it is desirable that there are no errors with respect to the importance S and the importance A, and there are few errors with the importance B. For this reason, the target value for errors in accuracy and ease of understanding may be set to 80 points.
なお、第1および第2実施形態では、設計書について設計品質を評価してスコアを算出する例を説明したが、これに限られない。開発支援装置1(または1A)は、処理設計書等、他の設計書についても、同様にデシジョンテーブルを作成し、作成したデシジョンテーブルを用いてスコアを算出するようにしてもよい。 In the first and second embodiments, the example in which the design quality is evaluated and the score is calculated for the design document has been described. However, the present invention is not limited to this. The development support apparatus 1 (or 1A) may similarly create a decision table for other design documents such as a process design document, and calculate a score using the created decision table.
また、第1および第2実施形態では、スコアを0点から100点の間の点数で示す100点法例を説明したが、これに限られない。スコアは、例えば、0点から10点の間の点数で示す10点法、または0点から20点の間の点数で示す20点法等であってもよい。例えば、10点法を用いる場合、スコア算出部60は、式(1)にて乗じる値100の代わりに10を用いて算出するようにしてもよい。同様に、スコア算出部60Aは、式(2)にて乗じる値100の代わりに10を用いて算出するようにしてもよい。
In the first and second embodiments, the 100-point method example in which the score is indicated by a score between 0 points and 100 points has been described. However, the present invention is not limited to this. The score may be, for example, a 10-point method indicated by a score between 0 and 10 points, or a 20-point method indicated by a score between 0 and 20 points. For example, when the 10-point method is used, the
なお、上述した実施形態における図1および図11の、開発支援装置1、1Aの一部をコンピュータで実現するようにしても良い。その場合、この制御機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現しても良い。なお、ここでいう「コンピュータシステム」とは、開発支援装置1、1Aに内蔵されたコンピュータシステムであって、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでも良い。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
また、上述した実施形態における開発支援装置1、1Aの一部、または全部を、LSI(Large Scale Integration)等の集積回路として実現しても良い。また、開発支援装置1、1Aの各機能ブロックは個別にプロセッサ化してもよいし、一部、または全部を集積してプロセッサ化しても良い。また、集積回路化の手法はLSIに限らず専用回路、または汎用プロセッサで実現しても良い。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いても良い。
In addition, you may make it implement | achieve a part of
Further, a part or all of the
1、1A…開発支援装置、10…入力部、20…入出力要素抽出部、30…処理抽出部、40…デシジョンテーブル作成部、50、50A…データベース、60、60A…スコア算出部、70…出力部
DESCRIPTION OF
Claims (8)
前記デシジョンテーブル作成部が作成した前記デシジョンテーブルに基づいて、前記設計書の品質を示すスコアを算出するスコア算出部と、
を備えることを特徴とする開発支援装置。 A decision table creation unit that creates a decision table that associates a combination of input element conditions included in the design document with an output element process corresponding to the combination of the conditions;
Based on the decision table created by the decision table creation unit, a score calculation unit that calculates a score indicating the quality of the design document;
A development support apparatus comprising:
前記デシジョンテーブル作成部が作成した前記デシジョンテーブルに含まれる前記条件の組み合わせと、当該条件の組み合わせに応じた処理とについて、予め設定されたエラー条件に基づいてエラーの有無を判定するエラー判定処理を行い、判定した結果に応じて前記スコアを算出する
ことを特徴とする請求項1に記載の開発支援装置。 The score calculation unit
An error determination process for determining the presence or absence of an error based on a preset error condition for the combination of the conditions included in the decision table created by the decision table creation unit and the process according to the combination of the conditions. The development support apparatus according to claim 1, wherein the score is calculated in accordance with the determination result.
前記エラーに応じた重要度を示す基準点に基づいて、前記設計書に対するスコアを算出する
ことを特徴とする請求項2に記載の開発支援装置。 The score calculation unit
The development support apparatus according to claim 2, wherein a score for the design document is calculated based on a reference point indicating importance according to the error.
前記エラー判定処理における全ての判定個数と、当該エラー判定処理において、エラーがあると判定されたエラー個数との比に基づいて、前記スコアを算出する
ことを特徴とする請求項2に記載の開発支援装置。 The score calculation unit
The development according to claim 2, wherein the score is calculated based on a ratio between all the determination numbers in the error determination process and the number of errors determined to have an error in the error determination process. Support device.
ことを特徴とする請求項3に記載の開発支援装置。 A first reference point is set for the first importance level, and a second importance level lower than the first importance level is set to a second importance level greater than the first reference point. The development support apparatus according to claim 3, wherein a reference point is set.
前記第1の基準点を前記第1の重要度に対するエラー個数分だけ乗算した第1の乗算値に、前記第2の基準点を前記第2の重要度に対するエラー個数分だけ乗算した第2の乗算値を乗算して前記設計書に対するスコアを算出する
ことを特徴とする請求項5に記載の開発支援装置。 The score calculation unit
A first multiplication value obtained by multiplying the first reference point by the number of errors corresponding to the first importance degree is multiplied by a second multiplication value obtained by multiplying the second reference point by the number of errors corresponding to the second importance degree. The development support apparatus according to claim 5, wherein a score for the design document is calculated by multiplying a multiplication value.
設計書に含まれる入力要素の条件の組み合わせと、当該条件の組み合わせに応じた出力要素の処理とを対応づけたデシジョンテーブルを作成するデシジョンテーブル作成手順と、
スコア算出部が、前記デシジョンテーブル作成手順により作成された前記デシジョンテーブルに基づいて、前記設計書の品質を示すスコアを算出するスコア算出手順と、
を含むことを特徴とする開発支援方法。 A development support method in a development support device,
A decision table creation procedure for creating a decision table that associates a combination of input element conditions included in the design document with an output element process corresponding to the combination of the conditions;
A score calculation unit that calculates a score indicating the quality of the design document based on the decision table created by the decision table creation procedure;
A development support method characterized by including:
設計書に含まれる入力要素の条件の組み合わせと、当該条件の組み合わせに応じた出力要素の処理とを対応づけたデシジョンテーブルを作成するデシジョンテーブル作成手順と、
前記デシジョンテーブル作成手順により作成された前記デシジョンテーブルに基づいて、前記設計書の品質を示すスコアを算出するスコア算出手順と、
を実行させる開発支援プログラム。 In the computer of the development support device,
A decision table creation procedure for creating a decision table that associates a combination of input element conditions included in the design document with an output element process corresponding to the combination of the conditions;
A score calculation procedure for calculating a score indicating the quality of the design document based on the decision table created by the decision table creation procedure;
Development support program that runs
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013049654A JP5933470B2 (en) | 2013-03-12 | 2013-03-12 | Development support apparatus, development support method, and development support program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013049654A JP5933470B2 (en) | 2013-03-12 | 2013-03-12 | Development support apparatus, development support method, and development support program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014174932A JP2014174932A (en) | 2014-09-22 |
| JP5933470B2 true JP5933470B2 (en) | 2016-06-08 |
Family
ID=51696048
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013049654A Active JP5933470B2 (en) | 2013-03-12 | 2013-03-12 | Development support apparatus, development support method, and development support program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5933470B2 (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0314036A (en) * | 1989-06-12 | 1991-01-22 | Nec Corp | State transition table evaluating device |
| JP2007304846A (en) * | 2006-05-11 | 2007-11-22 | Hitachi Ltd | Specification creation support method and specification creation support apparatus |
| JP5153470B2 (en) * | 2008-06-19 | 2013-02-27 | 三菱電機株式会社 | State transition verification device and state transition verification method |
| JP5316256B2 (en) * | 2009-06-23 | 2013-10-16 | 富士電機株式会社 | Software development support apparatus and method |
| JP5460629B2 (en) * | 2011-03-10 | 2014-04-02 | 株式会社日立製作所 | Tabular software specification creation support method and apparatus |
-
2013
- 2013-03-12 JP JP2013049654A patent/JP5933470B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2014174932A (en) | 2014-09-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6909633B2 (en) | Evaluation device, evaluation method, and evaluation program | |
| WO2019167556A1 (en) | Label-collecting device, label collection method, and label-collecting program | |
| JP7131078B2 (en) | Design support system | |
| US11675756B2 (en) | Data complementing system and data complementing method | |
| EP2225636A2 (en) | Assisting failure mode and effects analysis of a system comprising a plurality of components | |
| JP2019125206A (en) | Information processing device, information processing method, and program | |
| JP2015141524A (en) | Consensus building support method, apparatus and program | |
| JP2013246644A (en) | Software object correction support device, software object correction support method and program | |
| US9304785B2 (en) | Localizing a software product | |
| EP3531285A2 (en) | Ace: assurance, composed and explained | |
| US20160335332A1 (en) | Design Analysis for Framework Assessment | |
| US20140156655A1 (en) | Information processing apparatus and method and non-transitory computer readable medium | |
| JP5690657B2 (en) | Program test support device, program test support method, program test support program | |
| JP2011145996A (en) | Reviewer evaluation apparatus, reviewer evaluation method and program | |
| EP4124984B1 (en) | Machine learning model generating system, machine learning model generating method | |
| WO2018211546A1 (en) | Screen test device and screen test program | |
| JP5933470B2 (en) | Development support apparatus, development support method, and development support program | |
| JP2021018577A (en) | Information processing device, information processing method, and program | |
| JP2011204137A (en) | Apparatus, method and program or automatically generating check list | |
| JP2025110552A (en) | Design Support System | |
| JP2016099688A (en) | Risk evaluation method and risk evaluation apparatus | |
| JP2020052818A (en) | Information processing apparatus, information processing method and program | |
| US11669654B2 (en) | Information processing apparatus, information processing method, and storage medium | |
| JPWO2023223448A5 (en) | ||
| JP2008198068A (en) | Drawing automatic generation method and drawing automatic generation system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150710 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160229 |
|
| 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: 20160405 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160502 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5933470 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 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| 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 |