ソフトウェアエンジニアリングの特徴 - モデル、手法、ツール、標準、メトリクス

Software Engineering Features - Models, Methods, Tools, Standards, and Metrics

表示:

In recent decades, software has become ubiquitous. Almost all modern engineered systems include significant software subsystems; this includes systems in the transportation, finance, education, healthcare, legal, military, and business sectors. Along with the increase in software utility, capability, cost, and size there has been a corresponding growth in methods, models, tools, metrics and standards, which support software engineering.

ここ数十年で、ソフトウェアはあらゆる場所に浸透した。現代のエンジニアード・システムのほとんどすべてが、かなりのソフトウェアサブシステムを含んでいる。輸送、金融、教育、ヘルスケア、法律、軍事、ビジネスの各セクターのシステムもこれに含まれる。ソフトウェアの有用性、能力、コスト、規模が増大するのに伴い、ソフトウェアエンジニアリングを支える手法、モデル、ツール、メトリクス、標準もそれに応じて拡充してきた。

Chapter 10 of the SWEBOK discusses modeling principles and types, and the methods and tools that are used to develop, analyze, implement, and verify the models. The other SWEBOK chapters on the software development phases (e.g., Software Design) discuss methods and tools specific to the phase. Table 1 identifies software engineering features for different life-cycle phases. The table is not meant to be complete; it simply provides examples. In Part 2 of the SEBoK there is a discussion of models and the following is one of the definitions offered: “an abstraction of a system, aimed at understanding, communicating, explaining, or designing aspects of interest of that system” (Dori 2002).

SWEBOK の第10章では、モデリングの原理と種類、およびモデルの開発、分析、実装、検証に用いられる手法とツールを論じている。ソフトウェア開発フェーズに関する他の SWEBOK の章(例えばソフトウェア設計)では、そのフェーズに固有の手法とツールを論じている。表1は、異なるライフサイクルフェーズに対するソフトウェアエンジニアリングの特徴を示したものである。この表は網羅的であることを意図したものではなく、例を示しているにすぎない。SEBoK の Part 2 にはモデルに関する議論(Representing Systems with Models)があり、そこで示されている定義の1つは次のとおりである:「そのシステムの関心対象となる側面を理解、伝達、説明、または設計することを目的とした、システムの抽象化」(Dori 2002)。

For the purposes of Table 1 the definition of a model is extended to some aspect of the software system or its development. As an example, “Project Plan” is listed as a model in the Software Management area. The idea is that the Project Plan provides a model of how the project is going to be carried out: the project team organization, the process to be used, the work to be done, the project schedule, and the resources needed.

表1では、その目的に合わせて、モデルの定義をソフトウェアシステムまたはその開発の何らかの側面にまで拡張している。例えば、ソフトウェアマネジメントの領域では「プロジェクト計画」がモデルとして挙げられている。これは、プロジェクト計画が、プロジェクトをどのように遂行するかのモデル、すなわちプロジェクトチームの組織、用いるプロセス、実施する作業、プロジェクトスケジュール、必要な資源を示すものだという考え方である。

<div style="text-align: center;"> <blockquote>Table 1: SWE Features (SEBoK Original) </blockquote> </div>

表1. SWE の特徴(SEBoK Original)

