• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7896: site statistics to be made easier to test and debug, not affecting web stats

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Waiting for Release   patch  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


The statistics script generates the site-wide statistics in addition to stats of webs. Running the statistics script from command line or cron to generate site stats and web stats has the following issues.

  1. If site stats generation fails, it's difficult to figure out where exactly.
  2. If site stats generation causes a fatal error and the statistics script aborts, web stats are not made at all. It's because the site stats is made before web stats.
  3. There is no way to generate the site statistics without generating web stats.

To cope with the above, the following measures will be taken.

  1. During site stats generation, more progress reports are made.
    1. The numbers of topics and attachments of each web are counted. Before each count, the name of the web is printed.
    2. The fact that file size summation is underway is printed.
  2. Site stats is generated after web stats unless otherwise explicitly specified.
  3. The "site" pseudo web is used to specify to generate the site stats with the webs parameter. Together with the previous point, if the statistics script runs from command line without the webs parameter, it's as if all webs are specified plus the "site" pseudo web at the end of the list.

-- TWiki:Main/HideyoImazu - 2020-05-26

Summary site statistics to be made easier to test and debug, not affecting web stats
ReportedBy TWiki:Main.HideyoImazu
Codebase ~twiki4
SVN Range TWiki-6.1.0-trunk, Thu, 29 Aug 2019, build 30672
AppliesTo Engine

Priority Normal
CurrentState Waiting for Release

Checkins TWikirev:30760 TWikirev:30761
TargetRelease patch

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2020-05-26 - HideyoImazu
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback