zoukankan      html  css  js  c++  java
  • Source Monitor Tutorial

    Source Monitor is a code analyzing tool that is capable of finding the complexity for Java, C++、C、C#、Delphi、Visual Basic and HTML source codes. It's a standalone software which does not rely upon any specific IDE to work. What's even better is that it is a Free Software. In this tutorial I'll show you how to install and use this convenient tool analyze some code.

    1. Download Source Monitor from http://www.campwoodsw.com/sourcemonitor.html. Run the setup wizard.

    2. Click "Next" to install. Choose the installaion path, etc. Nothing unusual.

    3. Open the installed software. In the welcome screen, click "Start SourceMonitor" to begin.

    4. Before proceeding to analyze some code. Let's open the settings page and tick "allow parsing of UTF-8 files" as some of the source code files may be stored in UTF-8 format.

    5. Click "New..." to begin analyze the code. In Step1, we select the language of the code. Here "Java" is chosen as we're going to analyze a Java project.

    6. In Source Monitor, each analysis is seen as a "Project". In this step, we choose where to save the data files of this analysis.

    7. In Step 3, select the path of your source files.

    8. In Step 4, specify some options for this analysis. Here we choose to ignore any blank lines in the source code.

    9. In the following step, choose the desired format to save the analysis project file.

    10. Name the Project Checkpoint. Here we keep the default name, which is "Baseline".

    11. In the final step, review a summary of the project settings. If it's OK, click "Finish" to start the actual analysis process.

    12. Then it will ask you to choose which files to analyze. By default, it will automatically pick out all the files whose extension matches the language that we've selected in Step 1. In this tutorial, as we've selected "Java" in the first step, all .java files are selected automatically. Click "OK" to proceed.

    13. A moment later, the job will finish and shows a general report the whole project.

    14. Double click it will bring you to a new screen where the detailed reports of each file are shown.

    This brings the tutorial to an end. If you're interested in more information about Source Monitor, you can visit its official website http://www.campwoodsw.com/sourcemonitor.html

    Your feedbacks and suggestions are greatly appreciated.

  • 相关阅读:
    第三篇:数据仓库系统的实现与使用(含OLAP重点讲解)
    Django框架ORM单表删除表记录_模型层
    Django创建模型_模型层
    Django框架ORM单表添加表记录_模型层
    Django框架打印orm转换过程中的sql_模型层
    Django框架创建数据库表时setting文件配置_模型层
    UCRT: VC 2015 Universal CRT, by Microsoft
    vs2015部署---下一代VC运行时库系统:the Universal CRT
    VS2015开发的C++应用如何不依赖Visual C++ 2015 redistributable?
    C++11并发之std::thread
  • 原文地址:https://www.cnblogs.com/tuhz/p/4521149.html
Copyright © 2011-2022 走看看