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

apache / commons-math / 308
91%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2017 04:14PM UTC
Jobs 1
Files 644
Run time 37s
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
308

Pull #66

travis-ci

web-flow
Consider returning a zero length array of double 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 #66: Remove the redundant null check expression of a non-null value lastRe…

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

38784 of 43112 relevant lines covered (89.96%)

0.9 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/main/java/org/apache/commons/math4/optim/nonlinear/scalar/noderiv/CMAESOptimizer.java
Jobs
ID Job ID Ran Files Coverage
1 308.1 (MAVEN_OPTS="-Xmx6g -Xms2g") 09 Oct 2017 04:11PM UTC 0
89.96
Travis Job 308.1
Source Files on build 308
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #308
  • Pull Request #66
  • 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