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

uber / NullAway / #694
93%

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2022 10:27PM UTC
Jobs 1
Files 55
Run time 14s
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
#694

push

github-actions

web-flow
Improve nullness tracking of map calls in the presence of type casts (#537)

When chains of `Map.get(a).get(b).get(c)` are used without casts, our existing map handling code suffices to keep track of non-null APs. However, this breaks in the presence of casts. Unfortunately, chains of maps with casts are a common way to handle hierarchical but untyped data sources, such as loaded JSON/Yaml.

In general, casts make tracking of access paths equivalence harder. As such, with this change, we strip all casts when considering the receiver of a method call or field access for access path construction. This seems to handle the   chained `Map<Object,Object>` pattern above, without being in any way specific to maps.

4122 of 4600 relevant lines covered (89.61%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #694.1 10 Jan 2022 10:27PM UTC 0
89.61
Source Files on build #694
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #694
  • 63ec845d 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