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

uber / NullAway / #846
93%

Build:
DEFAULT BRANCH: master
Ran 08 May 2022 06:04PM UTC
Jobs 1
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

pending completion
#846

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

Jobs
ID Job ID Ran Files Coverage
1 #846.1 08 May 2022 06:04PM UTC 0
92.06
Source Files on build #846
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #846
  • e4a1e796 on github
  • Prev Build on master
  • Next Build on master
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