interface/src/app/sample/sampleDetail.component.js
Function controller
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function(Sample, Experiment, $log) {
var ctrl = this;
ctrl.makeHref = Experiment.makeHref;
ctrl.$onInit = function() {
Function show
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ctrl.show = function(id) {
if (!id) {
$log.warn('adage.sampleDetail.component: show() called with id', id);
return;
}