Modularity


Tools: เครื่องมือที่สำคัญที่ใช้เช่น Structure chart, Class diagram, UML
คุณสมบัติที่พึงประสงค์ของ Modularity 

1. Coupling: เป็นตัววัดหรือบ่งบอกระดับของความสัมพันธ์ระหว่าง 2โมดุลใดๆ เราต้องการให้ค่า coupling ต่ำๆ coupling มี 5 ระดับคือ
* Data coupling * Stamp coupling
* Control coupling * Global coupling
* Content coupling
2. Cohesion: เป็นตัววัดหรือบ่งบอกระดับการเกาะตัวกันหรือยึดเหนี่ยวกันระหว่างคำสั่งภายในโมดุลเดียวกัน ความต้องการคือในแต่ละโมดุลเราอยากให้ค่า cohesion สูงๆ cohesion มี 7 ระดับคือ* Functional cohesion
* Sequential cohesion
* Communicational cohesion
* Procedural cohesion
* Temporal cohesion
* Logical cohesion * Coincidental cohesion

ไม่มีความคิดเห็น:
แสดงความคิดเห็น