Bug: OneStatementPerLineAuditRule?

CodePro AnalytiX (Audit & Test), includes over 1000 audit rules and metrics, JUnit test generation & editing, code coverage, and duplicate code analysis

Moderators: gnebling, jwren, Eric Clayberg, Dan Rubel, Brian Wilkerson, dcarew

Bug: OneStatementPerLineAuditRule?

Postby ralf.zahn » Wed Jan 19, 2011 1:23 pm

Hi,

the OneStatementPerLineAuditRule seems to validate only the beginnings of statements. The example

Code: Select all
System.out
        .println("hallo"); System.out.println("Welt");


does not bring any violation, because the first statement starts in another line than the second.
Is this the intended behaviour or a bug?
ralf.zahn
 
Posts: 6
Joined: Sun Dec 19, 2010 11:19 pm

Re: Bug: OneStatementPerLineAuditRule?

Postby gnebling » Fri Jan 21, 2011 11:04 am

This looks like a bug. Will add to our list of things to fix sometime in the future. Thanks for bringing this to our attention.
gnebling
Moderator
 
Posts: 243
Joined: Tue Aug 22, 2006 7:49 am


Return to CodePro AnalytiX & PlusPak. EclipsePro Audit & Test

Who is online

Users browsing this forum: No registered users and 1 guest

cron