Re: Checkstyle on other than Java projects
Oliver Burn <[email protected]> Thu, 19 Apr 2012 07:04:49 +1000
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <CAHZftdVzPp_2FvukM0Qs1G=_1_hkGwP8Fo6oRZG-yo9uobQL9Q@mail.gmail.com> |
--===============3808094896731397927== Content-Type: multipart/alternative; boundary=f46d04339db4f1a29804bdfa67ef --f46d04339db4f1a29804bdfa67ef Content-Type: text/plain; charset=ISO-8859-1 Any check that does not subclass from http://checkstyle.sourceforge.net/apidocs/com/puppycrawl/tools/checkstyle/api/Check.htmlcan be used. In other words, only the subclasses of http://checkstyle.sourceforge.net/apidocs/com/puppycrawl/tools/checkstyle/api/AbstractFileSetCheck.htmlcan be used. Look at the Javadoc (linked) to what they are. On Wed, Apr 18, 2012 at 22:54, Valentin Jacquemin <[email protected]>wrote: > At least the duplicate code detector seem to work. Do you think there > would be any way to hack something (e.g. using RegexpRule) to get rough > metrics? Just thinking out loud on this... > > Valentin > > > On Wed, Apr 18, 2012 at 12:19 PM, Oliver Burn <[email protected]>wrote: > >> No it is not possible. Checkstyle is designed for Java source code only. >> The parser is unable to handle other languages. >> >> On Wed, Apr 18, 2012 at 17:47, Valentin Jacquemin <[email protected]>wrote: >> >>> Hi all, >>> >>> I've used with success Checkstyle on Java project. A great product. >>> >>> I'd like to know if it's feasible to use it on Objective-c projects. As >>> part of an effort to build a ci install for an iOS project I'm looking for >>> a solution to check naming & coding conventions compliance. >>> >>> Is it possible? If so, could you give me a hint on how to proceed? >>> >>> Valentin >>> >>> >>> ------------------------------------------------------------------------------ >>> Better than sec? Nothing is better than sec when it comes to >>> monitoring Big Data applications. Try Boundary one-second >>> resolution app monitoring today. Free. >>> http://p.sf.net/sfu/Boundary-dev2dev >>> _______________________________________________ >>> Checkstyle-user mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/checkstyle-user >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Checkstyle-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/checkstyle-user >> >> > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > > --f46d04339db4f1a29804bdfa67ef Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Any check that does not subclass from <a href=3D"http://checkstyle.sourcefo= rge.net/apidocs/com/puppycrawl/tools/checkstyle/api/Check.html">http://chec= kstyle.sourceforge.net/apidocs/com/puppycrawl/tools/checkstyle/api/Check.ht= ml</a> can be used.<br> <br>In other words, only the subclasses of <a href=3D"http://checkstyle.sou= rceforge.net/apidocs/com/puppycrawl/tools/checkstyle/api/AbstractFileSetChe= ck.html">http://checkstyle.sourceforge.net/apidocs/com/puppycrawl/tools/che= ckstyle/api/AbstractFileSetCheck.html</a> can be used. Look at the Javadoc = (linked) to what they are.<br> <br><div class=3D"gmail_quote">On Wed, Apr 18, 2012 at 22:54, Valentin Jacq= uemin <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">jacquem= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_quote" st= yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> At least the duplicate code detector seem to work. Do you think there would= be any way to hack something (e.g. using RegexpRule) to get rough metrics?= Just thinking out loud on this...<br clear=3D"all"><br>Valentin<br> <br><br><div class=3D"gmail_quote">On Wed, Apr 18, 2012 at 12:19 PM, Oliver= Burn <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>></span> wrote:<br><blockquote clas= s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad= ding-left:1ex"> No it is not possible. Checkstyle is designed for Java source code only. Th= e parser is unable to handle other languages.<br><br><div class=3D"gmail_qu= ote"><div><div>On Wed, Apr 18, 2012 at 17:47, Valentin Jacquemin <span dir= =3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">jacq= [email protected]</a>></span> wrote:<br> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><div><div>Hi all,<br><br>I'v= e used with success Checkstyle on Java project. A great product.<br> <br>I'd like to know if it's feasible to use it on Objective-c proj= ects. As part of an effort to build a ci install for an iOS project I'm= looking for a solution to check naming & coding conventions compliance= .<br> <br>Is it possible? If so, could you give me a hint on how to proceed?<span= ><font color=3D"#888888"><br clear=3D"all"><br>Valentin<br> </font></span><br></div></div>---------------------------------------------= ---------------------------------<br> Better than sec? Nothing is better than sec when it comes to<br> monitoring Big Data applications. Try Boundary one-second<br> resolution app monitoring today. Free.<br> <a href=3D"http://p.sf.net/sfu/Boundary-dev2dev" target=3D"_blank">http://p= .sf.net/sfu/Boundary-dev2dev</a><br>_______________________________________= ________<br> Checkstyle-user mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/checkstyle-user" ta= rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/checkstyle-use= r</a><br> <br></blockquote></div><br> <br>-----------------------------------------------------------------------= -------<br> Better than sec? Nothing is better than sec when it comes to<br> monitoring Big Data applications. Try Boundary one-second<br> resolution app monitoring today. Free.<br> <a href=3D"http://p.sf.net/sfu/Boundary-dev2dev" target=3D"_blank">http://p= .sf.net/sfu/Boundary-dev2dev</a><br>_______________________________________= ________<br> Checkstyle-user mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/checkstyle-user" ta= rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/checkstyle-use= r</a><br> <br></blockquote></div><br> <br>-----------------------------------------------------------------------= -------<br> Better than sec? Nothing is better than sec when it comes to<br> monitoring Big Data applications. Try Boundary one-second<br> resolution app monitoring today. Free.<br> <a href=3D"http://p.sf.net/sfu/Boundary-dev2dev" target=3D"_blank">http://p= .sf.net/sfu/Boundary-dev2dev</a><br>_______________________________________= ________<br> Checkstyle-user mailing list<br> <a href=3D"mailto:[email protected]">Checkstyle-user@li= sts.sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/checkstyle-user" ta= rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/checkstyle-use= r</a><br> <br></blockquote></div><br> --f46d04339db4f1a29804bdfa67ef-- --===============3808094896731397927== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev --===============3808094896731397927== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user --===============3808094896731397927==--