GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( da5f76...59bb8c )
by Keith
76:35
created

demo/v2/js/controller/26data-upload.js   A

Complexity

Total Complexity 7
Complexity/F 1

Size

Lines of Code 33
Function Count 7

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 22
dl 0
loc 33
rs 10
c 0
b 0
f 0
wmc 7
mnd 0
bc 0
fnc 7
bpm 0
cpm 1
noi 2

1 Function

Rating   Name   Duplication   Size   Complexity  
A 26data-upload.js ➔ Initialize 0 6 2
1
"use strict";
2
app.controller('uploadController', ['$scope', 'Security', function ($scope, Security, $rootScope) {
3
	$scope.previousSelectedRecord = {};
4
	$scope.previousPointedRecord = {};
5
	
6
    function Initialize(){
7
	  $scope.uploadExcelFileInfo = {};
8
	  $scope.uploadImageFileInfo = {};
9
	  $scope.uploadImageFilesInfo = {};
10
	  $scope.uploadDropImageFilesInfo = {};
11
    }
12
    Initialize();
13
14
    $scope.EventListener = function(scope, iElement, iAttrs, controller){
15
        iElement.ready(function() {
16
17
        })
18
    }
19
20
	$scope.SetDefaultValue = function(scope, iElement, iAttrs, controller){
21
	}
22
23
	$scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){
24
	}
25
26
	$scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){
27
		var isValid = true;
28
		var record = controller.ngModel;
0 ignored issues
show
Unused Code introduced by
The variable record seems to be never used. Consider removing it.
Loading history...
29
		var msg = [];
0 ignored issues
show
Unused Code introduced by
The variable msg seems to be never used. Consider removing it.
Loading history...
30
31
		return isValid;
32
	}
33
}]);