Difference: SourceCode (20 vs. 21)

Revision 212018-07-16 - TWikiContributor

Line: 105 to 105
  This package doesn't smell
Added:
>
>

TWiki::Configure::ImgTool

This class is a singleton that offers URLs for the images (logos, warning, info) used during configuration - when neither pub nor data nor template directories are reliably available.

All the methods can be called either as class methods or as object methods on the singleton:

  • Class method:
    $img = "=<img src=" . TWiki::Configure::ImgTool->logo . "/>"
  • Object method:
    my $imgtool = TWiki::Configure::ImgTool->instance; $img = "=<img src=" . $imgtool->logo . "/>"

This package doesn't smell

 

TWiki::Configure::Load

This module consists of just a single subroutine readConfig. It allows to

Line: 1064 to 1083
 
Changed:
<
<
This package has smell factor of 4
>
>
This package has smell factor of 3
 

TWiki::UserMapping

Line: 1235 to 1254
 This package has smell factor of 14


Changed:
<
<
There were a total of 218 smells
>
>
There were a total of 217 smells
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.SourceCode.