Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wily Build not wokring #228

Open
liaochris opened this issue Nov 21, 2023 · 0 comments
Open

Wily Build not wokring #228

liaochris opened this issue Nov 21, 2023 · 0 comments

Comments

@liaochris
Copy link

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 '.'   │
╘════════════╧══════════════╧════════════╧═══════════════╧═══════════════════╧═══════════════════╧═════════════════╛
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant