Skip to content

Commit

Permalink
Fixed package of ValueEvaluator (#888)
Browse files Browse the repository at this point in the history
The package name for the `ValueEvaluator` was `.graph`, even though it is (correctly) placed in the `.analysis` folder. Maybe this also fixes the issue with 0 % coverage in sonarqube.
oxisto authored Aug 27, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e6d93ab commit fd0d3ec
Showing 8 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -26,10 +26,8 @@
package de.fraunhofer.aisec.cpg.analysis

import de.fraunhofer.aisec.cpg.graph.Node
import de.fraunhofer.aisec.cpg.graph.ValueEvaluator
import de.fraunhofer.aisec.cpg.graph.declarations.FieldDeclaration
import de.fraunhofer.aisec.cpg.graph.declarations.VariableDeclaration
import de.fraunhofer.aisec.cpg.graph.negate
import de.fraunhofer.aisec.cpg.graph.statements.ForStatement
import de.fraunhofer.aisec.cpg.graph.statements.expressions.*
import de.fraunhofer.aisec.cpg.passes.astParent
Original file line number Diff line number Diff line change
@@ -26,7 +26,6 @@
package de.fraunhofer.aisec.cpg.analysis

import de.fraunhofer.aisec.cpg.graph.Node
import de.fraunhofer.aisec.cpg.graph.ValueEvaluator
import de.fraunhofer.aisec.cpg.graph.declarations.VariableDeclaration
import de.fraunhofer.aisec.cpg.graph.statements.expressions.*
import org.slf4j.Logger
Original file line number Diff line number Diff line change
@@ -23,8 +23,9 @@
* \______/ \__| \______/
*
*/
package de.fraunhofer.aisec.cpg.graph
package de.fraunhofer.aisec.cpg.analysis

import de.fraunhofer.aisec.cpg.graph.Node
import de.fraunhofer.aisec.cpg.graph.declarations.VariableDeclaration
import de.fraunhofer.aisec.cpg.graph.statements.expressions.*
import org.slf4j.Logger
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@
*/
package de.fraunhofer.aisec.cpg.graph

import de.fraunhofer.aisec.cpg.analysis.ValueEvaluator
import de.fraunhofer.aisec.cpg.graph.declarations.Declaration
import de.fraunhofer.aisec.cpg.graph.statements.expressions.ArrayCreationExpression
import de.fraunhofer.aisec.cpg.graph.statements.expressions.Expression
Original file line number Diff line number Diff line change
@@ -26,8 +26,8 @@
package de.fraunhofer.aisec.cpg.passes

import de.fraunhofer.aisec.cpg.TranslationResult
import de.fraunhofer.aisec.cpg.analysis.ValueEvaluator
import de.fraunhofer.aisec.cpg.graph.Node
import de.fraunhofer.aisec.cpg.graph.ValueEvaluator
import de.fraunhofer.aisec.cpg.graph.edge.Properties
import de.fraunhofer.aisec.cpg.graph.statements.IfStatement
import de.fraunhofer.aisec.cpg.graph.statements.WhileStatement
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ import de.fraunhofer.aisec.cpg.TranslationResult
import de.fraunhofer.aisec.cpg.analysis.MultiValueEvaluator
import de.fraunhofer.aisec.cpg.analysis.NumberSet
import de.fraunhofer.aisec.cpg.analysis.SizeEvaluator
import de.fraunhofer.aisec.cpg.analysis.ValueEvaluator
import de.fraunhofer.aisec.cpg.graph.*
import de.fraunhofer.aisec.cpg.graph.statements.expressions.CallExpression
import de.fraunhofer.aisec.cpg.graph.statements.expressions.Expression
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
*/
package de.fraunhofer.aisec.cpg.query

import de.fraunhofer.aisec.cpg.graph.compareTo
import de.fraunhofer.aisec.cpg.analysis.compareTo

/**
* Holds the [value] to which the statements have been evaluated. The [children] define previous
Original file line number Diff line number Diff line change
@@ -28,7 +28,6 @@ package de.fraunhofer.aisec.cpg.analysis
import de.fraunhofer.aisec.cpg.TranslationResult
import de.fraunhofer.aisec.cpg.console.fancyCode
import de.fraunhofer.aisec.cpg.graph.Node
import de.fraunhofer.aisec.cpg.graph.ValueEvaluator
import de.fraunhofer.aisec.cpg.graph.capacity
import de.fraunhofer.aisec.cpg.graph.declarations.VariableDeclaration
import de.fraunhofer.aisec.cpg.graph.statements.expressions.ArrayCreationExpression

0 comments on commit fd0d3ec

Please sign in to comment.