【ドキュメント不良】部署削除機能のシーケンス図の可読性が低い #18
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
【事象】
部署削除機能のシーケンス図において、
・ライフラインが重なっている箇所がある
・複数のクラスに重なってメソッド名が記載されている
【原因】
図の作成時にModel を Service より左、Entity を Repository より左に配置した。これは Model および Entity を呼び出しの主体ではなくデータとして扱うという層の帰属を根拠としたものであり、呼び出し順とは一致しないため。
【対策】
層のグループ分け(presentation 系を Controller の左、DataAccess 系を右)は維持する。そのうえで、独自に追加した層内の並び順規則を撤廃し、グループ内は呼び出し順および呼び出し関係の近さによって配置する。