SZZUnleashed¶
Module for the tool SZZUnleashed.
- class varats.tools.research_tools.szz_unleashed.SZZUnleashedCodeBase(base_dir)[source]¶
Bases:
CodeBaseLayout 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:
- 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 ininstall_prefix (
Path) – Installation prefix pathversion (
Optional[int]) – Version to setup
- 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
SubProjectname.- 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 usedinstall_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 releasebuild_folder_suffix (
Optional[str]) – a suffix that is appended to the build folder
- Return type:
bool- Returns:
True, if the build was correct.