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

Integrity validations #163

Merged
merged 6 commits into from
Nov 27, 2015
Merged

Integrity validations #163

merged 6 commits into from
Nov 27, 2015

Conversation

rafamanzo
Copy link
Member

Validations that may avoid errors within parsers.

This closes #133

rafamanzo and others added 6 commits November 27, 2015 15:10
The validation is scoped to module_result_id.

The unit test for ModuleResult chidren association touches the database
so fixes to the factories with proper id setting was necessary.

Signed off by: Heitor Reis <marcheing@gmail.com>
The validation is scoped to the Processing which is gotten through its
ModuleResult. That's why we need a custom validator.

Signed off by: Heitor Reis <marcheing@gmail.com>
Now, with the new kalibro module validation, the validator needs the
kalibro module to already have an association with a module result. The
parsers for analizo, metric fu and radon were updated with this
requirement.

Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
This validation broke HotspotMetricResults for which is valid results
within the same ModuleResult. Take duplicate code within the same class.
The creation of KalibroModule requires a ModuleResult which was created
only later on.
This validation avoid errors on LongNameValidator.
@diegoamc
Copy link
Contributor

Nice job, guys!

diegoamc added a commit that referenced this pull request Nov 27, 2015
@diegoamc diegoamc merged commit 0bfa359 into master Nov 27, 2015
@diegoamc diegoamc deleted the integrity_validations branch November 27, 2015 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Radon collector creates duplicated MetricResults
3 participants