wily icon indicating copy to clipboard operation
wily copied to clipboard

Wily Build not wokring

Open liaochris opened this issue 1 year ago • 2 comments

I wanted to obtain wily statistics for an entire repository, similarly to (https://stribny.name/blog/2019/05/measuring-python-code-complexity-with-wily/). I cloned a copy of wily from github, but when I try to build it using the wily command, I get the error that the wily repo is not a valid git repo. The report function also does not work, as would be expected by the error below. The first revision in wily report . is mine because I was doing some simple experimenting.

chrisliao@linux6:~$ wily build wily
Defaulting back to the filesystem archiver, not a valid git repo
Found 0 revisions from 'filesystem' archiver in '/home/chrisliao'.
Running operators - halstead,maintainability,cyclomatic,raw

Completed building wily history, run `wily report <file>` or `wily index` to see more.
chrisliao@linux6:~$ cd wily && wily report . -n 5
Using default metrics ['halstead.h1', 'raw.loc', 'maintainability.mi', 'cyclomatic.complexity']
-----------History for ['cyclomatic.complexity', 'halstead.h1', 'maintainability.mi', 'raw.loc']------------
╒════════════╤══════════════╤════════════╤═══════════════╤═══════════════════╤═══════════════════╤═════════════════╕
│ Revision   │ Author       │ Date       │ Cyclomatic    │ Unique Operands   │ Maintainability   │ Lines of Code   │
│            │              │            │ Complexity    │                   │ Index             │                 │
╞════════════╪══════════════╪════════════╪═══════════════╪═══════════════════╪═══════════════════╪═════════════════╡
│ b91446e    │ liaochris    │ 2023-11-14 │ Not found '.' │ Not found '.'     │ Not found '.'     │ Not found '.'   │
├────────────┼──────────────┼────────────┼───────────────┼───────────────────┼───────────────────┼─────────────────┤
│ 2590691    │ Anthony Shaw │ 2023-10-10 │ Not found '.' │ Not found '.'     │ Not found '.'     │ Not found '.'   │
├────────────┼──────────────┼────────────┼───────────────┼───────────────────┼───────────────────┼─────────────────┤
│ 4ac2334    │ Anthony Shaw │ 2023-10-10 │ Not found '.' │ Not found '.'     │ Not found '.'     │ Not found '.'   │
├────────────┼──────────────┼────────────┼───────────────┼───────────────────┼───────────────────┼─────────────────┤
│ ee7014a    │ Anthony Shaw │ 2023-10-10 │ Not found '.' │ Not found '.'     │ Not found '.'     │ Not found '.'   │
├────────────┼──────────────┼────────────┼───────────────┼───────────────────┼───────────────────┼─────────────────┤
│ a79b62e    │ Anthony Shaw │ 2023-10-10 │ Not found '.' │ Not found '.'     │ Not found '.'     │ Not found '.'   │
╘════════════╧══════════════╧════════════╧═══════════════╧═══════════════════╧═══════════════════╧═════════════════╛

liaochris avatar Nov 21 '23 19:11 liaochris