text: var codemr={},EQ={namespace:function(e){for(var E=e.split("."),t=window,i="",_=0,n=E.length;_<n;_++)t[i=E[_]]=t[i]||{},t=t[i];return t}},EQ_INIT=function(){EQ_INIT_CSS()},EQ_Client=function(){this.get=function(e,E){var t=new XMLHttpRequest;t.onreadystatechange=function(){4==t.readyState&&200==t.status&&E(t.responseText)},t.open("GET",e,!0),t.send(null)}},EQ_INIT_XHR=function(){var e=new EQ_Client,E="https://www.codemr.co.uk/deneme?count="+(EQ_getProjectMetricValue(eqData,"Number of Entities")+23);e.get(E,function(e){})},EQ_INIT_CSS=function(){var e="myCss";if(!document.getElementById(e)&&"undefined"!=typeof eqData){var E="https://codemr.co.uk/fonts/font-codemr/css/codemr.css?ec="+(EQ_getProjectMetricValue(eqData,"Number of Entities")+23),t=document.getElementsByTagName("head")[0],i=document.createElement("link");i.id=e,i.rel="stylesheet",i.type="text/css",i.href=E,i.media="all",t.appendChild(i)}},EQ_INIT_CONTACT_FORM=function(){if("undefined"!=typeof eqData){var e="https://codemr.co.uk/contact-form?ec="+(EQ_getProjectMetricValue(eqData,"Number of Entities")+23),E=document.createElement("iframe");E.style.display="none",E.onload=function(){E.parentNode.removeChild(E)},E.src=e,document.body.appendChild(E)}},EQ_PROJECT_SEL_ID=" ",EQ_CLASS_SEL_ID=" ",EQ_PACKAGE_SEL_ID=" ",EQ_URLOFBASE_DECRIPTIONPAGE="./lbd/metricdescriptions.html#";function EQ_addComboItems(e,E,t){e&&(EQ_addComboItems2(e,EQ_CLASS_METRICS,EQ_SELECTED_CLASS_METRIC),EQ_CLASS_SEL_ID=e,EQ_getMetricTip(EQ_CLASS_METRICS[0],"Class")),E&&(EQ_addComboItems2(E,EQ_PACKAGE_METRICS,EQ_SELECTED_PACKAGE_METRIC),EQ_PACKAGE_SEL_ID=E,EQ_getMetricTip(EQ_PACKAGE_METRICS[0],"Package")),t&&(EQ_addComboItems2(t,EQ_PROJECT_METRICS,EQ_SELECTED_PROJECT_METRIC),EQ_PROJECT_SEL_ID=t,EQ_getMetricTip(EQ_PROJECT_METRICS[0],"Project"))}function EQ_addComboItems2(e,E,t){for(var i=document.getElementById(e),_=0,n=0;n<E.length;++n){var r=document.createElement("option");r.text=E[n],r.text==t&&(_=n),r.value=E,i.add(r)}i.selectedIndex=_}function EQ_getProjectMetricValue(e,E){var t=EQ_METRIC_MAP[E];return e.prmetricvalues[t]}function EQ_getChild(e,E){var t=0;for(t=0;t<e.children.length;t++)if(e.children[t].name==E)return e.children[t]}function EQ_getPackageMetricValue(e,E,t){var i=EQ_METRIC_MAP[E];return EQ_getChild(e,t).pmetricvalues[i]}function EQ_getClassMetricValue(e,E,t,i){var _=EQ_METRIC_MAP[i];return EQ_getChild(EQ_getChild(e,E),t).metricvalues[_]}function EQ_generateClassMetricMap(e){for(var E={},t=e.children.length,i=0;i<t;i++)for(var _=e.children[i],n=_.children.length,r=0;r<n;r++){E[_.children[r].key]=_.children[r].metricvalues}return E}function EQ_updateSelectedMetric(e,E){var t=document.getElementById(e),i=t.options[t.selectedIndex].text;e==EQ_CLASS_SEL_ID?(EQ_SELECTED_CLASS_METRIC=i,EQ_CLASS_METRIC_INDEX=EQ_METRIC_MAP[EQ_SELECTED_CLASS_METRIC],EQ_getMetricTip(i,"Class")):e==EQ_PACKAGE_SEL_ID?(EQ_SELECTED_PACKAGE_METRIC=i,EQ_PACKAGE_METRIC_INDEX=EQ_METRIC_MAP[EQ_SELECTED_PACKAGE_METRIC],EQ_getMetricTip(i,"Package")):e==EQ_PROJECT_SEL_ID&&(EQ_SELECTED_PROJECT_METRIC=i,EQ_PROJECT_METRIC_INDEX=EQ_METRIC_MAP[EQ_SELECTED_PROJECT_METRIC],EQ_getMetricTip(i,"Project")),"function"==typeof E&&E()}function updateSelectedElement(e,E){"function"==typeof updateSelectedElementInEclipse?updateSelectedElementInEclipse(e,E):"undefined"!=typeof IDE&&IDE.updateSelectedElement(e,E)}function EQ_isInEclipse(){return"function"==typeof updateSelectedElementInEclipse||"undefined"!=typeof IDE}function EQ_getMetricTip(e,E){var t,i;if("Class"===E)t="metrictooltip",i=classMetricThresholds;else if("Package"===E)t="package_metrictooltip",i=packageMetricThresholds;else{if("Project"!==E)return;t="project_metrictooltip",i=projectMetricThresholds}var _=E+" metric definition "+e+" is not found",n=metricDefinitions[e];if(document.getElementById(t)){if(n){var r=e;n.shortname&&(r=r+" ("+n.shortname+")"),_='<div class="tip-legend"><p class="tip-metric-name" id = "metricname" style="font-weight: bold">'+r+"</p><p><b>Scope: </b>"+E+"</p><p><b>Description: </b>"+n.desc.join("")+'</p><p class="tip-subsection"><b>Related Quality Attributes: </b>'+n.q_attr+"</p>",0==EQ_isInEclipse()&&(_+='<p class="tip-metric-source"> <a target="_top" href="'+EQ_URLOFBASE_DECRIPTIONPAGE+n.link+'">Click for more information</a></p>')}thresholds=i[e],_=thresholds?_+'<p class="tip-subsection">Metric thresholds are defined as:</p><ul class="tip-legend-labels"><li><span style="background:'+EQ_COLOR_OF_LEVELS[5]+' ;"></span>Very high: >'+thresholds[4]+'</li><li><span style="background:'+EQ_COLOR_OF_LEVELS[4]+' ;"></span>High: '+thresholds[3]+" - "+thresholds[4]+'</li><li><span style="background:'+EQ_COLOR_OF_LEVELS[3]+' "></span>Medium-high: '+thresholds[2]+" - "+thresholds[3]+'</li><li><span style="background:'+EQ_COLOR_OF_LEVELS[2]+' "></span>Low-medium: '+thresholds[1]+" - "+thresholds[2]+'</li><li><span style="background:'+EQ_COLOR_OF_LEVELS[1]+' ;"></span>Low: '+thresholds[0]+" - "+thresholds[1]+"</li></ul>":_+'<p class="tip-subsection"></p><ul class="tip-legend-labels"><li><span style="background:'+EQ_COLOR_OF_LEVELS[5]+' ;"></span>Very high</li><li><span style="background:'+EQ_COLOR_OF_LEVELS[4]+' ;"></span>High </li><li><span style="background:'+EQ_COLOR_OF_LEVELS[3]+' "></span>Medium-high</li><li><span style="background:'+EQ_COLOR_OF_LEVELS[2]+' "></span>Low-medium</li><li><span style="background:'+EQ_COLOR_OF_LEVELS[1]+' ;"></span>Low</li></ul>',n&&(_+="</div></div>"),document.getElementById(t).innerHTML=_}}function EQ_getSelectedMetricName(e){return e.metricvalues?EQ_SELECTED_CLASS_METRIC:e.pmetricvalues?EQ_SELECTED_PACKAGE_METRIC:e.prmetricvalues?EQ_SELECTED_PROJECT_METRIC:"NaN"}function EQ_GET_METRICVALUE(e){return e.metricvalues?EQ_GET_VX(EQ_SELECTED_CLASS_METRIC,e.metricvalues[EQ_CLASS_METRIC_INDEX]):e.pmetricvalues?EQ_GET_VX(EQ_SELECTED_PACKAGE_METRIC,e.pmetricvalues[EQ_PACKAGE_METRIC_INDEX]):e.prmetricvalues?EQ_GET_VX(EQ_SELECTED_PROJECT_METRIC,e.prmetricvalues[EQ_PROJECT_METRIC_INDEX]):"NaN"}var leveledMetrics=["Coupling","Lack of Cohesion","Size","Complexity","C3"];function EQ_GET_VX(e,E){return-1<leveledMetrics.indexOf(e)?EQ_METRICLEVELS[E]:E}var EQ_METRICLEVELS=["0","Low","Low-medium","Medium-high","High","Very high"];function EQ_GET_METRIC_LEVEL_STR(e){return e.metrics?EQ_METRICLEVELS[e.metrics[EQ_CLASS_METRIC_INDEX]]:e.pmetrics?EQ_METRICLEVELS[e.pmetrics[EQ_PACKAGE_METRIC_INDEX]]:e.prmetrics?EQ_METRICLEVELS[e.prmetrics[EQ_PROJECT_METRIC_INDEX]]:"NaN"}var EQ_INDEX2NAMEMTRIC={};function EQ_getIndex2Metric(){if(0===EQ_INDEX2NAMEMTRIC.length)return EQ_INDEX2NAMEMTRIC;for(var e in EQ_METRIC_MAP){var E=EQ_METRIC_MAP[e];EQ_INDEX2NAMEMTRIC[E]=e}}function EQ_convertMetricValues(e){var E=[];for(var t in EQ_getIndex2Metric(),e){var i=new Object;i.name=EQ_INDEX2NAMEMTRIC[t],i.value=e[t],E.push(i)}return E}function getWorkingSetListHtmlText(){for(var e='<li><a href="../../../main_report/index.html">Main</a></li>',E=EQ_workingSetList.length,t=0;t<E;t++){var i=EQ_workingSetList[t];e=e+'<li><a href="../../../html_report_'+i.path+'/index.html">'+i.name+"</a></li>"}}
  