Stryker

app.js - Stryker report

Summary

File
Mutation score
# Killed
# Survived
# Timeout
# No coverage
# Errors
Total detected
Total undetected
Total mutants
app.js
88%
8/9 8 1 0 0 0 8 1 9

Code

(function (angular)0{
    'use strict';

    function todoCtrl ()1{

        var $ctrl = this;

        $ctrl.$onInit = function () 2{
            $ctrl.add = function (a, b) 3{
              var result = 4a + b;
              return result;
            };

            $ctrl.and = function (a, b) 5{
              var result = 6a && b;
              return result;
            };

            $ctrl.or = function (a, b) 7{
              var result = 8a || b;
              return result;
            };
        }

    }

    angular.module('todoApp', [])
        .component('todoComponent', {
            controller: todoCtrl
        })
})(angular);