JP2011145937A - System, method and program for supporting program inspection - Google Patents

System, method and program for supporting program inspection Download PDF

Info

Publication number
JP2011145937A
JP2011145937A JP2010007036A JP2010007036A JP2011145937A JP 2011145937 A JP2011145937 A JP 2011145937A JP 2010007036 A JP2010007036 A JP 2010007036A JP 2010007036 A JP2010007036 A JP 2010007036A JP 2011145937 A JP2011145937 A JP 2011145937A
Authority
JP
Japan
Prior art keywords
performance
program
subprogram
information
basic
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
JP2010007036A
Other languages
Japanese (ja)
Other versions
JP5136567B2 (en
Inventor
Shigenori Kobayashi
茂憲 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2010007036A priority Critical patent/JP5136567B2/en
Publication of JP2011145937A publication Critical patent/JP2011145937A/en
Application granted granted Critical
Publication of JP5136567B2 publication Critical patent/JP5136567B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a program inspection support system, a program inspection support method and a program inspection support program, wherein even before completion of program development, performance of the program can be estimated by inferring necessary data. <P>SOLUTION: The program inspection support system 100 includes a storage part 1, an obtaining part 2, a calculation part 3, an input part 4, and an input part 5. The storage part 1 stores performance basic data expressing basic performance of elements which are non-functional requirements of subprograms and are used by the subprograms. The obtaining part 2 obtains use element information being information of elements to be used by the subprograms in each of the plurality of subprograms included in a program. The calculation part 3 calculates the estimated value of the performance of non-functional requirements of each subprogram from the performance basic data and the use element information. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、プログラム検査支援システム、プログラム検査支援方法およびプログラム検査支援プログラムに関する。   The present invention relates to a program inspection support system, a program inspection support method, and a program inspection support program.

近年、ウェブアプリケーションで、複雑な画面レイアウトや、高機能化した操作性を実現するリッチインターネットアプリケーションの技術を採用することが多くなっている。新規のアプリケーションの実現では、トップダウン方式の設計法が多く、設計の手戻りを減らして、開発コストを削減することが求められる。   In recent years, web applications often employ rich internet application technology that realizes complex screen layouts and sophisticated operability. In realizing new applications, there are many top-down design methods, and it is required to reduce the rework of the design and reduce the development cost.

例えば、特許文献1には、システム設計の早期の段階でも、簡便に性能見積もりすることができ、設計変更内容を随時性能見積もりに反映させることができるシステム性能見積もりシステムについて記載されている。そのシステムは、各プロセスの処理パターンと、データ蓄積のレコード件数と、実行時間を見積もるための算出ルールとを入力し、予測実行時間を算出し出力する技術を用いる。   For example, Patent Document 1 describes a system performance estimation system that can easily estimate performance even at an early stage of system design and can reflect the contents of design changes in performance estimation as needed. The system uses a technique for inputting a processing pattern of each process, the number of records of data accumulation, and a calculation rule for estimating an execution time, and calculating and outputting a predicted execution time.

特許文献2には、設計段階において、各部品プログラムの性能値を読み出し、シナリオと発生頻度比率とパラメータを基にシミュレーションを行い、計算機システムの性能値を予測することができる性能予測システムについて記載されている。   Patent Document 2 describes a performance prediction system that can read out performance values of each part program at the design stage, perform simulations based on scenarios, occurrence frequency ratios, and parameters, and predict performance values of a computer system. ing.

特許文献3には、コンポーネント・アプリケーションの構築方法について記載されている。その技術は、アプリケーションの構築時に、ソフトウェア・コンポーネント毎とシステム全体で信頼性の評価を行い、要求される信頼性を実現するアプリケーションを効率的に構築する技術である。   Patent Literature 3 describes a component application construction method. The technology is a technology for efficiently constructing an application that achieves the required reliability by evaluating the reliability of each software component and the entire system when constructing the application.

特許文献4では、計算機システムの性能値をシミュレーションで予測し、確認しながら設計を実施していく計算機システムの設計支援システムについて記載されている。   Patent Document 4 describes a design support system for a computer system that performs design while predicting the performance value of the computer system by simulation and checking the performance value.

特開2001−125784号公報JP 2001-125784 A 特開2004−272582号公報JP 2004-272582 A 特開2006−099308号公報JP 2006-099308 A 特開2006−185055号公報JP 2006-185055 A

関連する技術の多くは、アプリケーション作成後に、性能などを測定しており、想定していた要件を満たしていない場合に、再びアプリケーションの作成が必要になることがあり、多くの開発コストがかかっていた。そのため、特許文献1ないし4のように、できるだけ早い段階で、性能などを見積もり、確認し、システムを設計することが行われている。性能の見積もりは、積み上げ方法や組立調整方法などを用いて行うが、その算出のためには全体のデータが必要であったり、時間がかかったり、実測値との誤差が所定の値より大きかったりと問題があった。また、アプリケーションの種類によっては、負荷が変動するため対応できないなどの問題が生じていた。   Many of the related technologies measure performance after creating an application, and if the required requirements are not met, it may be necessary to create the application again, which incurs a lot of development costs. It was. For this reason, as in Patent Documents 1 to 4, performance is estimated and confirmed at the earliest possible stage to design a system. The performance is estimated using a stacking method or assembly adjustment method. However, the entire data is required for the calculation, it takes time, and the error from the measured value is larger than the predetermined value. And there was a problem. In addition, depending on the type of application, there has been a problem that it cannot be handled because the load fluctuates.

本発明は、上述の事情に鑑みてなされたものであり、プログラムの開発が完了する前であっても、必要データを推測することで、性能の見積もりが可能なプログラム検査支援システム、プログラム検査支援方法およびプログラム検査支援プログラムを提供することを目的とする。   The present invention has been made in view of the above-described circumstances, and a program inspection support system and program inspection support capable of estimating performance by estimating necessary data even before program development is completed. It is an object to provide a method and a program inspection support program.

本発明の第1の観点にかかるプログラム検査支援システムは、
サブプログラムの非機能要件である該サブプログラムが使用する要素の、基準の性能を表す性能基礎データを記憶する基礎データ記憶手段と、
プログラムに含まれる複数のサブプログラムごとに、該サブプログラムが使用する要素の情報である使用要素情報を取得するプログラム情報取得手段と、
前記性能基礎データと前記使用要素情報から、前記サブプログラムごとの非機能要件の性能の見積値を算出する性能見積手段と、
を備えることを特徴とする。
A program inspection support system according to a first aspect of the present invention includes:
Basic data storage means for storing performance basic data representing the standard performance of the elements used by the subprogram which is a non-functional requirement of the subprogram;
Program information acquisition means for acquiring, for each of a plurality of subprograms included in the program, used element information that is information of elements used by the subprogram;
Performance estimation means for calculating an estimated value of performance of non-functional requirements for each subprogram from the performance basic data and the use element information;
It is characterized by providing.

本発明の第2の観点に係るプログラム検査支援方法は、
プログラムの性能の検査を支援する装置が行うプログラム検査支援方法であって、
サブプログラムの非機能要件である該サブプログラムが使用する要素の、基準の性能を表す性能基礎データを取得する基礎データ取得ステップと、
プログラムに含まれる複数のサブプログラムごとに、該サブプログラムが使用する要素の情報である使用要素情報を取得するプログラム情報取得ステップと、
前記性能基礎データと前記使用要素情報から、前記サブプログラムごとの非機能要件の性能の見積値を算出する性能見積ステップと、
を備えることを特徴とする。
The program inspection support method according to the second aspect of the present invention includes:
A program inspection support method performed by an apparatus that supports a program performance inspection,
A basic data acquisition step of acquiring basic performance data representing standard performance of an element used by the subprogram which is a non-functional requirement of the subprogram;
For each of a plurality of subprograms included in the program, a program information acquisition step of acquiring used element information that is information of elements used by the subprogram;
A performance estimation step of calculating an estimated value of performance of non-functional requirements for each subprogram from the performance basic data and the use element information;
It is characterized by providing.

本発明の第3の観点に係るプログラム検査支援プログラムは、コンピュータに、
サブプログラムの非機能要件である該サブプログラムが使用する要素の、基準の性能を表す性能基礎データを取得する基礎データ取得ステップと、
プログラムに含まれる複数のサブプログラムごとに、該サブプログラムが使用する要素の情報である使用要素情報を取得するプログラム情報取得ステップと、
前記性能基礎データと前記使用要素情報から、前記サブプログラムごとの非機能要件の性能の見積値を算出する性能見積ステップと、
を実行させることを特徴とする。
A program inspection support program according to a third aspect of the present invention provides a computer,
A basic data acquisition step of acquiring basic performance data representing standard performance of an element used by the subprogram which is a non-functional requirement of the subprogram;
For each of a plurality of subprograms included in the program, a program information acquisition step of acquiring used element information that is information of elements used by the subprogram;
A performance estimation step of calculating an estimated value of performance of non-functional requirements for each subprogram from the performance basic data and the use element information;
Is executed.

本発明によれば、プログラムの開発が完了する前であっても、必要データを推測することで、性能の見積もりができる。   According to the present invention, it is possible to estimate the performance by estimating the necessary data even before the development of the program is completed.

本発明の実施の形態に係るプログラム検査支援システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the program test | inspection assistance system which concerns on embodiment of this invention. 非機能要件の例を示す図である。It is a figure which shows the example of a non-functional requirement. 環境部に係るチェック情報の例を示す図である。It is a figure which shows the example of the check information which concerns on an environment part. プログラム部に係るチェック情報の例を示す図である。It is a figure which shows the example of the check information which concerns on a program part. 実施の形態に係るプログラム検査支援システムの、プログラム検査支援の動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement of program inspection support of the program inspection support system which concerns on embodiment. 本発明の実施の形態の変形例に係るプログラム検査支援システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the program inspection assistance system which concerns on the modification of embodiment of this invention. 実施の形態の変形例に係るプログラム検査支援システムの、プログラム検査支援の動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement of a program test | inspection support of the program test | inspection support system which concerns on the modification of embodiment. 本発明の実施の形態に係るプログラム検査支援システムの、チェック情報更新の動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement of check information update of the program test | inspection assistance system which concerns on embodiment of this invention. 本発明に係るプログラム検査支援システムのハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of the hardware constitutions of the program test | inspection assistance system which concerns on this invention.

本発明で、プログラムの非機能要件とは、プログラムの目的の処理を実行する機能以外の、プログラムが使用するコンピュータ資源などの要素の性能をいう。例えば、プログラムの起動時間、主記憶にロードしたときのメモリ使用量、画面表示の所用時間、画面を遷移するときの所用時間、画面を表示するときのメモリ使用量などである。   In the present invention, the non-functional requirement of a program refers to the performance of elements such as computer resources used by the program, other than the function of executing the intended processing of the program. For example, the start time of the program, the memory usage when loaded into the main memory, the time required for screen display, the time required for transitioning the screen, the memory usage when displaying the screen, and the like.

プログラムが使用する要素とは、プログラムが動作する条件または環境、および、プログラムの内部で使用するライブラリ関数などをいう。動作する条件または環境には、例えば、アプリケーションプログラムに対するオペレーティングシステム(OS)、プログラムを動作させるためのプラットフォーム、OSやハードウェアに依存しない言語で記述されたアプレットを動作させるためのブラウザとプラグインなどがある。ライブラリ関数には、例えば、画面生成、ラベル表示、テキストボックス表示、ボタン表示などがあり、複数のアプリケーションプログラムに共通する定型の処理を実行するプログラムであって、さまざまなアプリケーションプログラムに組み込まれる。   The elements used by the program refer to conditions or environments under which the program operates and library functions used inside the program. The operating condition or environment includes, for example, an operating system (OS) for an application program, a platform for operating the program, a browser and a plug-in for operating an applet written in a language independent of the OS and hardware, etc. There is. Library functions include, for example, screen generation, label display, text box display, button display, and the like, and are programs that execute routine processing common to a plurality of application programs, and are incorporated into various application programs.

本発明では、ある処理系における非機能要件の基準の性能を性能基礎データという。性能基礎データは、プログラムが動作する条件または環境の基準の性能を表す環境要素性能と、プログラムの内部で用いる要素ごとの基準の性能を表すプログラム要素性能のデータに分けられる。以下では、性能基礎データをチェック情報ともいう。また、環境要素性能をチェック情報の環境部といい、プログラム要素性能をチェック情報のプログラム部という。   In the present invention, the standard performance of non-functional requirements in a certain processing system is referred to as performance basic data. The basic performance data is divided into environmental element performance that represents standard performance of conditions under which the program operates or the environment, and program element performance data that represents standard performance for each element used in the program. Hereinafter, the basic performance data is also referred to as check information. The environmental element performance is referred to as an environment part of check information, and the program element performance is referred to as a program part of check information.

本発明で、プログラムが使用する要素の情報を使用要素情報という。使用要素情報は、プログラムが動作する条件または環境の情報である環境要素情報と、プログラムの内部で用いる要素ごとの情報を表すプログラム要素情報に分けられる。使用要素情報は、検査の対象のソースプログラムを含む検査対象ファイルから抽出できる。以下では、環境要素情報を検査対象ファイルの環境部、プログラム要素情報を検査対象ファイルのプログラム部ともいう。   In the present invention, information on elements used by the program is referred to as used element information. The used element information is divided into environmental element information that is information on conditions or environments in which the program operates, and program element information that represents information for each element used in the program. The used element information can be extracted from the inspection target file including the source program to be inspected. Hereinafter, the environmental element information is also referred to as an environment part of the inspection target file, and the program element information is also referred to as a program part of the inspection target file.

プログラムは、目的に合わせた処理を指示通りに実行するサブプログラムが集まって構成される。複数のサブプログラムを完成させていき、プログラムの開発は完了する。各々のサブプログラムは独立して動作し資源を使用するが、プログラム全体で使用する資源量は一定で限りがある。そのため、プログラムの開発者は、各々のサブプログラムの資源量や処理にかかる処理時間を考慮しながら、サブプログラムを完成させる必要がある。また、画面表示にかかる時間や切り替えにかかる時間など、使用する開発者の利便性向上に結び付く非機能要件についても、考慮する必要がある。本発明では、非機能要件の代表的な資源を例にあげて説明するが、非機能要件全般に適用可能である。   The program is composed of a collection of subprograms that execute processing according to the purpose as instructed. The development of the program is completed by completing a plurality of subprograms. Each subprogram operates independently and uses resources, but the amount of resources used by the whole program is limited and limited. Therefore, the program developer needs to complete the subprogram while considering the resource amount of each subprogram and the processing time required for the processing. It is also necessary to consider non-functional requirements that lead to improved convenience for developers to use, such as time required for screen display and time required for switching. In the present invention, a typical resource of non-functional requirements will be described as an example, but the present invention can be applied to general non-functional requirements.

以下、本発明の実施の形態について図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付す。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

(実施の形態)
図1は、本発明の実施の形態に係るプログラム検査支援システムの構成例を示すブロック図である。プログラム検査支援システム100は、記憶部1と、取得部2と、算出部3と、入力部4とおよび出力部5から構成される。プログラム検査支援システム100の検査対象ファイル12や性能基礎データであるチェック情報11などは、入力部4で入力し、出力部5で出力する。また、プログラム検査支援システム100は、ネットワークNを介して端末6と接続する。
(Embodiment)
FIG. 1 is a block diagram showing a configuration example of a program inspection support system according to an embodiment of the present invention. The program inspection support system 100 includes a storage unit 1, an acquisition unit 2, a calculation unit 3, an input unit 4, and an output unit 5. The inspection target file 12 of the program inspection support system 100, the check information 11 that is basic performance data, and the like are input by the input unit 4 and output by the output unit 5. The program inspection support system 100 is connected to the terminal 6 via the network N.

記憶部1は、検査対象ファイル12や性能基礎データであるチェック情報11を記憶する。検査対象ファイル12は、検査対象であるプログラムおよびプログラムを構成するサブプログラムの総称をいう。また、各々のサブプログラムが使用する要素の情報は、サブプログラムが動作する条件または環境の情報である環境要素情報と、サブプログラムの内部で用いる要素ごとの情報を表すプログラム要素情報に分けられる。チェック情報11は、環境部に関するものと、プログラム部に関するものとに分けられ、サブプログラムの環境要素情報とプログラム要素情報のそれぞれに対応する。   The storage unit 1 stores a check target file 12 and check information 11 that is basic performance data. The inspection target file 12 is a generic name of a program to be inspected and subprograms constituting the program. The information on the elements used by each subprogram is divided into environment element information that is information on conditions or environments in which the subprogram operates and program element information that represents information for each element used in the subprogram. The check information 11 is divided into information relating to the environment part and information relating to the program part, and corresponds to each of the environmental element information and program element information of the subprogram.

また、記憶部1は、算出部3で算出した性能見積もり値や、完成したサブプログラムの性能を実測した性能実測値など、プログラム検査支援システム100に関するさまざまな情報を記憶する。   In addition, the storage unit 1 stores various information related to the program inspection support system 100 such as the performance estimation value calculated by the calculation unit 3 and the actually measured performance value obtained by actually measuring the performance of the completed subprogram.

取得部2は、検査対象であるサブプログラムを記憶部1から取得し、かつ、記憶部1から取得した検査対象であるサブプログラムに対応するチェック情報11が記憶部1に格納されているかを確認する。   The acquisition unit 2 acquires the subprogram to be inspected from the storage unit 1 and confirms whether the check information 11 corresponding to the subprogram to be inspected acquired from the storage unit 1 is stored in the storage unit 1. To do.

算出部3は、取得部2でチェック情報11有りとされたサブプログラムに対して、そのサブプログラムの性能見積もり値を算出する。そして、複数あるサブプログラムのそれぞれについて性能見積もり値を算出し、総和を求め、プログラムの性能見積もり値を算出する。   The calculation unit 3 calculates the performance estimate value of the subprogram for the subprogram for which the check information 11 is present in the acquisition unit 2. Then, a performance estimate value is calculated for each of a plurality of subprograms, a sum is obtained, and a program performance estimate value is calculated.

図2は非機能要件の例を示す図である。非機能要件の代表的なものに資源があり、ステップ数で表される計算時間や、記憶領域の量で表されるメモリ使用量があげられる。   FIG. 2 is a diagram illustrating an example of non-functional requirements. Typical non-functional requirements include resources, such as calculation time expressed by the number of steps and memory usage expressed by the amount of storage area.

図3は、環境部に係るチェック情報の例を示す図である。図4は、プログラム部に係るチェック情報の例を示す図である。開発者が開発するプログラムは、動作環境である環境部とプログラム部に区別され、環境部はプログラムの起動の有無により性能値が固定して与えられ、プログラム部はプログラムの起動状態に対応して性能値が変動して与えられる。   FIG. 3 is a diagram illustrating an example of check information related to the environment unit. FIG. 4 is a diagram illustrating an example of check information relating to the program unit. The program developed by the developer is divided into the environment part which is the operating environment and the program part. The environment part is given a fixed performance value depending on whether the program is activated or not, and the program part corresponds to the activation state of the program. The performance value is given fluctuating.

以下に、具体的に、開発者がプログラム検査支援システム100を用いる場合の、実施の形態の動作について説明する。検査対象のプログラムXは、サブプログラムAないしCの3個のサブプログラムから構成される。また、検査対象となる非機能要件は、起動速度に関するものを例とする。   The operation of the embodiment when the developer uses the program inspection support system 100 will be specifically described below. The program X to be inspected is composed of three subprograms A to C. In addition, the non-functional requirements to be inspected are those related to the startup speed.

サブプログラムAの環境部の動作条件・環境はOS(Windows(登録商標)XP)、対象はブラウザ(IE7:Internet Explorer 7(登録商標)、以下IE7と記載)、サブプログラムBの環境部の動作条件・環境はブラウザ(IE7)、対象はアドオン(FlashPlayer9(登録商標))、サブプログラムCの環境部の動作条件・環境はOS(Windows(登録商標)XP)、対象はブラウザ(IE7)とする。サブプログラムAのプログラム部の対象はButtonで100個、サブプログラムBのプログラム部の対象はAPサイズで5MB、サブプログラムCのプログラム部の対象はDateGridで5個とDateGridデータは10セルであるとする。   The operating conditions and environment of the environment part of the subprogram A are OS (Windows (registered trademark) XP), the target is a browser (IE7: Internet Explorer 7 (registered trademark), hereinafter referred to as IE7), and the operation of the environment part of the subprogram B The condition / environment is a browser (IE7), the target is an add-on (FlashPlayer9 (registered trademark)), the operating condition / environment of the environment part of the subprogram C is OS (Windows (registered trademark) XP), and the target is a browser (IE7). . The target of the program part of the subprogram A is 100 for Button, the target of the program part of the subprogram B is 5 MB for the AP size, the target of the program part of the subprogram C is 5 for the DateGrid, and the DataGrid data is 10 cells. To do.

記憶部1は、予め、図3や図4で示すチェック情報11を記憶しておく。   The storage unit 1 stores check information 11 shown in FIGS. 3 and 4 in advance.

開発者が端末6を用いてプログラミングすると、プログラム検査支援システム100の入力部4は、ネットワークNを介して、プログラムXに関する情報を取得する。プログラムXに関する情報とは、プログラムXがサブプロミングAないしCで構成されていることや、サブプログラミングAないしCの各サブプログラムの内容について、などである。   When the developer performs programming using the terminal 6, the input unit 4 of the program inspection support system 100 acquires information about the program X via the network N. The information related to the program X includes the fact that the program X is composed of subprograms A to C, the contents of the subprograms of the subprograms A to C, and the like.

記憶部1は、入力部4で取得したプログラムXに関する情報を記憶する。取得部2は、記憶部1が記憶したプログラムXに関する情報から、検査対象である各サブプログラムAないしCを取得する。そして、それぞれのサブプログラムの環境部およびプログラム部について、検査のための非機能要件に該当する必要項目を抽出し、記憶部1に該当するチェック情報11が格納されているかどうかを、抽出した項目を照合して確認する。算出部3は、取得部2で取得し、チェック情報11有りと確認されたサブプログラムAないしCについて、非機能要件の性能見積もり値をそれぞれ算出する。さらに算出部3は、その総和を算出し、プログラムXの性能見積もり値とする。   The storage unit 1 stores information regarding the program X acquired by the input unit 4. The acquisition unit 2 acquires the subprograms A to C to be inspected from the information regarding the program X stored in the storage unit 1. Then, for the environment part and the program part of each subprogram, necessary items corresponding to non-functional requirements for inspection are extracted, and whether the check information 11 corresponding to the storage part 1 is stored is extracted. Check by checking. The calculation unit 3 calculates performance estimation values of non-functional requirements for the subprograms A to C acquired by the acquisition unit 2 and confirmed to have the check information 11. Further, the calculation unit 3 calculates the sum and sets it as the performance estimate value of the program X.

例えば、サブプログラムAについては、環境部の条件が、環境部のチェック情報11のレコード1と一致するので、非機能要件の起動速度を算出するために、起動時間は2000msec用いることが分かる。また、プログラム部の条件が、対象のButtonが100個であるので、環境部のチェック情報11のレコード2より、1個あたり10msecなので起動時間はそれらの積の1000msec必要なことが分かる。サブプログラムAについては、起動時間は合計3000msec必要であることが算出できる。同様に、サブプログラムBは3000msec、サブプログラムCは2600msecである。そして、その総和より、プログラムXの性能見積もり値は、8600msecとなる。   For example, for subprogram A, since the condition of the environment part matches the record 1 of the check information 11 of the environment part, it can be seen that the activation time is 2000 msec in order to calculate the activation speed of the non-functional requirement. Further, since the condition of the program part is 100 target Buttons, it can be seen from the record 2 of the check information 11 of the environment part that since 10 msec per piece, the activation time needs 1000 msec of those products. For subprogram A, it can be calculated that a total startup time of 3000 msec is required. Similarly, the subprogram B is 3000 msec and the subprogram C is 2600 msec. From the sum, the estimated performance value of the program X is 8600 msec.

そして、記憶部1は、算出部3で算出したプログラムXの性能見積もり値を記憶する。また、必要があれば、出力部5は、ネットワークNを介して端末6にプログラムXの性能見積もり値の情報を出力する。   The storage unit 1 stores the performance estimate value of the program X calculated by the calculation unit 3. If necessary, the output unit 5 outputs the performance estimate value information of the program X to the terminal 6 via the network N.

図5は、本発明の実施の形態に係るプログラム検査支援システムの、プログラム検査支援の動作の一例を示すフローチャートである。予め、プログラムの非機能要件に関するチェック情報11を、記憶部1へ記憶する。   FIG. 5 is a flowchart showing an example of the program inspection support operation of the program inspection support system according to the embodiment of the present invention. Check information 11 relating to non-functional requirements of the program is stored in the storage unit 1 in advance.

開発者が端末6を用いてプログラムを作成する。プログラム検査支援システム100の入力部4は、ネットワークNを介して、端末6に入力された情報であるプログラムや、そのプログラムを構成する複数のサブプログラムを受信し、記憶部1は、その受信した情報について記憶する(ステップS11)。取得部2は、記憶部1に記憶された情報から、検査対象であるプログラムおよびサブプログラムの情報を取得し、非機能要件にかかる項目の抽出を行う(ステップS12)。そして取得部2は、記憶部1に、検査対象のプログラムの非機能要件に対応するチェック情報11が格納されているかどうかを確認する(ステップS13)。チェック情報11があれば(ステップS14;YES)、算出部3は、取得部2で抽出した非機能要件にかかる項目と、対応するチェック情報11をもとに、サブプログラムの性能の見積もり値を算出する(ステップS15)。そして、各サブプログラムの総和を求め、プログラムの性能の見積もり値を算出し(ステップS16)、プログラム検査支援の動作を終了する。チェック情報11がなければ(ステップS14;NO)、そのままプログラム検査支援の動作を終了する。   A developer creates a program using the terminal 6. The input unit 4 of the program inspection support system 100 receives a program that is information input to the terminal 6 and a plurality of subprograms constituting the program via the network N, and the storage unit 1 receives the received program. Information is stored (step S11). The acquisition unit 2 acquires information on the program and subprogram to be inspected from the information stored in the storage unit 1, and extracts items related to non-functional requirements (step S12). Then, the acquisition unit 2 confirms whether the storage unit 1 stores check information 11 corresponding to the non-functional requirements of the program to be inspected (Step S13). If there is the check information 11 (step S14; YES), the calculation unit 3 calculates the estimated value of the performance of the subprogram based on the items related to the non-functional requirements extracted by the acquisition unit 2 and the corresponding check information 11. Calculate (step S15). Then, the sum total of the subprograms is obtained, an estimated value of the performance of the program is calculated (step S16), and the operation of the program inspection support is ended. If there is no check information 11 (step S14; NO), the program inspection support operation is terminated.

(実施の形態の変形例)
図6は、本発明の実施の形態の変形例に係るプログラム検査支援システムの構成例を示すブロック図である。変形例では、チェック情報がない場合に、開発者に表示することができる。また、サブプログラムが完成した場合に、性能見積もり値と性能実測値とを比較し、見積もりの精度を向上することができる。プログラム検査支援システム100は、実施の形態1の構成に加えて、判定部7および測定部8を備える。
(Modification of the embodiment)
FIG. 6 is a block diagram showing a configuration example of a program inspection support system according to a modification of the embodiment of the present invention. In the modification, when there is no check information, it can be displayed to the developer. Further, when the subprogram is completed, it is possible to compare the estimated performance value and the actually measured performance value to improve the accuracy of the estimation. The program inspection support system 100 includes a determination unit 7 and a measurement unit 8 in addition to the configuration of the first embodiment.

判定部7は、記憶部1に記憶された情報のサブプログラムが、完成したサブプログラムであるかを判定する。判定は、そのプログラム内容を読み込み、プログラム処理に必要な命令シーケンスが含まれているかどうかや、その他必要なシーケンスを備えているかなどで判断する。あるいは、サブプログラムが特別のフォルダに登録されたこと、または、サブプログラムのファイル名が完成プログラムのリストに登録されたことをもって、完成したと判断してもよい。   The determination unit 7 determines whether the subprogram of information stored in the storage unit 1 is a completed subprogram. The determination is made by reading the contents of the program and determining whether or not an instruction sequence necessary for program processing is included and whether or not a necessary sequence is provided. Alternatively, it may be determined that the subprogram is completed when the subprogram is registered in a special folder or when the file name of the subprogram is registered in the list of completed programs.

測定部8は、判定部7で完成したサブプログラムであると判断されたサブプログラムに対して、好ましくは実際に処理をして性能実測値を測定する。実際の処理が不可能である場合は、シミュレーションした結果や、過去の類似したプログラムの性能値をもとに、所定の方法で、近似した値を算出することが好ましい。このとき記憶部1は、チェック情報11を、測定部8で測定もしくは算出した値に更新して記憶する。   The measuring unit 8 preferably performs actual processing on the subprogram determined to be the subprogram completed by the determining unit 7 and measures the actual measured value. When actual processing is impossible, it is preferable to calculate an approximate value by a predetermined method based on a simulation result or a past performance value of a similar program. At this time, the storage unit 1 updates the check information 11 to a value measured or calculated by the measurement unit 8 and stores it.

図7は、実施の形態の変形例に係るプログラム検査支援システムの、プログラム検査支援の動作の一例を示すフローチャートである。   FIG. 7 is a flowchart illustrating an example of the operation of program inspection support in the program inspection support system according to the modification of the embodiment.

開発者が端末6を用いてプログラムを作成する。プログラム検査支援システム100の入力部4は、ネットワークNを介して、端末6に入力された情報であるプログラムや、そのプログラムを構成する複数のサブプログラムを受信し、記憶部1は、その受信した情報について記憶する(ステップS11)。取得部2は、記憶部1に記憶された情報から、検査対象であるプログラムおよびサブプログラムの情報を取得し、非機能要件にかかる項目の抽出を行う(ステップS12)。   A developer creates a program using the terminal 6. The input unit 4 of the program inspection support system 100 receives a program that is information input to the terminal 6 and a plurality of subprograms constituting the program via the network N, and the storage unit 1 receives the received program. Information is stored (step S11). The acquisition unit 2 acquires information on the program and subprogram to be inspected from the information stored in the storage unit 1, and extracts items related to non-functional requirements (step S12).

取得部2は、記憶部1に、検査対象のプログラムの非機能要件に対応するチェック情報11が格納されているかどうかを確認する(ステップS13)。チェック情報11があれば(ステップS14;YES)、算出部3は、取得部2で抽出した非機能要件にかかる項目と、対応するチェック情報11をもとに、サブプログラムの性能の見積もり値を算出する(ステップS15)。そして、各サブプログラムの総和を求め、プログラムの性能の見積もり値を算出し(ステップS16)、出力部5はネットワークNを介して、算出した性能見積もり値のデータを、端末6に表示する(ステップS21)。そして、プログラム検査支援の変形例の動作を終了する。   The acquisition unit 2 confirms whether or not the check information 11 corresponding to the non-functional requirements of the program to be inspected is stored in the storage unit 1 (step S13). If there is the check information 11 (step S14; YES), the calculation unit 3 calculates the estimated value of the performance of the subprogram based on the items related to the non-functional requirements extracted by the acquisition unit 2 and the corresponding check information 11. Calculate (step S15). Then, the sum of the subprograms is obtained, and an estimated value of the performance of the program is calculated (step S16). The output unit 5 displays the calculated performance estimated value data on the terminal 6 via the network N (step S16). S21). Then, the operation of the modified example of the program inspection support is terminated.

