I am looking for a C++ code analysis/ metrics tool. In particular I need to measure Chidamber & Kemerer metrics (WMC, DIT, NOC, CBO, RFC and LCOM). Thank you so much. Source: Windows Que..

#### Category : analysis

Input: A array of unique integers, A, its size n. Output: Two arrays sl and sr each of size n, containing the ’left scores’ and ’right scores’ of the elements of A respectively. To be precise: sl[i] will contain the left score and sr[i] the right score of the element A[i] respectively. The scores are ..

for example what are your techniques for breaking down a C/C++ program like: https://github.com/arvidn/libtorrent (obviously this is a complex program just an example) What are your usual techniques for understanding open source software, extracting useful samples of code and understand them to a point you can use them in your own projects. I’m sorry if ..

I understand that the best case would be B(1). Will the worst case be W(n+1) since when searching the list, since you have to compare both sides of the last element. The main thing I am confused on is the average case for this algorithm. findKthLargest (list, N, K) for i = 1 to K ..

How to get a list of all Windows function Names, called from my C/C++ codebase. From IO CreateFile to GDI+… Nice to also get functions called dynamically from GetProcAddress. I did not find any tools that does this. Possible approaches – using Doxygen to generate call graphs and analyze it. generating object files and looking ..

How to get a list of all Windows function Names, called from my C/C++ codebase. (From IO CreateFile to GDI+) Nice to also get functions called dynamically from GetProcAddress. For example – void main() { myClass obj; obj.method(); HANDLE file = CreateFile(L"hello_there.txt", GENERIC_WRITE, 0, NULL, CREATE_NEW, FILE_ATTRIBUTE_NORMAL, NULL); MyFuncProcess(file); WriteFile(file, L"general kenobi", 15, &written, NULL); ..

Our teacher, He told the lesson through online training. But we didn’t understand a last part. And this training is asynchronous. So we couldnt ask this. We want to Analysis a algorithm. Can you solve this questions. But you should explain. Because we are putting this question to here for learn. Can you help us ..

I’m attempting to use Sourcetrail (https://www.sourcetrail.com/) to quickly get into some old embedded c/c++ source code for the pic18 series of microcontrollers. I get errors when importing the hardware include files, which uses an exotic method to define the hardware address of the bit addressable hardware registers, such as the below from pic18f26k22.h. typedef union ..

I had to write code for a function that uses a loop to compute the sum of all integers from 1 to n. I also need to do a time analysis, counting each basic operation (such as assignment and ++) as one operation. I need help with understanding how to count each basic operation. Is ..

## Recent Comments