• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

m-lab / scraper-sync
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: turn-it-down
DEFAULT BRANCH: master
Repo Added 10 May 2017 08:53PM UTC
Files 2
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH timing
branch: timing
CHANGE BRANCH
x
Reset
  • timing
  • 2.0
  • 2.1
  • 2.2
  • 2.3
  • master
  • request-counter
  • sandbox-soltesz
  • scraper-sync-node
  • staging
  • sync-resource
  • turn-it-down

pending completion
184

push

travis-ci

gfr10598
Add request and datastore time histos
# Test coverage is as follows:
# Name           Stmts   Miss  Cover   Missing
# --------------------------------------------
# sync.py          226      0   100%
# sync_test.py     225      0   100%
# --------------------------------------------
# TOTAL            451      0   100%
#
# The Python linter found the following issues:
#
# ------------------------------------
# Your code has been rated at 10.00/10
#
#
# A selection of Python formatters recommend the following changes:
#   unify :
#   autoflake :
#   autopep8 --max-line-length 80 -d :
# --- original/sync.py
# +++ fixed/sync.py
# @@ -101,6 +101,7 @@
#  DATASTORE_TIMES = prometheus_client.Histogram(
#      'datastore_time_seconds',
#      'Running time of datastore requests')
# +
#
#  class SyncException(Exception):
#      """The exceptions this system raises."""
# @@ -166,6 +167,7 @@
#          answer[k] = status_entity.get(k, '')
#      return answer
#
# +
#  @DATASTORE_TIMES.time()
#  def get_fleet_data(namespace, rsync_url_fragment=None):
#      """Returns a list of dictionaries, one for every entry requested.
# @@ -202,7 +204,7 @@
#          elif parsed_path.path == '/json_status':
#              self.do_scraper_status(parsed_path.query)
#          else:
# -#            with REQUEST_TIMES.time()
# +            #            with REQUEST_TIMES.time()
#              self.send_error(404)
#
#      @REQUEST_TIMES_ROOT_URL.time()
#   docformatter --no-blank --wrap-summaries 80 --wrap-descriptions 80 :

451 of 451 relevant lines covered (100.0%)

1.0 hits per line

Relevant lines Covered
Build:
Build:
451 RELEVANT LINES 451 COVERED LINES
1.0 HITS PER LINE
Source Files on timing
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
184 timing Add request and datastore time histos # Test coverage is as follows: # Name Stmts Miss Cover Missing # -------------------------------------------- # sync.py 226 0 100% # sync_test.py 225 0 100% # --------... push 04 Oct 2017 04:16PM UTC gfr10598 travis-ci pending completion  
See All Builds (285)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc