• 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.

  • 相关阅读:
    python爬虫-selenium八大定位笔记
    git pull : error: cannot lock ref 'refs/remotes/origin/*' (unable to update local ref) 解决方案
    Lua table.sort()原理和使用的坑
    Unity---有关游戏物体角度的两种赋值方法这件事
    C# #if、#endif和预处理指令
    Unity 4大坐标系 和 屏幕坐标与UI坐标的转换问题
    第2次参加游戏开发比赛
    Unity Text添加空格导致换行问题的两种解决方法(还有lua的解决方法)
    MySQL是如何处理千万级数据
    PHP使用守护进程处理队列
  • 原文地址:https://www.cnblogs.com/tuhz/p/4521149.html
Copyright © 2020-2023  润新知