sonar-delphi
sonar-delphi copied to clipboard
SonarQube Delphi Plugin
Hi, I'm attempting to read code-coverage results from AQTime that have been exported to an MSSQL database and I keep running into a NullPointerException. `INFO: Sensor Delphi Code Coverage Sensor...
``` 2016-04-11T10:02:50.7167593Z ##[error]Caused by: java.lang.NullPointerException 2016-04-11T10:02:50.7167593Z ##[error]at org.sonar.plugins.delphi.DelphiSensor.parseFiles(DelphiSensor.java:200) 2016-04-11T10:02:50.7167593Z ##[error]at org.sonar.plugins.delphi.DelphiSensor.analyse(DelphiSensor.java:107) 2016-04-11T10:02:50.7167593Z ##[error]at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58) 2016-04-11T10:02:50.7167593Z ##[error]at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50) 2016-04-11T10:02:50.7167593Z ##[error]at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:98) ``` This is an excerpt of the log of the...
If I perform a Sonar Analysis with a Quality profile that does not contain **Unused function/procedure.**, it throws NullPointerException. ERROR: Error during SonarQube Scanner execution java.lang.NullPointerException at org.sonar.plugins.delphi.metrics.DeadCodeMetrics.save(DeadCodeMetrics.java:167) at org.sonar.plugins.delphi.DelphiSensor.processFiles(DelphiSensor.java:134)...
I've found a bug in parser of many classes of my app. It's impossible to continue the analysis with those errors... I've attached the source file and exception stack trace....
There is a problem with nested functions. Scenario - two nested functions with the same name in different units. - one of this function is located further than end of...
Then we can use DUnitX as unit test tool.
When implementation of a method consists on a single instruction to invoke another method, Empty 'begin' statement is being detected. 
**There are several reasons for a method not to have a method body:** - It is an unintentional omission, and should be fixed to prevent an unexpected behavior in production....