checking engine with static analyzer

checking engine with static analyzer

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
SmallvilleMC
Posts: 1
Joined: 28 Nov 2014, 11:47

checking engine with static analyzer

Post by SmallvilleMC »

Hi, the source code has been tested static analyzer, make somebody bug-report.

Spring RTS Engine Checkup
http://www.viva64.com/en/b/0293/
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: checking engine with static analyzer

Post by gajop »

Seems like you are trying to advertise your static analyzer tool, BUT since you also pointed out to some potential errors (and not just random garbage), and you actually took the time to write an analysis yourself, I will allow this post. Thanks. (pity no one here is likely to buy the licence to re-run the static analysis if this was to be fixed)
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: checking engine with static analyzer

Post by Anarchid »

I've read this on other source earlier today, looks like they've gotten quite a PR campaign going :)

That said, all bugs listed in that post should totally be transcribed to appropriate github issues or pull requests.

I wonder if the gross magnitude of assimp errors is something that's fixed in upstream assimp? Has the assimp upgrade branch gone merged?
Last edited by Anarchid on 03 Dec 2014, 12:47, edited 1 time in total.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Spring code review by pvs-studio

Post by jamerlan »

User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Re: checking engine with static analyzer

Post by yuritch »

Those guys check opensource projects quite often (and post results to advertise their product of course). Their blog (linked to in jamerlan's comment) contains a lot of such check results. I've read it before and I'd say it's a very useful source of information, despite advertisement purpose.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: checking engine with static analyzer

Post by Forboding Angel »

I 100% approve of this advertisement method. It's like hey, we have something really cool here, but instead of hiding what it can do for you, here is a full analysis from the tool and things that can help your project too!

That's pretty cool imo.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: checking engine with static analyzer

Post by Anarchid »

I've investigated the repo a little and it seems abma's assimp update branch is not merged.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: checking engine with static analyzer

Post by abma »

assimp update wasn't merged because of missing feedback for http://springrts.com/phpbb/viewtopic.ph ... 04#p562504

(regardingless of that i plan to update after a successful 99.0 release)
Post Reply

Return to “Help & Bugs”