Feature #1741

Refactor the cscripts to reduce the Sonar issues

Added by Knödlseder Jürgen almost 9 years ago. Updated almost 8 years ago.

Status:In ProgressStart date:
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

50%

Category:-
Target version:-
Duration:

Description

There is a large number of Sonar issues for cscripts. The issues should be taken into account and the cscripts refactored.


Recurrence

No recurrence.


Related issues

Related to ctools - Feature #1742: Write ctools coding conventions Closed 04/18/2016
Related to ctools - Action #1828: Enhance the code quality Closed 07/29/2016

History

#1 Updated by Knödlseder Jürgen almost 9 years ago

  • Target version set to 1.1.0
  • Start date set to 03/12/2016
  • % Done changed from 0 to 10

I started with the work on cscaldb. This can serve as example. Note that I made method “private” by adding an underscore, and I introduced new provide methods to break the code into smaller pieces.

The usage of an underscore for private methods should be added to the (yet to be written) ctools coding conventions. See #1472.

#2 Updated by Knödlseder Jürgen almost 9 years ago

  • Related to Feature #1742: Write ctools coding conventions added

#3 Updated by Knödlseder Jürgen over 8 years ago

  • Status changed from New to In Progress
  • Target version changed from 1.1.0 to 1.2.0

#4 Updated by Knödlseder Jürgen over 8 years ago

#5 Updated by Knödlseder Jürgen over 8 years ago

  • % Done changed from 10 to 50

Much of the work has been done under #1828. There is still some work to do to reduce the minor issues.

#6 Updated by Knödlseder Jürgen almost 8 years ago

  • Target version deleted (1.2.0)
  • Start date deleted (03/12/2016)

Also available in: Atom PDF