-
Notifications
You must be signed in to change notification settings - Fork 16
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
Analyzer simplification & export externalization #26
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changelog : - Removal of the old Analyzer in the Analyzer plugin; - Removal of the analysis handler in the UI plugin - Add of an Analyzer plugin runnable from any third using applyRules(List<File>,List<String>,List<String>) and computeMetrics(List<File>,List<String>,List<String>) indicating files & languages to run the analysis on. - Analyzer is now responsible to run the appropriate files on the good analyzers - Add of a new analysis handler in UI sending every selected file to the analyzer. The current changes are not complete, javadoc and cleaning task should be realized to use clean files.
Note : Tests were commented for UI.
V3 dev - CheckResult update
Conflicts: fr.cnes.analysis.tools.analyzer/src/fr/cnes/analysis/tools/analyzer/RuleAnalysisJob.java fr.cnes.analysis.tools.analyzer/src/fr/cnes/analysis/tools/analyzer/RuleAnalyzer.java fr.cnes.analysis.tools.ui/src/fr/cnes/analysis/tools/ui/handler/RuleAnalysisHandler.java fr.cnes.analysis.tools.ui/src/fr/cnes/analysis/tools/ui/view/ViolationsView.java tests/fr.cnes.analysis.tools.fortran77.rules.test/src/fr/cnes/analysis/tools/fortran77/rules/TestGlobal_1.java tests/fr.cnes.analysis.tools.fortran77.rules.test/src/fr/cnes/analysis/tools/fortran77/rules/TestGlobal_2.java tests/fr.cnes.analysis.tools.fortran77.rules.test/src/fr/cnes/analysis/tools/fortran77/rules/TestGlobal_3.java tests/fr.cnes.analysis.tools.fortran77.rules.test/src/fr/cnes/analysis/tools/fortran77/rules/TestGlobal_4.java tests/fr.cnes.analysis.tools.fortran90.rules.test/src/fr/cnes/analysis/tools/fortran90/rules/TestGlobal_1.java tests/fr.cnes.analysis.tools.fortran90.rules.test/src/fr/cnes/analysis/tools/fortran90/rules/TestGlobal_2.java tests/fr.cnes.analysis.tools.shell.rules.test/src/fr/cnes/analysis/tools/shell/rules/TestGlobal.java
Checker attributes are now set on new instance. Javadoc added and the function applyRules was renamed to check.
Conflicts: fr.cnes.analysis.tools.ui/src/fr/cnes/analysis/tools/ui/view/ViolationsView.java
WaldoFR
pushed a commit
that referenced
this pull request
Jul 13, 2017
Analyzer simplification & export externalization
begarco
pushed a commit
to begarco/i-CodeCNES
that referenced
this pull request
Jan 25, 2020
Analyzer simplification & export externalization
begarco
pushed a commit
that referenced
this pull request
Feb 2, 2020
Analyzer simplification & export externalization
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request changelog :
Analyzer
class service to run analysis, not eclipse based (Simplification of the analyzer #16)CheckResult
andChecker
classes to fulfill attributes (Merge Violation and FileValue into CheckResult #23)fr.cnes.analysis.tools.ui
using the newAnalyzer
(Simplification of the analyzer #16)fr.cnes.analysis.tools.ui
using Jobs to run analysis with the analyzer service (Simplification of the analyzer #16)CheckResult
andFileValue
class (Simplification of the analyzer #16)ViolationsView
class infr.cnes.analysis.tools.ui plugin using an new
Exportservice in
fr.cnes.analysis.tools.export` (Externalize exports #19)CheckResult
in two plugin in extension of theExport
service (Externalize exports #19):fr.cnes.analysis.tools.export.xml
fr.cnes.analysis.tools.export.csv
WizardPage
to use Export's extension pointfr.cnes.analysis.tools.export
to suggest availble export format to the user. (Externalize exports #19)