2013年9月22日星期日

Week 16 (0916-0922) Weekly Report

Key accomplishments last week
  • add Unit test case for PMA_tbl_chart
  • add Unit test case for PMA_tbl_indexes and PMA_tbl_printview

  • add Unit test cases for PMA_tbl_indexes

  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will focus on the remaining UT and Selenium test case for PMA.

2013年9月15日星期日

Week 15 (0909-0915) Weekly Report

Key accomplishments last week
  • add UT for PMA_tbl_gis_visualization
  • add Unit test case for import sharp files


  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will focus on the remaining UT and Selenium test case for PMA.

2013年9月8日星期日

Week 14 (0902-0908) Weekly Report

Key accomplishments last week
  • add Unit test cases for PMA_tbl_relation

  • add Unit test case for DBIDrizzle


  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will focus on the remaining UT and Selnium test case for PMA.

2013年9月1日星期日

Week 13 (0826-0901) Weekly Report

Key accomplishments last week
  • - UT for table*
more test cases for PMA_tbl_tracking
add test for PMA_tbl_relation and PMA_tbl_tracking
add Unit test cases for PMA_tbl_*




  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will focus on the remaining UT and Selnium test case for PMA.

2013年8月18日星期日

Week 11 (0812-0818) Weekly Report

Key accomplishments last week
  • - DBI runkit testing
  • Refactor the DBI mocking for Pdf_Relation_Schema_test

  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will focus on the remaining UT.

2013年8月4日星期日

Week 9 (0729-0804) Weekly Report


Key accomplishments last week
  • - DBI

  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will still focus on:
  • -  DBI
  • - Relations (libraries/relation*)

2013年7月28日星期日

Week 8 (0722-0728) Weekly Report

Key accomplishments last week
  • - DBI
  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will still focus on:
  • - Relations (libraries/relation*)
  • -  DBI

2013年7月21日星期日

Week 7 (0715-0721) Weekly Report

Key accomplishments last week
  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will still focus on:
  • - Relations (libraries/relation*)
  • -  DBI

2013年7月14日星期日

Week 6 (0708-0714) Weekly Report

Key accomplishments last week
  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will still focus on:
  • - Relations (libraries/relation*)
  • - Table operations (libraries/Table*)
  • - Relations (libraries/relation*)

2013年7月8日星期一

Week 5 (0701-0707) Weekly Report

Key accomplishments last week
  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will still focus on:
  • - Relations (libraries/relation*)
  • - Table operations (libraries/Table*)
  • - Relations (libraries/relation*)

2013年6月30日星期日

Week 4 (0624-0630) Weekly Report

Key accomplishments last week
  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will still focus on:
  • - IP allow/deny rules (libraries/ip_allow*)
  • - Table operations (libraries/Table*)
  • - Relations (libraries/relation*)

2013年6月23日星期日

Week 3 (0617-0623) Weekly Report

Key accomplishments last week
  • Transformations (libraries/plugins/transformations)
  • Import (libraries/plugins/import)

  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will still focus on the left UT for Schema & Transformations  & Import 
  • Schema designer (libraries/schema)
  • Transformations (libraries/plugins/transformations)
  • Import (libraries/plugins/import)

2013年6月16日星期日

Week 2 (0610-0616) Weekly Report

  • Key accomplishments last week

  • Key tasks that stalled
none

  • Tasks in the upcoming week
I will still focus on the left UT for Schema & Transformations  & Import 
  • Schema designer (libraries/schema)
  • Transformations (libraries/plugins/transformations)
  • Import (libraries/plugins/import)

2013年6月8日星期六

Week 1 (0602-0609) Weekly Report

  • Key accomplishments last week
1. Setup local phpunit Environment
2. Add test case for database_interface.class.php and DBI class

  • Key tasks that stalled
none

  • Tasks in the upcoming week
1. Focus on other DBI class test case
2. Go to the following part's UT: Table operations (libraries/Table*)


