Skip to Content
진화적 아키텍처
book

진화적 아키텍처

by 닐 포드, 레베카 파슨스, 패트릭 쿠아, 정병열
August 2023
Beginner to intermediate
304 pages
6h 47m
Korean
Hanbit Media, Inc.
Content preview from 진화적 아키텍처
90
1부
역학
이러한 메트릭은 리팩터링에도 쓰인다. 아키텍트는 리팩터링 작업을 수행하기에 앞서 메트릭
으로 코드베이스를 분석하고 개선해야 한다. 건축과 마찬가지로, 기반이 불안정한 구조물은 견
고한 구조물보다 이동시키기 더 어려운 법이다.
또한 아키텍트는 이러한 메트릭을 피트니스 함수로 활용해 코드베이스가 이 정도로 저하되지
않도록 처음부터 대비할 수 있다.
4.2.3 4.2.3
임포트 방향성임포트 방향성
[그림
2
-
3
]의 컴포넌트 순환을 방지하려면 임포트 방향성
directionality
of
import
을 관리해야 한다.
JDepend
10
는 자바 생태계에서 패키지의 커플링 특성을 분석하는 메트릭 도구다.
JDepend
또한 자바로 작성되었기에, 개발자는
jDepend
API
를 통해 단위 테스트에 분석 과정을 통합
할 수 있다.
JUnit
테스트
11
로 표현된 [코드
4
-
1
]의 피트니스 함수를 살펴보자.
코드
4-1
패키지 임포트 방향성을 확인하기 위한
JDepend
테스트
public void testMatch() {
DependencyConstraint constraint = new DependencyConstraint();
JavaPackage persistence = constraint.addPackage("com.xyz.persistence");
JavaPackage ...
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판)

오현석, 미샤 고렐릭, 이안 오스발트
러닝 타입스크립트

러닝 타입스크립트

조시 골드버그

Publisher Resources

ISBN: 9791169211345