This file is indexed.

/usr/share/shake/html/shake-progress.js is in libghc-shake-data 0.15.5+dfsg-4build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*jsl:option explicit*/
"use strict";

// Data
//     {name :: String
//     ,values :: [Progress]
//     }
//
// Progress
//     {idealSecs :: Double
//     ,idealPerc :: Double
//     ,actualSecs :: Double
//     ,actualPerc :: Double
//     }

$(function(){
    $(".version").html("Generated by <a href='http://shakebuild.com'>Shake " + version + "</a>.");
    $("#output").html("");
    for (var i = 0; i < shake.length; i++)
    {
        var x = shake[i];
        var actual = [];
        var ideal = [];
        // Start at t = 5 seconds, since the early progress jumps a lot
        for (var t = 5; t < x.values.length; t++)
        {
            var y = x.values[t];
            actual.push([y.idealSecs, y.actualSecs]);
            ideal.push([y.idealSecs, y.idealSecs]);
        }
        var ys = [{data:ideal, color:"gray"}, {label:x.name, data:actual, color:"red"}];
        var div = $("<div class='plot'>");
        $("#output").append(div);
        $.plot(div, ys, {
            xaxis: {
                transform: function (v) { return -v; },
                inverseTransform: function (v) { return -v; }
            }
        });
    }
})