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

se-edu / addressbook-level4 / 4511
94%

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

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

58 of 58 new or added lines in 10 files covered. (100.0%)

1437 of 1560 relevant lines covered (92.12%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4511.1 22 Apr 2018 04:31AM UTC 0
92.12
Travis Job 4511.1
Source Files on build 4511
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4511
  • e968a297 on github
  • Prev Build on master (#4498)
  • Next Build on master (#4518)
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