Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests to the framework #6

Open
chicxurug opened this issue Jul 22, 2021 · 1 comment
Open

Add unit tests to the framework #6

chicxurug opened this issue Jul 22, 2021 · 1 comment
Labels
enhancement New feature or request framework

Comments

@chicxurug
Copy link
Contributor

No description provided.

@chicxurug chicxurug changed the title Add unit tests to the framework [framework] Add unit tests to the framework Nov 19, 2021
@chicxurug chicxurug changed the title [framework] Add unit tests to the framework Add unit tests to the framework Feb 18, 2022
@chicxurug chicxurug added the enhancement New feature or request label Feb 18, 2022
@chicxurug
Copy link
Contributor Author

Work started, there are 4 unit tests for start...

fea-devteam added a commit to fea-devteam/AIFix4SecCode that referenced this issue May 28, 2022
fea-devteam added a commit to fea-devteam/AIFix4SecCode that referenced this issue May 31, 2022
chicxurug pushed a commit that referenced this issue Jun 7, 2022
* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Refactor - Extract Function

* Minor format changes #45

* Minor format changes #45

* Add support for Gradle #44

* Add support for Ant #83

* Add support for Ant #83

* Find the variable name for some vulnerabilities

* Column info on MS_SHOULD_BE_FINAL and EI_EXPOSE_REP2

* Complete refactor of ColumnInfoParser

* Implement AST method for retrieving column info

* Use JavaParser library for parsing column info (temporary solution)

* Extended JavaParser implementation, find column info for FB_EER/FB_EiER, FB_NNOSP and FB_MSBF

* dynamic column info data passed to OpenStaticAnalyzer and processed properly

* ColumnInfoParser uses anonymous VoidVisitor class to visit nodes, minor code cleanup

* Minor code cleanup

* Insert TODOs

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Refactor - Clean OpenStaticAnalyzer

* Create integration test for: extracting column info #6

