Showing 6 of 67 total issues
Function tputChart
has 126 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
my.charts.tput.tputChart = (function (m) {
var margin = {
top: 20,
right: 20,
bottom: 40,
Function redraw
has 96 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
m.redraw = function() {
var width = size.width - margin.left - margin.right;
var height = size.height - margin.top - margin.bottom;
Function reset
has 85 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
m.reset = function() {
d3.select("#chartToptalk").selectAll("svg").remove();
svg = d3.select("#chartToptalk")
Function reset
has 80 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
m.reset = function() {
d3.select("#packetGapContainer").selectAll("svg").remove();
svg = d3.select("#packetGapContainer")
Function reset
has 69 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
m.reset = function(selectedSeries) {
d3.select("#chartThroughput").selectAll("svg").remove();
svg = d3.select("#chartThroughput")
Function Program
has 66 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
var Program = function (json) {
this.id = "program_" + nextPID++;
this.name = json.name;
this.timeoutHandles = {};
this.impairments = json.impairments;