The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [code-analysis]

tools to analyze source code (or sometimes binary code): code metrics, static analysis, test coverage, etc.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 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
0answers
7 views

Simple Github bot to check for changed files in a PR

I'm looking for a github bot that can comment on the PR if the changes affect a file matching a certain regex (simpler solutions are okay as well). That's the use case: PR opened PR changes ...
0
votes
0answers
4 views

Analysis for SFDX Apex || sonarqube Community Edition

Is there a way to support SFDX Apex Analysis with sonarqube Community Edition version 7.2 or above. If not then is there any previous Community version which may support it ? Many thanks in advance.
0
votes
0answers
12 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.
0
votes
0answers
5 views

What software/librarie can I use for code coverage and testing in embedded C (Dave IDE)?

I have a C program running on an XMC Infineon and I develop on DAVE IDE. Let's say that I only have some buttons (inputs) and some LEDs (outputs). If I push a specific button, it will light a ...
0
votes
0answers
2 views

Is there a way to know what functions/methods of class Z is (transitively) called by class A?

Is there a way or technique to know what functions/methods of class Z is eventually called by class A? I have a problem, in which my class A may end up calling class Z transitively (i.e. may call ...
0
votes
0answers
18 views

Self-hosted alternatives to Sonarqube that works with Azure Devops?

I am looking for an alternative to SonarQube that integrates with Azure Devops and monitors code quality, code smells, and enforces style. This would be hosted on Azure. Specifically, it should ...
1
vote
1answer
37 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 ...
0
votes
0answers
4 views

Software to analyze the processing speed of each C++ function

Is there any software for linux which shows which thread or function of a C++ code is limiting the speed or taking the most time? Thanks in advance.
0
votes
0answers
7 views

Analyze C code and return the contents of all the functions

I am not sure if a software for this exists or not. But I want a tool which looks at C code and returns a data structure like a hashmap, where the key is the name of the function and the value is the ...
0
votes
0answers
10 views

Need a recommendation for tools that map application file dependency and permissions

Purpose: Looking for a tool or tools that would allow my team and I to analyze what files an application attempts to create or access (registry would be a bonus) and what permissions are assigned to ...
0
votes
0answers
5 views

C++ analyzer tool to check possible ISO orderings

I want to write ISO C++ code, but there are some questions I don't have answered, reading through the documentation I sometimes do not get a satisfying answer. (And every time a question arises, I ...
1
vote
0answers
16 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
0answers
11 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
2answers
68 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?
0
votes
0answers
8 views

what is a good static analysis tool for JS/Node/TypeScript

I have to analyze the source files to check which fields are modified or used by which functions, "code smell", "code coverage", not so much worrying about security scans for now. Any ideas/...
0
votes
0answers
10 views

“Simulator” for C Code or Assembly

I am hoping to find an app with GUI that allows the user to do dynamic analysis for code comprehension. Note that the main goal here code comprehension by the human reader, and not other uses of ...
1
vote
0answers
3 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
0answers
24 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
1answer
15 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
1answer
24 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 ...
0
votes
0answers
30 views

Javascript/QML code-analysis library that can be integrated in a C++/Qt application?

I have a C++ Qt application that I would like to make scriptable. The user can write JS/QML scripts and compile them using Qt's QJSEngine. In the application's script editor, I would like to have ...
1
vote
0answers
16 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 ...
0
votes
0answers
7 views

What are some good tools for analyzing legacy javascript?

I'm considering joining my first open source project. This one is a game written in javascript & HTML5 and I would like to get some recommendations for tools to use for analyzing the existing code ...
0
votes
0answers
6 views

I want to do real time visualization using any visualization tool and spark streaming using scala

I want to do real time visualization using any visualization tool and spark streaming using scala . objective : 1. capture the twitter stream , analyse , mine and send it to the visualisztion tool....
1
vote
0answers
11 views

Software like codeclimate hostable by myself

The situation: There are many services which analyze the code quality based on common tests. Most of them aren't free or (like codeclimate) require GitHub. At the same time there is a free package ...
2
votes
0answers
35 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
1answer
34 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 ...
1
vote
0answers
85 views

ABC-metrics & measuring python-code quality

is there a library for python evaluation of code complexity that implements ABC-metrics (Assignment Branch Condition)?
0
votes
0answers
28 views

Software to analyze an exe file

I'm looking for an application with a good GUI that will 1) Record all the activities done by the executing program. (Reading/Writing/Modifying) files changes to system settings or registry or any ...
3
votes
0answers
27 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
2answers
108 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
2answers
251 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
1answer
34 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 ...
5
votes
0answers
759 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
1answer
59 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
3answers
54 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
1answer
163 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
0answers
57 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
0answers
50 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
0answers
55 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
0answers
116 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
1answer
29 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
2answers
75 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
1answer
187 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
0answers
583 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
0answers
72 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 ...
3
votes
1answer
183 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 ...
1
vote
0answers
40 views

Command-line tool to scan for and suggest fixes for XSS and SQLi vulnerabilities in Perl?

For a customized online editor, I would like to automatically detect SQLi or XSS vulnerabilities and provide a convenient way to auto-correct them. Rather than creating my own scanning/suggestion ...
2
votes
2answers
96 views

Static C++ code analysis tool: finding the diamonds in a big source code

(Related SO question.) Consider there is a very large class hierarchy, from tens or even hunderds of classes. The inheritance diagram is also very complex (doxygen can't render it without half-page ...