Skip to content

Increase test coverage for spotbugs

Saikat Sarkar requested to merge add_test into master

What does this MR do?

In this MR, we added more unit tests to increase the test coverage for analyze.go in spotbugs.

What are the relevant issue numbers?

Issue

Result

Before

➜  spotbugs git:(master) go test -cover analyze.go analyze_test.go
PASS | command-line-arguments 0.101s
COVER| 12.4% [#_________]

After

➜  spotbugs git:(add_test) go test -cover analyze.go analyze_test.go
PASS | command-line-arguments 0.157s
COVER| 20.7% [##________]

Does this MR meet the acceptance criteria?

Edited by Daniel Paul Searles

Merge request reports