From 8c0360f4fc3ff25875f77d28ba03aa39a8cdb257 Mon Sep 17 00:00:00 2001 From: pierretienne Date: Sat, 6 Dec 2014 23:43:51 +0100 Subject: [PATCH] refactor traces --- src/IA_Exemple__4393.lks | 6 +++--- src/test__5639.lks | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/IA_Exemple__4393.lks b/src/IA_Exemple__4393.lks index 0af41d7..4279f78 100644 --- a/src/IA_Exemple__4393.lks +++ b/src/IA_Exemple__4393.lks @@ -544,11 +544,11 @@ function retreat(){ var estimationQuality_l = nbInstructions_l / estimatedComplexity_l; if(nbInstructions_l > MIN_SECURITY_INSTRUCTION_G && estimationQuality_l > 1){ COEF_ESTIMATD_COMPLEXITY_G *= estimationQuality_l; - debugE("nbInstructions_l = " + nbInstructions_l + " and estimationQuality_l = " + estimationQuality_l + ". New COEF_ESTIMATD_COMPLEXITY_G = " + COEF_ESTIMATD_COMPLEXITY_G); + debugE("nbInstructions_l = " + nbInstructions_l + " and quality = " + estimationQuality_l + ". New COEF = " + COEF_ESTIMATD_COMPLEXITY_G); }else if(nbInstructions_l > 0.5 * MIN_SECURITY_INSTRUCTION_G && estimationQuality_l < 0.7){ - debugW("nbInstructions_l = " + nbInstructions_l + " and estimationQuality_l = " + estimationQuality_l + ". New COEF_ESTIMATD_COMPLEXITY_G = " + COEF_ESTIMATD_COMPLEXITY_G); + debugW("nbInstructions_l = " + nbInstructions_l + " and quality = " + estimationQuality_l + ". COEF = " + COEF_ESTIMATD_COMPLEXITY_G); }else{ - debug("nbInstructions_l = " + nbInstructions_l + " and estimationQuality_l = " + estimationQuality_l); + debug("nbInstructions_l = " + nbInstructions_l + " and quality = " + estimationQuality_l + ". COEF = " + COEF_ESTIMATD_COMPLEXITY_G); } } diff --git a/src/test__5639.lks b/src/test__5639.lks index 3b22caf..fd7086a 100644 --- a/src/test__5639.lks +++ b/src/test__5639.lks @@ -234,11 +234,11 @@ function retreat(){ var estimationQuality_l = nbInstructions_l / estimatedComplexity_l; if(nbInstructions_l > MIN_SECURITY_INSTRUCTION_G && estimationQuality_l > 1){ COEF_ESTIMATD_COMPLEXITY_G *= estimationQuality_l; - debugE("nbInstructions_l = " + nbInstructions_l + " and estimationQuality_l = " + estimationQuality_l + ". New COEF_ESTIMATD_COMPLEXITY_G = " + COEF_ESTIMATD_COMPLEXITY_G); + debugE("nbInstructions_l = " + nbInstructions_l + " and quality = " + estimationQuality_l + ". New COEF = " + COEF_ESTIMATD_COMPLEXITY_G); }else if(nbInstructions_l > 0.5 * MIN_SECURITY_INSTRUCTION_G && estimationQuality_l < 0.7){ - debugW("nbInstructions_l = " + nbInstructions_l + " and estimationQuality_l = " + estimationQuality_l + ". New COEF_ESTIMATD_COMPLEXITY_G = " + COEF_ESTIMATD_COMPLEXITY_G); + debugW("nbInstructions_l = " + nbInstructions_l + " and quality = " + estimationQuality_l + ". COEF = " + COEF_ESTIMATD_COMPLEXITY_G); }else{ - debug("nbInstructions_l = " + nbInstructions_l + " and estimationQuality_l = " + estimationQuality_l); + debug("nbInstructions_l = " + nbInstructions_l + " and quality = " + estimationQuality_l + ". COEF = " + COEF_ESTIMATD_COMPLEXITY_G); } } -- 2.11.4.GIT