Skip to main content
10 events
when toggle format what by license comment
May 8, 2019 at 8:32 comment added AliN11 Given link to sonar is broken
May 23, 2017 at 14:55 comment added luis.espinal This is conflating internal cohesion that should be exhibited within the structure of a class vs external cohesion that should be exhibited by closely collaborating components (in particular by those residing within a module or layer or that mediate the boundaries between modules and layers.) For the later, I would suggest to rely on connascence and and instability/coupling metrics.
May 4, 2015 at 8:23 comment added edA-qa mort-ora-y I doubt that code-based cohesion metrics can truly be indicative of interface level cohesion, and may even promote bad programming: mortoray.com/2015/04/29/…
Nov 21, 2013 at 20:24 comment added Phil Out of curiosity, how would you refactor that diagram to obey the Single Responsibility Principle? brain.setAngry(driver)? car.applyBreaks(driver)?
Jun 1, 2012 at 4:46 history edited gnat CC BY-SA 3.0
quote from the article referenced
May 31, 2012 at 15:46 comment added Oleksi This might help with that: aivosto.com/project/help/pm-oo-cohesion.html
May 31, 2012 at 15:44 comment added Onorio Catenacci Just too bad they don't go into how they calculate the metric.
May 31, 2012 at 15:40 comment added Oleksi @OnorioCatenacci No problem. :)
May 31, 2012 at 15:38 vote accept Onorio Catenacci
May 31, 2012 at 15:09 history answered Oleksi CC BY-SA 3.0