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

uber / NullAway / #846 / 1
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 08 May 2022 06:04PM UTC
Files 73
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 May 2022 06:01PM UTC coverage: 92.063% (-0.03%) from 92.091%
#846.1

push

github-actions

web-flow
Some fixes to computing the class and method info for error serialization (#599)

1. renamed `EnclosingClassAndMethodInfo` to `ClassAndMethodInfo` to prevent misunderstandings
2. Used the following code to determine `class` and `method` values:
```java
method = path.getLeaf() instanceof MethodTree
            ? (MethodTree) path.getLeaf()
            : ASTHelpers.findEnclosingNode(path, MethodTree.class);
clazz = path.getLeaf() instanceof ClassTree
            ? (ClassTree) path.getLeaf()
            : ASTHelpers.findEnclosingNode(path, ClassTree.class);
if (clazz != null && method != null) {
  Symbol.ClassSymbol classSymbol = ASTHelpers.getSymbol(clazz);
  Symbol.MethodSymbol methodSymbol = ASTHelpers.getSymbol(method);
  if (!methodSymbol.isEnclosedBy(classSymbol)) {
    method = null;
  }
}
```
This better handles corner cases involving anonymous / local classes and also errors reported directly on methods.

4802 of 5216 relevant lines covered (92.06%)

0.92 hits per line

Source Files on job #846.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 846
  • e4a1e796 on github
  • Prev Job for on master (##845.1)
  • Next Job for on master (##847.1)
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