Comments (6)
I implementing it without supporting the whole message from Doxygen. Perhaps someone can add that later. Now I'm just including the first line because that was a very simple thing to support. And it is supported with the CLANG
parser.
from violations-lib.
Can you provide some output from GCC and Doxygen?
from violations-lib.
Example output:
gcc 7.3.0:
../../../pump/source/util/FormattedDate.cpp:82:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../../pump/source/util/profile/profile_function_overlay.cpp:112:25: warning: variable 'exceedingDuration' set but not used [-Wunused-but-set-variable]
ARM-Gcc (4.9 2015q3):
../../external/specific/arm/cmsis/arm_math.h:5774:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../external/generic/boost/boost/type_traits/intrinsics.hpp:321:0: warning: "BOOST_HAS_TRIVIAL_DESTRUCTOR" redefined
../../external/generic/boost/boost/type_traits/intrinsics.hpp:128:0: note: this is the location of the previous definition
../../source/startup/controller/DebugConsole.c:49:5: error: 'dmax' undeclared (first use in this function)
Doxygen has the ability to change the warning format. The default format is: "$file:$line: $text". Doxygen:
./pump/external/specific/arm/cmsis_dsp/StatisticsFunctions/arm_min_q7.c:48: warning: argument 'index' of command @param is not found in the argument list of arm_min_q7(q7_t *pSrc, uint32_t blockSize, q7_t *pResult, uint32_t *pIndex)
./pump/external/specific/arm/stm32f4xx/libinc/stm32f4xx_flash.h:354: warning: The following parameters of FLASH_ITConfig(uint32_t FLASH_IT, FunctionalState NewState) are not documented:
parameter 'NewState'
./pump/external/specific/arm/stm32f4xx/libsrc/stm32f4xx_gpio.c:518: warning: End of list marker found without any preceding list items
from violations-lib.
Should be simple to add. Looks a lot like this:
- https://github.com/tomasbjerre/violations-lib/blob/master/src/test/resources/cpplint/cpplint.txt
- https://github.com/tomasbjerre/violations-lib/blob/master/src/main/java/se/bjurr/violations/lib/parsers/CppLintParser.java
from violations-lib.
You are right. A particularitiy of Doxygen is that there are warning messages over multiple lines (2nd warning).
from violations-lib.
Released in the plugins now.
from violations-lib.
Related Issues (20)
- SARIF 2.1.0 Support Results Missing Location HOT 4
- CI is not required HOT 1
- SARIF Parser fails to add multiple results with the same rule id
- I am unable to parse a report HOT 1
- FindbugsParser - Remove bug details from message field HOT 1
- CodeClimateTransformer - HTML in FindBugs messages HOT 1
- Show better error message for unknown parsers HOT 1
- Please add support for generic issues parser HOT 4
- Dependency Check plugin parser/support HOT 1
- JUnit Message contains the whole stacktrace HOT 7
- Bandit format not parsing HOT 1
- KotlinGradleParser doesn't detect warnings and errors HOT 1
- Add new Parser to support OWASP Dependency Check files HOT 4
- Add Spotbugs missing class and error reports. HOT 3
- Massive speed regression when processing lots of files HOT 1
- CodeClimate issue fingerprint clash HOT 2
- MSBuildLogParser does not support installations of MsBuild on x64 Windows
- Flake8 parser regex too unspecific HOT 5
- Add coverity parser HOT 11
- Repeated message in the Coverity parser. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from violations-lib.