Showing 4 of 6 total issues
Function TftpServerFactory
has 114 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function TftpServerFactory(
Logger,
configuration,
eventsProtocol,
lookupService,
Function prepareGrunt
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function prepareGrunt(grunt) {
var allFiles = [
'package.json',
'Gruntfile.js',
'lib/**/*.js',
Function handleRequest
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tftp.prototype.handleRequest = function(req, res){
req._startAt = process.hrtime();
req.on("error", function() {
logger.warning("Tftp error", {
Function TftpServerFactory
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Logger,
configuration,
eventsProtocol,
lookupService,
FileLoader,