Questions tagged [code-analysis]
tools to analyze source code (or sometimes binary code): code metrics, static analysis, test coverage, etc.
85
questions
0
votes
0
answers
17
views
C++ code summary tool
I'm looking for a tool which will take as input a C++ source file, and output (in plain text, HTML, PNG, PDF, whatever format) a summary containing at least a list of the functions defined in the ...
0
votes
0
answers
33
views
Tool for finding all references in C# source code
I need a tool (free or paid) similar to Visual Studio "Find all references".
It needs to analyze set of C# source code files and list all types that are defined in the source code. For each ...
0
votes
0
answers
22
views
Vb.net Code analyzers recommendation
I use Visual studio 2017 for vb.net coding. I am looking for good code analyzers tools with wide range of built in code analysis rules.
Please let me know if there are any that provide better analysis ...
1
vote
1
answer
22
views
Free JS/TS tool for code analysis and refactoring suggestions
Are there any free tools that would analyse the javascript/typescript code base and provide suggestions on code refactoring? Such as extracting functionally similar areas of code into separate ...
1
vote
0
answers
7
views
Tool to scan web projects for unused files
I am looking for a script or plugin for npm/composer/vscode to scan a project for files (e.g. scripts, css, images) that are not referenced anywhere in the code, and provide a list which I can use as ...
0
votes
1
answer
32
views
How to analyze the code architecture of a large Fortran program?
I am trying to read the code of siesta, which includes maybe thousands of lines of code. So the first thing is to read and understand the architecture of the code, I try to find some tools to help me ...
0
votes
0
answers
14
views
Tracing library
I need libraries for tracing Java and C++ code (all restricted to using only standard library). In particular I want to record the values of all the variables in memory at every executed line.
For ...
1
vote
0
answers
47
views
Side Effects Detector for PHP
As a backend developer working on a legacy code, I want to know the side effects of a piece of code.
For example, I want to select a method of a class and be informed of
what possible interactions it ...
2
votes
1
answer
29
views
Visual Studio extension to detect similar C++ code
I have inherited a large code base, which I would like to refactor.
I notice lost of code which is obviously copy, paste & tweak, which is an obvious candidate for a parametrized function.
Is ...
1
vote
1
answer
85
views
Linux - C++ - Looking for tools to get nice Callgraph and others useful informations to do "reverse engineering" process to better understand a code
On Debian GNU/Linux, I need a nice callgraph from a C++ code. I would like to better understand the structure of the code, the time or number of calls and all others useful informations.
I tried "...
0
votes
1
answer
95
views
I am looking for a tool that uses Jira , Github and other data to show developer productivity
I am looking for a tool that shows the following data by dev team or project:
cycle time - how long it takes from PR to commit
deploys
incidents
bugs / defects per commit
So far I have only found ...
1
vote
0
answers
70
views
Offline static code analysis similar to the LGTM online service
LGTM provides an online service to analyze source code of all major languages for security bugs and errors.
I am looking for a similar solution, which performs the tests while the source code stays in ...
2
votes
0
answers
13
views
Looking for a concurrent data structure checker
While reading “C++ Concurrency in Action 2nd Edition” by Anthony Williams, I stumbled across a sentence about an automatic tool that verifies concurrent data structures. He said that such tools exist, ...
1
vote
0
answers
27
views
Program to write “math” logic for code semantics
Tldr;
Allows the user to define valid program state, valid program interactions, and then looks for sequences of interactions that would violate the valid program state.
Requirements
Runs on linux
...
2
votes
1
answer
116
views
Tools for faster code reading or understanding
There is known ways of how to read code faster (e.g. see the reference first / find the root call / find the hub for components / etc.), but these are all human ways.
Is there any tools which help ...
1
vote
1
answer
59
views
Free tools to assist code reading
I'm reading a book which mentions that there are some tools which can assist code reading and understanding complex systems, and most developers are not aware of them, but the book does not name any ...
2
votes
1
answer
26
views
Is there any tools or plugins to check "try" coverage for C#?
I'm looking for a tools, to check if "try-catch" is used properly in codes.
E.g. I have a method:
/// <exception cref="NotImplementedException">Not implemented</exception>
public void ...
1
vote
0
answers
22
views
Is there a source code analysis tool, which facilitates assisted navigation in both space and time?
In the good ol' days, source navigator often came to the rescue for going through big chunks of code (hello to x-users of the tool and thank you RedHat!). Lots of things changed since then and new ...
0
votes
0
answers
23
views
Software to draw Codeflow
i am a newbie in coding. Now i am reading a big project source code and there are many thing need to be remembered. So i need to use a software to draw code flow and relationship betwwen functions in ...
0
votes
0
answers
28
views
Best php static code analyzer for eclipse?
Can someone recommend me the best and easy static code analyzer or plugin used for code review for php in eclipse?
Thanks in advance.
1
vote
1
answer
62
views
Code Analysis Tool for C#
Can you please recommend an industry standard static code analysis tool
for C# language. It should take care of all the coding guidelines. Got the below tools which are licensed. Currently using
...
1
vote
0
answers
34
views
Static code Analysis tool for C Source Code with MISRA Compliance to embed within C# Project
I have a Console Application written in C#.
Here, I should embed a Static Code Analyser tool within C# Console Application which should analyse C Code.(here, .c and .h file(s) will be given as input ...
0
votes
0
answers
17
views
Is there a tool I could use to scan through all possible code paths and submethods of a C# method and return occurrences of a specific string?
Suppose I have the following code
public class RandomClass
{
public void MethodOne(){
MethodTwo();
Console.WriteLine("Include Scarab");
}
public void MethodTwo(){
...
2
votes
3
answers
425
views
Tool to compare two source code files on Windows
Are there any gratis tools to help me compare the differences between two source code files? (for Python, and C++)on Windows 10?
1
vote
0
answers
10
views
Tool for quick java code coverage check for Live deployment based on UI interaction
My context is I have an application (consider it as a black box for now) deployed on a JBoss server. I am in the process of analyzing and studying the application and has a very limited time frame to ...
1
vote
0
answers
57
views
How can I analyze C# intra-assembly dependencies?
I'm working on a software project in C# whose source code is mostly is compiled to one assembly. Let's call it Monolith.dll. I have since decided that I should probably split Monolith.dll into ...
0
votes
1
answer
21
views
Python pure code analysis library for major programming languages
Is there a Python library that analyzes a source code file so that I can list all classes and method names and possibly print them as a tree?
Furthermore, I need to pass a character argument to it ...
0
votes
1
answer
37
views
Tool that shows Python unit test coverage module-wise, analyzes static code quality and finds common poor practice
Is there any tool built specifically for python code quality and test coverage?
What i expect from that tool:
To show unit test coverage module wise.
To analyze static code quality and find common ...
1
vote
0
answers
18
views
Recommendation for Python Code Analyzer
I am seeking recommendation library/software for analyzing python source code statically.
The expecting results from the library are
What are the third party libraries used in the code
What are the ...
2
votes
0
answers
41
views
Show all possible paths from a specific function
Originally posted on stackoverflow, but they indicated this question would be a better fit for here. https://stackoverflow.com/questions/52928683/show-all-possible-paths-from-a-specific-function
For ...
2
votes
1
answer
46
views
Tool to automatically apply 'const' to C code
We are planning to make better use of the const qualifier in our C code.
To speed this up for our existing codebase, I'm looking for a tool that automatically applies const to function parameters ...
3
votes
0
answers
196
views
ABC-metrics & measuring python-code quality
is there a library for python evaluation of code complexity that implements ABC-metrics (Assignment Branch Condition)?
3
votes
0
answers
35
views
Detect union access errors in C
Let's say I have a variant type in C implemented as an annotated union:
enum var_mode {
TYPE_A,
TYPE_B
};
union var_data {
int a;
double b;
};
struct var_type {
enum var_mode ...
1
vote
2
answers
123
views
Getting the paths between valid pages of a web application
Suppose that we have a simple web app consists of following valid pages:
login.php (params: username, password)
index.php (params: product_id)
product.php
When we enter the username and password ...
4
votes
2
answers
637
views
Code Style enforcement tool (Bitbucket Cloud would be nice)
I work in a team of 5 developers. We would like to enforce a code style from now on. However we cannot find a suitable Bitbucket Cloud integrations. If we had Bitbucket Server Code Review Assistant ...
1
vote
1
answer
51
views
Code quality tool for JIRA
We use JIRA from Atlassian and would like to know if there are analysis tools for measuring code quality when the code is written in javascript, python and perl?
I have signed up for measuring code ...
10
votes
0
answers
2k
views
The best Code Contracts alternative for VS 2017/2019 and .net core projects?
I was using Code Contracts in several projects and I was really satisfied with its static checker and propagated it across other developers.
With new Visual Studio 2017 and .NET Core projects, I found ...
0
votes
1
answer
69
views
A Java library for language-independent source code analysis
I'm looking for a Java library that would allow for modeling the elements of the source of an OOP programming language and performing post-parse semantic analysis on them.
This library might have ...
1
vote
3
answers
105
views
C++ code representation for automatic design patterns detection
I'm working on a research project where I aim to build an a tool that automatically detect the implementation of certain design patterns in C++ code.
C++ code being complex, I want to have a ...
1
vote
1
answer
244
views
Python minimum required version code check tool
What do you suggest for checking Python code and know the minimum required Python version I need to run it?
2
votes
0
answers
65
views
Plugin for Visual Studio to visualize code complexity over each method
I know NDepend which is a pretty complete tool for calculating code metrics but its not graphically integrated in Visual Studio source code editor.
I'd like to see, at first glance, if the method I'm ...
1
vote
0
answers
56
views
Looking for a tool to static code analyse
I'm looking for a tool which must meet certain requirements.
I do some research and at the moment JArchitect is closest to expectations.
This tool must:
Work with Java (and maybe C++)
Analyse code ...
2
votes
0
answers
65
views
C# Code Analyzing tools for Linux with Mono framework that work with Command Line
Is there any tool that can dynamic or static analyison C# code and can be executed via Commandline/Terminal on a Linux machine that features the Mono (Open Source .NET) Framework?
SonarQube (with its ...
1
vote
0
answers
216
views
Is There Any Automated Code Review Tool/Service for Matlab?
I am looking for a service (or tool) like Codacy or any other popular automated code review tool supporting Matlab. Is there anyone knows one?
I want to use it in git workflow. I need it to be ...
2
votes
1
answer
41
views
Java light weight and free dependency lister/analizer/diagram generator?
I can't use IntelijIdea (it is too heavy here).
I have tried some others that are Eclipse plugins or external application but some didnt work, or the usage and shown results were quite confusing or ...
2
votes
2
answers
110
views
Is there a tool to extract all possible paths between two locations in code?
I am debugging a bug in C++ code that I did not write. I know that between location A and B in the source, something happened to produce this unexpected output. This is often the only information I ...
-1
votes
1
answer
560
views
Questions list / checklist to ask before buying a source code? [closed]
I intend to buy a PHP source code from one company. Since i have plans to scale and improve the code afterwards it is important for me to know about software architecture.
Is there some kind of a ...
1
vote
0
answers
872
views
Control Flow Graph for C++ - static analyzer
I've created code coverage tool for C++. As output, this tool returns xml file with numbers of all executed lines in source files.
Now, I would like to visualize analyzed source files as graphs, ...
2
votes
0
answers
77
views
Identifying Fortran standard
I am looking for a program or web service that takes as input a file containing code written in Fortran, and outputs the Fortran standard used in the code (66/77/90/95/etc.)
Any price, license or ...
5
votes
2
answers
558
views
What software can I use to measure LLOC, function points and cyclomatic complexity of Bash scripts?
I want to gather a few statistical data about a repository to compare it through time. The goal is to know how the usage of specific languages evolved over time, and how the complexity and size of ...