From 3087dc93ca261949d02d892f40e9e321c2b0d09e Mon Sep 17 00:00:00 2001 From: Vladimir Motsak Date: Mon, 15 Jan 2018 20:49:49 +0100 Subject: [PATCH] #91 fix XSL codestyle --- src/main/resources/org/jpeek/metrics/MMAC.xsl | 133 +++++++++--------- 1 file changed, 64 insertions(+), 69 deletions(-) diff --git a/src/main/resources/org/jpeek/metrics/MMAC.xsl b/src/main/resources/org/jpeek/metrics/MMAC.xsl index 0525566d..4e2c2bdc 100644 --- a/src/main/resources/org/jpeek/metrics/MMAC.xsl +++ b/src/main/resources/org/jpeek/metrics/MMAC.xsl @@ -23,73 +23,68 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - - - - MMAC - - Method-Method through Attributes Cohesion (MMAC). - The MMAC is the average cohesion of all pairs of methods. - In simple words this metric shows how much methods have the - same parameters or return types. When class has some number - of methods and most of them operate the same parameters it - assumes better. It looks like class contains overloaded - methods. Preferably when class has only one method with - parameters and/or return type and it assumes that class - do only one thing. Value of MMAC metric is better for these - one classes. - Metric value is in interval [0, 1]. Value closer to 1 is better. - - - - - - - - - - - - - - - - - - - - - - - 0 - - - 1 - - - - - - - - - - - - - - - - - - - - - - + + + + MMAC + + Method-Method through Attributes Cohesion (MMAC). + The MMAC is the average cohesion of all pairs of methods. + In simple words this metric shows how much methods have the + same parameters or return types. When class has some number + of methods and most of them operate the same parameters it + assumes better. It looks like class contains overloaded + methods. Preferably when class has only one method with + parameters and/or return type and it assumes that class + do only one thing. Value of MMAC metric is better for these + one classes. + Metric value is in interval [0, 1]. Value closer to 1 is better. + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 1 + + + + + + + + + + + + + + + + + + + + + +