at Gendarme.Framework.Symbols.ExtractFirst(MethodDefinition method)
at Gendarme.Framework.Symbols.ExtractFirst(TypeDefinition type)
at Gendarme.Framework.Symbols.GetSource(Defect defect)
at Gendarme.XmlResultWriter.CreateElement(Defect defect)
at Gendarme.XmlResultWriter.CreateDefects()
at Gendarme.ResultWriter.Report()
at Gendarme.ConsoleRunner.Report()
at Gendarme.ConsoleRunner.Execute(String[] args)
When I add a limit field to this command line argument it goes through till value 2740. I fould from genderme wizard that the command found 2757 defects/violations. Please suggest on how to get around this issue.
The below command works retuning me a report.xml with 2740 defects
"C:\Program Files\gendarme-2.10-bin\gendarme.exe" --config E:\FMRI\O2R\target\sonar\sonar.Gendarme --xml E:\FMRI\O2R\target\sonar\gendarme-report.xml --limit 2740 --confidence normal+ --severity all E:\FMRI\O2R\bin\O2RWebApp.dll
The below command is failing with System.ArgumentOutOfRangeException
"C:\Program Files\gendarme-2.10-bin\gendarme.exe" --config E:\FMRI\O2R\target\sonar\sonar.Gendarme --xml E:\FMRI\O2R\target\sonar\gendarme-report.xml --limit 2745 --confidence normal+ --severity all E:\FMRI\O2R\bin\O2RWebApp.dll
Please let me know if anyone has faced this issue.