Life-Cycle Activity
Models
Methods & Tools
Standards
ライフサイクル活動モデル方法とツール標準
ソフトウェアマネジメントライフサイクルプロセスモデル、作業分解構造、構成的コストモデル(COCOMO)、プロジェクト計画、構成管理(CM)計画、リスクマネジメント計画労力・スケジュール・コストの見積り、リスク分析、データ収集、プロジェクト追跡、CM マネジメント、反復/漸増開発、アジャイル開発[IEEE 828]、[IEEE 1058]、[IEEE 1540]、[IEEE 12207]
ソフトウェア要求機能モデル、ユーザークラスモデル、データフロー図、オブジェクトモデル、形式モデル、ユーザーストーリー要求の引き出し、プロトタイピング、構造化分析、データ指向分析、オブジェクト指向分析、オブジェクトモデリング言語(OML)、形式手法、要求仕様化、要求インスペクション[IEEE 830]、[IEEE 1012]、[IEEE 12207]
ソフトウェア設計アーキテクチャモデル、構造図、オブジェクト図、クラス仕様、データモデル構造化設計、オブジェクト指向設計、OML、モジュール設計、統合開発環境(IDE)、データベースマネジメントシステム(DBMS)、設計レビュー、詳細化[IEEE 1012]、[IEEE 1016]、[IEEE 12207]、[IEEE 42010]
ソフトウェア構築詳細設計文書、疑似コード、フローチャート、プログラムコード、単体テスト計画、統合テスト計画詳細設計、関数型プログラミング、オブジェクト指向プログラミング、IDE、DBMS、ブラックボックス/ホワイトボックステスト、基本パステスト、単体テスト、コードレビュー、正しさの証明、ソフトウェア再利用、統合、統合テスト[IEEE 1008]、[IEEE 1012]、[IEEE 1016]、[IEEE 12207]
ソフトウェアテストシステムテスト計画、信頼性モデル、ソフトウェアメンテナンスプロセスユーザビリティテスト、システムテスト、受入テスト、回帰テスト、信頼性テスト、非機能ソフトウェアテスト[IEEE 829]、[IEEE 1012]、[IEEE 12207]
ソフトウェアメンテナンスソフトウェアメンテナンスプロセス自動テストツール、メンテナンス変更、影響分析、棚卸分析、リストラクチャリング、リバースエンジニアリング、リエンジニアリング[IEEE 1219]、[IEEE 12207]、[IEEE 14764]

Software Metric

ソフトウェアメトリクス

A software metric is a quantitative measure of the degree a software system, component, or process possesses a given attribute. Because of the abstract nature of software and special problems with software schedule, cost, and quality, data collection and the derived metrics are an essential part of software engineering. This is evidenced by the repeated reference to measurement and metrics in the SWEBOK. Table 2 describes software metrics that are collected and used in different areas of software development. As in Table 1 the list is not meant to be complete, but to illustrate the type and range of measures used in practice.

ソフトウェアメトリクスとは、ソフトウェアシステム、構成要素、またはプロセスが所定の属性をどの程度備えているかを表す定量的な尺度である。ソフトウェアには抽象的な性質があり、またスケジュール、コスト、品質に関して特有の問題を抱えているため、データ収集とそこから導かれるメトリクスはソフトウェアエンジニアリングに不可欠な要素となっている。このことは、SWEBOK で測定とメトリクスが繰り返し言及されていることからも裏付けられる。表2は、ソフトウェア開発のさまざまな領域で収集・使用されるソフトウェアメトリクスを示す。表1と同様に、このリストは網羅的であることを意図したものではなく、実践で用いられる尺度の種類と範囲を例示するためのものである。

<div style="text-align: center;"> <blockquote>Table 2: Software Metrics <nowiki>*</nowiki> (SEBoK Original) </blockquote> </div>

**表2. ソフトウェアメトリクス *(SEBoK Original)**

Category
Metrics
カテゴリメトリクス
マネジメントメトリクスサイズ:コード行数(LOC*)、千行単位のコード行数(KLOC)、サイズ:ファンクションポイント、フィーチャーポイント、個人の労力:時間、タスク完了時間:時間、日、週、プロジェクトの労力:人時、プロジェクト期間:月、スケジュール:アーンドバリュー、リスク予測:リスクの記述、リスクの発生可能性、リスクの影響
ソフトウェア品質メトリクス欠陥密度 - 欠陥/KLOC(例えばシステムテストについて)、欠陥除去率 – 除去された欠陥/時間(レビューとテストについて)、テストカバレッジ、故障率
ソフトウェア要求メトリクス変更要求(受付、オープン、クローズ)、変更要求の頻度、要求変更の実装に必要な労力、要求トレーサビリティの状況、バックログ内のユーザーストーリー
ソフトウェア設計メトリクス循環的複雑度、クラスあたりの重み付きメソッド、凝集度 - メソッドの凝集度の欠如、結合度 - オブジェクトクラス間の結合、継承 - 継承ツリーの深さ、子の数
ソフトウェアメンテナンスと運用変更間平均時間(MTBC)、平均変更時間(MTTC)、システム信頼度、システム可用性、ダウンタイムの総時間

<nowiki>*</nowiki>Note: Even though the LOC metric is widely used, using it comes with some problems and concerns: different languages, styles, and standards can lead to different LOC counts for the same functionality; there are a variety of ways to define and count LOC– source LOC, logical LOC, with or without comment lines, etc.; and automatic code generation has reduced the effort required to produce LOC.

__NOTOC__

*注:LOC メトリクスは広く用いられているが、その使用にはいくつかの問題や懸念が伴う。同じ機能であっても、言語、スタイル、標準が異なれば LOC のカウントは異なり得る。LOC の定義や数え方もさまざまである——ソース LOC、論理 LOC、コメント行を含むか否か等。さらに、自動コード生成によって、LOC を生み出すのに必要な労力は減少している。

References

参考文献

Works Cited

引用文献

Bourque, P. and R. E. Fairley eds. Guide to the Software Engineering Body of Knowledge (SWEBOK). Los Alamitos, CA. IEEE Computer Society. 2014.

Dori, D. "Conceptual modeling and system architecting." Communications of the ACM 46, no. 10 (2003) 62-65.

IEEE Computer Society. IEEE Standard for Computer Configuration Management in Systems and Software Engineering. IEEE Std 828-2012. New York: IEEE, 2012.

———. IEEE Standard for Software and System Test Documentation. IEEE Std 829-2008. New York: IEEE, 2008.

———. IEEE Recommended Practice for Software Requirements Specifications. IEEE Std 830-1998. New York: IEEE, 1998.

———. IEEE Standard for Software Unit Testing. IEEE Std 1008-1987. New York: IEEE, 1987.

———. IEEE Standard for System and Software Verification and Validation. IEEE Std 1012-2002. New York: IEEE, 2012.

———. IEEE Recommended Practice for Software Design Descriptions. IEEE Std 1016-2002. New York: IEEE, 2002.

———. IEEE Standard for Software Project Plans. IEEE Std 1058-1998. New York: IEEE, 1998.

———. IEEE Standard for Software Maintenance. IEEE Std 1219-1998. New York: IEEE, 1998.

———. IEEE Standard for Risk Management. IEEE Std 1540-2001. New York: IEEE, 2001.

———. IEEE Standard for Systems and Software Engineering—Software Life Cycle Processes. IEEE Std 12207-2008. New York: IEEE, 2008.

———. IEEE Standard for Software Engineering—Software Life Cycle Processes—Maintenance. IEEE Std 14764-2006. New York: IEEE, 2006.

———. IEEE Standard for Systems and Software Engineering—Architecture Description. IEEE Std 42010-2011. New York: IEEE, 2011.

Primary References

主要参考文献

None.

Additional References

追加参考文献

Chidamber, S. R., C. F. Kemerer. “A Metrics Suite for Object Oriented Design”, IEEE Transactions on Software Engineering. Vol. 20, No. 6 (1994).

Kan, Stephen H. Metrics and Models in Software Quality Engineering, 2nd ed. Reading, Massachusetts. Addison-Wesley. 2003.

Li, M. and Smidts, C. “A ranking of software engineering measures based on expert opinion.” IEEE Transactions on Software Engineering. 2003.

McConnell, Steve. Code Complete, 2nd ed. Microsoft Press. 2009.

Moore, James. ''Software Engineering Standards: A User's Road Map''. Hoboken, NJ. Wiley-IEEE Computer Society Press. 1997.

Moore, James. Software Engineering Standards: A User's Road Map. Hoboken, NJ. Wiley-IEEE Computer Society Press. 1997.

Sommerville, I. Software Engineering. 9th ed. Boston, MA. Addison Wesley. 2010.