trung / InMemoryJavaCompiler

Utility class to compile java source code in memory
Apache License 2.0
266 stars 81 forks source link

splitting compilation and running to 2 diffrent flows #23

Open benor1470 opened 6 years ago

benor1470 commented 6 years ago

Added an option to compile into a byte array and an option to run the compiled code at a later time

codecov-io commented 6 years ago

Codecov Report

Merging #23 into master will decrease coverage by 0.04%. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #23      +/-   ##
=======================================
- Coverage   86.04%   86%   -0.05%     
=======================================
  Files           6     6              
  Lines          86   100      +14     
  Branches        8    10       +2     
=======================================
+ Hits           74    86      +12     
- Misses         10    13       +3     
+ Partials        2     1       -1
Impacted Files Coverage Δ
...n/java/org/mdkt/compiler/InMemoryJavaCompiler.java 88.52% <100%> (+2.81%) :arrow_up:
...mdkt/compiler/ExtendedStandardJavaFileManager.java 84.61% <100%> (+2.79%) :arrow_up:
...ain/java/org/mdkt/compiler/DynamicClassLoader.java 50% <0%> (-30%) :arrow_down:
src/main/java/org/mdkt/compiler/CompiledCode.java 100% <0%> (+14.28%) :arrow_up:

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 d84c404...a4ef8d9. Read the comment docs.