Sha256: 618bb83376c7291dcf191ad2feaae9f05e3d4014778da25514bba04c46f1cab5

Contents?: true

Size: 1.28 KB

Versions: 20

Compression:

Stored size: 1.28 KB

Contents

%h1 Cobweb Statistics

%h4= @status

%table
  %tr
    %th Page Count
    %th Asset Count
    %th Redirect Count  
  %tr
    %td= @statistics[:page_count]
    %td= @statistics[:asset_count]
    %td= @statistics[:total_redirects]  

%table
  %tr
    %th Total Page Size
    %th Total Asset Size
  %tr
    %td= @statistics[:page_size]
    %td= @statistics[:asset_size]

%table
  %tr
    %th Crawled
    %th Queued
  %tr
    %td= @statistics[:crawl_counter]
    %td= @statistics[:queue_counter]


%table
  %tr
    %th{:colspan => 2} Response Times
  %tr
    %th Average
    %td= @statistics[:average_response_time]
  %tr
    %th Maximum
    %td= @statistics[:maximum_response_time]
  %tr
    %th Minimum
    %td= @statistics[:minimum_response_time]

%table
  %tr
    %th{:colspan => 2} Content Sizes
  %tr
    %th Average
    %td= @statistics[:average_length]
  %tr
    %th Maximum
    %td= @statistics[:maximum_length]
  %tr
    %th Minimum
    %td= @statistics[:minimum_length]
  %tr
    %th Total
    %td= @statistics[:total_length]

%table
  - @statistics[:mime_counts].keys.each do |mime_type|
    %tr
      %td= mime_type
      %td= @statistics[:mime_counts][mime_type]

%table
  - @statistics[:status_counts].keys.each do |status|
    %tr
      %td= status
      %td= @statistics[:status_counts][status]

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
cobweb-0.0.38 views/statistics.haml
cobweb-0.0.37 views/statistics.haml
cobweb-0.0.36 views/statistics.haml
cobweb-0.0.34 views/statistics.haml
cobweb-0.0.33 views/statistics.haml
cobweb-0.0.32 views/statistics.haml
cobweb-0.0.31 views/statistics.haml
cobweb-0.0.30 views/statistics.haml
cobweb-0.0.29 views/statistics.haml
cobweb-0.0.28 views/statistics.haml
cobweb-0.0.27 views/statistics.haml
cobweb-0.0.26 views/statistics.haml
cobweb-0.0.25 views/statistics.haml
cobweb-0.0.24 views/statistics.haml
cobweb-0.0.22 views/statistics.haml
cobweb-0.0.21 views/statistics.haml
cobweb-0.0.20 views/statistics.haml
cobweb-0.0.19 views/statistics.haml
cobweb-0.0.18 views/statistics.haml
cobweb-0.0.17 views/statistics.haml