チェック情報11がなければ(ステップS14;NO)、該当する非機能要件を備えたサブプログラムの抽出を行い(ステップS22)、抽出したサブプログラムのデータを、端末6に表示し(ステップS23)、プログラム検査支援の動作を終了する。このとき、サブプログラムの表示だけでなく、チェック情報11がない項目、すなわち、性能を見積もるために必要な項目を表示してもよい。開発者は、性能を見積もるために不足している項目を知ることができ、その項目を補足することで、性能値を見積もることが可能となることが分かる。   If the check information 11 is not present (step S14; NO), the subprogram having the corresponding non-functional requirements is extracted (step S22), and the extracted subprogram data is displayed on the terminal 6 (step S23). End the program verification support operation. At this time, not only the display of the subprogram but also an item without the check information 11, that is, an item necessary for estimating the performance may be displayed. It can be seen that the developer can know the items that are lacking in order to estimate the performance, and that it is possible to estimate the performance value by supplementing the items.

図8は、本発明の実施の形態に係るプログラム検査支援システムの、チェック情報更新の動作の一例を示すフローチャートである。チェック情報更新の動作は、プログラム検査支援の動作と独立して行う。   FIG. 8 is a flowchart showing an example of the check information update operation of the program inspection support system according to the embodiment of the present invention. The check information update operation is performed independently of the program inspection support operation.

