diff --git a/complexity/plato.txt b/complexity/plato.txt index b0d887c..e98d362 100644 --- a/complexity/plato.txt +++ b/complexity/plato.txt @@ -1,13 +1,13 @@ Error reading file lib/cli.js: SyntaxError: Unexpected token (9:22) SyntaxError: Unexpected token (9:22) - at pp$5.raise (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:4454:13) - at pp.unexpected (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:1761:8) - at pp$3.parseExprAtom (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:3627:50) - at Parser.parseExprAtom (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:7238:22) - at pp$3.parseExprSubscripts (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:3494:19) - at pp$3.parseMaybeUnary (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:3474:19) - at pp$3.parseExprOps (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:3404:19) - at pp$3.parseMaybeConditional (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:3381:19) - at pp$3.parseMaybeAssign (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:3344:19) - at Parser.parseMaybeAssign (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/babylon/lib/index.js:6474:20) + at pp$5.raise (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:4454:13) + at pp.unexpected (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:1761:8) + at pp$3.parseExprAtom (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:3627:50) + at Parser.parseExprAtom (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:7238:22) + at pp$3.parseExprSubscripts (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:3494:19) + at pp$3.parseMaybeUnary (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:3474:19) + at pp$3.parseExprOps (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:3404:19) + at pp$3.parseMaybeConditional (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:3381:19) + at pp$3.parseMaybeAssign (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:3344:19) + at Parser.parseMaybeAssign (/home/runner/work/bob/bob/node_modules/babylon/lib/index.js:6474:20) Done! diff --git a/complexity/plato/files/lib_bob_js/report.history.js b/complexity/plato/files/lib_bob_js/report.history.js index 0887544..8604a7a 100644 --- a/complexity/plato/files/lib_bob_js/report.history.js +++ b/complexity/plato/files/lib_bob_js/report.history.js @@ -1 +1 @@ -__history = [{"date":"Fri, 27 Sep 2024 09:05:18 GMT","sloc":141,"lloc":61,"functions":16,"deliveredBugs":1.004,"difficulty":35.348,"maintainability":74.401,"lintErrors":2}] \ No newline at end of file +__history = [{"date":"Fri, 27 Sep 2024 12:10:28 GMT","sloc":141,"lloc":61,"functions":16,"deliveredBugs":1.004,"difficulty":35.348,"maintainability":74.401,"lintErrors":2}] \ No newline at end of file diff --git a/complexity/plato/files/lib_bob_js/report.history.json b/complexity/plato/files/lib_bob_js/report.history.json index 29bea63..6f66175 100644 --- a/complexity/plato/files/lib_bob_js/report.history.json +++ b/complexity/plato/files/lib_bob_js/report.history.json @@ -1 +1 @@ -[{"date":"Fri, 27 Sep 2024 09:05:18 GMT","sloc":141,"lloc":61,"functions":16,"deliveredBugs":1.004,"difficulty":35.348,"maintainability":74.401,"lintErrors":2}] \ No newline at end of file +[{"date":"Fri, 27 Sep 2024 12:10:28 GMT","sloc":141,"lloc":61,"functions":16,"deliveredBugs":1.004,"difficulty":35.348,"maintainability":74.401,"lintErrors":2}] \ No newline at end of file diff --git a/complexity/plato/files/lib_config_js/report.history.js b/complexity/plato/files/lib_config_js/report.history.js index ec6a46a..cc07294 100644 --- a/complexity/plato/files/lib_config_js/report.history.js +++ b/complexity/plato/files/lib_config_js/report.history.js @@ -1 +1 @@ -__history = [{"date":"Fri, 27 Sep 2024 09:05:18 GMT","sloc":41,"lloc":16,"functions":4,"deliveredBugs":0.172,"difficulty":16.667,"maintainability":78.305,"lintErrors":2}] \ No newline at end of file +__history = [{"date":"Fri, 27 Sep 2024 12:10:28 GMT","sloc":41,"lloc":16,"functions":4,"deliveredBugs":0.172,"difficulty":16.667,"maintainability":78.305,"lintErrors":2}] \ No newline at end of file diff --git a/complexity/plato/files/lib_config_js/report.history.json b/complexity/plato/files/lib_config_js/report.history.json index 4643793..9b1a102 100644 --- a/complexity/plato/files/lib_config_js/report.history.json +++ b/complexity/plato/files/lib_config_js/report.history.json @@ -1 +1 @@ -[{"date":"Fri, 27 Sep 2024 09:05:18 GMT","sloc":41,"lloc":16,"functions":4,"deliveredBugs":0.172,"difficulty":16.667,"maintainability":78.305,"lintErrors":2}] \ No newline at end of file +[{"date":"Fri, 27 Sep 2024 12:10:28 GMT","sloc":41,"lloc":16,"functions":4,"deliveredBugs":0.172,"difficulty":16.667,"maintainability":78.305,"lintErrors":2}] \ No newline at end of file diff --git a/complexity/plato/files/lib_runner_js/report.history.js b/complexity/plato/files/lib_runner_js/report.history.js index ac273cc..2b68ccb 100644 --- a/complexity/plato/files/lib_runner_js/report.history.js +++ b/complexity/plato/files/lib_runner_js/report.history.js @@ -1 +1 @@ -__history = [{"date":"Fri, 27 Sep 2024 09:05:18 GMT","sloc":73,"lloc":25,"functions":5,"deliveredBugs":0.392,"difficulty":19.167,"maintainability":74.723,"lintErrors":5}] \ No newline at end of file +__history = [{"date":"Fri, 27 Sep 2024 12:10:28 GMT","sloc":73,"lloc":25,"functions":5,"deliveredBugs":0.392,"difficulty":19.167,"maintainability":74.723,"lintErrors":5}] \ No newline at end of file diff --git a/complexity/plato/files/lib_runner_js/report.history.json b/complexity/plato/files/lib_runner_js/report.history.json index 7ea31fb..c746dc5 100644 --- a/complexity/plato/files/lib_runner_js/report.history.json +++ b/complexity/plato/files/lib_runner_js/report.history.json @@ -1 +1 @@ -[{"date":"Fri, 27 Sep 2024 09:05:18 GMT","sloc":73,"lloc":25,"functions":5,"deliveredBugs":0.392,"difficulty":19.167,"maintainability":74.723,"lintErrors":5}] \ No newline at end of file +[{"date":"Fri, 27 Sep 2024 12:10:28 GMT","sloc":73,"lloc":25,"functions":5,"deliveredBugs":0.392,"difficulty":19.167,"maintainability":74.723,"lintErrors":5}] \ No newline at end of file diff --git a/complexity/plato/files/lib_task_js/report.history.js b/complexity/plato/files/lib_task_js/report.history.js index 9a10c2f..4f8d6ea 100644 --- a/complexity/plato/files/lib_task_js/report.history.js +++ b/complexity/plato/files/lib_task_js/report.history.js @@ -1 +1 @@ -__history = [{"date":"Fri, 27 Sep 2024 09:05:18 GMT","sloc":51,"lloc":20,"functions":6,"deliveredBugs":0.259,"difficulty":17,"maintainability":79.575,"lintErrors":2}] \ No newline at end of file +__history = [{"date":"Fri, 27 Sep 2024 12:10:28 GMT","sloc":51,"lloc":20,"functions":6,"deliveredBugs":0.259,"difficulty":17,"maintainability":79.575,"lintErrors":2}] \ No newline at end of file diff --git a/complexity/plato/files/lib_task_js/report.history.json b/complexity/plato/files/lib_task_js/report.history.json index 2da538b..e764d5d 100644 --- a/complexity/plato/files/lib_task_js/report.history.json +++ b/complexity/plato/files/lib_task_js/report.history.json @@ -1 +1 @@ -[{"date":"Fri, 27 Sep 2024 09:05:18 GMT","sloc":51,"lloc":20,"functions":6,"deliveredBugs":0.259,"difficulty":17,"maintainability":79.575,"lintErrors":2}] \ No newline at end of file +[{"date":"Fri, 27 Sep 2024 12:10:28 GMT","sloc":51,"lloc":20,"functions":6,"deliveredBugs":0.259,"difficulty":17,"maintainability":79.575,"lintErrors":2}] \ No newline at end of file diff --git a/complexity/plato/report.history.js b/complexity/plato/report.history.js index a9bf9fa..981838c 100644 --- a/complexity/plato/report.history.js +++ b/complexity/plato/report.history.js @@ -1 +1 @@ -__history = [{"date":"Fri, 27 Sep 2024 09:05:18 GMT","total":{"sloc":306,"maintainability":307.004},"average":{"sloc":76,"maintainability":"76.75"}}] \ No newline at end of file +__history = [{"date":"Fri, 27 Sep 2024 12:10:28 GMT","total":{"sloc":306,"maintainability":307.004},"average":{"sloc":76,"maintainability":"76.75"}}] \ No newline at end of file diff --git a/complexity/plato/report.history.json b/complexity/plato/report.history.json index 404d79d..8fafc9f 100644 --- a/complexity/plato/report.history.json +++ b/complexity/plato/report.history.json @@ -1 +1 @@ -[{"date":"Fri, 27 Sep 2024 09:05:18 GMT","total":{"sloc":306,"maintainability":307.004},"average":{"sloc":76,"maintainability":"76.75"}}] \ No newline at end of file +[{"date":"Fri, 27 Sep 2024 12:10:28 GMT","total":{"sloc":306,"maintainability":307.004},"average":{"sloc":76,"maintainability":"76.75"}}] \ No newline at end of file diff --git a/coverage/c8.txt b/coverage/c8.txt index 1ccef1e..c977ac0 100644 --- a/coverage/c8.txt +++ b/coverage/c8.txt @@ -1,4 +1,4 @@ -test | /opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/.bin/mocha --colors --reporter spec --recursive test/ +test | /home/runner/work/bob/bob/node_modules/.bin/mocha --colors --reporter spec --recursive test/ [0m[0m [0m testbob - build[0m @@ -39,16 +39,19 @@ test | /opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/bob/node_modules/. [32m [32m✔[39m[0m[90m should pass results to callback when all task files exist[0m -[92m [0m[32m 22 passing[0m[90m (38ms)[0m +[92m [0m[32m 22 passing[0m[90m (39ms)[0m SUCCESS | exit code 0 ------------|---------|----------|---------|---------|------------------- -File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ------------|---------|----------|---------|---------|------------------- -All files | 100 | 100 | 100 | 100 | - bob.js | 100 | 100 | 100 | 100 | - cli.js | 100 | 100 | 100 | 100 | - config.js | 100 | 100 | 100 | 100 | - runner.js | 100 | 100 | 100 | 100 | - task.js | 100 | 100 | 100 | 100 | ------------|---------|----------|---------|---------|------------------- +------------|---------|----------|---------|---------|------------------- +File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s +------------|---------|----------|---------|---------|------------------- +All files | 100 | 100 | 100 | 100 | + bin | 100 | 100 | 100 | 100 | + bob.js | 100 | 100 | 100 | 100 | + lib | 100 | 100 | 100 | 100 | + bob.js | 100 | 100 | 100 | 100 | + cli.js | 100 | 100 | 100 | 100 | + config.js | 100 | 100 | 100 | 100 | + runner.js | 100 | 100 | 100 | 100 | + task.js | 100 | 100 | 100 | 100 | +------------|---------|----------|---------|---------|------------------- diff --git a/coverage/c8/bin/bob.js.html b/coverage/c8/bin/bob.js.html new file mode 100644 index 0000000..003274b --- /dev/null +++ b/coverage/c8/bin/bob.js.html @@ -0,0 +1,94 @@ + + + + +
++ Press n or j to go to the next uncovered block, b, p or k for the previous block. +
+ +1 +2 +3 +4 | 1x +1x +1x +1x | #!/usr/bin/env node + +import cli from '../lib/cli.js'; +cli.exec('bob'); |
+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +
+ +File | ++ | Statements | ++ | Branches | ++ | Functions | ++ | Lines | ++ |
---|---|---|---|---|---|---|---|---|---|
bob.js | +
+
+ |
+ 100% | +4/4 | +100% | +1/1 | +100% | +0/0 | +100% | +4/4 | +