2013年6月4日星期二

Tasks

  • Schema designer (libraries/schema)
  • Import (libraries/plugins/import)
  • Transformations (libraries/plugins/transformations)
  • DBI (libraries/dbi)
  • Relations (libraries/relation*)
  • SQL parser/analyzer (libraries/sqlparser, libraries/parse*)
  • IP allow/deny rules (libraries/ip_allow*)
  • Table operations (libraries/Table*)

Week 1 (0602-0608) Warm up and tasks

In the firstly week, (0602-0608)

I have finished:
1. submited the needed materials to Google
2. Warm up on PMA code
3. communicate with Mentor (Michal) about the task split.

Doing now:
I will focus on the first part of code:
- DBI (libraries/dbi)


Hope to have a good result this week!


Adam

Job Split

the final work split:
===================Adam ==================
- Schema designer (libraries/schema)
- Import (libraries/plugins/import)
- Transformations (libraries/plugins/transformations)
- DBI (libraries/dbi)
- Relations (libraries/relation*)
- SQL parser/analyzer (libraries/sqlparser, libraries/parse*)
- IP allow/deny rules (libraries/ip_allow*)
- Table operations (libraries/Table*)
 
===================Ayush==================
- Plugin system (libraries/plugins/Plugin*, libraries/properties/*)
- Export (libraries/plugins/export)
- Authentication (libraries/plugins/auth)
- Setup script + user configuration (libraries/config, setup,
  libraries/user_pref*)
- Tracker (libraries/Tracker)
- String manipulations (libraries/string*)
- Charset conversions (libraries/char*, libraries/iconv*,

  libraries/kanji*)

2013年5月30日星期四

About the Job split


In my opinion:
the files in Library Folder can be splited to:
1.  Display logic: the php files in libraries folder
     this is a large part of code.
2,   
config   (2.03%)
dbi      (3.01%)
engines  (91.55%)
gis      (70.24%)
navigation (24.70%)
schema (0.00%)
properties (0.00%)
rte        (47.12%)
 
3. Files should be removed from code coverage report
phpseclib
plugins
 
===============================
 
I would like to take:
1. Display logic: the php files in libraries folder
2. config   (2.03%)

3. navigation (24.70%)

2013年5月29日星期三

the code coverage on PMA

from the code coverage link: http://ci.phpmyadmin.net/job/phpMyAdmin/cloverphp/?



we should discussion every folder. some folders are unneeded to contain on code coverage.

First week_Application

In this blog, I try to mark something I did while I apply for PMA.

1. I prepared some patches:

2. following is the proposal I wrote:

3. discussion with Mentors
    thanks for all mentors from PMA. 
    Dieter

2013年5月28日星期二

Starting Now, my GSOC2013


Hi all,
I am Adam Kang. this blog is to track my GSOC2013 with PhpmyAdmin. (http://www.phpmyadmin.net/)
https://google-melange.appspot.com/gsoc/proposal/review/google/gsoc2013/adam_kang/1

PMA is a popular web based database management tool. It usually undergoes new releases, bug fixes, new feature development and refactoring. Since the PMA production code is changed frequently and our code is finished by developers from all over the world, in order to guarantee the production quality, it is very necessary to run Unit testing on Jenkins (Hudson). Unit Tests have several benefits to us. It allows us changing code quickly under full testing. By running unit tests, a developer can identify whether his latest changes to the code base has broken anything. Unit Tests can also help new developers really understand the design of the code and it can give our developers visual feedback about which lines are covered. From PMA CI Page, Currently, the code coverage of PMA is 18.3%. More code coverage means more guarantee to production.
Goal:
1. Increase the code coverage to a reasonable percentage (80%)
2. Set up the necessary scripts to automate unit testing.
3. Help other developers to set up their unit test cases.
4. Functional test case to cover render issue

Strategy: we should cover core code to a high level (90%) at firstly and then spent some time on the other stuff.

Hope to have a great code summer with PMA.