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

se-edu / addressbook-level4 / 4760
93%
master: 94%

Build:
Build:
LAST BUILD BRANCH: 453-result-message
DEFAULT BRANCH: master
Ran 03 Dec 2018 09:33AM UTC
Jobs 1
Files 90
Run time 9s
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
4760

Pull #934

travis-ci

web-flow
checkstyle: allow missing javadoc for private methods

The use of every language feature has a trade-off. In the case of
javadocs, they allow readers to understand the behavior of a method,
without needing to look at the source code of the method itself.
However, they also present an additional maintenance cost as they need
to be kept up to date.

In the case of private methods, javadocs don't really present any
advantages, as since the methods are _private_, readers can't read the
javadoc without also reading the source code of the method itself.

Furthermore, private methods are usually used for implementation details
of an algorithm, where full understanding can't be gained from just
reading the javadoc, since it is highly coupled to the details of the
full algorithm and hence the reader would need to read the source code
of the whole file anyway.

Some examples in the code base where enforcing javadocs on private
methods don't really add much value include the
assertCommandSuccess()/assertCommandFailure() private methods in
AddCommandSystemTest, DeleteCommandSystemTest etc. where the javadocs
are simply a description of their source code in prose.

Let's relax the checkstyle configuration to allow private methods with a
missing javadoc.
Pull Request #934: checkstyle: allow missing javadoc for private methods

1433 of 1544 relevant lines covered (92.81%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4760.1 03 Dec 2018 09:33AM UTC 0
92.81
Travis Job 4760.1
Source Files on build 4760
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4760
  • Pull Request #934
  • PR Base - master (#4756)
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