kuniri icon indicating copy to clipboard operation
kuniri copied to clipboard

Outputing the function counter to XML.

Open giulianobelinassi opened this issue 7 years ago • 5 comments

Now, globalFunctions tag appears in the header of the xml output file.

giulianobelinassi avatar May 12 '17 17:05 giulianobelinassi

  1. Change globalFunctions name to totalGlobalFunctions
  2. When we execute kuniri with O1 flag it optimizes the final output to use a reduced version of the elements name. totalGlobalFunctions could be reduced to tgf and count to c when -O1 is passed to the CLI. Thanks :)

rodrigosiqueira avatar May 13 '17 22:05 rodrigosiqueira

Almost done... I just miss some tests similar the ones find in spec/language/ruby/global_test/. Add rspec tests with multiple variation of this parameter and other similar with tests in spec/language/ruby/global_test/

rodrigosiqueira avatar May 31 '17 13:05 rodrigosiqueira

Done. Check spec/language/ruby/global_test/metrics

giulianobelinassi avatar May 31 '17 18:05 giulianobelinassi

Almost done, can you just rebase your branch with dev and fix the conflicts?

rodrigosiqueira avatar Jun 02 '17 12:06 rodrigosiqueira

We do not know why the build is failing, but all tests succeed in my machine. @rodrigosiqueira Could you run it locally?

giulianobelinassi avatar Jun 21 '17 17:06 giulianobelinassi