10.3. Data Collection

Two kinds of data will be collected simultaneously by Hackystat Eclipse sensor and ESR in Zorro validation study. Development metric data are automatically collected by Hacksytat Eclipse sensor and sent over to Hackystat web server. In the mean time, ESR records the development process into a movie file.

10.3.1. Data Collection with Eclipse Sensor

Hackystat Eclipse sensor collects development activities and sends metric data to Hackystat server automatically. There are many ways to check whether Eclipse sensor is working.

  • Eclipse sensor writes out information in the Eclipse status bar at the bottom left position when Eclipse is up and the data collection is in progress.

  • Developers can look at what data are send out to Hackystat server by looking at the log file eclipse.0.log at <HOME>\.hackystat folder.

                    Hackystat Version: 7.4.427 (April 27 2006 05:30:35) 
                    SensorShell started at: 05/08/2006 15:51:25 
                    Type 'help' for a list of commands. 
                    Host: http://hackystat.ics.hawaii.edu/ is available and key is valid. 
                    Defined shell command: Dependency 
                    Defined shell command: Issue 
                    Defined shell command: EvolSdt
                    Defined shell command: CodeIssue 
                    Defined shell command: Perf 
                    Defined shell command: FileMetric 
                    Defined shell command: ReviewIssue 
                    Defined shell command: Activity
                    Defined shell command: Cli 
                    Defined shell command: ReviewActivity 
                    Defined shell command: Coverage 
                    Defined shell command: DevEvent 
                    Defined shell command: UnitTest
                    Defined shell command: BuffTrans 
                    Defined shell command: Commit Defined shell
                    command: Build #> AutoSend [10] 
                    AutoSend OK (set to 10 minutes) 
                    AutoSend enabled every 10 minutes. 
                    Checking for offline data to recover. No offline data found. 
                    #> Activity [set, tool=Eclipse] set OK 
                    #> DevEvent [set, tool=Eclipse] set OK
                  

  • Hackysat "Sensor Data Links" analysis reports all sensor data collected by Hackystat.

After developers finish development in the case study, you can collect test subjects' Hackystat sensor data to conduct analysis. There are two ways to get Hacksytat sensor data. One way is to ask test subjects for their user keys, another way is to let them compress their sensor data with "Zip Sensor Data" analysis. Figure 10.3, “ Hacksytat Sensor Data Export ” displays where they can find the "Zip Sensor Data" analysis.

Figure 10.3.  Hacksytat Sensor Data Export


          Hacksytat Sensor Data Export

You can extract the received zip file into Hackystat data directory of your local Hackystat server and rename user's directory from "Anonymous" to a unique index number or last four digits of the subject's ID number.

10.3.2. Development Process Video

It requires developers' manual operations to start ESR recording and stop it after they finish the development. They can send the recorded video files to you via email or other medias.