5 votes

Gratis tool to visualize project dependencies for Visual Studio 2013 solution

Solution Dependency Viewer by Microsoft for Visual Studio 2013. Solution Dependency Viewer provides a graph layer to the solution with projects represented as nodes and project references ...
user avatar
  • 473
5 votes
Accepted

Tool to compare two source code files on Windows

From my answer to this question - two days ago HINT: you can search our site for questions similar to the one that you plan to ask. I don’t think that you will get a better open source application ...
user avatar
4 votes
Accepted

Swift and Objective-C code analysis and style tool

I've found SwiftLint and Tailor, which both enforce Swift style and convention best practices. Both can be run from the command line as an external tool, or integrated with Xcode. Both are well-...
user avatar
  • 241
4 votes
Accepted

Tools for creating call graph for Ruby application?

The stackprof gem will generate a call graph. Its readme shows this sample:
user avatar
4 votes
Accepted

Cyclomatic Complexity Checker

I think you are looking for SourceMonitor. A freeware tool that can calculate cyclomatic complexity for a number of languages, including C++, C, C#, VB.NET, Java, and Delphi.
user avatar
  • 341
4 votes

Find dead code in a C program by runtime analysis

You can use splint with the alluse flag to check for unused functions but personally I would use doxygen to produce a call map - any functions that have no parents are probably unused - just look out ...
user avatar
3 votes
Accepted

Find dead code in a C program by runtime analysis

Given that @user2284570 is in the comfortable situation of covering 100% of use cases via tests dynamic code analysis will provide the answer. In other cases removal of functions, their calls and ...
user avatar
  • 239
3 votes
Accepted

What software can I use to measure LLOC, function points and cyclomatic complexity of Bash scripts?

[2 months and no responses. I'm providing a commercial answer since no other answers seem forthcoming.] Our Source Code Search Engine (SCSE) is used to search large repositories containing many (...
user avatar
  • 1,140
3 votes

What software can I use to measure LLOC, function points and cyclomatic complexity of Bash scripts?

I released Cyclomatic Complexity Analyzer for shell script. ShellMetrics - Cyclomatic Complexity Analyzer for shell script https://github.com/shellspec/shellmetrics It measure NLOC (Non-comment Line ...
user avatar
2 votes
Accepted

Static code analysis tool for C#

Refactoring Essentials for Visual Studio and other IDEs is an open source tool that has features which include refactorings for C# and analyzers and code fixes for C#. Refactoring Essentials comes in ...
user avatar
  • 1,570
2 votes

Tool for explaining HTML layouts

I use Google Chrome for all of my debugging, so if Firefox has equivalent features, I do not know about them. You can accomplish most of your goals using Chrome's Elements panel (hit F12 from any ...
user avatar
2 votes

Tool for code similarity checking on the internet

You want something like BlackDuck's products. As I understand it, BD's product check to see if your software includes code from open source contexts, mostly to help you understand what software ...
user avatar
  • 1,140
2 votes

Tools to test coding style (Perl, JavaScript ) before a commit is allowed into the main repo

For JavaScript there is JSLint which is itself written in JavaScript. The answer to this SO answer details a couple of possibilities for perl. In either case you can wrap the call in a process that ...
user avatar
2 votes

Tool for calculating metrics from source control

In the book Your code as a crime scene (Amazon Germany), Adam Tornhill uses version control systems to find a lot of interesting facts and presents them in a "new" way. The cool thing is that the ...
user avatar
2 votes

Tool for calculating metrics from source control

I don't know that you'll find a tool that handles all of your requirements, but, the one I can recommend is StatSvn. We use it as part of our nightly Jenkins build process. It identifies LOC and ...
user avatar
  • 1,149
2 votes

Source code analyzer tool (similar to RATS)

As Ira Baxter pointed out in the comments, the source for RATS is still available at https://code.google.com/archive/p/rough-auditing-tool-for-security/downloads A binary for Windows 32bit is ...
user avatar
2 votes
Accepted

Find calls to typed functions which do not check the return value

In gcc you have the following options: -Wunused-result Warns if returned value is unused -Wunused warn about a number of unused cases and -Wall (my favorite) turns on a bunch of warnings including -...
user avatar
2 votes

Static code analysis tool for multiplatform project with good coverage of C++11 features

You can try CppDepend, a pretty complete static analysis tool which integrates a wide range of features, and 100% integrated to Visual Studio.
user avatar
  • 31
2 votes

Static code analysis tool for multiplatform project with good coverage of C++11 features

In the past, for old-school C/C++ code, I used PC-lint, a commercial software developed by Gimpel Software. The company actually develops a couple of static analysis tools: PC-lint and FlexeLint. Pc-...
user avatar
  • 1,770
2 votes

Swift and Objective-C code analysis and style tool

You could take a look at: SwiftLint - Gratis & Open Source Atom Linter + SwiftC plugin - Also Gratis & Open Source but requires Atom so may not suit your usage.
user avatar
2 votes

Software call graph to show "trace" from one function to another

There is gprof2dot is a python which can process such output, without the size limitations, to produce a dot file that can then be converted to a graph using graphviz it can process the output of: ...
user avatar
2 votes

Hosted static analysis tool for C++

The best bet is coverity. Hosted Java, C/C++ or C# code Runs on open source project for free Integrates easily with GitHub and Travis It is subject to a maximum number of builds per day/week, 3 per ...
user avatar
2 votes
Accepted

Is there a code analysis tool that can reduce my conditional branching?

I’ve had some success using a tool called CppCheck via a Jenkins CI system. I don’t specifically track conditional branches, but, the amount of checks this tool provides is worth the look. In ...
user avatar
  • 1,149
2 votes

C++ code representation for automatic design patterns detection

Your "simplified view" would need to apply the C/C++ preprocessor, apply includes, and parse - at the very least. That's most of the front-end part of a compiler. It's really not a good idea to try ...
user avatar
  • 2,932
2 votes

C++ code representation for automatic design patterns detection

You can try CppDepend and the code query langugae CQLinq to detect some design patterns. Here's an article that explains how to do it.
user avatar
2 votes
Accepted

Code quality tool for JIRA

For code static analysis you can use SonarQube: it supports coverage and complexity metrics it takes external tools results (pylint, jslint, etc) supports Js and Python, not sure about Perl provides ...
user avatar
2 votes

Tool to compare two source code files on Windows

CudaText editor is gratis. It has plugin "Differ", it can be installed from "Plugins - Addon Manager - Install". To call plugin, use "Plugins - Differ" menu.
user avatar
  • 21
2 votes

Tools for faster code reading or understanding

You can visualize the structure of applications & libraries, pull out any documentation and have syntax highlighted & hyperlinked code views of the codebase by generating a document set with ...
user avatar
1 vote

Software call graph to show "trace" from one function to another

Why Callgrind doesn't work well I ended up not using Callgrind for this after all, as it produced too many nodes that had nothing to do with the functions I was interested in and only appeared ...
user avatar
1 vote

Measuring cyclomatic complexity per unit

You could also take a look at OovAide, formerly oovcde, which is a Free, Open Source, standalone C++ or Java analysis IDE for Windows or Linux. It offers the following features: Complexity ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible