kekru / code-analysis-bitbucket-exporter Goto Github PK
View Code? Open in Web Editor NEWSend analysis reports of PMD, checkstyle, Sonarqube and others to Bitbucket Insights - via API, no plugin installation required
License: MIT License
Send analysis reports of PMD, checkstyle, Sonarqube and others to Bitbucket Insights - via API, no plugin installation required
License: MIT License
In Spotbugs, when we have the following BugInstance
<BugInstance type="DLS_DEAD_LOCAL_STORE" priority="2" rank="17" abbrev="DLS" category="STYLE" instanceHash="9de02933b5cbd2aceff52cb845612e0c" instanceOccurrenceNum="0" instanceOccurrenceMax="0" cweid="563">
<ShortMessage>Dead store to local variable</ShortMessage>
<LongMessage>Dead store to abc in new de.kekru.example.codeanalysisbb.Main()</LongMessage>
<Class classname="de.kekru.example.codeanalysisbb.Main" primary="true">
<SourceLine classname="de.kekru.example.codeanalysisbb.Main" start="13" end="33" sourcefile="Main.java" sourcepath="de/kekru/example/codeanalysisbb/Main.java" relSourcepath="java\de\kekru\example\codeanalysisbb\Main.java">
<Message>At Main.java:[lines 13-33]</Message>
</SourceLine>
<Message>In class de.kekru.example.codeanalysisbb.Main</Message>
</Class>
...
<SourceLine classname="de.kekru.example.codeanalysisbb.Main" primary="true" start="23" end="23" startBytecode="33" endBytecode="33" sourcefile="Main.java" sourcepath="de/kekru/example/codeanalysisbb/Main.java" relSourcepath="java\de\kekru\example\codeanalysisbb\Main.java">
<Message>At Main.java:[line 23]</Message>
</SourceLine>
...
</BugInstance>
Then currently we take BugInstance.Class.SourceLine.End = 33
as line number.
The exact line number would be BugInstance.SourceLine.End = 23
.
So when line 33 is not changed, then Bitbucket will not annotate this finding.
Current problem is, that it seems, that the generated Java files from the XSD do not allow to navigate to BugInstance.SourceLine
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.