開発者が端末6を用いてプログラムを作成する。プログラム検査支援システム100の入力部4は、ネットワークNを介して、端末6に入力されたプログラムやそのプログラムを構成する複数のサブプログラムの情報を受信し、記憶部1は、それらの情報を記憶する(ステップS31)。判定部7は、取得したサブプログラムの情報について、完成したサブプログラムであるかを判定する(ステップS32)。完成したサブプログラムであれば(ステップS33;YES)、測定部8は、実際の性能値である実測値を測定する(ステップS34)。記憶部1は、チェック情報11の性能見積もり値を性能実測値へ置き換え、チェック情報の更新を行い(ステップS35)、チェック情報更新の動作を終了する。ステップS33で完成したサブプログラムでなければ(ステップと33;NO)、更新する必要のあるチェック情報11が存在しないので、そのまま終了する。   A developer creates a program using the terminal 6. The input unit 4 of the program inspection support system 100 receives information on a program input to the terminal 6 and a plurality of subprograms constituting the program via the network N, and the storage unit 1 stores the information. (Step S31). The determination unit 7 determines whether the acquired subprogram information is a completed subprogram (step S32). If it is a completed subprogram (step S33; YES), the measuring unit 8 measures an actual measurement value that is an actual performance value (step S34). The storage unit 1 replaces the estimated performance value of the check information 11 with the actually measured performance value, updates the check information (step S35), and ends the check information update operation. If the subprogram is not completed in step S33 (step 33; NO), the check information 11 that needs to be updated does not exist, and the process is terminated.

以上説明したように、本実施の形態および実施の形態の変形例に係るプログラム検査支援システムによれば、プログラムの開発が完了する前であっても、必要データを推測することで、性能の見積もりができる。また、見積もりが行いにくい場合であっても、必要な項目を知ることができ、必要最小量のデータの追加を行うことで、性能の見積もりをすることが可能となる。その結果、プログラム開発の早い段階で、性能を満たしているかを容易に確認することができ、従来は、後手の確認となっていた項目、すなわち非機能要件についても、確認をすることができる。   As described above, according to the program inspection support system according to the present embodiment and the modification of the embodiment, it is possible to estimate the performance by estimating necessary data even before the development of the program is completed. Can do. Even if it is difficult to estimate, it is possible to know the necessary items, and it is possible to estimate the performance by adding the minimum amount of data. As a result, it is possible to easily confirm whether the performance is satisfied at an early stage of program development, and it is also possible to confirm items that have been confirmed in the back, that is, non-functional requirements.

実施の形態で説明した資源は一例であり、資源の様々な評価項目は任意に設定できる。例えば、処理時間とメモリ使用量だけでなく、空き領域とアクセス時間、ディスプレイ上の面積、環境変数などを用いて資源を計算してもよい。処理を並列して行う場合の並列処理効率などを加味して計算するなど、計算方法は任意に設定可能である。プログラムの環境部やプログラム部についてのチェック情報も、その組合せは任意に設定可能である。また、性能値に用いる数値は、必ずしも実測値とは限らず、シミュレーションにより得られた値などの場合であってもよく、類似したプログラムを実行したときに得られた値であってもよい。実測値と見積もり値が乖離した場合は、データを更新し、常に実測値に近いデータとすることが好ましい。   The resource described in the embodiment is an example, and various evaluation items of the resource can be arbitrarily set. For example, resources may be calculated using not only processing time and memory usage but also free space and access time, display area, environment variables, and the like. The calculation method can be arbitrarily set, for example, the calculation is performed in consideration of the parallel processing efficiency when the processing is performed in parallel. Combinations of check information about the environment part and program part of the program can be arbitrarily set. In addition, the numerical value used for the performance value is not necessarily an actual measurement value, and may be a value obtained by simulation or a value obtained when a similar program is executed. When the actual measurement value and the estimated value deviate, it is preferable to update the data so that the data is always close to the actual measurement value.

図9は、図1および図6に示すプログラム検査支援システムのハードウェア構成の一例を示すブロック図である。プログラム検査支援システム100は、図9に示すように、制御部31、主記憶部32、外部記憶部33、操作部34、表示部35、入出力部36および送受信部37を備える。主記憶部32、外部記憶部33、操作部34、表示部35、入出力部36および送受信部37はいずれも内部バス30を介して制御部31に接続されている。   FIG. 9 is a block diagram illustrating an example of a hardware configuration of the program inspection support system illustrated in FIGS. 1 and 6. As shown in FIG. 9, the program inspection support system 100 includes a control unit 31, a main storage unit 32, an external storage unit 33, an operation unit 34, a display unit 35, an input / output unit 36, and a transmission / reception unit 37. The main storage unit 32, the external storage unit 33, the operation unit 34, the display unit 35, the input / output unit 36 and the transmission / reception unit 37 are all connected to the control unit 31 through the internal bus 30.

制御部31はCPU(Central Processing Unit)等から構成され、外部記憶部33に記憶されている制御プログラム40に従って、プログラム検査支援システム100の記憶部1、取得部2、算出部3、入力部4、出力部5、判定部7および測定部8の各処理を実行する。   The control unit 31 includes a CPU (Central Processing Unit) and the like, and in accordance with a control program 40 stored in the external storage unit 33, the storage unit 1, the acquisition unit 2, the calculation unit 3, and the input unit 4 of the program inspection support system 100. Each process of the output unit 5, the determination unit 7, and the measurement unit 8 is executed.

主記憶部32はRAM(Random-Access Memory)等から構成され、外部記憶部33に記憶されている制御プログラム40をロードし、制御部31の作業領域として用いられる。   The main storage unit 32 is constituted by a RAM (Random-Access Memory) or the like, loads a control program 40 stored in the external storage unit 33, and is used as a work area of the control unit 31.

外部記憶部33は、フラッシュメモリ、ハードディスク、DVD−RAM(Digital Versatile Disc Random-Access Memory)、DVD−RW(Digital Versatile Disc ReWritable)等の不揮発性メモリから構成され、プログラム検査支援システム100の処理を制御部31に行わせるためのプログラムを予め記憶し、また、制御部31の指示に従って、このプログラムが記憶するデータを制御部31に供給し、制御部31から供給されたデータを記憶する。   The external storage unit 33 includes a non-volatile memory such as a flash memory, a hard disk, a DVD-RAM (Digital Versatile Disc Random-Access Memory), a DVD-RW (Digital Versatile Disc ReWritable), and the like. A program to be executed by the control unit 31 is stored in advance, and data stored by the program is supplied to the control unit 31 in accordance with an instruction from the control unit 31, and the data supplied from the control unit 31 is stored.

プログラム検査支援システム100の記憶部1は、外部記憶部33に構成される。また、記憶部1は、情報データベースとして外部記憶部33に構成される場合もある。   The storage unit 1 of the program inspection support system 100 is configured in the external storage unit 33. In addition, the storage unit 1 may be configured in the external storage unit 33 as an information database.

操作部34はキーボードおよびマウスなどのポインティングデバイス等と、キーボードおよびポインティングデバイス等を内部バス30に接続するインターフェース装置から構成されている。操作部34を介して、プログラムに関する情報などが入力され、制御部31に供給される。   The operation unit 34 includes a pointing device such as a keyboard and a mouse, and an interface device that connects the keyboard and the pointing device to the internal bus 30. Information relating to the program and the like is input via the operation unit 34 and supplied to the control unit 31.

表示部35は、CRT(Cathode Ray Tube)またはLCD(Liquid Crystal Display)などから構成され、性能見積もり値や、検査対象のプログラムに関する情報などを表示する。   The display unit 35 is composed of a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display), or the like, and displays a performance estimation value, information on a program to be inspected, and the like.

入出力部36は、シリアルインタフェースまたはパラレルインタフェースから構成されている。入出力部36は、端末6が附属する装置の場合は、それと接続する。   The input / output unit 36 includes a serial interface or a parallel interface. If the terminal 6 is a device to which the terminal 6 is attached, the input / output unit 36 is connected thereto.

送受信部37は、ネットワークNに接続する網終端装置または無線通信装置、およびそれらと接続するシリアルインタフェースまたはLAN(Local Area Network)インタフェースから構成されている。送受信部37は、ネットワークNを介して、検査対象のプログラムに関する情報を受信する。端末6が、プログラム検査支援システム100とは別の端末装置の場合は、例えば、送受信部37を介して、ネットワークNを経由して、端末6に接続する。   The transmission / reception unit 37 includes a network termination device or a wireless communication device connected to the network N, and a serial interface or a LAN (Local Area Network) interface connected thereto. The transmission / reception unit 37 receives information regarding the program to be inspected via the network N. When the terminal 6 is a terminal device different from the program inspection support system 100, for example, the terminal 6 is connected to the terminal 6 via the network N via the transmission / reception unit 37.

図1および図6に示すプログラム検査支援システム100の記憶部1、取得部2、算出部3、入力部4、出力部5、判定部7および測定部8の処理は、制御プログラム40が、制御部31、主記憶部32、外部記憶部33、操作部34、表示部35、入出力部36および送受信部37などを資源として用いて処理することによって実行する。   The processing of the storage unit 1, the acquisition unit 2, the calculation unit 3, the input unit 4, the output unit 5, the determination unit 7, and the measurement unit 8 of the program inspection support system 100 shown in FIGS. 1 and 6 is controlled by the control program 40. The processing is executed by using the unit 31, the main storage unit 32, the external storage unit 33, the operation unit 34, the display unit 35, the input / output unit 36, the transmission / reception unit 37, and the like as resources.

その他、本発明の好適な変形として、以下の構成が含まれる。   Other suitable modifications of the present invention include the following configurations.

本発明の第1の観点に係るプログラム検査支援システムについて、
好ましくは、前記性能基礎データは、前記サブプログラムが動作する条件または環境の基準の性能を表す環境要素性能と、前記サブプログラムの内部で用いる要素ごとの基準の性能を表すプログラム要素性能のデータを含み、
前記使用要素情報は、前記サブプログラムが動作する条件または環境の情報である環境要素情報と、前記サブプログラムの内部で用いる要素ごとの情報を表すプログラム要素情報を含み、
前記性能見積手段は、前記環境要素性能と前記環境要素情報の項目ごとの積と、前記プログラム要素性能と前記プログラム要素情報の項目ごとの積とから、前記サブプログラムごとの見積値を算出する、
ことを特徴とする。
About the program inspection support system according to the first aspect of the present invention,
Preferably, the basic performance data includes: environmental element performance that represents a standard performance of a condition or environment in which the subprogram operates; and program element performance data that represents a standard performance for each element used in the subprogram. Including
The use element information includes environment element information that is information on conditions or environments in which the subprogram operates, and program element information that represents information for each element used in the subprogram,
The performance estimation means calculates an estimated value for each subprogram from the product for each item of the environment element performance and the environment element information, and the product for each item of the program element performance and the program element information.
It is characterized by that.

好ましくは、前記サブプログラムを、該サブプログラムが使用する要素の条件で実際に動作させたときの性能データである実測値を取得する実測値取得手段と、
前記実測値から、前記サブプログラムの使用要素情報を用いて、前記性能基礎データを算出する実測性能データ生成手段と、
前記基礎データ記憶手段の性能基礎データを、前記実測性能データ生成手段で生成した性能基礎データに更新する手段と、
を備えることを特徴とする。
Preferably, an actual measurement value acquisition means for acquiring an actual measurement value that is performance data when the subprogram is actually operated under the conditions of the elements used by the subprogram;
From the actual measurement value, using the element usage information of the subprogram, actual performance data generation means for calculating the basic performance data,
Means for updating the basic performance data of the basic data storage means to the basic performance data generated by the measured performance data generating means;
It is characterized by providing.

本発明の第2の観点に係るプログラム検査支援方法について、
好ましくは、前記性能基礎データは、前記サブプログラムが動作する条件または環境の基準の性能を表す環境要素性能と、前記サブプログラムの内部で用いる要素ごとの基準の性能を表すプログラム要素性能のデータを含み、
前記使用要素情報は、前記サブプログラムが動作する条件または環境の情報である環境要素情報と、前記サブプログラムの内部で用いる要素ごとの情報を表すプログラム要素情報を含み、
前記性能見積ステップは、前記環境要素性能と前記環境要素情報の項目ごとの積と、前記プログラム要素性能と前記プログラム要素情報の項目ごとの積とから、前記サブプログラムごとの見積値を算出する、
ことを特徴とする。
About the program inspection support method according to the second aspect of the present invention,
Preferably, the basic performance data includes: environmental element performance that represents a standard performance of a condition or environment in which the subprogram operates; and program element performance data that represents a standard performance for each element used in the subprogram. Including
The use element information includes environment element information that is information on conditions or environments in which the subprogram operates, and program element information that represents information for each element used in the subprogram,
The performance estimation step calculates an estimated value for each subprogram from the product for each item of the environment element performance and the environment element information, and the product for each item of the program element performance and the program element information.
It is characterized by that.

好ましくは、前記サブプログラムを、該サブプログラムが使用する要素の条件で実際に動作させたときの性能データである実測値を取得する実測値取得ステップと、
前記実測値から、前記サブプログラムの使用要素情報を用いて、前記性能基礎データを算出する実測性能データ生成ステップと、
前記基礎データ取得ステップの性能基礎データを、前記実測性能データ生成ステップで生成した性能基礎データに更新するステップと、
を備えることを特徴とする。
Preferably, an actual measurement value acquisition step of acquiring an actual measurement value that is performance data when the subprogram is actually operated under the conditions of the elements used by the subprogram;
From the actual measurement value, using the usage element information of the subprogram, the actual performance data generation step for calculating the basic performance data,
Updating the basic performance data in the basic data acquisition step to the basic performance data generated in the actual performance data generation step;
It is characterized by providing.

その他、前記のハードウエア構成やフローチャートは一例であり、任意に変更および修正が可能である。   In addition, the above-described hardware configuration and flowchart are examples, and can be arbitrarily changed and modified.

取得部2、算出部3等から構成されるプログラム検査支援処理を行う中心となる部分は、専用のシステムによらず、通常のコンピュータシステムを用いて実現可能である。たとえば、前記の動作を実行するためのコンピュータプログラムを、コンピュータが読み取り可能な記録媒体(フレキシブルディスク、CD−ROM、DVD−ROM等)に格納して配布し、当該コンピュータプログラムをコンピュータにインストールすることにより、前記の処理を実行するプログラム検査支援システムを構成してもよい。また、インターネット等の通信ネットワーク上のサーバ装置が有する記憶装置に当該コンピュータプログラムを格納しておき、通常のコンピュータシステムがダウンロード等することでプログラム検査支援システムを構成してもよい。   The central part for performing the program inspection support process composed of the acquisition unit 2, the calculation unit 3 and the like can be realized by using a normal computer system without depending on a dedicated system. For example, a computer program for executing the above operation is stored and distributed in a computer-readable recording medium (flexible disk, CD-ROM, DVD-ROM, etc.), and the computer program is installed in the computer. Thus, a program inspection support system that executes the above-described processing may be configured. Further, the program inspection support system may be configured by storing the computer program in a storage device included in a server device on a communication network such as the Internet and downloading the computer program from a normal computer system.

また、プログラム検査支援システムを、OS(オペレーティングシステム)とアプリケーションプログラムの分担、またはOSとアプリケーションプログラムとの協働により実現する場合等には、アプリケーションプログラム部分のみを記録媒体や記憶装置に格納してもよい。   Further, when the program inspection support system is realized by sharing the OS (operating system) and the application program or by cooperation between the OS and the application program, only the application program part is stored in a recording medium or a storage device. Also good.

また、搬送波にコンピュータプログラムを重畳し、通信ネットワークを介して配信することも可能である。たとえば、通信ネットワーク上の掲示板(BBS, Bulletin Board System)に前記コンピュータプログラムを掲示し、ネットワークを介して前記コンピュータプログラムを配信してもよい。そして、このコンピュータプログラムを起動し、OSの制御下で、他のアプリケーションプログラムと同様に実行することにより、前記の処理を実行できるように構成してもよい。   It is also possible to superimpose a computer program on a carrier wave and distribute it via a communication network. For example, the computer program may be posted on a bulletin board (BBS, Bulletin Board System) on a communication network, and the computer program distributed via the network. The computer program may be started and executed in the same manner as other application programs under the control of the OS, so that the above-described processing may be executed.

1 記憶部
2 取得部
3 算出部
4 入力部
5 出力部
6 端末
7 判定部
8 測定部
11 チェック情報
12 検査対象ファイル
31 制御部
32 主記憶部
33 外部記憶部
34 操作部
35 表示部
36 入出力部
37 送受信部
40 制御プログラム
100 プログラム検査支援システム
DESCRIPTION OF SYMBOLS 1 Memory | storage part 2 Acquisition part 3 Calculation part 4 Input part 5 Output part 6 Terminal 7 Determination part 8 Measurement part 11 Check information 12 File to be examined 31 Control part 32 Main memory part 33 External memory part 34 Operation part 35 Display part 36 Input / output Unit 37 Transmission / reception unit 40 Control program 100 Program inspection support system

Claims (7)

サブプログラムの非機能要件である該サブプログラムが使用する要素の、基準の性能を表す性能基礎データを記憶する基礎データ記憶手段と、
プログラムに含まれる複数のサブプログラムごとに、該サブプログラムが使用する要素の情報である使用要素情報を取得するプログラム情報取得手段と、
前記性能基礎データと前記使用要素情報から、前記サブプログラムごとの非機能要件の性能の見積値を算出する性能見積手段と、
を備えることを特徴とするプログラム検査支援システム。
Basic data storage means for storing performance basic data representing the standard performance of the elements used by the subprogram which is a non-functional requirement of the subprogram;
Program information acquisition means for acquiring, for each of a plurality of subprograms included in the program, used element information that is information of elements used by the subprogram;
Performance estimation means for calculating an estimated value of performance of non-functional requirements for each subprogram from the performance basic data and the use element information;
A program inspection support system comprising:
前記性能基礎データは、前記サブプログラムが動作する条件または環境の基準の性能を表す環境要素性能と、前記サブプログラムの内部で用いる要素ごとの基準の性能を表すプログラム要素性能のデータを含み、
前記使用要素情報は、前記サブプログラムが動作する条件または環境の情報である環境要素情報と、前記サブプログラムの内部で用いる要素ごとの情報を表すプログラム要素情報を含み、
前記性能見積手段は、前記環境要素性能と前記環境要素情報の項目ごとの積と、前記プログラム要素性能と前記プログラム要素情報の項目ごとの積とから、前記サブプログラムごとの見積値を算出する、
ことを特徴とする請求項1に記載のプログラム検査支援システム。
The performance basic data includes environmental element performance that represents a standard performance of a condition or environment in which the subprogram operates, and program element performance data that represents a standard performance for each element used in the subprogram,
The use element information includes environment element information that is information on conditions or environments in which the subprogram operates, and program element information that represents information for each element used in the subprogram,
The performance estimation means calculates an estimated value for each subprogram from the product for each item of the environment element performance and the environment element information, and the product for each item of the program element performance and the program element information.
The program inspection support system according to claim 1.
前記サブプログラムを、該サブプログラムが使用する要素の条件で実際に動作させたときの性能データである実測値を取得する実測値取得手段と、
前記実測値から、前記サブプログラムの使用要素情報を用いて、前記性能基礎データを算出する実測性能データ生成手段と、
前記基礎データ記憶手段の性能基礎データを、前記実測性能データ生成手段で生成した性能基礎データに更新する手段と、
を備えることを特徴とする請求項1または2に記載のプログラム検査支援システム。
Actual value acquisition means for acquiring an actual value that is performance data when the subprogram is actually operated under the conditions of the elements used by the subprogram;
From the actual measurement value, using the element usage information of the subprogram, actual performance data generation means for calculating the basic performance data,
Means for updating the basic performance data of the basic data storage means to the basic performance data generated by the measured performance data generating means;
The program inspection support system according to claim 1, further comprising:
プログラムの性能の検査を支援する装置が行うプログラム検査支援方法であって、
サブプログラムの非機能要件である該サブプログラムが使用する要素の、基準の性能を表す性能基礎データを取得する基礎データ取得ステップと、
プログラムに含まれる複数のサブプログラムごとに、該サブプログラムが使用する要素の情報である使用要素情報を取得するプログラム情報取得ステップと、
前記性能基礎データと前記使用要素情報から、前記サブプログラムごとの非機能要件の性能の見積値を算出する性能見積ステップと、
を備えることを特徴とするプログラム検査支援方法。
A program inspection support method performed by an apparatus that supports a program performance inspection,
A basic data acquisition step of acquiring basic performance data representing standard performance of an element used by the subprogram which is a non-functional requirement of the subprogram;
For each of a plurality of subprograms included in the program, a program information acquisition step of acquiring used element information that is information of elements used by the subprogram;
A performance estimation step of calculating an estimated value of performance of non-functional requirements for each subprogram from the performance basic data and the use element information;
A program inspection support method comprising:
前記性能基礎データは、前記サブプログラムが動作する条件または環境の基準の性能を表す環境要素性能と、前記サブプログラムの内部で用いる要素ごとの基準の性能を表すプログラム要素性能のデータを含み、
前記使用要素情報は、前記サブプログラムが動作する条件または環境の情報である環境要素情報と、前記サブプログラムの内部で用いる要素ごとの情報を表すプログラム要素情報を含み、
前記性能見積ステップは、前記環境要素性能と前記環境要素情報の項目ごとの積と、前記プログラム要素性能と前記プログラム要素情報の項目ごとの積とから、前記サブプログラムごとの見積値を算出する、
ことを特徴とする請求項4に記載のプログラム検査支援方法。
The performance basic data includes environmental element performance that represents a standard performance of a condition or environment in which the subprogram operates, and program element performance data that represents a standard performance for each element used in the subprogram,
The use element information includes environment element information that is information on conditions or environments in which the subprogram operates, and program element information that represents information for each element used in the subprogram,
The performance estimation step calculates an estimated value for each subprogram from the product for each item of the environment element performance and the environment element information, and the product for each item of the program element performance and the program element information.
The program inspection support method according to claim 4, wherein:
前記サブプログラムを、該サブプログラムが使用する要素の条件で実際に動作させたときの性能データである実測値を取得する実測値取得ステップと、
前記実測値から、前記サブプログラムの使用要素情報を用いて、前記性能基礎データを算出する実測性能データ生成ステップと、
前記基礎データ取得ステップの性能基礎データを、前記実測性能データ生成ステップで生成した性能基礎データに更新するステップと、
を備えることを特徴とする請求項4または5に記載のプログラム検査支援方法。
An actual measurement value acquisition step of acquiring an actual measurement value which is performance data when the subprogram is actually operated under the conditions of the elements used by the subprogram;
From the actual measurement value, using the usage element information of the subprogram, the actual performance data generation step for calculating the basic performance data,
Updating the basic performance data in the basic data acquisition step to the basic performance data generated in the actual performance data generation step;
The program inspection support method according to claim 4 or 5, further comprising:
コンピュータに、
サブプログラムの非機能要件である該サブプログラムが使用する要素の、基準の性能を表す性能基礎データを取得する基礎データ取得ステップと、
プログラムに含まれる複数のサブプログラムごとに、該サブプログラムが使用する要素の情報である使用要素情報を取得するプログラム情報取得ステップと、
前記性能基礎データと前記使用要素情報から、前記サブプログラムごとの非機能要件の性能の見積値を算出する性能見積ステップと、
を実行させることを特徴とするプログラム検査支援プログラム。
On the computer,
A basic data acquisition step of acquiring basic performance data representing standard performance of an element used by the subprogram which is a non-functional requirement of the subprogram;
For each of a plurality of subprograms included in the program, a program information acquisition step of acquiring used element information that is information of elements used by the subprogram;
A performance estimation step of calculating an estimated value of performance of non-functional requirements for each subprogram from the performance basic data and the use element information;
A program inspection support program characterized in that
JP2010007036A 2010-01-15 2010-01-15 Program inspection support system, program inspection support method, and program inspection support program Expired - Fee Related JP5136567B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010007036A JP5136567B2 (en) 2010-01-15 2010-01-15 Program inspection support system, program inspection support method, and program inspection support program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010007036A JP5136567B2 (en) 2010-01-15 2010-01-15 Program inspection support system, program inspection support method, and program inspection support program

Publications (2)

Publication Number Publication Date
JP2011145937A true JP2011145937A (en) 2011-07-28
JP5136567B2 JP5136567B2 (en) 2013-02-06

Family

ID=44460726

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010007036A Expired - Fee Related JP5136567B2 (en) 2010-01-15 2010-01-15 Program inspection support system, program inspection support method, and program inspection support program

Country Status (1)

Country Link
JP (1) JP5136567B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014068979A1 (en) * 2012-11-02 2014-05-08 日本電気株式会社 Performance estimating system, perform ance estimating method, and program
WO2014125692A1 (en) * 2013-02-14 2014-08-21 日本電気株式会社 System for project management from non-function evaluation, method for project management from non-function evaluation, and program for project management from non-function evaluation
KR101748378B1 (en) * 2015-12-28 2017-06-27 (주)아이티엑스퍼트그룹 Performance management system and method for application program in its development process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06139065A (en) * 1992-10-29 1994-05-20 Hokuriku Nippon Denki Software Kk Program performance estimating device
JP2002215423A (en) * 2001-01-22 2002-08-02 Hitachi Ltd Method of preparing software model
JP2002251303A (en) * 2001-02-23 2002-09-06 Matsushita Electric Ind Co Ltd Evaluation device for system and device for displaying evaluation result
JP2004220453A (en) * 2003-01-17 2004-08-05 Nec Corp System performance predicting system and method based on performance measurement of software component

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06139065A (en) * 1992-10-29 1994-05-20 Hokuriku Nippon Denki Software Kk Program performance estimating device
JP2002215423A (en) * 2001-01-22 2002-08-02 Hitachi Ltd Method of preparing software model
JP2002251303A (en) * 2001-02-23 2002-09-06 Matsushita Electric Ind Co Ltd Evaluation device for system and device for displaying evaluation result
JP2004220453A (en) * 2003-01-17 2004-08-05 Nec Corp System performance predicting system and method based on performance measurement of software component

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014068979A1 (en) * 2012-11-02 2014-05-08 日本電気株式会社 Performance estimating system, perform ance estimating method, and program
WO2014125692A1 (en) * 2013-02-14 2014-08-21 日本電気株式会社 System for project management from non-function evaluation, method for project management from non-function evaluation, and program for project management from non-function evaluation
JPWO2014125692A1 (en) * 2013-02-14 2017-02-02 日本電気株式会社 Non-functional evaluation project management system, non-functional evaluation project management method, and non-functional evaluation project management program
KR101748378B1 (en) * 2015-12-28 2017-06-27 (주)아이티엑스퍼트그룹 Performance management system and method for application program in its development process

Also Published As

Publication number Publication date
JP5136567B2 (en) 2013-02-06

Similar Documents

Publication Publication Date Title
US7613589B2 (en) Measuring productivity and quality in model-based design
US9268672B1 (en) Automated test case generation for applications
US9507943B1 (en) Analysis tool for data security
US8862940B2 (en) Integrated fuzzing
US8433554B2 (en) Predicting system performance and capacity using software module performance statistics
US20160048302A1 (en) Automatically Capturing User Interactions And Evaluating User Interfaces In Software Programs Using Field Testing
Brunnert et al. Continuous performance evaluation and capacity planning using resource profiles for enterprise applications
Kim et al. Performance testing of mobile applications at the unit test level
US20130055250A1 (en) Performance benchmarking in virtual machines
Trubiani et al. Exploring synergies between bottleneck analysis and performance antipatterns
EP3311265B1 (en) A computing platform and method thereof for searching, executing, and evaluating computational algorithms
US20140082582A1 (en) Resource Tracker
JP5136567B2 (en) Program inspection support system, program inspection support method, and program inspection support program
Singh et al. Fault severity based multi-release SRGM with testing resources
US9009666B1 (en) Systems and methods for testing software and for storing and tracking test assets with the software
Garcia et al. ESBMC^ QtOM Q t OM: A Bounded Model Checking Tool to Verify Qt Applications
CN116893960A (en) Code quality detection method, apparatus, computer device and storage medium
Brada et al. Ensuring component application consistency on small devices: A repository-based approach
Darema Cyberinfrastructures of Cyber-applications-systems
CN113032006B (en) Plug-in construction method, device, equipment and storage medium
Van Amstel et al. Model-driven software engineering
JP4962226B2 (en) Development support system, development support device, development support method, and development support program
JP7328922B2 (en) Setting device, setting method, and program
Marín et al. Key features for a successful model-driven development tool
JP2012088933A (en) Software product line development support device, its method and its program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120718

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120924

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: 20121016

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121029

R150 Certificate of patent or registration of utility model

Ref document number: 5136567

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151122

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees