Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

[10:07:03 CDT(-0500)] <Arvids> Hi, Eric
[10:07:20 CDT(-0500)] <Arvids> I wanted to share with you my findings regarding code analysis tools...
[10:07:22 CDT(-0500)] <EricDalquist> hi
[10:07:28 CDT(-0500)] <EricDalquist> oh cool
[10:07:32 CDT(-0500)] <Arvids> http://www.ucdetector.org/
[10:07:36 CDT(-0500)] <Arvids> this one looks pretty good
[10:07:49 CDT(-0500)] <EricDalquist> oh yeah
[10:07:52 CDT(-0500)] <EricDalquist> problem is it doesn
[10:07:56 CDT(-0500)] <EricDalquist> 't get IOC
[10:08:02 CDT(-0500)] <EricDalquist> I found that one a while back
[10:08:09 CDT(-0500)] <EricDalquist> it marks all of our spring managed beans as unused
[10:08:18 CDT(-0500)] <EricDalquist> since they are only every referenced from the spring bean config
[10:08:30 CDT(-0500)] <EricDalquist> or with a spring stereotype annotation
[10:08:48 CDT(-0500)] <Arvids> yes, but you can configure annotations that mark used classes
[10:08:57 CDT(-0500)] <EricDalquist> oh hrm
[10:08:59 CDT(-0500)] <EricDalquist> so then we'
[10:09:05 CDT(-0500)] <Arvids> for example, ignore (unused) classes who have annotation Controller
[10:09:15 CDT(-0500)] <EricDalquist> 'd just have to check the list against the spring xml files as well
[10:09:26 CDT(-0500)] <EricDalquist> since there are a bunch of beans that aren't annotated
[10:09:31 CDT(-0500)] <Arvids> in that way you can minimize the list of unused classes to a sane number
[10:09:31 CDT(-0500)] <EricDalquist> nice
[10:09:53 CDT(-0500)] <Arvids> yeah, but i'm not so optimistic regarding XML files and their scanning

  • No labels