* Framework repair (#77)

* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Add support for Gradle #44

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Fix NullPointerException in getResultPair()

* Skip build when the generated patch is empty

* Log Vulnerabilities

* Add support for MavenCLI

* Fix failure on not retrieved column info

* Get mapping properties from config

* Log elapsed time

* Disable test case

* Create statistics
chicxurug pushed a commit that referenced this issue Jun 24, 2022
* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Refactor - Extract Function

* Minor format changes #45

* Minor format changes #45

* Add support for Gradle #44

* Add support for Ant #83

* Add support for Ant #83

* Find the variable name for some vulnerabilities

* Column info on MS_SHOULD_BE_FINAL and EI_EXPOSE_REP2

* Complete refactor of ColumnInfoParser

* Implement AST method for retrieving column info

* Use JavaParser library for parsing column info (temporary solution)

* Extended JavaParser implementation, find column info for FB_EER/FB_EiER, FB_NNOSP and FB_MSBF

* dynamic column info data passed to OpenStaticAnalyzer and processed properly

* ColumnInfoParser uses anonymous VoidVisitor class to visit nodes, minor code cleanup

* Minor code cleanup

* Insert TODOs

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Refactor - Clean OpenStaticAnalyzer

* Create integration test for: extracting column info #6

* Framework repair (#77)

* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Add support for Gradle #44

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Fix NullPointerException in getResultPair()

* Skip build when the generated patch is empty

* Log Vulnerabilities

* Add support for MavenCLI

* Fix failure on not retrieved column info

* Get mapping properties from config

* Log elapsed time

* Disable test case

* Create statistics

* Create statistics

* Fix invalid elapsed time

* Refactor - Simplify OpenStaticAnalyzer

* Extend pairing with variable source path #87

* Trying to fix #88

* Save number of generated/filtered/verified patches

* Upload missing method

* Fix command line argument usage

* Updated CodeRepair to 1.0.2

* Updated README.md with working command
fea-devteam added a commit to fea-devteam/AIFix4SecCode that referenced this issue Jul 11, 2022
fea-devteam added a commit to fea-devteam/AIFix4SecCode that referenced this issue Jul 11, 2022
fea-devteam added a commit to fea-devteam/AIFix4SecCode that referenced this issue Jul 12, 2022
chicxurug pushed a commit that referenced this issue Jul 25, 2022
* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Refactor - Extract Function

* Minor format changes #45

* Minor format changes #45

* Add support for Gradle #44

* Add support for Ant #83

* Add support for Ant #83

* Find the variable name for some vulnerabilities

* Column info on MS_SHOULD_BE_FINAL and EI_EXPOSE_REP2

* Complete refactor of ColumnInfoParser

* Implement AST method for retrieving column info

* Use JavaParser library for parsing column info (temporary solution)

* Extended JavaParser implementation, find column info for FB_EER/FB_EiER, FB_NNOSP and FB_MSBF

* dynamic column info data passed to OpenStaticAnalyzer and processed properly

* ColumnInfoParser uses anonymous VoidVisitor class to visit nodes, minor code cleanup

* Minor code cleanup

* Insert TODOs

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Refactor - Clean OpenStaticAnalyzer

* Create integration test for: extracting column info #6

* Framework repair (#77)

* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Add support for Gradle #44

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Fix NullPointerException in getResultPair()

* Skip build when the generated patch is empty

* Log Vulnerabilities

* Add support for MavenCLI

* Fix failure on not retrieved column info

* Get mapping properties from config

* Log elapsed time

* Disable test case

* Create statistics

* Create statistics

* Fix invalid elapsed time

* Refactor - Simplify OpenStaticAnalyzer

* Extend pairing with variable source path #87

* Trying to fix #88

* Save number of generated/filtered/verified patches

* Upload missing method

* Fix command line argument usage

* Remove copyDependency option from CLI patchers

* Add an option to change the source path of the analysed project

* Separate log files for each build

* Save unit test results for each compiled patch

* Clarify patch name in patch_unit_test.csv

* Separate Vuln_ID and Patch in patch_unit_test.csv

* Updated CodeRepair to 1.0.2

* Updated README.md with working command

* Remove copyDependency option from CLI patchers

* Updated CodeRepair to 1.0.2

* Updated README.md with working command

* Run 'mvn' command using 'cmd /c' on Windows #86

* Unit tests for ColumnInfoParser

* Unit tests for Configuration

* Unit tests for TestInfoExtractor

* Add flag for running unit tests

* Fix different os path issue

* Add unit tests for Statistics #6

* Add unit tests for Statistics #6

* Test deleteIntermediatePatches() #6
chicxurug pushed a commit that referenced this issue Jul 25, 2022
* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Refactor - Extract Function

* Minor format changes #45

* Minor format changes #45

* Add support for Gradle #44

* Add support for Ant #83

* Add support for Ant #83

* Find the variable name for some vulnerabilities

* Column info on MS_SHOULD_BE_FINAL and EI_EXPOSE_REP2

* Complete refactor of ColumnInfoParser

* Implement AST method for retrieving column info

* Use JavaParser library for parsing column info (temporary solution)

* Extended JavaParser implementation, find column info for FB_EER/FB_EiER, FB_NNOSP and FB_MSBF

* dynamic column info data passed to OpenStaticAnalyzer and processed properly

* ColumnInfoParser uses anonymous VoidVisitor class to visit nodes, minor code cleanup

* Minor code cleanup

* Insert TODOs

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Refactor - Clean OpenStaticAnalyzer

* Create integration test for: extracting column info #6

* Framework repair (#77)

* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Add support for Gradle #44

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Fix NullPointerException in getResultPair()

* Skip build when the generated patch is empty

* Log Vulnerabilities

* Add support for MavenCLI

* Fix failure on not retrieved column info

* Get mapping properties from config

* Log elapsed time

* Disable test case

* Create statistics

* Create statistics

* Fix invalid elapsed time

* Refactor - Simplify OpenStaticAnalyzer

* Extend pairing with variable source path #87

* Trying to fix #88

* Save number of generated/filtered/verified patches

* Upload missing method

* Fix command line argument usage

* Remove copyDependency option from CLI patchers

* Add an option to change the source path of the analysed project

* Separate log files for each build

* Save unit test results for each compiled patch

* Clarify patch name in patch_unit_test.csv

* Separate Vuln_ID and Patch in patch_unit_test.csv

* Updated CodeRepair to 1.0.2

* Updated README.md with working command

* Remove copyDependency option from CLI patchers

* Updated CodeRepair to 1.0.2

* Updated README.md with working command

* Run 'mvn' command using 'cmd /c' on Windows #86

* Unit tests for ColumnInfoParser

* Unit tests for Configuration

* Unit tests for TestInfoExtractor

* Add flag for running unit tests

* Fix different os path issue

* Add unit tests for Statistics #6

* Add unit tests for Statistics #6

* Test deleteIntermediatePatches() #6

* Fix line separator difference issue
chicxurug pushed a commit that referenced this issue Jul 25, 2022
* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Refactor - Extract Function

* Minor format changes #45

* Minor format changes #45

* Add support for Gradle #44

* Add support for Ant #83

* Add support for Ant #83

* Find the variable name for some vulnerabilities

* Column info on MS_SHOULD_BE_FINAL and EI_EXPOSE_REP2

* Complete refactor of ColumnInfoParser

* Implement AST method for retrieving column info

* Use JavaParser library for parsing column info (temporary solution)

* Extended JavaParser implementation, find column info for FB_EER/FB_EiER, FB_NNOSP and FB_MSBF

* dynamic column info data passed to OpenStaticAnalyzer and processed properly

* ColumnInfoParser uses anonymous VoidVisitor class to visit nodes, minor code cleanup

* Minor code cleanup

* Insert TODOs

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Refactor - Clean OpenStaticAnalyzer

* Create integration test for: extracting column info #6

* Framework repair (#77)

* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Add support for Gradle #44

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Fix NullPointerException in getResultPair()

* Skip build when the generated patch is empty

* Log Vulnerabilities

* Add support for MavenCLI

* Fix failure on not retrieved column info

* Get mapping properties from config

* Log elapsed time

* Disable test case

* Create statistics

* Create statistics

* Fix invalid elapsed time

* Refactor - Simplify OpenStaticAnalyzer

* Extend pairing with variable source path #87

* Trying to fix #88

* Save number of generated/filtered/verified patches

* Upload missing method

* Fix command line argument usage

* Remove copyDependency option from CLI patchers

* Add an option to change the source path of the analysed project

* Separate log files for each build

* Save unit test results for each compiled patch

* Clarify patch name in patch_unit_test.csv

* Separate Vuln_ID and Patch in patch_unit_test.csv

* Updated CodeRepair to 1.0.2

* Updated README.md with working command

* Remove copyDependency option from CLI patchers

* Updated CodeRepair to 1.0.2

* Updated README.md with working command

* Run 'mvn' command using 'cmd /c' on Windows #86

* Unit tests for ColumnInfoParser

* Unit tests for Configuration

* Unit tests for TestInfoExtractor

* Add flag for running unit tests

* Fix different os path issue

* Add unit tests for Statistics #6

* Add unit tests for Statistics #6

* Test deleteIntermediatePatches() #6

* Convert relative config.project_path to absolute path #81

* Update documentation
chicxurug pushed a commit that referenced this issue Jul 29, 2022
* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Refactor - Extract Function

* Minor format changes #45

* Minor format changes #45

* Add support for Gradle #44

* Add support for Ant #83

* Add support for Ant #83

* Find the variable name for some vulnerabilities

* Column info on MS_SHOULD_BE_FINAL and EI_EXPOSE_REP2

* Complete refactor of ColumnInfoParser

* Implement AST method for retrieving column info

* Use JavaParser library for parsing column info (temporary solution)

* Extended JavaParser implementation, find column info for FB_EER/FB_EiER, FB_NNOSP and FB_MSBF

* dynamic column info data passed to OpenStaticAnalyzer and processed properly

* ColumnInfoParser uses anonymous VoidVisitor class to visit nodes, minor code cleanup

* Minor code cleanup

* Insert TODOs

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Refactor - Clean OpenStaticAnalyzer

* Create integration test for: extracting column info #6

* Framework repair (#77)

* Refactor - Extract configuration attributes

* Refactor - Replace temp with Query

* Refactor - Fix ToolFactory path issue

* Refactor - Extract tasks

* Enhance console output with own logger

* Enhance console output, redirect all the current info into the log file with own logger

* Create validation folder, #72

* Enhance console output #45

* Refactor - Parameterize Function

* Add support for Gradle #44

* Refactor - Replace temp with Query, minor changes

* Refactor - SRP: Separate 'column info attach' from VulnerabilityLocation

* Refactor - Clean OpenStaticAnalyzer

* Fix NullPointerException in getResultPair()

* Skip build when the generated patch is empty

* Log Vulnerabilities

* Add support for MavenCLI

* Fix failure on not retrieved column info

* Get mapping properties from config

* Log elapsed time

* Disable test case

* Create statistics

* Create statistics

* Fix invalid elapsed time

* Refactor - Simplify OpenStaticAnalyzer

* Extend pairing with variable source path #87

* Trying to fix #88

* Save number of generated/filtered/verified patches

* Upload missing method

* Fix command line argument usage

* Remove copyDependency option from CLI patchers

* Add an option to change the source path of the analysed project

* Separate log files for each build

* Save unit test results for each compiled patch

* Clarify patch name in patch_unit_test.csv

* Separate Vuln_ID and Patch in patch_unit_test.csv

* Updated CodeRepair to 1.0.2

* Updated README.md with working command

* Remove copyDependency option from CLI patchers

* Updated CodeRepair to 1.0.2

* Updated README.md with working command

* Fix path issue

* Change path to relative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request framework
Projects
None yet
Development

No branches or pull requests

1 participant