Completed
Push — master ( 52970f...c6d773 )
by Tristan
24:57 queued 10:40
created

public/js/jquery.validate.min.js   A

Complexity

Total Complexity 13
Complexity/F 1.44

Size

Lines of Code 83
Function Count 9

Duplication

Duplicated Lines 64
Ratio 77.11 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
eloc 36
c 1
b 0
f 0
nc 4
dl 64
loc 83
rs 10
wmc 13
mnd 1
bc 11
fnc 9
bpm 1.2222
cpm 1.4443
noi 2

6 Functions

Rating   Name   Duplication   Size   Complexity  
A jquery.validate.min.js ➔ __webpack_require__ 22 22 2
A __webpack_require__.d 9 9 2
A ?!?.?!? 0 6 1
A ?!?../resources/assets/js/jquery.validate.min.js 0 5 1
A __webpack_require__.o 1 1 1
A __webpack_require__.n 7 7 3

How to fix   Duplicated Code   

Duplicated Code

Duplicate code is one of the most pungent code smells. A rule that is often used is to re-structure code once it is duplicated in three or more places.

Common duplication problems, and corresponding solutions are:

1 View Code Duplication
/******/ (function(modules) { // webpackBootstrap
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated in your project.
Loading history...
2
/******/ 	// The module cache
3
/******/ 	var installedModules = {};
4
/******/
5
/******/ 	// The require function
6
/******/ 	function __webpack_require__(moduleId) {
7
/******/
8
/******/ 		// Check if module is in cache
9
/******/ 		if(installedModules[moduleId]) {
10
/******/ 			return installedModules[moduleId].exports;
11
/******/ 		}
12
/******/ 		// Create a new module (and put it into the cache)
13
/******/ 		var module = installedModules[moduleId] = {
14
/******/ 			i: moduleId,
15
/******/ 			l: false,
16
/******/ 			exports: {}
17
/******/ 		};
18
/******/
19
/******/ 		// Execute the module function
20
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
/******/
22
/******/ 		// Flag the module as loaded
23
/******/ 		module.l = true;
24
/******/
25
/******/ 		// Return the exports of the module
26
/******/ 		return module.exports;
27
/******/ 	}
28
/******/
29
/******/
30
/******/ 	// expose the modules object (__webpack_modules__)
31
/******/ 	__webpack_require__.m = modules;
32
/******/
33
/******/ 	// expose the module cache
34
/******/ 	__webpack_require__.c = installedModules;
35
/******/
36
/******/ 	// define getter function for harmony exports
37
/******/ 	__webpack_require__.d = function(exports, name, getter) {
38
/******/ 		if(!__webpack_require__.o(exports, name)) {
39
/******/ 			Object.defineProperty(exports, name, {
40
/******/ 				configurable: false,
41
/******/ 				enumerable: true,
42
/******/ 				get: getter
43
/******/ 			});
44
/******/ 		}
45
/******/ 	};
46
/******/
47
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
48
/******/ 	__webpack_require__.n = function(module) {
49
/******/ 		var getter = module && module.__esModule ?
50
/******/ 			function getDefault() { return module['default']; } :
51
/******/ 			function getModuleExports() { return module; };
52
/******/ 		__webpack_require__.d(getter, 'a', getter);
53
/******/ 		return getter;
54
/******/ 	};
55
/******/
56
/******/ 	// Object.prototype.hasOwnProperty.call
57
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
58
/******/
59
/******/ 	// __webpack_public_path__
60
/******/ 	__webpack_require__.p = "/";
61
/******/
62
/******/ 	// Load entry module and return exports
63
/******/ 	return __webpack_require__(__webpack_require__.s = 5);
64
/******/ })
65
/************************************************************************/
66
/******/ ({
67
68
/***/ "./resources/assets/js/jquery.validate.min.js":
69
/***/ (function(module, exports) {
0 ignored issues
show
Unused Code introduced by
The parameter exports is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Unused Code introduced by
The parameter module is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
70
71
throw new Error("Module build failed: Error: ENOENT: no such file or directory, open 'C:\\dev\\TalentCloud\\resources\\assets\\js\\jquery.validate.min.js'");
72
73
/***/ }),
74
75
/***/ 5:
76
/***/ (function(module, exports, __webpack_require__) {
77
78
module.exports = __webpack_require__("./resources/assets/js/jquery.validate.min.js");
79
80
81
/***/ })
82
83
/******/ });