Click here to Skip to main content
15,885,038 members
Articles / Desktop Programming / WTL

Cyclomatic Complexity Viewer

Rate me:
Please Sign up or sign in to vote.
4.29/5 (13 votes)
30 Jun 20055 min read 107.9K   2.8K   34  
A Cyclomatic complexity viewer application.
#if !defined(AFX_MVALUEDLG_H__7DA5B3EA_48DB_40AC_BF77_00BF66308EC4__INCLUDED_)
#define AFX_MVALUEDLG_H__7DA5B3EA_48DB_40AC_BF77_00BF66308EC4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MValueDlg.h : header file
//

#include "label.h"

/////////////////////////////////////////////////////////////////////////////
// CMValueDlg dialog

class CMValueDlg : public CDialog
{
// Construction
public:
	CMValueDlg(CWnd* pParent = NULL);   // standard constructor
	void LoadValue(int value);

// Dialog Data
	//{{AFX_DATA(CMValueDlg)
	enum { IDD = IDD_METRICDIALOG };
	CLabel m_metriclabel;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMValueDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMValueDlg)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	int metric_value;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MVALUEDLG_H__7DA5B3EA_48DB_40AC_BF77_00BF66308EC4__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United Kingdom United Kingdom
I am a qualified Veterinary Surgeon who prefers treating computers with viruses than animals with viruses. I have recently completed a MEng German Informatics degree at the University of Reading with a 2:1. I also have the ISEB Foundation Certificate in Software Testing.

Currently I am umemployed and desparately looking for a job in the IT industry.

Comments and Discussions