-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lizard integration #90
base: master
Are you sure you want to change the base?
Conversation
…and measure persistor class created to save the measures of the lizard repor.
… values are displayed as 0 in the dashboard. Trying to savin complexity throws exception -> Can not add the same measure twice on org.sonar.api.resources.File ...
…uld actually do because it was causing that saving comlexity and functions for files throw exception. Lizard measure now saves the measures succesfully
…dSensor to LizardMeasurePersistor
…iveCSquidSensor to LizardReportParser.
We are absolutely need the complexity metric in our QA model. We have tested this new feature, please approve the Pull Request. |
👍 |
… the lizard report is not found, allowing the execution of the plugin without lizard
👍 |
ok, thanks for the feedback, I will merge it. Sorry for the delay by the way. |
👍 |
This is working fine with me. Why aren't we merging this. |
lizard.xml is generated but not shown in dashboard |
Hi @amin234 , Even I'm facing the same problem. Thanks |
@akshaysyaduvanshi How did you resolve the below error? I have the same issue now. Getting this error Processing complexity report ERROR - Error processing file named /Applications/GoAgent.app/pipelines/ios-sonar/ios/Source/sonar-reports/lizard-report.xml com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence. at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:687) ~[na:1.7.0_60] at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:408) ~[na:1.7.0_60] at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1753) ~[na:1.7.0_60] at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(XMLEntityScanner.java:1074) ~[na:1.7.0_60] at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:835) ~[na:1.7.0_60] |
Hello everyone,
Here is a Pull Request to add Lizard support (https://github.com/terryyin/lizard) to the plugin.
"Lizard is a simple code complexity analyzer" it can create an xml report,
which contains die cyclomatic complexity for a file and their functions.
Details: