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

Spirals-Team / repairnator / 1846
55%

Build:
DEFAULT BRANCH: master
Ran 14 Jun 2018 12:31PM UTC
Jobs 1
Files 127
Run time 11s
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
1846

push

travis-ci

surli
Fix numberSourceFiles metric (#618)

This PR contributes with issue #610 by fixing the `numberSourceFiles` metric (related to `ComputeSourceDir` step).

This PR fixes two bugs:
- The source dirs had been got twice in `ComputeSourceDir` step, and by consequence the `numberSourceFiles` metric had been set with the double of the actual number of source files. This was fixed in `ComputeSourceDir`.
- Specific for `ProjectInspector` (REPAIR), the resulted `numberSourceFiles` metric on json files was always 0, because the json files had been created before the final steps being executed, and `ComputeSourceDir` was one of them. To fix that, I created the step `WritePropertyFile` to be responsible for writing the json files, which is a final step, just before `CommitProcessEnd`. I also moved `properties` from `AbstractStep` to `JobStatus` to make the things work properly (because this info is not passed to final steps since the first final step doesn't have a previous step). This actually made the code in `AbstractStep` cleaner and less complex IMHO.

The build is passing in https://github.com/fermadeiral/repairnator/pull/20

2804 of 5162 relevant lines covered (54.32%)

0.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1846.1 14 Jun 2018 12:31PM UTC 0
54.32
Travis Job 1846.1
Source Files on build 1846
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1846
  • d9e0376b on github
  • Prev Build on master (#1840)
  • Next Build on master (#1851)
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