@@ -0,0 +1,788 @@
+#!/usr/bin/python%0A%0A## Binary Analysis Tool%0A## Copyright 2013 Armijn Hemel for Tjaldur Software Governance Solutions%0A## Licensed under Apache 2.0, see LICENSE file for details%0A%0Aimport os, os.path, sys, subprocess, copy%0A%0A'''%0AThis plugin is used to aggregate ranking results for Java JAR files.%0AThe ranking scan only ranks individual class files, which often do not%0Acontain enough information. By aggregating the results of these classes%0Ait is possible to get a better view of what is inside a JAR.%0A'''%0A%0Adef aggregatejars(unpackreports, leafreports, scantempdir, envvars=None):%0A%09## find all JAR files. Do this by:%0A%09## 1. checking the tags for 'zip'%0A%09## 2. verifying for unpacked files that there are .class files%0A%09## 3. possibly verifying there is a META-INF directory with a manifest%0A%09pass%0A

add stub for aggregate JAR scanning