code: function addParameter(prop, object, key) {
                  var value = _.result(object, key);
                  if (value !== undefined && value !== null && sonarOptions.excludedProperties.indexOf(prop) === -1) {
                      args.push('-D' + prop + '=' + value);
                  }
              }
docs: Add the parameter (-D) only when the 'key' exists in the 'object'