Ticket #259 (closed planned_task: obsolete)

Opened 17 years ago

Last modified 15 years ago

SCENE_COMMONS_R1

Reported by: Astea Owned by: gogov
Priority: 3 Milestone: M03_PRE3
Component: BASE_SCENE Version: 2.0
Keywords: Cc: deni
Category: BASE Effort: 1.5
Importance: 30 Ticket_group: GROUP_SCENES_R0
Estimated Number of Hours: Add Hours to Ticket:
Billable?: Total Hours:
Analysis_owners: deni Design_owners: deni
Imp._owners: deni Test_owners:
Analysis_reviewers: gogov Changelog:
Design_reviewers: pap Imp._reviewers: pap, pap
Test_reviewers: Analysis_score: 4
Design_score: 3 Imp._score: 2.5
Test_score: 0

Description

wiki page: SCENE_COMMONS_R1 - effort: 1.5d

Change History

comment:1 Changed 16 years ago by deyan

  • Category set to BASE
  • Design_score set to 0
  • Imp._score set to 0
  • Test_score set to 0
  • Analysis_score set to 0

Adding category

comment:2 Changed 16 years ago by sriggins

  • Owner changed from Astea to sriggins
  • Status changed from new to s1a_analysis_started
  • Analysis_owners set to sriggins

comment:3 Changed 16 years ago by sriggins

  • Status changed from s1a_analysis_started to new

comment:4 Changed 16 years ago by sriggins

  • Status changed from new to s1a_analysis_started

comment:5 Changed 16 years ago by sriggins

  • Status changed from s1a_analysis_started to s1b_analysis_finished

comment:6 Changed 16 years ago by gogov

  • Status changed from s1b_analysis_finished to s1c_analysis_ok
  • Analysis_reviewers set to gogov
  • Analysis_score changed from 0 to 3.5

It's generally ok, though I have the following comments:

  • You could try being a bit more specific with the task requirements, so the designer of the task doesn't get confused what you mean, though in this case it kinda clear
  • You could add writing simple unit tests as a requirement
  • You could be more specific about the first implementation idea, because I'm almost sure what you mean, though it sounds a bit unclear

No matter I'm leaving it analysis ok, it's good improve this one a bit.

comment:7 Changed 16 years ago by peko

  • Ticket_group set to GROUP_SCENE_R0

comment:8 Changed 16 years ago by deni

  • Analysis_owners changed from sriggins to deni
  • Analysis_score changed from 3.5 to 0

comment:9 Changed 16 years ago by deni

  • Status changed from s1c_analysis_ok to new

comment:10 Changed 16 years ago by deni

  • Owner changed from sriggins to deni
  • Status changed from new to s1a_analysis_started

comment:11 Changed 16 years ago by deni

  • Status changed from s1a_analysis_started to s1b_analysis_finished

comment:12 Changed 16 years ago by deyan

  • Status changed from s1b_analysis_finished to s1c_analysis_ok
  • Analysis_score changed from 0 to 4

The requirements are now clear enough

comment:13 Changed 16 years ago by deni

  • Design_owners set to deni
  • Status changed from s1c_analysis_ok to s2a_design_started

comment:14 Changed 16 years ago by deni

  • Status changed from s2a_design_started to s2b_design_finished

comment:15 Changed 16 years ago by meddle

  • Ticket_group GROUP_SCENE_R0 deleted

comment:16 Changed 16 years ago by pap

  • Cc deni added
  • Design_score changed from 0 to 3
  • Design_reviewers set to pap
  • Status changed from s2b_design_finished to s2c_design_ok
  • There are nice ideas in this design but also there are several flaws
  • The most important thing is that what it describes is based upon changing code that doesn't look so for more than a month
  • When you propose removing some constructors you should take the persistence system in mind
  • The methods about converting to the preffered format and multiplying an image are already in the ImmImage class. This refactoring was done with the #1674 (GROUP_FILLING_R0) task.
  • There is a class WeakHashMap in java so perhaps you can use it, although I am not sure how hekoful it will be.
  • It is better if the static variable is declared to be of the interface type Map rather than the concrete implementataion.
  • Make sure the equals and hashCode methods of ImmColor are consistent.
  • I don't really understand why do you need the second argument to the constructor with BufferedImage argument
  • You should also deal with the Icon cache.
  • Make sure you do no break the fillings.
  • I doubt a bit about the sense of the url caching.
  • It is very bad that you use such an old codebase. You can make subbranches of your private folder that are using fresh trunk copies.
  • Also I may propose that the scene may be sped up if we ommit some of the scalings. Perhaps we can use some MipMaps.

comment:17 Changed 16 years ago by pap

  • Two more things :
    • Tests are mandatory for a design and there are things to test in this task.
    • Don't screw the wiki page of the task. The sections in the template have their purpose so please bring back the "Testing" and "Comments" secitions.

comment:18 Changed 16 years ago by deni

  • Status changed from s2c_design_ok to s3a_implementation_started

comment:19 Changed 16 years ago by deni

  • Status changed from s3a_implementation_started to s3b_implementation_finished
  • Imp._owners set to deni

comment:20 Changed 16 years ago by pap

  • Status changed from s3b_implementation_finished to s2c_design_ok
  • Imp._score changed from 0 to 2.5
  • I like some part of the implementation but there are some things that cannot be merged into the trunk
  • First of all you have added a base.commons package to the org.sophie2.base.scene module. This is incorrect.
  • You are referring to some class MyHashMap. There is no such class in the given code and also this is quite a bad name.
  • I cannot understand why you are so afraid to write automatic tests. I can't let a tesk pass without any tests written. They are a part of the requirements for a successful task and there is a reason for this requirement.

comment:21 Changed 16 years ago by deni

  • Status changed from s2c_design_ok to s3a_implementation_started

comment:22 Changed 16 years ago by deni

  • Status changed from s3a_implementation_started to s3b_implementation_finished
  • I had added the new package by mistake and I removed it.
  • I did not intend to use MyHashMap, sorry. I changed it to HashMap.
  • And I still can't think of any tests for this task...

comment:23 Changed 16 years ago by pap

  • Status changed from s3b_implementation_finished to s2c_design_ok
  • Imp._reviewers set to pap, pap
  • It is good that you fixed the HashMap issue.
  • But as I have written it is unacceptable that there is no automatic test.
  • The ImmImage has things that can be tested - whether it is really immutable, whether it really caches the things that it is supposed to.
  • You made serious changes to the ImmImage class so you should add yourself to the list of authors.
  • Automatic tests are very important because they verify that the application, its modules and classes behave the way we want them to. And they do it without the need of thousands of mouse clicks.

comment:24 Changed 16 years ago by gogov

  • Owner changed from deni to gogov
  • Status changed from s2c_design_ok to s3a_implementation_started
  • Ticket_group set to GROUP_SCENES_R0

comment:25 Changed 15 years ago by deyan

  • Status changed from s3a_implementation_started to closed
  • Resolution set to obsolete

Batch update from file query-obsoleted.csv

Note: See TracTickets for help on using tickets.