Code quality tools

4 posts / 0 new
Last post
walkero
walkero's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 2009-05-03 16:54
Code quality tools

I wonder guys what tools do you like to use to ensure code quality and security of your code?

I find such tools extremely useful, especially when you work with a team. For my last app I develop, MediaVault (https://github.com/walkero-gr/mediavault), I started using Codacy (https://codacy.com), which seems pretty nice.

For C and C++ code it uses cppcheck (https://github.com/danmar/cppcheck) and Flawfinder (https://github.com/david-a-wheeler/flawfinder) and returns a report about the problems it finds and proposes solutions.

Any recommendations for other tools? Any AmigaOS 4 specific ones?

dbstastny
dbstastny's picture
Offline
Last seen: 2 years 4 months ago
Joined: 2017-02-04 00:01
Re: Code quality tools

Since most of my professional work is in C# the tools built into Visual Studio Enterprise do excellent code analysis. For these open source tools like cppcheck can they be used against cross compile Amiga Source?

Regards
Doug

DStastny

walkero
walkero's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 2009-05-03 16:54
Re: Code quality tools

As much as I understand, these tools do not care about the compiler you use. They check the code based on some specific criteria.

For example, about Flawfinder, from the website:

Flawfinder is an exceptional source-scanning tool that programmers can depend on to find the most common security problems with C programs.

So, as I see it is about good practices no matter what environment you use. I guess if you want to do a better performance and problems scanning you should use specific tools that work along with the binary, like a profiler, right?

I wonder what people use mostly for development for the AmigaOS 4, either those tools are for a higher level of scanning, like Flawfinder, or for low level scanning and problems finder, like i.e. Munge.

It would be good to have an open discussion on those tools, because I want to learn how to do better work on my projects and help others to learn that too.

MobileConnect
MobileConnect's picture
Offline
Last seen: 2 years 11 months ago
Joined: 2021-03-08 19:05
Re: Code quality tools

It's a good question. Amiga has understandably been left behind in the tooling game and in particular is missing any kind of test automation framework, beyond shell scripts rexx scripts and possibly python scripts.

Log in or register to post comments