Skip to content

Commit

Permalink
reenable overview pyramid metric
Browse files Browse the repository at this point in the history
  • Loading branch information
LinqLover committed Dec 20, 2024
1 parent 7753372 commit 8750c72
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ overviewPyramidMetric: aSLSystemTestObject

<slTestName: 'Overview Pyramid'
description: 'Shows the overview pyramid in morphic.' >
<slTestHidden: true
<slTestHidden: false
longRuntime: true>

aSLSystemTestObject shouldBeSystem.
^ (self collectionResult: (Dictionary newFrom:
{#ahh->(aSLSystemTestObject resultOf: #averageHierarchyHight:) result.
{#ahh->(aSLSystemTestObject resultOf: #averageHierarchyHeight:) result.
#andc->(aSLSystemTestObject resultOf: #averageNumberOfDerivedClasses:) result.
#calls->(self systemCALLS: aSLSystemTestObject).
#cyclo->(self systemCYCLO: aSLSystemTestObject).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"nsDict:" : "JTM 5/27/2015 11:37",
"nsFreeClasses:" : "BD 6/29/2018 12:48",
"nsTotal:" : "JTM 5/27/2015 13:46",
"overviewPyramidMetric:" : "BD 6/16/2018 13:04",
"overviewPyramidMetric:" : "ct 12/20/2024 01:17",
"printOn:" : "NH 6/24/2015 14:11",
"qualityResult:" : "BD 7/4/2018 19:45",
"systemCALLS:" : "SH 6/18/2015 11:54",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
preferences
MethodLOCHigh: aNumber

MethodLOCHigh := aNumber.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
preferences
MethodLOCHigh

<slpreference: 'Method LOC High'
categoryList: #(MethodMetrics)
description: '???'
type: #Number>

^ MethodLOCHigh ifNil: [ 10 ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
preferences
MethodLOCLow: aNumber

MethodLOCLow := aNumber.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
preferences
MethodLOCLow

<slpreference: 'Method LOC Low'
categoryList: #(MethodMetrics)
description: '???'
type: #Number>

^ MethodLOCLow ifNil: [ 1 ]
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"MethodCYCLOLow:" : "MT 7/23/2014 23:28",
"MethodLOCAVRG" : "ct 12/20/2024 00:42",
"MethodLOCAVRG:" : "MT 7/23/2014 23:29",
"MethodLOCHigh" : "ct 12/20/2024 00:46",
"MethodLOCHigh:" : "ct 12/20/2024 00:45",
"MethodLOCLow" : "ct 12/20/2024 00:46",
"MethodLOCLow:" : "ct 12/20/2024 00:46",
"MethodLOCSTDEV" : "ct 12/20/2024 00:42",
"MethodLOCSTDEV:" : "MT 7/23/2014 23:29",
"ShowMethodMetricTests" : "ct 12/13/2024 04:43",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"MethodCYCLOHigh",
"MethodCYCLOLow",
"MethodLOCAVRG",
"MethodLOCHigh",
"MethodLOCLow",
"MethodLOCSTDEV",
"ShowMethodMetricTests" ],
"commentStamp" : "AT 2/8/2008 16:04",
Expand Down

0 comments on commit 8750c72

Please sign in to comment.