Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
44 views

Is it possible to analyse the API surface of a set of class libraries to automatically determine inter-assembly dependencies?

I'm sure we've all been in the situation where we've inherited code that was "overly public", becomes obsolete or needs to be refactored. In these situations, it is easy to spend many days analysing ...
0
votes
1answer
101 views

Annotations in c# [closed]

I am looking to understand annotations and do source code analysis. Yes this sounds freaky. What i do not know is correct direction to work in. I am trying to make custom annotations and later on ...
15
votes
10answers
820 views

Is it possible to speed- read code well?

Sometimes we have huge code listings to deal with, and I'm curious as to how the advanced, highly skilled programmers read code. And I'll say with an emphasis on debugging and finding issues.
-2
votes
1answer
77 views

Is it useful to analyse several implementations of one program? [closed]

Imagine you had 20+ different implementations of the "Tetris" game, each done by a different developer. All of them share the same user and library interface, are written in the same language, but the ...
4
votes
1answer
54 views

Rapid code analysis

I have recently moved to a new company where I am tasked (in part) with evaluating the existing code base and coming up with patterns and best practices. Our development team consists of around 20 ...
18
votes
3answers
235 views

Is there a correlation between complexity and reachability?

I've been studying cyclomatic complexity (McCabe) and reachability of software at uni recently. Today my lecturer said that there's no correlation between the two metrics, but is this really the case? ...
2
votes
3answers
194 views

Why use sealed instead of static on a class?

Our system has several utility classes. Some people on our team use (A) a class with all-static methods and a private constructor. Others use (B) a class with all-static methods (these the juniors). ...
4
votes
5answers
341 views

Is it worth writing a memory error detection tool for C++ these days?

For past 2 years, I have been writing a tool in C++, meant for C++ as my hobby project. Slowly, I realized that it can be made commercialized, as it can compete with other memory leak detectors. This ...
0
votes
1answer
170 views

c++ ide & tools with clang integration

recently i read this blog about google integrating clang parser into their code analysis tools This is something in which c++ is at least a decade behind other languages like java, but now that ...
3
votes
2answers
177 views

How do you write a code analysis & refactoring tool to interface with Visual Studio?

Recently while working on a project of mine and doing some refactoring I got an idea to write a custom tool to help me analyze my code in a very specific context and perform some very custom ...
31
votes
16answers
720 views

How do I deal with analysis paralysis?

Very frequently, I am stuck when choosing the best design decision. Even for small details, such as function definitions, control flow, and variable names, I spend unusually long periods perusing the ...
2
votes
2answers
171 views

Are there any good tools to help implement or enforce the proper equals and hashcode patterns for c#?

A very common bug on my development team is forgetting to, or incorrectly overriding equals and hashcode. While the pattern is simple, there's a lot of boilerplate code that goes into doing this ...
0
votes
2answers
127 views

Does this status show a green signal?

I have done this static code analysis with Code Analyzer. Is it a green signal or should I improve my coding standards?