InfoQ

Topic/Tag specific view

All content and news on InfoQ about Code Analysis


Latest featured content about Code Analysis

Talking .NET Code Analysis with Patrick Smacchia

Community
.NET
Topics
Code Analysis

Patrick Smacchia is a Visual C# MVP with over 15 years of software development experience. He is the author of Practical .NET 2 and C# 2, books about the .NET platform. He has worked on software in a variety of fields including the stock exchange at Société Générale and a satellite base station at Alcatel. He's currently the lead developer of the tool NDepend.

News about Code Analysis

EQATEC Profiler: An Application Code Profiler for the .NET Compact Framework

Community
.NET
Topics
Code Analysis

EQATEC has recently released a free code profiler for applications written for the .NET Compact Framework.

Cyclomatic Complexity Revisited

Community
Architecture
Topics
Delivering Quality,
Code Analysis

Enerjy studied tens of thousands of source code files and found the optimum Cyclomatic Complexity number is 11, with a 28% defect probability. In fact, you are more likely to encounter a defect if you have lower complexity - is it time to make your methods are more complicated?

Interview and Book Excerpt: Model Based Software Testing and Analysis with C#

Community
.NET,
Architecture
Topics
Code Analysis,
Software Testing,
.NET Framework

Recently published, Model Based Software Testing and Analyis with C#, by Cambridge University Press. Infoq was able to speak with all four authors about their personal views on model based testing and analysis: Jonathan Jacky, Margus Veanes, Colin Campbell and Wolfram Schulte.

Using ParseTree for LINQ-style queries and extracting metadata

Community
Ruby
Topics
Code Analysis,
Domain Specific Languages,
Language

Whether it's LISP macros or LINQ's expression trees - access to the AST of code is a powerful tool. We look at how ParseTree allows this in Ruby - and how it's being used in libraries like Ambition, Sequel and the web framework Merb.

Articles about Code Analysis

Using singleton classes for object metadata

Community
Ruby
Topics
Object Oriented Design,
Language,
Code Analysis,
Dynamic Languages

So you have a bunch of objects - let's call it an object graph - provided by some API. Now you want to to process the objects - which requires some intermediate data, for instance: the process creates some metadata that needs to be stored with the objects. The problem: where to store the metadata? We'll show how to use Ruby singleton classes to handle this problem.

Implementing Automated Governance for Coding Standards

Community
Architecture
Topics
Code Analysis,
Delivering Quality,
Build systems

Most development organizations of a significant size have some form of coding standards and best practices. Simply documenting these standards and keeping them up to date can be a significant challenge and enforcing them even harder. Our organization has found that enforcing coding standards and best practices in an automated fashion through our build process has been highly effective.

The MOle Plugin

Community
Ruby
Topics
Code Analysis,
Ruby on Rails

The MOle, so named because it acts as the investigators agent, is a plugin that provides insight into the inner workings of Ruby on Rails in realtime, as requests come in and get processed. The author describes how the plugin came about and gives InfoQ readers a detailed introduction to his innovative plugin.

Interviews about Code Analysis

Bruce Johnson discusses Google Web Toolkit

Community
Java
Topics
Javascript,
Compilers,
Code Analysis,
Web Frameworks,
Open Source

Google Web Toolkit (GWT) tech lead Bruce Johnson discusses the design of GWT, how GWT converts Java into JavaScript, community involvement with GWT, new features in GWT 1.4, and the philosophy behind GWT.