Sha256: ad890db6049655c545ea84cffc27c08f0f24983b78f5601d3abfaff9dd1a93ac
Contents?: true
Size: 1.77 KB
Versions: 1
Compression:
Stored size: 1.77 KB
Contents
prettyPrint(); highlightLineFromFragment(); function highlightLineFromFragment() { highlightLine(window.location.hash) } $(".js-file-code").on("click", ".js-smell-location", highlightSmellyLine); function highlightSmellyLine() { var lineId = "#" + this.href.split("#")[1]; $(".js-file-code li").removeClass("highlight"); highlightLine(lineId); } function highlightLine(lineReference) { $(lineReference).addClass("highlight"); } $("#js-toggle-smells").on("click", toggleSmells); function toggleSmells() { $(".js-smells").toggle(); } $("#js-chart-container").highcharts({ chart: { type: "scatter", zoomType: "xy" }, title: { text: "Churn vs Complexity" }, xAxis: { title: { enabled: true, text: "Churn" }, floor: 0, startOnTick: true, endOnTick: true }, yAxis: { title: { text: "Complexity" }, floor: 0, startOnTick: true, endOnTick: true }, plotOptions: { scatter: { marker: { radius: 5, states: { hover: { enabled: true, lineColor: "rgb(100,100,100)" } } }, states: { hover: { marker: { enabled: false } } }, tooltip: { headerFormat: "<b>{point.key}</b><br>", pointFormat: "Committed {point.x} times, with Flog score of {point.y}" } } }, series: [{ color: "steelblue", data: turbulence_data, showInLegend: false }] });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubycritic-0.0.11 | lib/rubycritic/report_generators/assets/javascripts/application.js |