Ran
|
Jobs
1
|
Files
33
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Support error-handling with[in] mossScope + Rather than terminating the program, let mossScope return errors upon any failure so that the caller can handle such scenarios. + Leveraging cobra's PreRunE and RunE methods to return specific errors, and also this would modularize code: - PreRun: To parse command line arguments - Run: To invoke methods using the arguments Change-Id: I67bc83895 Reviewed-on: http://review.couchbase.org/72931 Reviewed-by: Marty Schoch <marty.schoch@gmail.com> Tested-by: abhinav dangeti <abhinav@couchbase.com>
127 of 127 new or added lines in 6 files covered. (100.0%)
2664 of 3317 relevant lines covered (80.31%)
8805.55 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
7 |
64.71 |
2.21% | cmd/mossScope/cmd/footerStats.go |
8 |
76.04 |
2.3% | cmd/mossScope/cmd/fragStats.go |
11 |
66.28 |
4.21% | cmd/mossScope/cmd/dump.go |
12 |
69.84 |
-1.83% | cmd/mossScope/cmd/key.go |
15 |
60.66 |
3.73% | cmd/mossScope/cmd/footer.go |
40 |
59.7 |
4.25% | cmd/mossScope/cmd/import.go |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
76.04 |
2.3% | cmd/mossScope/cmd/fragStats.go |
1 |
64.71 |
2.21% | cmd/mossScope/cmd/footerStats.go |
1 |
60.66 |
3.73% | cmd/mossScope/cmd/footer.go |
2 |
69.84 |
-1.83% | cmd/mossScope/cmd/key.go |
2 |
66.28 |
4.21% | cmd/mossScope/cmd/dump.go |
7 |
59.7 |
4.25% | cmd/mossScope/cmd/import.go |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 172.1 | 33 |
80.31 |
Travis Job 172.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|