binaryeq / jcompile

scripts to compile Java projects with different compilers to create a data set of comparable binaries
Apache License 2.0
0 stars 0 forks source link

Add project detail columns to `ZipPath` and oracle outputs #67

Closed wtwhite closed 11 months ago

wtwhite commented 11 months ago

For symmetry with the existing compiler_name, compiler_major_version, etc., columns that (redundantly) split out information from the outerpath columns.

Also fixes a minor naming inconsistency (container1 -> container_1, etc.) in AdjacentVersionSameArtifactAndCompilerClassOracle.

wtwhite commented 11 months ago

Looks sane for SameArtifactDifferentCompilerClassOracle:

wtwhite@wtwhite-vuw-vm:~/code/jcompile/oracle-construction$ time java -cp target/jcompile.jar nz.ac.wgtn.shadedetector.jcompile.oracles.SameArtifactDifferentCompilerClassOracle  fixed_small_jars_with_tests > fixed_small_jars_with_tests_withAIC_withprojectdetail.txt 
--snip--
real    0m40.761s
user    0m47.599s
sys 0m4.975s
wtwhite@wtwhite-vuw-vm:~/code/jcompile/oracle-construction$ wc -l fixed_small_jars_with_tests_withAIC{,_withprojectdetail}.txt 
   35642 fixed_small_jars_with_tests_withAIC.txt
   35642 fixed_small_jars_with_tests_withAIC_withprojectdetail.txt
   71284 total

And for AdjacentVersionSameArtifactAndCompilerClassOracle:

wtwhite@wtwhite-vuw-vm:~/code/jcompile/oracle-construction$ time java -cp target/jcompile.jar nz.ac.wgtn.shadedetector.jcompile.oracles.AdjacentVersionSameArtifactAndCompilerClassOracle fixed_small_jars_with_tests > fixed_small_jars_with_tests_AdjacentVersionSameArtifactAndCompiler_withAIC_withprojectdetail.txt 
--snip--
real    0m59.820s
user    1m5.462s
sys 0m18.611s
wtwhite@wtwhite-vuw-vm:~/code/jcompile/oracle-construction$ wc -l fixed_small_jars_with_tests_AdjacentVersionSameArtifactAndCompiler_withAIC*.txt 
   21992 fixed_small_jars_with_tests_AdjacentVersionSameArtifactAndCompiler_withAIC.txt
   21992 fixed_small_jars_with_tests_AdjacentVersionSameArtifactAndCompiler_withAIC_withprojectdetail.txt
   43984 total