Showing posts with label weekly report. Show all posts
Showing posts with label weekly report. Show all posts

Monday, October 20, 2008

Progress in project browser

Ant task improvement:

After tolerate long verify time for quite a long, I finally start to fix this. When running verify.build.xml, Unit test and EMMA are both invoked. The unit test is to ensure all unit tests are passed, and the EMMA is to get a coverage of the current system. But both of them need to run junit to execute all unit tests in the system. Exactly same tests are executed twice. It is surely a waste of time, especially when these tests takes several minutes to complete and I have to wait until it finish then I can commit the code. So the idea it to combine these two task together. In the EMMA task, it requires to run the junit and track it to get coverage data. But in our old version, the EMMA task just get the coverage data and discard the test result. So I added code to let it monitor the test result as well and generate junit reports in build directory, which can be used to generate junit results and sensor data. Then I add a task in emma for verify, which invoke emma.tool, junit.report, junit.sensor, emma.report, emma.sensor, emma.echo to complete all task in Unit test and EMMA. Now, the verify.build.xml runs almost twice as fast as before.

Telemetry Improvement:

The color issue is fixed now. The random colors are selected in a way that colors have maximum difference from each other. This is done under the color wheel conception. If we need to pick n random color. The first color will be selected randomly, the other colors will have 360/n degree away from the preceding one, so that they will be distributed on the color wheel with maximum distance.

Moreover, the stream color mechanism is improve to take more use of coloring. The new rules are:
  • If there are more than 1 unit axis, streams will be colored according to the axes.
  • If there is only one axis, but have multiple stream names, streams will be colored according to the stream name.
  • If there is only one stream name as well. All stream will be colored separately.
So when users viewing member level telemetry or one telemetry over several projects, they will see a chart will stream of the same color. There will almost always be streams will different colors.

Portfolio Improvement:

Trend interpretation has been improved. Before, only the monotonous trends will be considered as stable, increasing or decreasing. All others will be considered as unstable. This is not the way people interpret trends. People accept a certain amount of vibrate in trends and still consider stable, increasing or decreasing. So I change the system this way. If a point has difference from the preceding point with certain amount, which is calculated as 5% of the average of the stream, will be considered same as its preceding. Otherwise if the point is higher, then it is increasing, if lower, then it is decreasing. Then the system go through the stream. If there is no increasing or decreasing points, the stream is stable. If it has increasing but decreasing points, it is increasing. If it has decreasing but increasing points, it is decreasing. If it has both increasing and decreasing points, it is unstable. In this way the system can accept trends with small vibrations and still classify them as how people usually do. Also the acceptable difference is discussable.

What's more, I added a classifier class to do this job. That means user can write their own classifier to interpret the stream trends, may be using some sophisticated mathematics methods as well.

Monday, October 13, 2008

Thesis outline

The final tech report of 699 will be the draft of my thesis. The semester is half way through, it is time to think about it again to put something new to it.

Development on project portfolio page goes well. But my literature review is far behind schedule. I need to catch up with it now.

Here is the outline of my thesis:

1. Introduction

