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

Spirals-Team / repairnator / 1846 / 1
55%
master: 55%

Build:
DEFAULT BRANCH: master
Ran 14 Jun 2018 12:31PM UTC
Files 127
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

14 Jun 2018 12:09PM UTC coverage: 54.32% (-0.4%) from 54.704%
1846.1

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

Source Files on job 1846.1
  • Tree
  • List 0
  • Changed 11
  • Source Changed 10
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1358
  • Travis Job 1846.1
  • d9e0376b on github
  • Prev Job for on master (#1840.1)
  • Next Job for on master (#1851.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