• 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

0.0
/src/MooseIDE-Dependency/MiDeadCodeJavaMainHeuristic.class.st
1
"
2
A heuristic to recognize 'public static void main()' function in Java
3
"
4
Class {
5
        #name : 'MiDeadCodeJavaMainHeuristic',
6
        #superclass : 'MiDeadCodeAbstractJavaHeuristic',
7
        #category : 'MooseIDE-Dependency-DeadCode',
8
        #package : 'MooseIDE-Dependency',
9
        #tag : 'DeadCode'
10
}
11

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

×
15
        ^super description ,
×
16
        'Java "public static void main()" methods are not dead'
×
17
]
×
18

19
{ #category : 'accessing' }
20
MiDeadCodeJavaMainHeuristic >> name [
×
21

×
22
        ^super name , 'main()'
×
23
]
×
24

25
{ #category : 'testing' }
26
MiDeadCodeJavaMainHeuristic >> notDead: aTMethod [
×
27

×
28
        (aTMethod name = 'main') ifFalse: [ ^false ].
×
29
        aTMethod declaredType ifNil: [ ^false ].
×
30
        (aTMethod declaredType name = 'void') ifNil: [ ^false ].
×
31
        aTMethod isClassSide ifFalse: [ ^false ].
×
32

×
33
        ^true
×
34
]
×
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