richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

Ignore line erroring OCLint on Mart's branch #547

Closed richelbilderbeek closed 5 years ago

richelbilderbeek commented 5 years ago

Is your feature request related to a problem? Please describe.

Currently, Mart's branch fails as shown by this Travis log:

23.06s$ ./do_oclint
OCLint Report
Summary: TotalFiles=51 FilesWithViolations=1 P1=0 P2=2 P3=1 
/home/travis/build/richelbilderbeek/djog_unos_2018/sfml_resources.cpp:351:1: high ncss method [size|P2] Method of 48 non-commenting source statements exceeds limit of 30
/home/travis/build/richelbilderbeek/djog_unos_2018/sfml_resources.cpp:351:1: high cyclomatic complexity [size|P2] Cyclomatic Complexity Number 23 exceeds limit of 10
/home/travis/build/richelbilderbeek/djog_unos_2018/sfml_resources.cpp:351:1: long method [size|P3] Method with 51 lines exceeds limit of 50
[OCLint (http://oclint.org) v0.10.3]
OCLint: OK
OCLint: Fail
The command "./do_oclint" exited with 1.

Describe the solution you'd like

Describe alternatives you've considered

None.

Additional context

There will be a later Issue to solve the cause of this OCLint error.