Skip to Content
ソフトウェアアーキテクチャメトリクス ―アーキテクチャ品質を改善する10のアドバイス
book

ソフトウェアアーキテクチャメトリクス ―アーキテクチャ品質を改善する10のアドバイス

by Christian Ciceri, Dave Farley, Neal Ford, Andrew Harmel-Law, Michael Keeling, Carola Lilienthal, João Rosa, Alexander von Zitzewitz, Rene Weiss, Eoin Woods, 島田 浩二
January 2024
Beginner to intermediate
276 pages
3h 8m
Japanese
O'Reilly Japan, Inc.
Content preview from ソフトウェアアーキテクチャメトリクス ―アーキテクチャ品質を改善する10のアドバイス

2章適応度関数テストピラミッド:アーキテクチャテストとメトリクスのためのアナロジー

Rene Weiss

適応度関数とは、進化的計算†1から借用した概念で、ソフトウェアシステムのメトリクスを定義するためにも使える簡潔な手法です。この章では、取り組んでいるのが新しいシステムの構築か既存システムの改善かに関わらず、システムに合わせたメトリクスを定義しアーキテクチャを改善するのに、適応度関数がどのように役立つかを説明します。適応度関数とメトリクスをテストピラミッドの概念と組み合わせることで、メトリクスを定義し、優先順位をつけ、釣り合いを取って、目的に対する進捗を計測できるようになります。

[†1] 訳注:生物の進化のメカニズムをまねてデータ構造を変形、合成、選択する手法およびそれを研究する分野。最適化問題を解くことと最適な構造を生成することを目的としています。

2.1 適応度関数とメトリクス

適応度関数という概念は、Neil Ford、Rebecca Parsons、Patrick Kuaによる書籍『進化的アーキテクチャ』(オライリー・ジャパン)[4]の中で初めて紹介されました。『進化的アーキテクチャ』では、適応度関数を「見込みのある設計ソリューションが、設定した目的の達成にどれだけ近いかを要約するために使用する目的関数†2」と定義しています。適応度関数は通常、達成または改善しようとしているメトリクスである離散値を出力します。目的を達成できているかを知るには、対象となるメトリクスを計測するテストまたは検証の仕組みが必要です。理想的には、これは自動化されていて欲しいところですが、適応度関数では、それを必須とは定めていません。

[†2] 訳注:最適化問題において最大化あるいは最小化したい関数のことを目的関数と呼びます。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

マイクロサービスアーキテクチャ 第2版

マイクロサービスアーキテクチャ 第2版

Sam Newman, 佐藤 直生, 木下 哲也
マイクロサービスアーキテクチャ

マイクロサービスアーキテクチャ

Sam Newman, 佐藤 直生, 木下 哲也

Publisher Resources

ISBN: 9784814400607Publisher Website