Static Analysis on Juju

John Meinel john at arbash-meinel.com
Tue Jun 24 08:48:13 UTC 2014


It seems interesting, but seems a bit buggy at the moment. I tried going
here:
http://162.213.34.143:8080/pkg/github.com/juju/charm/#pkg-callgraph

And then tried to expand one of the <external> links, to have it expand and
then immediately collapse.
Also, if I go to "IsValidName" and expand the "Internal Call Graph" it
gives me a double "IsValidName", which both seem to link exactly to the
IsValidName definition (which is the same as if you clicked on the function
name at the top).

I tried looking inside "github.com/juju/juju/juju" but nothing seems
referenced there. Perhaps it just hasn't mananged to process the juju
library itself?

It does sound interesting, I just don't quite see it matching what is
described in the first link.

John
=:->



On Tue, Jun 24, 2014 at 12:29 PM, Frank Mueller <frank.mueller at canonical.com
> wrote:

> Fantastic job, thanks. It's really interesting to dive into our code this
> way.
>
> mue
>
>
> On Mon, Jun 23, 2014 at 11:45 PM, Matthew Williams <
> matthew.williams at canonical.com> wrote:
>
>> Hi Folks,
>>
>> As some of you will be aware the latest version of go includes some
>> static analysis tools in godoc:
>> http://golang.org/lib/godoc/analysis/help.html
>>
>> As is noted in the above, the analysis is quite slow (and resource
>> intensive), but I wanted to find out if there was any useful output. To
>> this end I setup a machine in canonistack running against tip (Commit:
>> 4d4379e)
>>
>> http://162.213.34.143:8080/pkg/
>>
>> All of the packages in the gopath are analysed, - so all of core, its
>> dependencies and the stdlib are here, after ~6 hours not all of it has been
>> done.
>>
>> I'll try to keep this machine running all week if anyone wants to take a
>> look
>>
>> Cheers
>>
>> Matty
>>
>> --
>> Juju-dev mailing list
>> Juju-dev at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>>
>>
>
>
> --
> ** Frank Mueller <frank.mueller at canonical.com>
> ** Software Engineer - Juju Development
> ** Canonical
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20140624/7a261537/attachment.html>


More information about the Juju-dev mailing list