ItemFileDescriptionConsensuswhostatusnotes
1ParamsMgr.hShould be derived from MyBase like all other classes in the VAPOR librariesy Done 
2ParamsMgr.cppError reporting not performed by all class methods. (e.g. SetParams, GetParamsInstance, etc.). Documentation should indicate behavior of each method in the face of invalid arguments.y Done 
3vizwinmgr.cpp, regioneventrouter.cpp,   ControlExec.cpp, etc, etc.Failure to test for error conditions returned by ParamsMgr Get* methods resulting in seg faults.y Done 
4ParamsMgr.hUse const qualifiers for Get* methods wherever possible.y Done 
5ParamsMgr.hNumerous methods (e.g. GetCurrentParamsInstance()) fail to check for valid inputs and behave non-deterministically in when presented with invalid arguments. E.g.  GetCurrentParamsInstance() returns undefined value if input params are invalid (uses map [] operator)y Done 
6ParamsMgr.hWhat is difference between GetParams() and GetParamsInstance()? Document more clearly.y Doneno difference
7ParamsMgr.cpResource mgt: DeleteVisualizerParams() and clearDummyParamsInstances() should  be testing for NULL before deleting.y Done 
8ParamsMgr.cppGetAllParamsInstances() should clear 'resultVec'. Unexpected results possible if resultVec is not empty when passed to GetAllParamsInstances()y Done 
9ParamsMgr.hGetDefaultParams() modifies class if input parameter is invalid. Is this intended? If this accessor method were qualified as const the compiler would detect this.y Done 
10ParamsMgr.hDocument "dummy" methodsy Done 
11ParamsMgr.cppResource mgt: DeleteVisualizerParams() and clearDummyParamsInstances() should not delete memory the class didn't allocate,n   
12paramsmgr.{cpp,h}Name source files consistently with class name: paramsmgr -> ParamsMgry Done 
  • No labels