soywiz-archive / jtransc

Bytecode to source converting Java & Kotlin code into JavaScript, C++, D, C#, PHP, AS3, Dart and Haxe and run it everywhere. Also use JVM code in your favourite language as a library.
https://jtransc.soywiz.com/
Apache License 2.0
632 stars 67 forks source link

Improve coverage based on codecov #243

Closed soywiz closed 7 years ago

soywiz commented 7 years ago

https://codecov.io/gh/jtransc/jtransc/src/f544e39efb5e153403ac07d234ffca45e6592d01/jtransc-utils/src/com/jtransc/template/Minitemplate.kt

soywiz commented 7 years ago

It seems that default jacoco reports work matching tests in one subproject with code in that subproject. It would be great to aggregate all them and produce a single report. If not, I can create a common project for tests and put per language tests in its corresponding project. Also that would require testing common generator alone. Which maybe it is even a good idea

codecov[bot] commented 7 years ago

Codecov Report

Merging #243 into master will increase coverage by 1.67%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #243      +/-   ##
============================================
+ Coverage     15.91%   17.59%   +1.67%     
- Complexity      304      380      +76     
============================================
  Files           159      312     +153     
  Lines         12176    20734    +8558     
  Branches       3074     4500    +1426     
============================================
+ Hits           1938     3648    +1710     
- Misses         9699    16394    +6695     
- Partials        539      692     +153
Impacted Files Coverage Δ Complexity Δ
...uildjar-maven-plugin/src/com/jtransc/tools/util.kt 26.08% <ø> (ø) 0 <0> (?)
jtransc-rt-core/src/j/MemberInfo.java 0% <0%> (ø) 0% <0%> (?)
...e/src/com/jtransc/io/async/JTranscAsyncStream.java 0% <0%> (ø) 0% <0%> (?)
...-gen-haxe/src/com/jtransc/gen/haxe/HaxeCompiler.kt 75% <0%> (ø) 3% <0%> (?)
.../com/jtransc/charset/JTranscCharsetSingleByte.java 0% <0%> (ø) 0% <0%> (?)
...c/com/jtransc/compression/jzlib/GZIPException.java 0% <0%> (ø) 0% <0%> (?)
...re/src/com/jtransc/internal/IntJTranscStrings.java 0% <0%> (ø) 0% <0%> (?)
...sc-gen-haxe/src/com/jtransc/gen/haxe/HaxeTarget.kt 79.03% <0%> (ø) 11% <0%> (?)
jtransc-rt-core/src/com/jtransc/Mem.java 0% <0%> (ø) 0% <0%> (?)
...transc-rt-core-kotlin/src/com/jtransc/cs/CSharp.kt 0% <0%> (ø) 0% <0%> (?)
... and 153 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f544e39...0cb73d2. Read the comment docs.