ActivityWatch/aw-watcher-web

View on GitHub

Showing 1 of 1 total issue

Function sendHeartbeat has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  sendHeartbeat: function(timestamp, data, pulsetime) {
    if (this.testing === null)
      return;

    var payload = {
Severity: Minor
Found in src/client.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language