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

se-edu / addressbook-level4 / 4511 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2018 04:31AM UTC
Files 92
Run time 2s
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

22 Apr 2018 04:27AM UTC coverage: 92.115% (-0.04%) from 92.153%
4511.1

push

travis-ci

web-flow
[#750] Use java.nio.file for file/path handling (#866)

String operations are used for the construction of file paths. Also,
many APIs in the codebase take in String arguments as file paths.

This method of file/path handling is error prone as creating paths using
string concatenation can lead to the creation of invalid paths.
Furthermore, checking if two paths resolve to the same file using string
equality is incorrect as it only tests if the strings are equal.

Let's refactor the codebase to use java.nio.file for file/path
handling as it provides a safe and platform-independent way to
perform operations on paths and properly separate the concerns of
parsing/stringifying paths and manipulating paths.

More information on why String operations are error-prone:
http://twistedoakstudios.com/blog/Post4872_dont-treat-paths-like-strings

1437 of 1560 relevant lines covered (92.12%)

0.92 hits per line

Source Files on job 4511.1
  • Tree
  • List 0
  • Changed 12
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4278
  • Travis Job 4511.1
  • e968a297 on github
  • Prev Job for on master (#4498.1)
  • Next Job for on master (#4518.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