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

apache / commons-math / 314
91%

Build:
DEFAULT BRANCH: master
Ran 13 Oct 2017 10:58PM UTC
Jobs 1
Files 644
Run time 41s
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
314

Pull #69

travis-ci

web-flow
Consider returning a zero length array rather than null.

It is often a better design to return a length zero array rather than a null reference to indicate that there are no results (i.e., an empty list of results).
This way, no explicit check for null is needed by clients of the method.
On the other hand, using null to indicate "there is no answer to this question" is probably appropriate.
http://findbugs.sourceforge.net/bugDescriptions.html#PZLA_PREFER_ZERO_LENGTH_ARRAYS
Pull Request #69: Consider returning a zero length array rather than null.

2 of 2 new or added lines in 1 file covered. (100.0%)

38785 of 43112 relevant lines covered (89.96%)

0.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
src/main/java/org/apache/commons/math4/stat/regression/MillerUpdatingRegression.java
Jobs
ID Job ID Ran Files Coverage
1 314.1 (MAVEN_OPTS="-Xmx6g -Xms2g") 13 Oct 2017 10:55PM UTC 0
89.96
Travis Job 314.1
Source Files on build 314
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #314
  • Pull Request #69
  • PR Base - master (#303)
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