2. Related work

  • 2.1 Software Product and Process Metrics
    • 2.1.1 Product Metrics (Coverage, Complexity)
    • 2.1.2 Process Metrics (LOC, Churn, DevTime)
    • 2.2 Software Project Portfolios
    • 2.2.1 Risk Based Software Project Portfolio
    • 2.2.2 Some other Portfolios

    3. Research Questions
    • 3.1 How useful is this approach?
    • 3.2 Does the system successful achieve its goal?

    4. System Description
    • 4.1 Overview
    • 4.2 Portfolio Table
    • 4.2.1 Sparklines
    • 4.2.2 Evaluation color rules
    • 4.3 User Configurations
    • 4.4 Portfolio Definitions

    5. Experiment Design and Analysis
    • 5.1 Research Approach
    • 5.2 Classroom Evaluation
    • 5.3 Industry Approach

    6. Future directions

    Tuesday, September 16, 2008

    Weekly progress report 0915

    The parameter list in portfolio configuration panel is finish! The layout may still need to change, but the functionality is complete. I finally choose to use the well constructed methods in telemetry session to get the parameter definition list. The parameter definition will be needed when showing the configuration panel and when verifying parameters before retrieve data for detail panel. Therefore, if the definition is retrieved every time when it is needed, the reaction of the page will be slow down, especially when open the configuration panel. While there already a map of telemetry definitions, which contain the parameter definitions, managed in telemetry session, it is easier to just use it rather than manage another map of instances in portfolio sessions. But telemetry page and portfolio page are designed to be separated, is it better to keep the class in each page separated? However, there are too many connection between telemetry and portfolio page, both logically and physically, e.g. charts in portfolio has links to the associated telemetry pages. So it should be acceptable to connection the session between them.

    After this critical implementation, it is much easier to finish the delayed portfolio simulation data. Before, I got trouble in constructing useful coverage data using the existed methods in SimData, because the granularity of the constructed coverage data is "line" and the default in parameter definition is "method", which is used for portfolio page. There is no reasonable way to change parameters in portfolio page before, so if I insist to do it before adding the parameter configuration, I will have to add some dirty code such as if (measure.name == "Coverage") {...}. I am glad that I don't have to worry about it any more.

    For the literature review, I started last week, but did not do well so far. I only finish one article in the week. That article took me over 5 hours to finish. I really need to find more time for it and improve my reading speed.

    Monday, September 8, 2008

    Weekly progress report

    Last week I have mainly worked on project portfolio. Validators has been added to configuration panel to ensure that higher threshold is always higher that lower threshold.

    Now I am working on a "simpleportfolio" simulated dataset in SimData for the use of Tutorial Guided Tour of Portfolio analysis. Hopefully will finish today or tomorrow.

    Future improvements for portfolio will include:
    • telemetry parameters for each measure
    • new measures from telemetry: dev time, build & unit test
    • show member of each project -- may not necessary to be an analysis, just show it near the project name, or in active members measure if available.
    • new analysis: active members -- inactive members are those have significantly less dev time than others, others are all active members.
    I will start literature review this week. Read and summarize at least 2 articles per week. Each article will have a blog entry to summarize it.

    Monday, September 1, 2008

    Plan of thesis resreach

    This fall I am starting the research on my master thesis.

    The topic of the thesis is about how to compare projects with the metrics provided by Hackystat.

    In large companies, it is possible to have hundreds of projects at a same time. The abilities to understand and compare this large amount of project is a great challenges and opportunities for both project managers and developers. Managers will want to figure out how those projects are doing as well as how the develop groups are doing. Developers will like to find similar projects or groups for further communication on technique, tools, etc.

    Utilizing Hackystat's auto-collected data of software development procedure, we build a Software Project Portfolio Management page on Project Browser. It demonstrates projects using a set of software procedure metrics with both present value and historical chart. These values and charts are colored according to the thresholds and trends. Users are able to quickly scan this portfolio and get fast understand from colors and narrow down their interest to several projects. Then they can have further investigation into those projects.

    However, understanding of such a software project portfolio is still far from sufficient. We don't know if all metrics we using are useful, or there may be some interesting metrics we should introduce to the system. How to color the charts and value is also uncertain. So we give the system the capacity to adapt different situation and need. Users can define the value thresholds for each metrics, determine if the higher value means better, and select the color for good, bad and so so values and trends. In the future, users may even define more than 3 color spaces for value and more colors for more different trends.

    To study this system, we are planning first evaluate it in classroom. We will:
    • let the students in ICS413 to use this system during their course program development
    • do several survey about their opinion of the system and their preferred customization
    • track down their usage of the system
    Hopefully after research with these data, we will acquire deeper understanding of this Hackystat powered Software Project Portfolio Management.