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

moosetechnology / MooseIDE / 18938833417

30 Oct 2025 11:17AM UTC coverage: 65.531% (-1.0%) from 66.52%
18938833417

Pull #1495

github

web-flow
Merge 8589a0f73 into 4ebf8d6d3
Pull Request #1495: chore: move MiDeadCodeBrowserTest to MooseIDE-DeadCode-Tests package

20348 of 31051 relevant lines covered (65.53%)

1.31 hits per line

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

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

12
{ #category : 'accessing' }
13
MiDeadCodeNoIncomingInvocationHeuristic >> description [
×
14

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

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

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

25
{ #category : 'accessing' }
26
MiDeadCodeNoIncomingInvocationHeuristic >> name [
×
27

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

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

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

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

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

43
{ #category : 'testing' }
44
MiDeadCodeNoIncomingInvocationHeuristic >> 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