kudo
Version:
check someone's code quality in git repository
187 lines (185 loc) • 7.7 kB
HTML
<html lang="en">
<head>
<title>Code coverage report for lib/config.js</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../prettify.css">
<link rel="stylesheet" href="../base.css">
<style type='text/css'>
div.coverage-summary .sorter {
background-image: url(../sort-arrow-sprite.png);
}
</style>
</head>
<body>
<div class="header medium">
<h1>Code coverage report for <span class="entity">lib/config.js</span></h1>
<h2>
Statements: <span class="metric">64.29% <small>(9 / 14)</small></span>
Branches: <span class="metric">0% <small>(0 / 4)</small></span>
Functions: <span class="metric">0% <small>(0 / 1)</small></span>
Lines: <span class="metric">64.29% <small>(9 / 14)</small></span>
Ignored: <span class="metric"><span class="ignore-none">none</span></span>
</h2>
<div class="path"><a href="../index.html">All files</a> » <a href="index.html">lib/</a> » config.js</div>
</div>
<div class="body">
<pre><table class="coverage">
<tr><td class="line-count">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48</td><td class="line-coverage"><span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">/**
* @file 分析有 diff 的行
* @author chris<wfsr@foxmail.com>
*/
'use strict';
var _Object$assign = require('babel-runtime/core-js/object/assign')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
Object.defineProperty(exports, '__esModule', {
value: true
});
var _minimist = require('minimist');
var _minimist2 = _interopRequireDefault(_minimist);
var defaults = {
author: '',
since: '3.months.ago',
until: '',
logit: false,
lookup: false
};
var options = undefined;
exports.options = options;
exports['default'] = <span class="fstat-no" title="function not covered" >function (argv) {</span>
<span class="cstat-no" title="statement not covered" > var cliOptions = (0, _minimist2['default'])(argv || [], {</span>
'string': ['_', 'since'],
'boolean': ['lookup', 'logit'],
'default': defaults,
'alias': {
v: 'version'
}
});
<span class="cstat-no" title="statement not covered" > exports.options = options = {};</span>
<span class="cstat-no" title="statement not covered" > _Object$assign(options, cliOptions);</span>
<span class="cstat-no" title="statement not covered" > options.author = options.author || options._[0];</span>
<span class="cstat-no" title="statement not covered" > return options;</span>
};
//# sourceMappingURL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veG1haWwuY29tPlxuICovXG5cbmltcG9ydCBtaW5pbWlzdCBmcm9tICdtaW5pbWlzdCc7XG5cbmxldCBkZWZhdWx0cyA9IHtcbiAgICBhdXRob3I6ICcnLFxuICAgIHNpbmNlOiAnMy5tb250aHMuYWdvJyxcbiAgICB1bnRpbDogJycsXG4gICAgbG9naXQ6IGZhbHNlLFxuICAgIGxvb2t1cDogZmFsc2Vcbn07XG5cbmV4cG9ydCBsZXQgb3B0aW9ucztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gKGFyZ3YpIHtcbiAgICBsZXQgY2xpT3B0aW9ucyA9IG1pbmltaXN0KFxuICAgICAgICBhcmd2IHx8IFtdLFxuICAgICAgICB7XG4gICAgICAgICAgICAnc3RyaW5nJzogWydfJywgJ3NpbmNlJ10sXG4gICAgICAgICAgICAnYm9vbGVhbic6IFsnbG9va3VwJywgJ2xvZ2l0J10sXG4gICAgICAgICAgICAnZGVmYXVsdCc6IGRlZmF1bHRzLFxuICAgICAgICAgICAgJ2FsaWFzJzoge1xuICAgICAgICAgICAgICAgIHY6ICd2ZXJzaW9uJ1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgKTtcblxuICAgIG9wdGlvbnMgPSB7fTtcbiAgICBPYmplY3QuYXNzaWduKG9wdGlvbnMsIGNsaU9wdGlvbnMpO1xuICAgIG9wdGlvbnMuYXV0aG9yID0gb3B0aW9ucy5hdXRob3IgfHwgb3B0aW9ucy5fWzBdO1xuXG4gICAgcmV0dXJuIG9wdGlvbnM7XG59XG4iXX0=</pre></td></tr>
</table></pre>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Thu Sep 17 2015 10:53:44 GMT+0800 (CST)</div>
</div>
<script src="../prettify.js"></script>
<script>
window.onload = function () {
if (typeof prettyPrint === 'function') {
prettyPrint();
}
};
</script>
<script src="../sorter.js"></script>
</body>
</html>