• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moosetechnology / MooseIDE / 21818695493

09 Feb 2026 09:02AM UTC coverage: 65.926% (+0.1%) from 65.829%
21818695493

push

github

web-flow
Merge pull request #1588 from moosetechnology/dead-code-heuristic-groups

Dead code heuristic groups

508 of 568 new or added lines in 21 files covered. (89.44%)

21882 of 33192 relevant lines covered (65.93%)

1.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.0
/src/MooseIDE-DeadCode/MiDeadNoIncomingInvocationRule.class.st
1
"
2
Most basic heuristic for dead code: any behavioural entiy not invoked is dead
3
"
4
Class {
5
        #name : 'MiDeadNoIncomingInvocationRule',
6
        #superclass : 'MiDeadAbstractRule',
7
        #category : 'MooseIDE-DeadCode-Rules',
8
        #package : 'MooseIDE-DeadCode',
9
        #tag : 'Rules'
10
}
11

12
{ #category : 'accessing' }
13
MiDeadNoIncomingInvocationRule >> description [
2✔
14

2✔
15
        ^super description ,
2✔
16
        'Methods never invoked are considered dead'
2✔
17
]
2✔
18

19
{ #category : 'testing' }
20
MiDeadNoIncomingInvocationRule >> isDead: aTMethod [
2✔
21

2✔
22
        ^aTMethod incomingInvocations isEmpty
2✔
23
]
2✔
24

25
{ #category : 'accessing' }
26
MiDeadNoIncomingInvocationRule >> name [
2✔
27

2✔
28
        ^super name , 'Not invoked method'
2✔
29
]
2✔
30

31
{ #category : 'testing' }
NEW
32
MiDeadNoIncomingInvocationRule >> notDead: aTMethod [
×
33

×
34
        ^(self isDead: aTMethod) not
×
35
]
×
36

37
{ #category : 'accessing' }
38
MiDeadNoIncomingInvocationRule >> refuteDead [
2✔
39

2✔
40
        ^false
2✔
41
]
2✔
42

43
{ #category : 'testing' }
44
MiDeadNoIncomingInvocationRule >> selectedByDefault [
2✔
45

2✔
46
        ^true
2✔
47
]
2✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc