SZZUnleashed

Module for the tool SZZUnleashed.

class varats.tools.research_tools.szz_unleashed.SZZUnleashedCodeBase(base_dir)[source]

Bases: CodeBase

Layout of the SZZUnleashed code base.

class varats.tools.research_tools.szz_unleashed.SZZUnleashed(base_dir)[source]

Bases: ResearchTool[SZZUnleashedCodeBase]

Research tool implementation for SZZUnleashed.

Find the main repo on github: https://github.com/wogscpar/SZZUnleashed

classmethod get_dependencies()[source]

Returns the dependencies for this research tool.

Return type:

Dependencies

static source_location()[source]

Returns the source location of the research tool.

Return type:

Path

static has_source_location()[source]

Checks if a source location of the research tool is configured.

Return type:

bool

static install_location()[source]

Returns the install location of the research tool.

Return type:

Path

static has_install_location()[source]

Checks if a install location of the research tool is configured.

Return type:

bool

setup(source_folder, install_prefix, version)[source]

Setup the research tool SZZUnleashed with it’s code base.

Parameters:
  • source_folder (Optional[Path]) – location to store the code base in

  • install_prefix (Path) – Installation prefix path

  • version (Optional[int]) – Version to setup

Return type:

None

upgrade()[source]

Upgrade the research tool to a newer version.

Return type:

None

static get_version()[source]

Get the current version number of SZZUnleashed.

Return type:

str

Returns:

the current version number of SZZUnleashed

static get_jar_name()[source]

Get the name of the jar file containing SZZUnleashed.

Return type:

str

Returns:

the jar file containing SZZUnleashed

find_highest_sub_prj_version(sub_prj_name)[source]

Returns the highest release version number for the specified SubProject name.

Return type:

int

is_up_to_date()[source]

Returns true if VaRA’s major release version is up to date.

Return type:

bool

build(build_type, install_location, build_folder_suffix)[source]

Build SZZUnleashed.

Parameters:
  • build_type (BuildType) – not used

  • install_location (Path) – where to put the built jar

Return type:

None

get_install_binaries()[source]

Returns a list of binaries to check when validating the installation.

Return type:

List[str]

verify_build(build_type, build_folder_suffix)[source]

Verify if the research tool was built correctly for a given build_type.

Parameters:
  • build_type (BuildType) – which type of build should be used, e.g., debug, development or release

  • build_folder_suffix (Optional[str]) – a suffix that is appended to the build folder

Return type:

bool

Returns:

True, if the build was correct.