1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-28 10:24:11 +01:00

Cleanup the unit tests and add some unit tests for controllers

This commit is contained in:
Lukas Reschke 2015-02-11 19:33:33 +01:00
parent bedb99a407
commit ff24a91f48
28 changed files with 6702 additions and 498 deletions

View File

@ -3,28 +3,33 @@ php:
- 5.4
- 5.5
- 5.6
- hhvm
- 7
env:
global:
- CORE_BRANCH=master
- APP_NAME=contacts
matrix:
- DB=sqlite
branches:
only:
- master
- /^stable\d+(\.\d+)?$/
env:
global:
- CORE_BRANCH=stable8.1
matrix:
- DB=sqlite
- /^stable\d*$/
before_install:
- wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh
- bash ./before_install.sh contacts $CORE_BRANCH $DB
- cd ../core
- php occ app:enable contacts
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
script:
- cd apps/contacts
- find . -name \*.php -not -path './l10n/*' -exec php -l "{}" \;
- phpunit --configuration tests/phpunit.xml --testsuite unit-tests --coverage-clover clover.xml
# Test lint
- cd ../core/apps/$APP_NAME
- find . -name \*.php -exec php -l "{}" \;
# Run phpunit tests
- cd tests
- phpunit --configuration phpunit.xml --testsuite unit-tests
# Create coverage report
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then wget https://scrutinizer-ci.com/ocular.phar; fi"
@ -32,11 +37,11 @@ script:
matrix:
include:
- php: 5.4
env: DB=mysql
# - php: 5.4
# env: DB=pgsql
- php: 5.4
env: DB=mysql
- php: 5.4
env: DB=pgsql
allow_failures:
- php: hhvm
fast_finish: true
- php: hhvm
- php: 7
fast_finish: true

View File

@ -6,9 +6,29 @@
* later.
* See the COPYING-README file.
*/
namespace OCA\Contacts;
namespace OCA\Contacts\AppInfo;
use OCA\Contacts\Dispatcher;
use OCP\AppFramework\App;
$app = new App('contacts');
$app->registerRoutes(
$this,
[
'routes' => [
[
'name' => 'page#index',
'url' => '/',
'verb' => 'GET',
],
[
'name' => 'settings#set',
'url' => 'preference/set',
'verb' => 'POST',
],
]
]
);
//define the routes
$this->create('contacts_index', '/')
@ -437,7 +457,7 @@ $this->create('contacts_categories_removefrom', 'groups/removefrom/{categoryId}'
)
->requirements(array('categoryId'));
$this->create('contacts_setpreference', 'preference/set')
$this->create('contacts_index_properties', 'indexproperties/{user}/')
->post()
->action(
function($params) {

View File

@ -10,26 +10,42 @@
namespace OCA\Contacts\Controller;
use OCA\Contacts\App,
OCP\AppFramework\Controller,
OCA\Contacts\Utils\Properties,
OCA\Contacts\ImportManager,
OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IRequest;
use OCA\Contacts\Utils\Properties;
use OCA\Contacts\ImportManager;
use OCA\Contacts\Factory\UtilFactory;
/**
* Controller class for groups/categories
*/
class PageController extends Controller {
/** @var ImportManager */
private $importManager;
/** @var UtilFactory */
private $utilFactory;
/**
* @param string $AppName
* @param IRequest $request
* @param ImportManager $importManager
* @param UtilFactory $utilFactory
*/
public function __construct($AppName,
IRequest $request,
ImportManager $importManager,
UtilFactory $utilFactory){
parent::__construct($AppName, $request);
$this->importManager = $importManager;
$this->utilFactory = $utilFactory;
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function index() {
\OC::$server->getNavigationManager()->setActiveEntry($this->appName);
$importManager = new ImportManager();
$imppTypes = Properties::getTypesForProperty('IMPP');
$adrTypes = Properties::getTypesForProperty('ADR');
$phoneTypes = Properties::getTypesForProperty('TEL');
@ -41,7 +57,7 @@ class PageController extends Controller {
$imProtocols[$name] = $values['displayname'];
}
$maxUploadFilesize = \OCP\Util::maxUploadFilesize('/');
$maxUploadFilesize = $this->utilFactory->maxUploadFilesize('/');
\OCP\Util::addScript('placeholder', null);
\OCP\Util::addScript('../vendor/blueimp-md5/js/md5', null);
@ -49,17 +65,17 @@ class PageController extends Controller {
\OCP\Util::addScript('avatar', null);
$response = new TemplateResponse($this->appName, 'contacts');
$response->setParams(array(
$response->setParams([
'uploadMaxFilesize' => $maxUploadFilesize,
'uploadMaxHumanFilesize' => \OCP\Util::humanFileSize($maxUploadFilesize),
'uploadMaxHumanFilesize' => $this->utilFactory->humanFileSize($maxUploadFilesize),
'phoneTypes' => $phoneTypes,
'emailTypes' => $emailTypes,
'cloudTypes' => $cloudTypes,
'adrTypes' => $adrTypes,
'imppTypes' => $imppTypes,
'imProtocols' => $imProtocols,
'importManager' => $importManager,
));
'importManager' => $this->importManager,
]);
return $response;
}

View File

@ -0,0 +1,71 @@
<?php
/**
* @author Thomas Tanghus
* @copyright 2013-2014 Thomas Tanghus (thomas@tanghus.net)
* @copyright 2015 Lukas Reschke lukas@owncloud.com
*
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Contacts\Controller;
use OCP\AppFramework\Http\JSONResponse;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\IConfig;
use OCP\IRequest;
/**
* Controller class for groups/categories
*/
class SettingsController extends Controller {
/** @var IConfig */
private $config;
/** @var string */
private $userId;
/**
* @param string $AppName
* @param IRequest $request
* @param IConfig $config
* @param string $UserId
*/
public function __construct($AppName,
IRequest $request,
IConfig $config,
$UserId){
parent::__construct($AppName, $request);
$this->config = $config;
$this->userId = $UserId;
}
/**
* @NoAdminRequired
*
* @param string $key
* @param string $value
* @return JSONResponse
*/
public function set($key = '', $value = '') {
$response = new JSONResponse();
if($key === '' || $value === '') {
$response->setStatus(Http::STATUS_PRECONDITION_FAILED);
return $response;
}
try {
$this->config->setUserValue($this->userId, $this->appName, $key, $value);
$response->setData([
'key' => $key,
'value' => $value,
]);
return $response;
} catch (\Exception $e) {
$response->setStatus(Http::STATUS_INTERNAL_SERVER_ERROR);
return $response;
}
}
}

40
factory/utilfactory.php Normal file
View File

@ -0,0 +1,40 @@
<?php
/**
* @author Lukas Reschke
* @copyright 2015 Lukas Reschke lukas@owncloud.com
*
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Contacts\Factory;
use OCP\Util;
/**
* @package OCA\Contacts\Factory
*/
class UtilFactory {
/**
* calculates the maximum upload size respecting system settings, free space
* and user quota
*
* @param string $dir the current folder where the user currently operates
* @param int $free the number of bytes free on the storage holding $dir,
* if not set this will be received from the storage directly
* @return int number of bytes representing
*/
public function maxUploadFilesize($dir, $free = null) {
return Util::maxUploadFilesize($dir, $free);
}
/**
* Make a human file size (2048 to 2 kB)
* @param int $bytes file size in bytes
* @return string a human readable file size
*/
public function humanFileSize($bytes) {
return Util::humanFileSize($bytes);
}
}

View File

@ -1,54 +0,0 @@
<?php
/**
* @author Thomas Tanghus
* @copyright 2013-2014 Thomas Tanghus (thomas@tanghus.net)
*
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Contacts\Controller;
use OCA\Contacts\App,
OCA\Contacts\JSONResponse,
OCP\AppFramework\Controller;
/**
* Controller class for groups/categories
*/
class SettingsController extends Controller {
/**
* @NoAdminRequired
*/
public function set() {
$request = $this->request;
//$request = json_decode(file_get_contents('php://input'), true);
$key = $request->post['key'];
$value = $request->post['value'];
$response = new JSONResponse();
if(is_null($key) || $key === "") {
$response->bailOut(App::$l10n->t('No key is given.'));
}
if(is_null($value) || $value === "") {
$response->bailOut(App::$l10n->t('No value is given.'));
}
if(\OCP\Config::setUserValue(\OC::$server->getUserSession()->getUser()->getUId(), 'contacts', $key, $value)) {
$response->setParams(array(
'key' => $key,
'value' => $value)
);
return $response;
} else {
$response->bailOut(App::$l10n->t(
'Could not set preference: ' . $key . ':' . $value)
);
}
}
}

View File

@ -1,61 +0,0 @@
# ownCloud - Contacts
#
# @author Thomas Tanghus
# @copyright 2013 Thomas Tanghus (thomas@tanghus.net)
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
# License as published by the Free Software Foundation; either
# version 3 of the License, or any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with this library. If not, see <http://www.gnu.org/licenses/>.
# This makefile is for general project specific stuff like packaging a new
# release for the app store and running php unittests which require core
app_name=contacts
build_directory=build/
package_name=$(build_directory)$(app_name)
#all:
# # compile the coffeescript
# cd js; make
#clean:
# rm -rf $(build_directory)
#dist: clean
# mkdir -p $(build_directory)
# git archive HEAD --format=zip --prefix=$(app_name)/ > $(package_name).zip
# tests
test: javascript-tests unit-tests integration-tests acceptance-tests
unit-tests:
ls
phpunit --version
phpunit --verbose contacts
#tests/vobject.php
integration-tests:
phpunit tests/integration
acceptance-tests:
cd tests/acceptance; make headless
javascript-tests:
cd js; make test

View File

@ -1,20 +1,20 @@
<?php
if(!defined('PHPUNIT_RUN')) {
global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true;
if (!defined('PHPUNIT_RUN')) {
define('PHPUNIT_RUN', 1);
}
require_once __DIR__.'/../../../lib/base.php';
if(!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
include_once('lib/testcase.php');
OC_Hook::clear();
OC_Log::$enabled = true;
\OCP\Util::connectHook('OCA\Contacts', 'pre_deleteContact', '\OCA\Contacts\Hooks', 'contactDeletion');
\Sabre\VObject\Component\VCard::$componentMap['VCARD'] = '\OCA\Contacts\VObject\VCard';
\Sabre\VObject\Component\VCard::$propertyMap['CATEGORIES'] = '\OCA\Contacts\VObject\GroupProperty';
OC_Log::$enabled = false;
OCP\Util::connectHook('OCA\Contacts', 'pre_deleteContact', '\OCA\Contacts\Hooks', 'contactDeletion');
Sabre\VObject\Component\VCard::$componentMap['VCARD'] = '\OCA\Contacts\VObject\VCard';
Sabre\VObject\Component\VCard::$propertyMap['CATEGORIES'] = '\OCA\Contacts\VObject\GroupProperty';

6242
tests/clover.xml Normal file
View File

@ -0,0 +1,6242 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1435757501">
<project timestamp="1435757501">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/admin.php">
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="17" type="stmt" count="0"/>
<metrics loc="16" ncloc="7" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="2" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/appinfo/app.php">
<line num="12" type="stmt" count="0"/>
<line num="13" type="stmt" count="0"/>
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="17" type="stmt" count="0"/>
<line num="18" type="stmt" count="0"/>
<line num="19" type="stmt" count="0"/>
<line num="20" type="stmt" count="0"/>
<line num="21" type="stmt" count="0"/>
<line num="22" type="stmt" count="0"/>
<line num="24" type="stmt" count="0"/>
<line num="25" type="stmt" count="0"/>
<line num="26" type="stmt" count="0"/>
<line num="27" type="stmt" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="33" type="stmt" count="0"/>
<line num="35" type="stmt" count="0"/>
<line num="36" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<metrics loc="57" ncloc="48" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="38" coveredstatements="0" elements="38" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/appinfo/remote.php">
<line num="25" type="stmt" count="0"/>
<line num="26" type="stmt" count="0"/>
<line num="27" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="33" type="stmt" count="0"/>
<line num="36" type="stmt" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<metrics loc="84" ncloc="46" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="0" elements="44" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/appinfo/routes.php">
<line num="14" type="stmt" count="0"/>
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="17" type="stmt" count="0"/>
<line num="18" type="stmt" count="0"/>
<line num="19" type="stmt" count="0"/>
<line num="20" type="stmt" count="0"/>
<line num="21" type="stmt" count="0"/>
<line num="22" type="stmt" count="0"/>
<line num="23" type="stmt" count="0"/>
<line num="24" type="stmt" count="0"/>
<line num="25" type="stmt" count="0"/>
<line num="26" type="stmt" count="0"/>
<line num="27" type="stmt" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="34" type="stmt" count="0"/>
<line num="35" type="stmt" count="0"/>
<line num="36" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="152" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="180" type="stmt" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="183" type="stmt" count="0"/>
<line num="184" type="stmt" count="0"/>
<line num="185" type="stmt" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="194" type="stmt" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="196" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="198" type="stmt" count="0"/>
<line num="200" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="211" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<line num="215" type="stmt" count="0"/>
<line num="216" type="stmt" count="0"/>
<line num="217" type="stmt" count="0"/>
<line num="218" type="stmt" count="0"/>
<line num="219" type="stmt" count="0"/>
<line num="220" type="stmt" count="0"/>
<line num="222" type="stmt" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="224" type="stmt" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="227" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="229" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="234" type="stmt" count="0"/>
<line num="235" type="stmt" count="0"/>
<line num="237" type="stmt" count="0"/>
<line num="238" type="stmt" count="0"/>
<line num="239" type="stmt" count="0"/>
<line num="240" type="stmt" count="0"/>
<line num="241" type="stmt" count="0"/>
<line num="242" type="stmt" count="0"/>
<line num="244" type="stmt" count="0"/>
<line num="245" type="stmt" count="0"/>
<line num="246" type="stmt" count="0"/>
<line num="248" type="stmt" count="0"/>
<line num="249" type="stmt" count="0"/>
<line num="250" type="stmt" count="0"/>
<line num="251" type="stmt" count="0"/>
<line num="252" type="stmt" count="0"/>
<line num="253" type="stmt" count="0"/>
<line num="255" type="stmt" count="0"/>
<line num="256" type="stmt" count="0"/>
<line num="257" type="stmt" count="0"/>
<line num="259" type="stmt" count="0"/>
<line num="260" type="stmt" count="0"/>
<line num="261" type="stmt" count="0"/>
<line num="262" type="stmt" count="0"/>
<line num="263" type="stmt" count="0"/>
<line num="264" type="stmt" count="0"/>
<line num="266" type="stmt" count="0"/>
<line num="267" type="stmt" count="0"/>
<line num="268" type="stmt" count="0"/>
<line num="270" type="stmt" count="0"/>
<line num="271" type="stmt" count="0"/>
<line num="272" type="stmt" count="0"/>
<line num="273" type="stmt" count="0"/>
<line num="274" type="stmt" count="0"/>
<line num="275" type="stmt" count="0"/>
<line num="277" type="stmt" count="0"/>
<line num="278" type="stmt" count="0"/>
<line num="279" type="stmt" count="0"/>
<line num="281" type="stmt" count="0"/>
<line num="282" type="stmt" count="0"/>
<line num="283" type="stmt" count="0"/>
<line num="284" type="stmt" count="0"/>
<line num="285" type="stmt" count="0"/>
<line num="286" type="stmt" count="0"/>
<line num="288" type="stmt" count="0"/>
<line num="289" type="stmt" count="0"/>
<line num="290" type="stmt" count="0"/>
<line num="292" type="stmt" count="0"/>
<line num="293" type="stmt" count="0"/>
<line num="294" type="stmt" count="0"/>
<line num="295" type="stmt" count="0"/>
<line num="296" type="stmt" count="0"/>
<line num="298" type="stmt" count="0"/>
<line num="299" type="stmt" count="0"/>
<line num="300" type="stmt" count="0"/>
<line num="302" type="stmt" count="0"/>
<line num="303" type="stmt" count="0"/>
<line num="304" type="stmt" count="0"/>
<line num="305" type="stmt" count="0"/>
<line num="306" type="stmt" count="0"/>
<line num="307" type="stmt" count="0"/>
<line num="309" type="stmt" count="0"/>
<line num="310" type="stmt" count="0"/>
<line num="311" type="stmt" count="0"/>
<line num="313" type="stmt" count="0"/>
<line num="314" type="stmt" count="0"/>
<line num="315" type="stmt" count="0"/>
<line num="316" type="stmt" count="0"/>
<line num="317" type="stmt" count="0"/>
<line num="318" type="stmt" count="0"/>
<line num="320" type="stmt" count="0"/>
<line num="321" type="stmt" count="0"/>
<line num="322" type="stmt" count="0"/>
<line num="324" type="stmt" count="0"/>
<line num="325" type="stmt" count="0"/>
<line num="326" type="stmt" count="0"/>
<line num="327" type="stmt" count="0"/>
<line num="328" type="stmt" count="0"/>
<line num="329" type="stmt" count="0"/>
<line num="331" type="stmt" count="0"/>
<line num="332" type="stmt" count="0"/>
<line num="333" type="stmt" count="0"/>
<line num="335" type="stmt" count="0"/>
<line num="336" type="stmt" count="0"/>
<line num="337" type="stmt" count="0"/>
<line num="338" type="stmt" count="0"/>
<line num="339" type="stmt" count="0"/>
<line num="340" type="stmt" count="0"/>
<line num="342" type="stmt" count="0"/>
<line num="343" type="stmt" count="0"/>
<line num="344" type="stmt" count="0"/>
<line num="346" type="stmt" count="0"/>
<line num="347" type="stmt" count="0"/>
<line num="348" type="stmt" count="0"/>
<line num="349" type="stmt" count="0"/>
<line num="350" type="stmt" count="0"/>
<line num="351" type="stmt" count="0"/>
<line num="353" type="stmt" count="0"/>
<line num="354" type="stmt" count="0"/>
<line num="355" type="stmt" count="0"/>
<line num="357" type="stmt" count="0"/>
<line num="358" type="stmt" count="0"/>
<line num="359" type="stmt" count="0"/>
<line num="360" type="stmt" count="0"/>
<line num="361" type="stmt" count="0"/>
<line num="362" type="stmt" count="0"/>
<line num="365" type="stmt" count="0"/>
<line num="366" type="stmt" count="0"/>
<line num="367" type="stmt" count="0"/>
<line num="369" type="stmt" count="0"/>
<line num="370" type="stmt" count="0"/>
<line num="371" type="stmt" count="0"/>
<line num="372" type="stmt" count="0"/>
<line num="373" type="stmt" count="0"/>
<line num="374" type="stmt" count="0"/>
<line num="376" type="stmt" count="0"/>
<line num="377" type="stmt" count="0"/>
<line num="378" type="stmt" count="0"/>
<line num="380" type="stmt" count="0"/>
<line num="381" type="stmt" count="0"/>
<line num="382" type="stmt" count="0"/>
<line num="383" type="stmt" count="0"/>
<line num="384" type="stmt" count="0"/>
<line num="385" type="stmt" count="0"/>
<line num="388" type="stmt" count="0"/>
<line num="389" type="stmt" count="0"/>
<line num="390" type="stmt" count="0"/>
<line num="392" type="stmt" count="0"/>
<line num="393" type="stmt" count="0"/>
<line num="394" type="stmt" count="0"/>
<line num="395" type="stmt" count="0"/>
<line num="396" type="stmt" count="0"/>
<line num="397" type="stmt" count="0"/>
<line num="399" type="stmt" count="0"/>
<line num="400" type="stmt" count="0"/>
<line num="401" type="stmt" count="0"/>
<line num="403" type="stmt" count="0"/>
<line num="404" type="stmt" count="0"/>
<line num="405" type="stmt" count="0"/>
<line num="406" type="stmt" count="0"/>
<line num="407" type="stmt" count="0"/>
<line num="409" type="stmt" count="0"/>
<line num="410" type="stmt" count="0"/>
<line num="411" type="stmt" count="0"/>
<line num="413" type="stmt" count="0"/>
<line num="414" type="stmt" count="0"/>
<line num="415" type="stmt" count="0"/>
<line num="416" type="stmt" count="0"/>
<line num="417" type="stmt" count="0"/>
<line num="419" type="stmt" count="0"/>
<line num="420" type="stmt" count="0"/>
<line num="421" type="stmt" count="0"/>
<line num="423" type="stmt" count="0"/>
<line num="424" type="stmt" count="0"/>
<line num="425" type="stmt" count="0"/>
<line num="426" type="stmt" count="0"/>
<line num="427" type="stmt" count="0"/>
<line num="429" type="stmt" count="0"/>
<line num="430" type="stmt" count="0"/>
<line num="431" type="stmt" count="0"/>
<line num="433" type="stmt" count="0"/>
<line num="434" type="stmt" count="0"/>
<line num="435" type="stmt" count="0"/>
<line num="436" type="stmt" count="0"/>
<line num="437" type="stmt" count="0"/>
<line num="439" type="stmt" count="0"/>
<line num="440" type="stmt" count="0"/>
<line num="441" type="stmt" count="0"/>
<line num="443" type="stmt" count="0"/>
<line num="444" type="stmt" count="0"/>
<line num="445" type="stmt" count="0"/>
<line num="446" type="stmt" count="0"/>
<line num="447" type="stmt" count="0"/>
<line num="449" type="stmt" count="0"/>
<line num="450" type="stmt" count="0"/>
<line num="451" type="stmt" count="0"/>
<line num="453" type="stmt" count="0"/>
<line num="454" type="stmt" count="0"/>
<line num="455" type="stmt" count="0"/>
<line num="456" type="stmt" count="0"/>
<line num="457" type="stmt" count="0"/>
<line num="458" type="stmt" count="0"/>
<line num="460" type="stmt" count="0"/>
<line num="461" type="stmt" count="0"/>
<line num="462" type="stmt" count="0"/>
<line num="464" type="stmt" count="0"/>
<line num="465" type="stmt" count="0"/>
<line num="466" type="stmt" count="0"/>
<line num="467" type="stmt" count="0"/>
<line num="468" type="stmt" count="0"/>
<line num="470" type="stmt" count="0"/>
<line num="471" type="stmt" count="0"/>
<line num="472" type="stmt" count="0"/>
<line num="473" type="stmt" count="0"/>
<line num="474" type="stmt" count="0"/>
<line num="476" type="stmt" count="0"/>
<line num="477" type="stmt" count="0"/>
<line num="478" type="stmt" count="0"/>
<line num="479" type="stmt" count="0"/>
<line num="481" type="stmt" count="0"/>
<line num="483" type="stmt" count="0"/>
<line num="485" type="stmt" count="0"/>
<line num="486" type="stmt" count="0"/>
<line num="487" type="stmt" count="0"/>
<line num="488" type="stmt" count="0"/>
<line num="489" type="stmt" count="0"/>
<line num="490" type="stmt" count="0"/>
<line num="491" type="stmt" count="0"/>
<metrics loc="491" ncloc="476" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="389" coveredstatements="0" elements="389" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/appinfo/update.php">
<line num="10" type="stmt" count="0"/>
<line num="12" type="stmt" count="0"/>
<line num="14" type="stmt" count="0"/>
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="18" type="stmt" count="0"/>
<line num="19" type="stmt" count="0"/>
<line num="22" type="stmt" count="0"/>
<line num="23" type="stmt" count="0"/>
<line num="26" type="stmt" count="0"/>
<line num="27" type="stmt" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="35" type="stmt" count="0"/>
<line num="36" type="stmt" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<metrics loc="52" ncloc="33" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="0" elements="32" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/carddav.php">
<line num="2" type="stmt" count="0"/>
<line num="3" type="stmt" count="0"/>
<line num="4" type="stmt" count="0"/>
<line num="6" type="stmt" count="0"/>
<line num="7" type="stmt" count="0"/>
<metrics loc="6" ncloc="6" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="4" coveredelements="0"/>
</file>
<package name="OCA\Contacts\Controller">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/controller/pagecontroller.php">
<class name="PageController" namespace="OCA\Contacts\Controller">
<metrics methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="32" elements="34" coveredelements="34"/>
</class>
<line num="35" type="method" name="__construct" crap="1" count="1"/>
<line num="39" type="stmt" count="1"/>
<line num="40" type="stmt" count="1"/>
<line num="41" type="stmt" count="1"/>
<line num="42" type="stmt" count="1"/>
<line num="48" type="method" name="index" crap="2" count="1"/>
<line num="49" type="stmt" count="1"/>
<line num="50" type="stmt" count="1"/>
<line num="51" type="stmt" count="1"/>
<line num="52" type="stmt" count="1"/>
<line num="53" type="stmt" count="1"/>
<line num="54" type="stmt" count="1"/>
<line num="55" type="stmt" count="1"/>
<line num="56" type="stmt" count="1"/>
<line num="57" type="stmt" count="1"/>
<line num="58" type="stmt" count="1"/>
<line num="60" type="stmt" count="1"/>
<line num="62" type="stmt" count="1"/>
<line num="63" type="stmt" count="1"/>
<line num="64" type="stmt" count="1"/>
<line num="65" type="stmt" count="1"/>
<line num="67" type="stmt" count="1"/>
<line num="68" type="stmt" count="1"/>
<line num="69" type="stmt" count="1"/>
<line num="70" type="stmt" count="1"/>
<line num="71" type="stmt" count="1"/>
<line num="72" type="stmt" count="1"/>
<line num="73" type="stmt" count="1"/>
<line num="74" type="stmt" count="1"/>
<line num="75" type="stmt" count="1"/>
<line num="76" type="stmt" count="1"/>
<line num="77" type="stmt" count="1"/>
<line num="78" type="stmt" count="1"/>
<line num="80" type="stmt" count="1"/>
<metrics loc="82" ncloc="59" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="32" elements="34" coveredelements="34"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/controller/settingscontroller.php">
<class name="SettingsController" namespace="OCA\Contacts\Controller">
<metrics methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="17" elements="19" coveredelements="19"/>
</class>
<line num="35" type="method" name="__construct" crap="1" count="3"/>
<line num="39" type="stmt" count="3"/>
<line num="40" type="stmt" count="3"/>
<line num="41" type="stmt" count="3"/>
<line num="42" type="stmt" count="3"/>
<line num="51" type="method" name="set" crap="4" count="3"/>
<line num="52" type="stmt" count="3"/>
<line num="54" type="stmt" count="3"/>
<line num="55" type="stmt" count="1"/>
<line num="56" type="stmt" count="1"/>
<line num="60" type="stmt" count="2"/>
<line num="61" type="stmt" count="1"/>
<line num="62" type="stmt" count="1"/>
<line num="63" type="stmt" count="1"/>
<line num="64" type="stmt" count="1"/>
<line num="65" type="stmt" count="1"/>
<line num="66" type="stmt" count="1"/>
<line num="67" type="stmt" count="1"/>
<line num="68" type="stmt" count="1"/>
<metrics loc="71" ncloc="44" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="17" elements="19" coveredelements="19"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/controller/addressbookcontroller.php">
<class name="AddressBookController" namespace="OCA\Contacts\Controller">
<metrics methods="12" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="204" coveredstatements="0" elements="216" coveredelements="0"/>
</class>
<line num="13" type="stmt" count="0"/>
<line num="14" type="stmt" count="0"/>
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="17" type="stmt" count="0"/>
<line num="27" type="method" name="__construct" crap="2" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="36" type="method" name="userAddressBooks" crap="12" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="76" type="method" name="getAddressBook" crap="12" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="98" type="method" name="getContacts" crap="210" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="153" type="method" name="addAddressBook" crap="20" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="180" type="method" name="updateAddressBook" crap="2" count="0"/>
<line num="181" type="stmt" count="0"/>
<line num="183" type="stmt" count="0"/>
<line num="185" type="stmt" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="194" type="method" name="deleteAddressBook" crap="20" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="199" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="211" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<line num="214" type="stmt" count="0"/>
<line num="216" type="stmt" count="0"/>
<line num="217" type="stmt" count="0"/>
<line num="218" type="stmt" count="0"/>
<line num="219" type="stmt" count="0"/>
<line num="220" type="stmt" count="0"/>
<line num="222" type="stmt" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="224" type="stmt" count="0"/>
<line num="229" type="method" name="activateAddressBook" crap="2" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="234" type="stmt" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="238" type="stmt" count="0"/>
<line num="239" type="stmt" count="0"/>
<line num="244" type="method" name="addChild" crap="20" count="0"/>
<line num="245" type="stmt" count="0"/>
<line num="247" type="stmt" count="0"/>
<line num="249" type="stmt" count="0"/>
<line num="251" type="stmt" count="0"/>
<line num="252" type="stmt" count="0"/>
<line num="253" type="stmt" count="0"/>
<line num="254" type="stmt" count="0"/>
<line num="255" type="stmt" count="0"/>
<line num="257" type="stmt" count="0"/>
<line num="258" type="stmt" count="0"/>
<line num="259" type="stmt" count="0"/>
<line num="261" type="stmt" count="0"/>
<line num="263" type="stmt" count="0"/>
<line num="265" type="stmt" count="0"/>
<line num="266" type="stmt" count="0"/>
<line num="267" type="stmt" count="0"/>
<line num="268" type="stmt" count="0"/>
<line num="269" type="stmt" count="0"/>
<line num="271" type="stmt" count="0"/>
<line num="272" type="stmt" count="0"/>
<line num="273" type="stmt" count="0"/>
<line num="274" type="stmt" count="0"/>
<line num="275" type="stmt" count="0"/>
<line num="276" type="stmt" count="0"/>
<line num="277" type="stmt" count="0"/>
<line num="278" type="stmt" count="0"/>
<line num="279" type="stmt" count="0"/>
<line num="280" type="stmt" count="0"/>
<line num="281" type="stmt" count="0"/>
<line num="282" type="stmt" count="0"/>
<line num="283" type="stmt" count="0"/>
<line num="288" type="method" name="deleteChild" crap="6" count="0"/>
<line num="289" type="stmt" count="0"/>
<line num="291" type="stmt" count="0"/>
<line num="293" type="stmt" count="0"/>
<line num="295" type="stmt" count="0"/>
<line num="297" type="stmt" count="0"/>
<line num="298" type="stmt" count="0"/>
<line num="299" type="stmt" count="0"/>
<line num="300" type="stmt" count="0"/>
<line num="301" type="stmt" count="0"/>
<line num="303" type="stmt" count="0"/>
<line num="304" type="stmt" count="0"/>
<line num="309" type="method" name="deleteChildren" crap="2" count="0"/>
<line num="310" type="stmt" count="0"/>
<line num="312" type="stmt" count="0"/>
<line num="314" type="stmt" count="0"/>
<line num="315" type="stmt" count="0"/>
<line num="317" type="stmt" count="0"/>
<line num="319" type="stmt" count="0"/>
<line num="320" type="stmt" count="0"/>
<line num="325" type="method" name="moveChild" crap="30" count="0"/>
<line num="326" type="stmt" count="0"/>
<line num="327" type="stmt" count="0"/>
<line num="329" type="stmt" count="0"/>
<line num="333" type="stmt" count="0"/>
<line num="334" type="stmt" count="0"/>
<line num="335" type="stmt" count="0"/>
<line num="337" type="stmt" count="0"/>
<line num="338" type="stmt" count="0"/>
<line num="339" type="stmt" count="0"/>
<line num="340" type="stmt" count="0"/>
<line num="341" type="stmt" count="0"/>
<line num="343" type="stmt" count="0"/>
<line num="346" type="stmt" count="0"/>
<line num="348" type="stmt" count="0"/>
<line num="349" type="stmt" count="0"/>
<line num="350" type="stmt" count="0"/>
<line num="351" type="stmt" count="0"/>
<line num="352" type="stmt" count="0"/>
<line num="354" type="stmt" count="0"/>
<line num="356" type="stmt" count="0"/>
<line num="357" type="stmt" count="0"/>
<line num="359" type="stmt" count="0"/>
<line num="361" type="stmt" count="0"/>
<line num="362" type="stmt" count="0"/>
<line num="363" type="stmt" count="0"/>
<line num="364" type="stmt" count="0"/>
<line num="365" type="stmt" count="0"/>
<line num="367" type="stmt" count="0"/>
<line num="368" type="stmt" count="0"/>
<metrics loc="371" ncloc="302" classes="1" methods="12" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="209" coveredstatements="0" elements="221" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/controller/backendcontroller.php">
<class name="BackendController" namespace="OCA\Contacts\Controller">
<metrics methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="0" elements="36" coveredelements="0"/>
</class>
<line num="13" type="stmt" count="0"/>
<line num="14" type="stmt" count="0"/>
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="27" type="method" name="getConnectors" crap="56" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="33" type="stmt" count="0"/>
<line num="34" type="stmt" count="0"/>
<line num="35" type="stmt" count="0"/>
<line num="36" type="stmt" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="54" type="method" name="enableBackend" crap="2" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="65" type="method" name="backendStatus" crap="2" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<metrics loc="73" ncloc="51" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="37" coveredstatements="0" elements="40" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/controller/contactcontroller.php">
<class name="ContactController" namespace="OCA\Contacts\Controller">
<metrics methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="0" elements="90" coveredelements="0"/>
</class>
<line num="13" type="stmt" count="0"/>
<line num="14" type="stmt" count="0"/>
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="17" type="stmt" count="0"/>
<line num="18" type="stmt" count="0"/>
<line num="28" type="method" name="getContact" crap="6" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="33" type="stmt" count="0"/>
<line num="34" type="stmt" count="0"/>
<line num="36" type="stmt" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="49" type="method" name="saveContact" crap="42" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="80" type="method" name="patch" crap="342" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="152" type="stmt" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<metrics loc="159" ncloc="136" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="93" coveredstatements="0" elements="96" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/controller/contactphotocontroller.php">
<class name="ContactPhotoController" namespace="OCA\Contacts\Controller">
<metrics methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="136" coveredstatements="0" elements="143" coveredelements="0"/>
</class>
<line num="13" type="stmt" count="0"/>
<line num="14" type="stmt" count="0"/>
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="17" type="stmt" count="0"/>
<line num="18" type="stmt" count="0"/>
<line num="19" type="stmt" count="0"/>
<line num="31" type="method" name="__construct" crap="2" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="33" type="stmt" count="0"/>
<line num="34" type="stmt" count="0"/>
<line num="40" type="method" name="getPhoto" crap="56" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="80" type="method" name="uploadPhoto" crap="2" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="107" type="method" name="cacheCurrentPhoto" crap="2" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="137" type="method" name="cacheFileSystemPhoto" crap="6" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="152" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="159" type="stmt" count="0"/>
<line num="166" type="method" name="getTempPhoto" crap="6" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="180" type="stmt" count="0"/>
<line num="187" type="method" name="cropPhoto" crap="56" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="196" type="stmt" count="0"/>
<line num="198" type="stmt" count="0"/>
<line num="200" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="211" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<line num="214" type="stmt" count="0"/>
<line num="216" type="stmt" count="0"/>
<line num="217" type="stmt" count="0"/>
<line num="218" type="stmt" count="0"/>
<line num="220" type="stmt" count="0"/>
<line num="221" type="stmt" count="0"/>
<line num="222" type="stmt" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="224" type="stmt" count="0"/>
<line num="225" type="stmt" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="229" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="234" type="stmt" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="238" type="stmt" count="0"/>
<line num="239" type="stmt" count="0"/>
<metrics loc="240" ncloc="189" classes="1" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="143" coveredstatements="0" elements="150" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/controller/exportcontroller.php">
<class name="ExportController" namespace="OCA\Contacts\Controller">
<metrics methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="42" coveredstatements="0" elements="45" coveredelements="0"/>
</class>
<line num="14" type="stmt" count="0"/>
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="17" type="stmt" count="0"/>
<line num="30" type="method" name="exportAddressBook" crap="20" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="34" type="stmt" count="0"/>
<line num="35" type="stmt" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="58" type="method" name="exportContact" crap="6" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="81" type="method" name="exportSelected" crap="20" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<metrics loc="98" ncloc="69" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="0" elements="49" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/controller/groupcontroller.php">
<class name="GroupController" namespace="OCA\Contacts\Controller">
<metrics methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="225" coveredstatements="0" elements="233" coveredelements="0"/>
</class>
<line num="14" type="stmt" count="0"/>
<line num="15" type="stmt" count="0"/>
<line num="16" type="stmt" count="0"/>
<line num="17" type="stmt" count="0"/>
<line num="18" type="stmt" count="0"/>
<line num="25" type="method" name="__construct" crap="2" count="0"/>
<line num="26" type="stmt" count="0"/>
<line num="27" type="stmt" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="34" type="method" name="getGroups" crap="20" count="0"/>
<line num="35" type="stmt" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="71" type="method" name="addGroup" crap="12" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="94" type="method" name="deleteGroup" crap="90" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="153" type="method" name="renameGroup" crap="90" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="159" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="181" type="stmt" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="184" type="stmt" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="198" type="stmt" count="0"/>
<line num="199" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<line num="218" type="method" name="addToGroup" crap="56" count="0"/>
<line num="219" type="stmt" count="0"/>
<line num="220" type="stmt" count="0"/>
<line num="221" type="stmt" count="0"/>
<line num="222" type="stmt" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="224" type="stmt" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="227" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="229" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="234" type="stmt" count="0"/>
<line num="235" type="stmt" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="237" type="stmt" count="0"/>
<line num="238" type="stmt" count="0"/>
<line num="240" type="stmt" count="0"/>
<line num="241" type="stmt" count="0"/>
<line num="242" type="stmt" count="0"/>
<line num="243" type="stmt" count="0"/>
<line num="244" type="stmt" count="0"/>
<line num="245" type="stmt" count="0"/>
<line num="247" type="stmt" count="0"/>
<line num="249" type="stmt" count="0"/>
<line num="251" type="stmt" count="0"/>
<line num="252" type="stmt" count="0"/>
<line num="253" type="stmt" count="0"/>
<line num="254" type="stmt" count="0"/>
<line num="255" type="stmt" count="0"/>
<line num="257" type="stmt" count="0"/>
<line num="259" type="stmt" count="0"/>
<line num="260" type="stmt" count="0"/>
<line num="261" type="stmt" count="0"/>
<line num="263" type="stmt" count="0"/>
<line num="265" type="stmt" count="0"/>
<line num="266" type="stmt" count="0"/>
<line num="267" type="stmt" count="0"/>
<line num="269" type="stmt" count="0"/>
<line num="270" type="stmt" count="0"/>
<line num="275" type="method" name="removeFromGroup" crap="90" count="0"/>
<line num="276" type="stmt" count="0"/>
<line num="277" type="stmt" count="0"/>
<line num="278" type="stmt" count="0"/>
<line num="279" type="stmt" count="0"/>
<line num="280" type="stmt" count="0"/>
<line num="283" type="stmt" count="0"/>
<line num="284" type="stmt" count="0"/>
<line num="285" type="stmt" count="0"/>
<line num="286" type="stmt" count="0"/>
<line num="287" type="stmt" count="0"/>
<line num="288" type="stmt" count="0"/>
<line num="290" type="stmt" count="0"/>
<line num="291" type="stmt" count="0"/>
<line num="292" type="stmt" count="0"/>
<line num="293" type="stmt" count="0"/>
<line num="294" type="stmt" count="0"/>
<line num="295" type="stmt" count="0"/>
<line num="297" type="stmt" count="0"/>
<line num="298" type="stmt" count="0"/>
<line num="299" type="stmt" count="0"/>
<line num="300" type="stmt" count="0"/>
<line num="301" type="stmt" count="0"/>
<line num="302" type="stmt" count="0"/>
<line num="304" type="stmt" count="0"/>
<line num="306" type="stmt" count="0"/>
<line num="308" type="stmt" count="0"/>
<line num="310" type="stmt" count="0"/>
<line num="311" type="stmt" count="0"/>
<line num="312" type="stmt" count="0"/>
<line num="313" type="stmt" count="0"/>
<line num="315" type="stmt" count="0"/>
<line num="316" type="stmt" count="0"/>
<line num="317" type="stmt" count="0"/>
<line num="318" type="stmt" count="0"/>
<line num="320" type="stmt" count="0"/>
<line num="322" type="stmt" count="0"/>
<line num="323" type="stmt" count="0"/>
<line num="324" type="stmt" count="0"/>
<line num="326" type="stmt" count="0"/>
<line num="327" type="stmt" count="0"/>
<line num="328" type="stmt" count="0"/>
<line num="330" type="stmt" count="0"/>
<line num="331" type="stmt" count="0"/>
<line num="332" type="stmt" count="0"/>
<line num="334" type="stmt" count="0"/>
<line num="335" type="stmt" count="0"/>
<line num="336" type="stmt" count="0"/>
<line num="338" type="stmt" count="0"/>
<line num="339" type="stmt" count="0"/>
<line num="351" type="method" name="displayName" crap="6" count="0"/>
<line num="352" type="stmt" count="0"/>
<line num="353" type="stmt" count="0"/>
<line num="354" type="stmt" count="0"/>
<line num="355" type="stmt" count="0"/>
<line num="356" type="stmt" count="0"/>
<metrics loc="358" ncloc="315" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="230" coveredstatements="0" elements="238" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/controller/importcontroller.php">
<class name="ImportController" namespace="OCA\Contacts\Controller">
<metrics methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="223" coveredelements="0"/>
</class>
<line num="29" type="method" name="__construct" crap="2" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="33" type="stmt" count="0"/>
<line num="38" type="method" name="upload" crap="90" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="115" type="method" name="prepare" crap="12" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="150" type="method" name="start" crap="380" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="152" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="159" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="180" type="stmt" count="0"/>
<line num="181" type="stmt" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="183" type="stmt" count="0"/>
<line num="185" type="stmt" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="194" type="stmt" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="196" type="stmt" count="0"/>
<line num="198" type="stmt" count="0"/>
<line num="200" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<line num="214" type="stmt" count="0"/>
<line num="216" type="stmt" count="0"/>
<line num="218" type="stmt" count="0"/>
<line num="219" type="stmt" count="0"/>
<line num="220" type="stmt" count="0"/>
<line num="221" type="stmt" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="234" type="stmt" count="0"/>
<line num="235" type="stmt" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="237" type="stmt" count="0"/>
<line num="238" type="stmt" count="0"/>
<line num="239" type="stmt" count="0"/>
<line num="240" type="stmt" count="0"/>
<line num="241" type="stmt" count="0"/>
<line num="242" type="stmt" count="0"/>
<line num="243" type="stmt" count="0"/>
<line num="244" type="stmt" count="0"/>
<line num="245" type="stmt" count="0"/>
<line num="246" type="stmt" count="0"/>
<line num="247" type="stmt" count="0"/>
<line num="248" type="stmt" count="0"/>
<line num="249" type="stmt" count="0"/>
<line num="250" type="stmt" count="0"/>
<line num="251" type="stmt" count="0"/>
<line num="252" type="stmt" count="0"/>
<line num="253" type="stmt" count="0"/>
<line num="254" type="stmt" count="0"/>
<line num="255" type="stmt" count="0"/>
<line num="256" type="stmt" count="0"/>
<line num="257" type="stmt" count="0"/>
<line num="259" type="stmt" count="0"/>
<line num="261" type="stmt" count="0"/>
<line num="262" type="stmt" count="0"/>
<line num="263" type="stmt" count="0"/>
<line num="264" type="stmt" count="0"/>
<line num="265" type="stmt" count="0"/>
<line num="266" type="stmt" count="0"/>
<line num="267" type="stmt" count="0"/>
<line num="268" type="stmt" count="0"/>
<line num="269" type="stmt" count="0"/>
<line num="270" type="stmt" count="0"/>
<line num="271" type="stmt" count="0"/>
<line num="272" type="stmt" count="0"/>
<line num="273" type="stmt" count="0"/>
<line num="274" type="stmt" count="0"/>
<line num="281" type="method" name="writeProcess" crap="2" count="0"/>
<line num="282" type="stmt" count="0"/>
<line num="283" type="stmt" count="0"/>
<line num="284" type="stmt" count="0"/>
<line num="292" type="method" name="cleanup" crap="6" count="0"/>
<line num="293" type="stmt" count="0"/>
<line num="294" type="stmt" count="0"/>
<line num="295" type="stmt" count="0"/>
<line num="296" type="stmt" count="0"/>
<line num="297" type="stmt" count="0"/>
<line num="298" type="stmt" count="0"/>
<line num="303" type="method" name="status" crap="12" count="0"/>
<line num="304" type="stmt" count="0"/>
<line num="305" type="stmt" count="0"/>
<line num="307" type="stmt" count="0"/>
<line num="308" type="stmt" count="0"/>
<line num="309" type="stmt" count="0"/>
<line num="310" type="stmt" count="0"/>
<line num="311" type="stmt" count="0"/>
<line num="313" type="stmt" count="0"/>
<line num="314" type="stmt" count="0"/>
<line num="315" type="stmt" count="0"/>
<metrics loc="316" ncloc="262" classes="1" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="223" coveredelements="0"/>
</file>
</package>
<package name="OCA\Contacts\Factory">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/factory/utilfactory.php">
<class name="UtilFactory" namespace="OCA\Contacts\Factory" fullPackage="OCA" package="OCA">
<metrics methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="4" coveredelements="0"/>
</class>
<line num="28" type="method" name="maxUploadFilesize" crap="2" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="37" type="method" name="humanFileSize" crap="2" count="0"/>
<line num="38" type="stmt" count="0"/>
<metrics loc="40" ncloc="15" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="4" coveredelements="0"/>
</file>
</package>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/js/config.php">
<line num="23" type="stmt" count="0"/>
<line num="24" type="stmt" count="0"/>
<line num="25" type="stmt" count="0"/>
<line num="27" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="33" type="stmt" count="0"/>
<line num="34" type="stmt" count="0"/>
<line num="35" type="stmt" count="0"/>
<line num="36" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<metrics loc="49" ncloc="29" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="23" coveredstatements="0" elements="23" coveredelements="0"/>
</file>
<package name="OCA\Contacts">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/abstractpimcollection.php">
<class name="AbstractPIMCollection" namespace="OCA\Contacts">
<metrics methods="10" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="24" elements="45" coveredelements="29"/>
</class>
<line num="80" type="method" name="rewind" crap="2.15" count="1"/>
<line num="82" type="stmt" count="1"/>
<line num="83" type="stmt" count="1"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="1"/>
<line num="87" type="stmt" count="1"/>
<line num="89" type="method" name="next" crap="1" count="1"/>
<line num="90" type="stmt" count="1"/>
<line num="91" type="stmt" count="1"/>
<line num="93" type="method" name="valid" crap="2" count="1"/>
<line num="94" type="stmt" count="1"/>
<line num="97" type="method" name="current" crap="1" count="1"/>
<line num="98" type="stmt" count="1"/>
<line num="105" type="method" name="key" crap="2" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="116" type="method" name="count" crap="1" count="1"/>
<line num="117" type="stmt" count="1"/>
<line num="122" type="method" name="offsetSet" crap="2.50" count="1"/>
<line num="123" type="stmt" count="1"/>
<line num="124" type="stmt" count="1"/>
<line num="127" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="131" type="method" name="offsetExists" crap="5.40" count="1"/>
<line num="132" type="stmt" count="1"/>
<line num="133" type="stmt" count="1"/>
<line num="137" type="stmt" count="1"/>
<line num="138" type="stmt" count="1"/>
<line num="139" type="stmt" count="1"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="150" type="method" name="offsetUnset" crap="1" count="1"/>
<line num="151" type="stmt" count="1"/>
<line num="152" type="stmt" count="1"/>
<line num="153" type="stmt" count="1"/>
<line num="155" type="method" name="offsetGet" crap="3.21" count="1"/>
<line num="156" type="stmt" count="1"/>
<line num="157" type="stmt" count="0"/>
<line num="160" type="stmt" count="1"/>
<line num="162" type="stmt" count="1"/>
<line num="163" type="stmt" count="1"/>
<line num="164" type="stmt" count="1"/>
<line num="167" type="stmt" count="0"/>
<metrics loc="169" ncloc="92" classes="1" methods="10" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="24" elements="45" coveredelements="29"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/abstractpimobject.php">
<class name="AbstractPIMObject" namespace="OCA\Contacts">
<metrics methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="1" elements="4" coveredelements="2"/>
</class>
<line num="36" type="method" name="getParent" crap="2" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="43" type="method" name="hasPermission" crap="1" count="10"/>
<line num="44" type="stmt" count="10"/>
<metrics loc="46" ncloc="14" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="1" elements="4" coveredelements="2"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/addressbook.php">
<class name="Addressbook" namespace="OCA\Contacts">
<metrics methods="22" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="176" coveredstatements="87" elements="198" coveredelements="96"/>
</class>
<line num="68" type="method" name="__construct" crap="3.01" count="17"/>
<line num="69" type="stmt" count="17"/>
<line num="70" type="stmt" count="17"/>
<line num="71" type="stmt" count="17"/>
<line num="72" type="stmt" count="17"/>
<line num="73" type="stmt" count="1"/>
<line num="74" type="stmt" count="1"/>
<line num="75" type="stmt" count="0"/>
<line num="78" type="stmt" count="1"/>
<line num="79" type="stmt" count="1"/>
<line num="82" type="stmt" count="17"/>
<line num="87" type="method" name="getBackend" crap="1" count="7"/>
<line num="88" type="stmt" count="7"/>
<line num="94" type="method" name="getId" crap="2" count="17"/>
<line num="95" type="stmt" count="17"/>
<line num="96" type="stmt" count="17"/>
<line num="97" type="stmt" count="17"/>
<line num="103" type="method" name="getMetaData" crap="1" count="3"/>
<line num="104" type="stmt" count="3"/>
<line num="105" type="stmt" count="3"/>
<line num="106" type="stmt" count="3"/>
<line num="107" type="stmt" count="3"/>
<line num="108" type="stmt" count="3"/>
<line num="109" type="stmt" count="3"/>
<line num="115" type="method" name="getDisplayName" crap="1" count="1"/>
<line num="116" type="stmt" count="1"/>
<line num="122" type="method" name="getURI" crap="2" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="129" type="method" name="getOwner" crap="2" count="3"/>
<line num="130" type="stmt" count="3"/>
<line num="131" type="stmt" count="3"/>
<line num="132" type="stmt" count="3"/>
<line num="139" type="method" name="getPermissions" crap="1" count="11"/>
<line num="140" type="stmt" count="11"/>
<line num="147" type="method" name="isActive" crap="1" count="3"/>
<line num="148" type="stmt" count="3"/>
<line num="156" type="method" name="setActive" crap="2" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="167" type="method" name="getChild" crap="5.33" count="5"/>
<line num="169" type="stmt" count="5"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="176" type="stmt" count="5"/>
<line num="177" type="stmt" count="5"/>
<line num="178" type="stmt" count="5"/>
<line num="179" type="stmt" count="4"/>
<line num="180" type="stmt" count="4"/>
<line num="181" type="stmt" count="3"/>
<line num="182" type="stmt" count="3"/>
<line num="184" type="stmt" count="3"/>
<line num="186" type="stmt" count="4"/>
<line num="189" type="stmt" count="4"/>
<line num="190" type="stmt" count="4"/>
<line num="191" type="stmt" count="4"/>
<line num="193" type="stmt" count="0"/>
<line num="201" type="method" name="childExists" crap="3.07" count="1"/>
<line num="202" type="stmt" count="1"/>
<line num="203" type="stmt" count="0"/>
<line num="206" type="stmt" count="1"/>
<line num="207" type="stmt" count="1"/>
<line num="208" type="stmt" count="1"/>
<line num="220" type="method" name="getChildren" crap="4.20" count="2"/>
<line num="221" type="stmt" count="2"/>
<line num="222" type="stmt" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="225" type="stmt" count="0"/>
<line num="228" type="stmt" count="2"/>
<line num="230" type="stmt" count="2"/>
<line num="231" type="stmt" count="2"/>
<line num="233" type="stmt" count="1"/>
<line num="234" type="stmt" count="1"/>
<line num="235" type="stmt" count="1"/>
<line num="237" type="stmt" count="1"/>
<line num="238" type="stmt" count="2"/>
<line num="241" type="stmt" count="2"/>
<line num="253" type="method" name="addChild" crap="13.12" count="2"/>
<line num="254" type="stmt" count="2"/>
<line num="255" type="stmt" count="0"/>
<line num="256" type="stmt" count="0"/>
<line num="258" type="stmt" count="0"/>
<line num="261" type="stmt" count="2"/>
<line num="262" type="stmt" count="0"/>
<line num="263" type="stmt" count="0"/>
<line num="265" type="stmt" count="0"/>
<line num="268" type="stmt" count="2"/>
<line num="270" type="stmt" count="2"/>
<line num="272" type="stmt" count="0"/>
<line num="273" type="stmt" count="0"/>
<line num="275" type="stmt" count="2"/>
<line num="276" type="stmt" count="0"/>
<line num="279" type="stmt" count="2"/>
<line num="282" type="stmt" count="2"/>
<line num="283" type="stmt" count="2"/>
<line num="284" type="stmt" count="2"/>
<line num="289" type="stmt" count="2"/>
<line num="290" type="stmt" count="0"/>
<line num="291" type="stmt" count="0"/>
<line num="294" type="stmt" count="2"/>
<line num="305" type="method" name="deleteChild" crap="11.34" count="3"/>
<line num="306" type="stmt" count="3"/>
<line num="307" type="stmt" count="0"/>
<line num="308" type="stmt" count="0"/>
<line num="310" type="stmt" count="0"/>
<line num="313" type="stmt" count="3"/>
<line num="314" type="stmt" count="0"/>
<line num="315" type="stmt" count="0"/>
<line num="317" type="stmt" count="0"/>
<line num="320" type="stmt" count="3"/>
<line num="321" type="stmt" count="3"/>
<line num="322" type="stmt" count="2"/>
<line num="323" type="stmt" count="2"/>
<line num="328" type="stmt" count="3"/>
<line num="329" type="stmt" count="0"/>
<line num="330" type="stmt" count="0"/>
<line num="332" type="stmt" count="3"/>
<line num="335" type="stmt" count="0"/>
<line num="345" type="method" name="deleteChildren" crap="42" count="0"/>
<line num="346" type="stmt" count="0"/>
<line num="347" type="stmt" count="0"/>
<line num="348" type="stmt" count="0"/>
<line num="350" type="stmt" count="0"/>
<line num="353" type="stmt" count="0"/>
<line num="354" type="stmt" count="0"/>
<line num="355" type="stmt" count="0"/>
<line num="357" type="stmt" count="0"/>
<line num="360" type="stmt" count="0"/>
<line num="362" type="stmt" count="0"/>
<line num="363" type="stmt" count="0"/>
<line num="364" type="stmt" count="0"/>
<line num="366" type="stmt" count="0"/>
<line num="368" type="stmt" count="0"/>
<line num="369" type="stmt" count="0"/>
<line num="370" type="stmt" count="0"/>
<line num="371" type="stmt" count="0"/>
<line num="372" type="stmt" count="0"/>
<line num="374" type="stmt" count="0"/>
<line num="375" type="stmt" count="0"/>
<line num="376" type="stmt" count="0"/>
<line num="377" type="stmt" count="0"/>
<line num="378" type="stmt" count="0"/>
<line num="379" type="stmt" count="0"/>
<line num="380" type="stmt" count="0"/>
<line num="381" type="stmt" count="0"/>
<line num="382" type="stmt" count="0"/>
<line num="384" type="stmt" count="0"/>
<line num="386" type="stmt" count="0"/>
<line num="387" type="stmt" count="0"/>
<line num="388" type="stmt" count="0"/>
<line num="389" type="stmt" count="0"/>
<line num="390" type="stmt" count="0"/>
<line num="391" type="stmt" count="0"/>
<line num="393" type="stmt" count="0"/>
<line num="394" type="stmt" count="0"/>
<line num="401" type="method" name="count" crap="2" count="1"/>
<line num="402" type="stmt" count="1"/>
<line num="403" type="stmt" count="1"/>
<line num="404" type="stmt" count="1"/>
<line num="406" type="stmt" count="1"/>
<line num="416" type="method" name="update" crap="14.14" count="1"/>
<line num="417" type="stmt" count="1"/>
<line num="418" type="stmt" count="0"/>
<line num="419" type="stmt" count="0"/>
<line num="421" type="stmt" count="0"/>
<line num="424" type="stmt" count="1"/>
<line num="425" type="stmt" count="0"/>
<line num="426" type="stmt" count="0"/>
<line num="428" type="stmt" count="0"/>
<line num="431" type="stmt" count="1"/>
<line num="432" type="stmt" count="0"/>
<line num="435" type="stmt" count="1"/>
<line num="437" type="stmt" count="1"/>
<line num="438" type="stmt" count="1"/>
<line num="439" type="stmt" count="1"/>
<line num="440" type="stmt" count="0"/>
<line num="441" type="stmt" count="0"/>
<line num="442" type="stmt" count="0"/>
<line num="444" type="stmt" count="1"/>
<line num="446" type="stmt" count="1"/>
<line num="454" type="method" name="delete" crap="2.86" count="1"/>
<line num="455" type="stmt" count="1"/>
<line num="456" type="stmt" count="0"/>
<line num="457" type="stmt" count="0"/>
<line num="459" type="stmt" count="0"/>
<line num="462" type="stmt" count="1"/>
<line num="473" type="method" name="lastModified" crap="1" count="4"/>
<line num="474" type="stmt" count="4"/>
<line num="482" type="method" name="getBirthdayEvents" crap="12" count="0"/>
<line num="484" type="stmt" count="0"/>
<line num="486" type="stmt" count="0"/>
<line num="487" type="stmt" count="0"/>
<line num="488" type="stmt" count="0"/>
<line num="489" type="stmt" count="0"/>
<line num="490" type="stmt" count="0"/>
<line num="492" type="stmt" count="0"/>
<line num="500" type="method" name="getSearchProvider" crap="2" count="0"/>
<line num="501" type="stmt" count="0"/>
<metrics loc="503" ncloc="323" classes="1" methods="22" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="176" coveredstatements="87" elements="198" coveredelements="96"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/addressbookprovider.php">
<class name="AddressbookProvider" namespace="OCA\Contacts">
<metrics methods="10" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="104" coveredstatements="47" elements="114" coveredelements="49"/>
</class>
<line num="54" type="method" name="__construct" crap="1" count="1"/>
<line num="55" type="stmt" count="1"/>
<line num="56" type="stmt" count="1"/>
<line num="57" type="stmt" count="1"/>
<line num="59" type="method" name="getAddressbook" crap="2" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="66" type="method" name="getKey" crap="2" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="75" type="method" name="getDisplayName" crap="2" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="82" type="method" name="getPermissions" crap="2" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="92" type="method" name="search" crap="9.37" count="1"/>
<line num="93" type="stmt" count="1"/>
<line num="94" type="stmt" count="1"/>
<line num="95" type="stmt" count="1"/>
<line num="96" type="stmt" count="1"/>
<line num="106" type="stmt" count="1"/>
<line num="107" type="stmt" count="1"/>
<line num="110" type="stmt" count="1"/>
<line num="112" type="stmt" count="1"/>
<line num="113" type="stmt" count="1"/>
<line num="114" type="stmt" count="1"/>
<line num="115" type="stmt" count="1"/>
<line num="117" type="stmt" count="1"/>
<line num="118" type="stmt" count="1"/>
<line num="119" type="stmt" count="1"/>
<line num="121" type="stmt" count="1"/>
<line num="122" type="stmt" count="1"/>
<line num="123" type="stmt" count="1"/>
<line num="124" type="stmt" count="1"/>
<line num="125" type="stmt" count="1"/>
<line num="126" type="stmt" count="1"/>
<line num="127" type="stmt" count="1"/>
<line num="128" type="stmt" count="1"/>
<line num="129" type="stmt" count="1"/>
<line num="131" type="stmt" count="1"/>
<line num="132" type="stmt" count="1"/>
<line num="133" type="stmt" count="1"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="138" type="stmt" count="1"/>
<line num="139" type="stmt" count="1"/>
<line num="140" type="stmt" count="1"/>
<line num="142" type="stmt" count="1"/>
<line num="148" type="stmt" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="156" type="stmt" count="1"/>
<line num="158" type="stmt" count="1"/>
<line num="159" type="stmt" count="1"/>
<line num="160" type="stmt" count="1"/>
<line num="161" type="stmt" count="1"/>
<line num="162" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="1"/>
<line num="172" type="stmt" count="1"/>
<line num="173" type="stmt" count="1"/>
<line num="174" type="stmt" count="1"/>
<line num="181" type="method" name="createOrUpdate" crap="42" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="184" type="stmt" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="198" type="stmt" count="0"/>
<line num="200" type="stmt" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="214" type="method" name="delete" crap="20" count="0"/>
<line num="216" type="stmt" count="0"/>
<line num="217" type="stmt" count="0"/>
<line num="218" type="stmt" count="0"/>
<line num="219" type="stmt" count="0"/>
<line num="220" type="stmt" count="0"/>
<line num="221" type="stmt" count="0"/>
<line num="222" type="stmt" count="0"/>
<line num="224" type="stmt" count="0"/>
<line num="225" type="stmt" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="227" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="235" type="stmt" count="0"/>
<line num="242" type="method" name="convertToSearchResult" crap="4" count="1"/>
<line num="243" type="stmt" count="1"/>
<line num="244" type="stmt" count="1"/>
<line num="245" type="stmt" count="1"/>
<line num="246" type="stmt" count="1"/>
<line num="247" type="stmt" count="1"/>
<line num="248" type="method" name="anonymous function" crap="2" count="0"/>
<line num="249" type="stmt" count="0"/>
<line num="250" type="stmt" count="0"/>
<line num="251" type="stmt" count="0"/>
<line num="252" type="stmt" count="1"/>
<line num="253" type="stmt" count="1"/>
<line num="254" type="stmt" count="1"/>
<line num="255" type="stmt" count="1"/>
<line num="258" type="stmt" count="1"/>
<line num="260" type="stmt" count="1"/>
<metrics loc="263" ncloc="173" classes="1" methods="10" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="111" coveredstatements="53" elements="121" coveredelements="55"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/app.php">
<class name="App" namespace="OCA\Contacts">
<metrics methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="40" coveredstatements="21" elements="45" coveredelements="22"/>
</class>
<line num="28" type="stmt" count="1"/>
<line num="62" type="method" name="__construct" crap="4.13" count="1"/>
<line num="68" type="stmt" count="1"/>
<line num="69" type="stmt" count="1"/>
<line num="70" type="stmt" count="1"/>
<line num="71" type="stmt" count="1"/>
<line num="72" type="stmt" count="1"/>
<line num="73" type="stmt" count="1"/>
<line num="74" type="stmt" count="1"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="1"/>
<line num="85" type="method" name="getBackend" crap="3.14" count="1"/>
<line num="86" type="stmt" count="1"/>
<line num="87" type="stmt" count="1"/>
<line num="88" type="stmt" count="1"/>
<line num="90" type="stmt" count="0"/>
<line num="103" type="method" name="getAddressBooksForUser" crap="20" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="128" type="method" name="getAddressBook" crap="6.42" count="1"/>
<line num="130" type="stmt" count="1"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="136" type="stmt" count="1"/>
<line num="138" type="stmt" count="1"/>
<line num="139" type="stmt" count="1"/>
<line num="141" type="stmt" count="1"/>
<line num="142" type="stmt" count="0"/>
<line num="145" type="stmt" count="1"/>
<line num="146" type="stmt" count="1"/>
<line num="147" type="stmt" count="1"/>
<line num="159" type="method" name="getContact" crap="1" count="1"/>
<line num="160" type="stmt" count="1"/>
<line num="161" type="stmt" count="1"/>
<metrics loc="164" ncloc="97" classes="1" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="22" elements="46" coveredelements="23"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/contact.php">
<class name="Contact" namespace="OCA\Contacts">
<metrics methods="34" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="406" coveredstatements="148" elements="440" coveredelements="160"/>
</class>
<line num="60" type="method" name="__construct" crap="15.06" count="6"/>
<line num="61" type="stmt" count="6"/>
<line num="63" type="stmt" count="6"/>
<line num="65" type="stmt" count="6"/>
<line num="66" type="stmt" count="6"/>
<line num="67" type="stmt" count="6"/>
<line num="68" type="stmt" count="6"/>
<line num="70" type="stmt" count="6"/>
<line num="71" type="stmt" count="6"/>
<line num="72" type="stmt" count="2"/>
<line num="73" type="stmt" count="2"/>
<line num="74" type="stmt" count="2"/>
<line num="75" type="stmt" count="2"/>
<line num="76" type="stmt" count="6"/>
<line num="77" type="stmt" count="5"/>
<line num="79" type="stmt" count="5"/>
<line num="80" type="stmt" count="5"/>
<line num="81" type="stmt" count="5"/>
<line num="82" type="stmt" count="5"/>
<line num="83" type="stmt" count="5"/>
<line num="84" type="stmt" count="5"/>
<line num="85" type="stmt" count="5"/>
<line num="86" type="stmt" count="1"/>
<line num="87" type="stmt" count="1"/>
<line num="88" type="stmt" count="5"/>
<line num="89" type="stmt" count="1"/>
<line num="90" type="stmt" count="1"/>
<line num="91" type="stmt" count="5"/>
<line num="92" type="stmt" count="5"/>
<line num="93" type="stmt" count="5"/>
<line num="94" type="stmt" count="5"/>
<line num="95" type="stmt" count="5"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="5"/>
<line num="100" type="stmt" count="5"/>
<line num="101" type="stmt" count="5"/>
<line num="102" type="stmt" count="5"/>
<line num="103" type="stmt" count="5"/>
<line num="105" type="stmt" count="5"/>
<line num="106" type="stmt" count="5"/>
<line num="107" type="stmt" count="5"/>
<line num="109" type="stmt" count="5"/>
<line num="110" type="stmt" count="5"/>
<line num="111" type="stmt" count="6"/>
<line num="112" type="stmt" count="6"/>
<line num="117" type="method" name="getMetaData" crap="4.59" count="1"/>
<line num="118" type="stmt" count="1"/>
<line num="119" type="stmt" count="0"/>
<line num="121" type="stmt" count="1"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="128" type="stmt" count="1"/>
<line num="129" type="stmt" count="1"/>
<line num="130" type="stmt" count="1"/>
<line num="131" type="stmt" count="1"/>
<line num="132" type="stmt" count="1"/>
<line num="133" type="stmt" count="1"/>
<line num="134" type="stmt" count="1"/>
<line num="135" type="stmt" count="1"/>
<line num="143" type="method" name="combinedKey" crap="2" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="150" type="method" name="getOwner" crap="2" count="1"/>
<line num="151" type="stmt" count="1"/>
<line num="152" type="stmt" count="1"/>
<line num="153" type="stmt" count="1"/>
<line num="159" type="method" name="getId" crap="2" count="7"/>
<line num="160" type="stmt" count="7"/>
<line num="166" type="method" name="getDisplayName" crap="4" count="4"/>
<line num="167" type="stmt" count="4"/>
<line num="168" type="stmt" count="1"/>
<line num="170" type="stmt" count="4"/>
<line num="171" type="stmt" count="4"/>
<line num="172" type="stmt" count="4"/>
<line num="178" type="method" name="getURI" crap="6" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="186" type="method" name="getETag" crap="2" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="196" type="method" name="getParent" crap="1" count="6"/>
<line num="197" type="stmt" count="6"/>
<line num="200" type="method" name="getBackend" crap="1" count="2"/>
<line num="201" type="stmt" count="2"/>
<line num="208" type="method" name="getPermissions" crap="2" count="5"/>
<line num="209" type="stmt" count="5"/>
<line num="210" type="stmt" count="5"/>
<line num="211" type="stmt" count="5"/>
<line num="218" type="method" name="hasPermission" crap="1" count="5"/>
<line num="219" type="stmt" count="5"/>
<line num="255" type="method" name="delete" crap="6" count="0"/>
<line num="256" type="stmt" count="0"/>
<line num="257" type="stmt" count="0"/>
<line num="259" type="stmt" count="0"/>
<line num="260" type="stmt" count="0"/>
<line num="261" type="stmt" count="0"/>
<line num="262" type="stmt" count="0"/>
<line num="270" type="method" name="save" crap="24.11" count="2"/>
<line num="271" type="stmt" count="2"/>
<line num="272" type="stmt" count="0"/>
<line num="274" type="stmt" count="2"/>
<line num="275" type="stmt" count="0"/>
<line num="276" type="stmt" count="0"/>
<line num="279" type="stmt" count="2"/>
<line num="280" type="stmt" count="2"/>
<line num="281" type="stmt" count="2"/>
<line num="283" type="stmt" count="2"/>
<line num="284" type="stmt" count="0"/>
<line num="285" type="stmt" count="0"/>
<line num="287" type="stmt" count="0"/>
<line num="288" type="stmt" count="0"/>
<line num="289" type="stmt" count="0"/>
<line num="290" type="stmt" count="0"/>
<line num="292" type="stmt" count="0"/>
<line num="293" type="stmt" count="0"/>
<line num="294" type="stmt" count="0"/>
<line num="295" type="stmt" count="0"/>
<line num="296" type="stmt" count="0"/>
<line num="298" type="stmt" count="0"/>
<line num="301" type="stmt" count="2"/>
<line num="302" type="stmt" count="0"/>
<line num="304" type="stmt" count="2"/>
<line num="305" type="stmt" count="2"/>
<line num="306" type="stmt" count="2"/>
<line num="307" type="stmt" count="2"/>
<line num="308" type="stmt" count="2"/>
<line num="318" type="method" name="retrieve" crap="41.60" count="6"/>
<line num="319" type="stmt" count="5"/>
<line num="321" type="stmt" count="5"/>
<line num="323" type="stmt" count="5"/>
<line num="324" type="stmt" count="5"/>
<line num="325" type="stmt" count="5"/>
<line num="326" type="stmt" count="0"/>
<line num="327" type="stmt" count="0"/>
<line num="328" type="stmt" count="0"/>
<line num="329" type="stmt" count="0"/>
<line num="330" type="stmt" count="0"/>
<line num="331" type="stmt" count="0"/>
<line num="332" type="stmt" count="0"/>
<line num="333" type="stmt" count="0"/>
<line num="334" type="stmt" count="0"/>
<line num="336" type="stmt" count="0"/>
<line num="337" type="stmt" count="0"/>
<line num="338" type="stmt" count="5"/>
<line num="339" type="stmt" count="4"/>
<line num="340" type="stmt" count="4"/>
<line num="341" type="stmt" count="4"/>
<line num="342" type="stmt" count="4"/>
<line num="343" type="stmt" count="4"/>
<line num="344" type="stmt" count="4"/>
<line num="345" type="stmt" count="4"/>
<line num="346" type="stmt" count="0"/>
<line num="347" type="stmt" count="0"/>
<line num="348" type="stmt" count="0"/>
<line num="349" type="stmt" count="0"/>
<line num="350" type="stmt" count="0"/>
<line num="351" type="stmt" count="4"/>
<line num="353" type="stmt" count="4"/>
<line num="354" type="stmt" count="4"/>
<line num="355" type="stmt" count="4"/>
<line num="356" type="stmt" count="4"/>
<line num="357" type="stmt" count="4"/>
<line num="358" type="stmt" count="4"/>
<line num="359" type="stmt" count="4"/>
<line num="360" type="stmt" count="4"/>
<line num="361" type="stmt" count="0"/>
<line num="363" type="stmt" count="0"/>
<line num="364" type="stmt" count="0"/>
<line num="365" type="stmt" count="0"/>
<line num="367" type="stmt" count="4"/>
<line num="368" type="stmt" count="0"/>
<line num="370" type="stmt" count="5"/>
<line num="371" type="stmt" count="1"/>
<line num="372" type="stmt" count="1"/>
<line num="374" type="stmt" count="5"/>
<line num="375" type="stmt" count="5"/>
<line num="377" type="stmt" count="5"/>
<line num="378" type="stmt" count="5"/>
<line num="379" type="stmt" count="5"/>
<line num="380" type="stmt" count="5"/>
<line num="381" type="stmt" count="5"/>
<line num="382" type="stmt" count="6"/>
<line num="383" type="stmt" count="5"/>
<line num="385" type="stmt" count="5"/>
<line num="386" type="stmt" count="5"/>
<line num="387" type="stmt" count="5"/>
<line num="388" type="stmt" count="5"/>
<line num="389" type="stmt" count="0"/>
<line num="390" type="stmt" count="0"/>
<line num="392" type="stmt" count="5"/>
<line num="393" type="stmt" count="0"/>
<line num="394" type="stmt" count="0"/>
<line num="395" type="stmt" count="0"/>
<line num="396" type="stmt" count="0"/>
<line num="399" type="stmt" count="5"/>
<line num="407" type="method" name="getPhoto" crap="30" count="0"/>
<line num="408" type="stmt" count="0"/>
<line num="410" type="stmt" count="0"/>
<line num="411" type="stmt" count="0"/>
<line num="412" type="stmt" count="0"/>
<line num="413" type="stmt" count="0"/>
<line num="416" type="stmt" count="0"/>
<line num="424" type="method" name="setPhoto" crap="12" count="0"/>
<line num="428" type="stmt" count="0"/>
<line num="429" type="stmt" count="0"/>
<line num="430" type="stmt" count="0"/>
<line num="431" type="stmt" count="0"/>
<line num="432" type="stmt" count="0"/>
<line num="434" type="stmt" count="0"/>
<line num="435" type="stmt" count="0"/>
<line num="436" type="stmt" count="0"/>
<line num="437" type="stmt" count="0"/>
<line num="438" type="stmt" count="0"/>
<line num="440" type="stmt" count="0"/>
<line num="450" type="method" name="getPropertyIndexByChecksum" crap="12" count="0"/>
<line num="451" type="stmt" count="0"/>
<line num="452" type="stmt" count="0"/>
<line num="453" type="stmt" count="0"/>
<line num="454" type="stmt" count="0"/>
<line num="455" type="stmt" count="0"/>
<line num="457" type="stmt" count="0"/>
<line num="458" type="stmt" count="0"/>
<line num="459" type="stmt" count="0"/>
<line num="469" type="method" name="getPropertyByChecksum" crap="12" count="0"/>
<line num="470" type="stmt" count="0"/>
<line num="471" type="stmt" count="0"/>
<line num="472" type="stmt" count="0"/>
<line num="473" type="stmt" count="0"/>
<line num="475" type="stmt" count="0"/>
<line num="476" type="stmt" count="0"/>
<line num="486" type="method" name="unsetPropertyByChecksum" crap="2" count="0"/>
<line num="487" type="stmt" count="0"/>
<line num="488" type="stmt" count="0"/>
<line num="489" type="stmt" count="0"/>
<line num="490" type="stmt" count="0"/>
<line num="503" type="method" name="setPropertyByChecksum" crap="132" count="0"/>
<line num="504" type="stmt" count="0"/>
<line num="505" type="stmt" count="0"/>
<line num="506" type="stmt" count="0"/>
<line num="507" type="stmt" count="0"/>
<line num="508" type="stmt" count="0"/>
<line num="511" type="stmt" count="0"/>
<line num="512" type="stmt" count="0"/>
<line num="513" type="stmt" count="0"/>
<line num="514" type="stmt" count="0"/>
<line num="515" type="stmt" count="0"/>
<line num="516" type="stmt" count="0"/>
<line num="517" type="stmt" count="0"/>
<line num="518" type="stmt" count="0"/>
<line num="519" type="stmt" count="0"/>
<line num="520" type="stmt" count="0"/>
<line num="522" type="stmt" count="0"/>
<line num="523" type="stmt" count="0"/>
<line num="524" type="stmt" count="0"/>
<line num="525" type="stmt" count="0"/>
<line num="527" type="stmt" count="0"/>
<line num="528" type="stmt" count="0"/>
<line num="529" type="stmt" count="0"/>
<line num="530" type="stmt" count="0"/>
<line num="531" type="stmt" count="0"/>
<line num="532" type="stmt" count="0"/>
<line num="533" type="stmt" count="0"/>
<line num="535" type="stmt" count="0"/>
<line num="536" type="stmt" count="0"/>
<line num="537" type="stmt" count="0"/>
<line num="538" type="stmt" count="0"/>
<line num="539" type="stmt" count="0"/>
<line num="540" type="stmt" count="0"/>
<line num="541" type="stmt" count="0"/>
<line num="542" type="stmt" count="0"/>
<line num="543" type="stmt" count="0"/>
<line num="544" type="stmt" count="0"/>
<line num="545" type="stmt" count="0"/>
<line num="557" type="method" name="setPropertyByName" crap="72" count="0"/>
<line num="560" type="stmt" count="0"/>
<line num="562" type="stmt" count="0"/>
<line num="563" type="stmt" count="0"/>
<line num="564" type="stmt" count="0"/>
<line num="565" type="stmt" count="0"/>
<line num="567" type="stmt" count="0"/>
<line num="568" type="stmt" count="0"/>
<line num="570" type="stmt" count="0"/>
<line num="571" type="stmt" count="0"/>
<line num="572" type="stmt" count="0"/>
<line num="574" type="stmt" count="0"/>
<line num="575" type="stmt" count="0"/>
<line num="576" type="stmt" count="0"/>
<line num="577" type="stmt" count="0"/>
<line num="578" type="stmt" count="0"/>
<line num="579" type="stmt" count="0"/>
<line num="580" type="stmt" count="0"/>
<line num="581" type="stmt" count="0"/>
<line num="582" type="stmt" count="0"/>
<line num="584" type="stmt" count="0"/>
<line num="586" type="stmt" count="0"/>
<line num="587" type="stmt" count="0"/>
<line num="588" type="stmt" count="0"/>
<line num="589" type="stmt" count="0"/>
<line num="591" type="stmt" count="0"/>
<line num="592" type="stmt" count="0"/>
<line num="593" type="stmt" count="0"/>
<line num="594" type="stmt" count="0"/>
<line num="595" type="stmt" count="0"/>
<line num="596" type="stmt" count="0"/>
<line num="597" type="stmt" count="0"/>
<line num="598" type="stmt" count="0"/>
<line num="601" type="method" name="setParameters" crap="132.74" count="1"/>
<line num="602" type="stmt" count="0"/>
<line num="603" type="stmt" count="0"/>
<line num="604" type="stmt" count="1"/>
<line num="606" type="stmt" count="1"/>
<line num="607" type="stmt" count="0"/>
<line num="608" type="stmt" count="1"/>
<line num="610" type="stmt" count="0"/>
<line num="612" type="stmt" count="0"/>
<line num="613" type="stmt" count="0"/>
<line num="614" type="stmt" count="0"/>
<line num="615" type="stmt" count="0"/>
<line num="616" type="stmt" count="0"/>
<line num="618" type="stmt" count="1"/>
<line num="619" type="stmt" count="0"/>
<line num="620" type="stmt" count="0"/>
<line num="621" type="stmt" count="0"/>
<line num="622" type="stmt" count="0"/>
<line num="624" type="stmt" count="0"/>
<line num="625" type="stmt" count="0"/>
<line num="627" type="stmt" count="0"/>
<line num="628" type="stmt" count="0"/>
<line num="629" type="stmt" count="0"/>
<line num="631" type="stmt" count="0"/>
<line num="632" type="stmt" count="0"/>
<line num="634" type="stmt" count="0"/>
<line num="635" type="stmt" count="0"/>
<line num="637" type="method" name="lastModified" crap="4.59" count="1"/>
<line num="638" type="stmt" count="1"/>
<line num="639" type="stmt" count="0"/>
<line num="640" type="stmt" count="0"/>
<line num="641" type="stmt" count="1"/>
<line num="642" type="stmt" count="1"/>
<line num="643" type="stmt" count="1"/>
<line num="661" type="method" name="mergeFromArray" crap="72" count="0"/>
<line num="662" type="stmt" count="0"/>
<line num="663" type="stmt" count="0"/>
<line num="664" type="stmt" count="0"/>
<line num="666" type="stmt" count="0"/>
<line num="667" type="stmt" count="0"/>
<line num="668" type="stmt" count="0"/>
<line num="669" type="stmt" count="0"/>
<line num="670" type="stmt" count="0"/>
<line num="671" type="stmt" count="0"/>
<line num="672" type="stmt" count="0"/>
<line num="673" type="stmt" count="0"/>
<line num="674" type="stmt" count="0"/>
<line num="676" type="stmt" count="0"/>
<line num="677" type="stmt" count="0"/>
<line num="679" type="stmt" count="0"/>
<line num="680" type="stmt" count="0"/>
<line num="681" type="stmt" count="0"/>
<line num="683" type="stmt" count="0"/>
<line num="684" type="stmt" count="0"/>
<line num="685" type="stmt" count="0"/>
<line num="686" type="stmt" count="0"/>
<line num="689" type="method" name="__get" crap="2.50" count="2"/>
<line num="690" type="stmt" count="2"/>
<line num="691" type="stmt" count="0"/>
<line num="692" type="stmt" count="0"/>
<line num="694" type="stmt" count="2"/>
<line num="697" type="method" name="__isset" crap="2.50" count="2"/>
<line num="698" type="stmt" count="2"/>
<line num="699" type="stmt" count="0"/>
<line num="700" type="stmt" count="0"/>
<line num="702" type="stmt" count="2"/>
<line num="705" type="method" name="__set" crap="3" count="5"/>
<line num="706" type="stmt" count="5"/>
<line num="707" type="stmt" count="4"/>
<line num="708" type="stmt" count="4"/>
<line num="709" type="stmt" count="5"/>
<line num="710" type="stmt" count="5"/>
<line num="711" type="stmt" count="5"/>
<line num="712" type="stmt" count="5"/>
<line num="713" type="stmt" count="5"/>
<line num="714" type="stmt" count="5"/>
<line num="716" type="method" name="__unset" crap="12" count="0"/>
<line num="717" type="stmt" count="0"/>
<line num="718" type="stmt" count="0"/>
<line num="719" type="stmt" count="0"/>
<line num="720" type="stmt" count="0"/>
<line num="721" type="stmt" count="0"/>
<line num="722" type="stmt" count="0"/>
<line num="723" type="stmt" count="0"/>
<line num="724" type="stmt" count="0"/>
<line num="725" type="stmt" count="0"/>
<line num="726" type="stmt" count="0"/>
<line num="727" type="stmt" count="0"/>
<line num="728" type="stmt" count="0"/>
<line num="729" type="stmt" count="0"/>
<line num="730" type="stmt" count="0"/>
<line num="731" type="stmt" count="0"/>
<line num="732" type="stmt" count="0"/>
<line num="737" type="method" name="setRetrieved" crap="1" count="6"/>
<line num="738" type="stmt" count="6"/>
<line num="739" type="stmt" count="6"/>
<line num="741" type="method" name="isRetrieved" crap="1" count="6"/>
<line num="742" type="stmt" count="6"/>
<line num="745" type="method" name="setSaved" crap="1" count="6"/>
<line num="746" type="stmt" count="6"/>
<line num="747" type="stmt" count="6"/>
<line num="749" type="method" name="isSaved" crap="1" count="2"/>
<line num="750" type="stmt" count="2"/>
<line num="758" type="method" name="getBirthdayEvent" crap="20" count="0"/>
<line num="759" type="stmt" count="0"/>
<line num="760" type="stmt" count="0"/>
<line num="762" type="stmt" count="0"/>
<line num="763" type="stmt" count="0"/>
<line num="764" type="stmt" count="0"/>
<line num="765" type="stmt" count="0"/>
<line num="766" type="stmt" count="0"/>
<line num="767" type="stmt" count="0"/>
<line num="769" type="stmt" count="0"/>
<line num="770" type="stmt" count="0"/>
<line num="771" type="stmt" count="0"/>
<line num="773" type="stmt" count="0"/>
<line num="774" type="stmt" count="0"/>
<line num="775" type="stmt" count="0"/>
<line num="776" type="stmt" count="0"/>
<line num="777" type="stmt" count="0"/>
<line num="779" type="stmt" count="0"/>
<line num="780" type="stmt" count="0"/>
<line num="781" type="stmt" count="0"/>
<line num="782" type="stmt" count="0"/>
<line num="783" type="stmt" count="0"/>
<line num="784" type="stmt" count="0"/>
<line num="785" type="stmt" count="0"/>
<line num="786" type="stmt" count="0"/>
<line num="787" type="stmt" count="0"/>
<line num="788" type="stmt" count="0"/>
<line num="789" type="stmt" count="0"/>
<line num="792" type="stmt" count="0"/>
<metrics loc="795" ncloc="562" classes="1" methods="34" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="406" coveredstatements="148" elements="440" coveredelements="160"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/controller.php">
<class name="Controller" namespace="OCA\Contacts">
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</class>
<line num="27" type="method" name="__construct" crap="2" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<metrics loc="32" ncloc="17" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/dispatcher.php">
<class name="Dispatcher" namespace="OCA\Contacts">
<metrics methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="45" coveredstatements="0" elements="48" coveredelements="0"/>
</class>
<line num="55" type="method" name="__construct" crap="2" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="66" type="method" name="registerServices" crap="2" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="method" name="anonymous function" crap="2" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<metrics loc="117" ncloc="92" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="0" elements="49" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/hooks.php">
<class name="Hooks" namespace="OCA\Contacts">
<metrics methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="141" coveredstatements="0" elements="151" coveredelements="0"/>
</class>
<line num="47" type="method" name="userCreated" crap="2" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="57" type="method" name="userDeleted" crap="6" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="70" type="method" name="addressBookDeletion" crap="6" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="94" type="method" name="contactDeletion" crap="6" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="105" type="method" name="contactAdded" crap="12" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="119" type="method" name="contactUpdated" crap="42" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="146" type="method" name="scanCategories" crap="42" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="183" type="method" name="indexProperties" crap="20" count="0"/>
<line num="184" type="stmt" count="0"/>
<line num="185" type="stmt" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="194" type="stmt" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="196" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="198" type="stmt" count="0"/>
<line num="199" type="stmt" count="0"/>
<line num="200" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="211" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="214" type="method" name="getCalenderSources" crap="6" count="0"/>
<line num="217" type="stmt" count="0"/>
<line num="218" type="stmt" count="0"/>
<line num="219" type="stmt" count="0"/>
<line num="221" type="stmt" count="0"/>
<line num="222" type="stmt" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="224" type="stmt" count="0"/>
<line num="225" type="stmt" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="227" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="229" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="235" type="method" name="getBirthdayEvents" crap="12" count="0"/>
<line num="237" type="stmt" count="0"/>
<line num="239" type="stmt" count="0"/>
<line num="240" type="stmt" count="0"/>
<line num="241" type="stmt" count="0"/>
<line num="243" type="stmt" count="0"/>
<line num="244" type="stmt" count="0"/>
<line num="245" type="stmt" count="0"/>
<line num="246" type="stmt" count="0"/>
<line num="247" type="stmt" count="0"/>
<line num="249" type="stmt" count="0"/>
<line num="250" type="stmt" count="0"/>
<line num="251" type="stmt" count="0"/>
<line num="252" type="stmt" count="0"/>
<line num="253" type="stmt" count="0"/>
<line num="254" type="stmt" count="0"/>
<line num="255" type="stmt" count="0"/>
<line num="256" type="stmt" count="0"/>
<line num="257" type="stmt" count="0"/>
<line num="258" type="stmt" count="0"/>
<metrics loc="259" ncloc="173" classes="1" methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="141" coveredstatements="0" elements="151" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/imageresponse.php">
<class name="ImageResponse" namespace="OCA\Contacts">
<metrics methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="0" elements="19" coveredelements="0"/>
</class>
<line num="28" type="method" name="__construct" crap="6" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="37" type="method" name="setImage" crap="6" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="50" type="method" name="render" crap="6" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<metrics loc="56" ncloc="32" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="0" elements="19" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/importmanager.php">
<class name="ImportManager" namespace="OCA\Contacts">
<metrics methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="58" coveredstatements="0" elements="65" coveredelements="0"/>
</class>
<line num="36" type="method" name="loadXmlFile" crap="90" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="57" type="method" name="getTypes" crap="30" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="78" type="method" name="getType" crap="2" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="90" type="method" name="importFile" crap="12" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="105" type="method" name="getConnector" crap="30" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="131" type="method" name="detectFileType" crap="12" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="149" type="method" name="getEntries" crap="2" count="0"/>
<line num="150" type="stmt" count="0"/>
<metrics loc="154" ncloc="94" classes="1" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="58" coveredstatements="0" elements="65" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/jsonresponse.php">
<class name="JSONResponse" namespace="OCA\Contacts">
<metrics methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="39" coveredstatements="0" elements="46" coveredelements="0"/>
</class>
<line num="13" type="stmt" count="0"/>
<line num="21" type="method" name="__construct" crap="2" count="0"/>
<line num="22" type="stmt" count="0"/>
<line num="23" type="stmt" count="0"/>
<line num="24" type="stmt" count="0"/>
<line num="31" type="method" name="setParams" crap="2" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="33" type="stmt" count="0"/>
<line num="34" type="stmt" count="0"/>
<line num="36" type="method" name="setData" crap="2" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="41" type="method" name="setStatus" crap="2" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="50" type="method" name="setErrorMessage" crap="2" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="56" type="method" name="bailOut" crap="6" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="65" type="method" name="debug" crap="20" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<metrics loc="84" ncloc="64" classes="1" methods="7" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="40" coveredstatements="0" elements="47" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/textdownloadresponse.php">
<class name="TextDownloadResponse" namespace="OCA\Contacts">
<metrics methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
</class>
<line num="43" type="method" name="__construct" crap="2" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="53" type="method" name="render" crap="2" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<metrics loc="57" ncloc="23" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
</file>
</package>
<package name="OCA\Contacts\Backend">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/backend/abstractbackend.php">
<class name="AbstractBackend" namespace="OCA\Contacts\Backend">
<metrics methods="16" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="26" elements="67" coveredelements="32"/>
</class>
<line num="82" type="method" name="__construct" crap="6" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="93" type="method" name="getContactPermissions" crap="3" count="6"/>
<line num="94" type="stmt" count="6"/>
<line num="96" type="stmt" count="6"/>
<line num="97" type="stmt" count="6"/>
<line num="98" type="stmt" count="6"/>
<line num="99" type="stmt" count="6"/>
<line num="101" type="stmt" count="6"/>
<line num="104" type="stmt" count="6"/>
<line num="114" type="method" name="getAddressBookPermissions" crap="3" count="1"/>
<line num="116" type="stmt" count="1"/>
<line num="118" type="stmt" count="1"/>
<line num="119" type="stmt" count="1"/>
<line num="120" type="stmt" count="1"/>
<line num="121" type="stmt" count="1"/>
<line num="123" type="stmt" count="1"/>
<line num="126" type="stmt" count="1"/>
<line num="137" type="method" name="hasContactMethodFor" crap="1" count="6"/>
<line num="139" type="stmt" count="6"/>
<line num="151" type="method" name="hasAddressBookMethodFor" crap="1" count="1"/>
<line num="153" type="stmt" count="1"/>
<line num="165" type="method" name="hasAddressBook" crap="2" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="180" type="method" name="numContacts" crap="2" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="263" type="method" name="lastModifiedAddressBook" crap="1" count="4"/>
<line num="264" type="stmt" count="4"/>
<line num="275" type="method" name="setModifiedAddressBook" crap="2" count="0"/>
<line num="276" type="stmt" count="0"/>
<line num="369" type="method" name="lastModifiedContact" crap="2" count="0"/>
<line num="370" type="stmt" count="0"/>
<line num="382" type="method" name="combinedKey" crap="5.02" count="3"/>
<line num="383" type="stmt" count="3"/>
<line num="384" type="stmt" count="3"/>
<line num="386" type="stmt" count="3"/>
<line num="388" type="stmt" count="3"/>
<line num="389" type="stmt" count="0"/>
<line num="390" type="stmt" count="0"/>
<line num="392" type="stmt" count="3"/>
<line num="394" type="stmt" count="0"/>
<line num="396" type="stmt" count="0"/>
<line num="399" type="stmt" count="3"/>
<line num="407" type="method" name="isActive" crap="1" count="3"/>
<line num="409" type="stmt" count="3"/>
<line num="410" type="stmt" count="3"/>
<line num="412" type="stmt" count="3"/>
<line num="421" type="method" name="setActive" crap="2" count="0"/>
<line num="423" type="stmt" count="0"/>
<line num="424" type="stmt" count="0"/>
<line num="426" type="stmt" count="0"/>
<line num="427" type="stmt" count="0"/>
<line num="434" type="method" name="getPreferences" crap="6" count="0"/>
<line num="436" type="stmt" count="0"/>
<line num="438" type="stmt" count="0"/>
<line num="439" type="stmt" count="0"/>
<line num="447" type="method" name="setPreferences" crap="6" count="0"/>
<line num="448" type="stmt" count="0"/>
<line num="450" type="stmt" count="0"/>
<line num="452" type="stmt" count="0"/>
<line num="453" type="stmt" count="0"/>
<line num="459" type="method" name="removePreferences" crap="2" count="0"/>
<line num="460" type="stmt" count="0"/>
<line num="461" type="stmt" count="0"/>
<line num="462" type="stmt" count="0"/>
<line num="464" type="stmt" count="0"/>
<metrics loc="465" ncloc="164" classes="1" methods="16" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="26" elements="67" coveredelements="32"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/backend/database.php">
<class name="Database" namespace="OCA\Contacts\Backend">
<metrics methods="23" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="514" coveredstatements="164" elements="537" coveredelements="166"/>
</class>
<line num="77" type="method" name="__construct" crap="2" count="1"/>
<line num="85" type="stmt" count="1"/>
<line num="86" type="stmt" count="1"/>
<line num="87" type="stmt" count="1"/>
<line num="88" type="stmt" count="1"/>
<line num="89" type="stmt" count="1"/>
<line num="90" type="stmt" count="1"/>
<line num="95" type="method" name="getAddressBooksForUser" crap="42" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="140" type="method" name="getAddressBook" crap="12.21" count="1"/>
<line num="141" type="stmt" count="1"/>
<line num="144" type="stmt" count="1"/>
<line num="146" type="stmt" count="0"/>
<line num="151" type="stmt" count="1"/>
<line num="153" type="stmt" count="1"/>
<line num="154" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="159" type="stmt" count="1"/>
<line num="161" type="stmt" count="1"/>
<line num="162" type="stmt" count="0"/>
<line num="165" type="stmt" count="1"/>
<line num="166" type="stmt" count="1"/>
<line num="167" type="stmt" count="1"/>
<line num="168" type="stmt" count="1"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="182" type="method" name="hasAddressBook" crap="12" count="0"/>
<line num="185" type="stmt" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="199" type="method" name="updateAddressBook" crap="133.31" count="1"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="211" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<line num="214" type="stmt" count="0"/>
<line num="215" type="stmt" count="0"/>
<line num="217" type="stmt" count="1"/>
<line num="219" type="stmt" count="0"/>
<line num="221" type="stmt" count="0"/>
<line num="222" type="stmt" count="0"/>
<line num="224" type="stmt" count="0"/>
<line num="225" type="stmt" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="235" type="stmt" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="237" type="stmt" count="0"/>
<line num="241" type="stmt" count="1"/>
<line num="242" type="stmt" count="0"/>
<line num="244" type="stmt" count="0"/>
<line num="245" type="stmt" count="0"/>
<line num="247" type="stmt" count="0"/>
<line num="248" type="stmt" count="0"/>
<line num="251" type="stmt" count="0"/>
<line num="252" type="stmt" count="0"/>
<line num="254" type="stmt" count="0"/>
<line num="255" type="stmt" count="0"/>
<line num="258" type="stmt" count="0"/>
<line num="272" type="method" name="createAddressBook" crap="12.10" count="1"/>
<line num="274" type="stmt" count="1"/>
<line num="275" type="stmt" count="0"/>
<line num="278" type="stmt" count="1"/>
<line num="279" type="stmt" count="1"/>
<line num="280" type="stmt" count="1"/>
<line num="281" type="stmt" count="1"/>
<line num="282" type="stmt" count="1"/>
<line num="283" type="stmt" count="1"/>
<line num="284" type="stmt" count="1"/>
<line num="287" type="stmt" count="1"/>
<line num="289" type="stmt" count="1"/>
<line num="290" type="stmt" count="0"/>
<line num="291" type="stmt" count="0"/>
<line num="294" type="stmt" count="1"/>
<line num="295" type="stmt" count="0"/>
<line num="296" type="stmt" count="0"/>
<line num="299" type="stmt" count="1"/>
<line num="301" type="stmt" count="1"/>
<line num="302" type="stmt" count="0"/>
<line num="303" type="stmt" count="0"/>
<line num="304" type="stmt" count="1"/>
<line num="305" type="stmt" count="0"/>
<line num="306" type="stmt" count="0"/>
<line num="307" type="stmt" count="0"/>
<line num="309" type="stmt" count="1"/>
<line num="317" type="method" name="preDeleteAddressBook" crap="26.60" count="1"/>
<line num="319" type="stmt" count="0"/>
<line num="320" type="stmt" count="0"/>
<line num="324" type="stmt" count="0"/>
<line num="325" type="stmt" count="1"/>
<line num="327" type="stmt" count="0"/>
<line num="328" type="stmt" count="0"/>
<line num="329" type="stmt" count="0"/>
<line num="330" type="stmt" count="0"/>
<line num="333" type="stmt" count="0"/>
<line num="334" type="stmt" count="0"/>
<line num="335" type="stmt" count="0"/>
<line num="336" type="stmt" count="0"/>
<line num="339" type="stmt" count="0"/>
<line num="340" type="stmt" count="0"/>
<line num="341" type="stmt" count="0"/>
<line num="342" type="stmt" count="0"/>
<line num="344" type="stmt" count="0"/>
<line num="345" type="stmt" count="0"/>
<line num="346" type="stmt" count="0"/>
<line num="347" type="stmt" count="0"/>
<line num="348" type="stmt" count="0"/>
<line num="359" type="method" name="deleteAddressBook" crap="30" count="0"/>
<line num="361" type="stmt" count="0"/>
<line num="364" type="stmt" count="0"/>
<line num="365" type="stmt" count="0"/>
<line num="366" type="stmt" count="0"/>
<line num="367" type="stmt" count="0"/>
<line num="368" type="stmt" count="0"/>
<line num="369" type="stmt" count="0"/>
<line num="373" type="stmt" count="0"/>
<line num="374" type="stmt" count="0"/>
<line num="375" type="stmt" count="0"/>
<line num="376" type="stmt" count="0"/>
<line num="377" type="stmt" count="0"/>
<line num="378" type="stmt" count="0"/>
<line num="381" type="stmt" count="0"/>
<line num="382" type="stmt" count="0"/>
<line num="383" type="stmt" count="0"/>
<line num="385" type="stmt" count="0"/>
<line num="393" type="method" name="setModifiedAddressBook" crap="1" count="1"/>
<line num="394" type="stmt" count="1"/>
<line num="395" type="stmt" count="1"/>
<line num="397" type="stmt" count="1"/>
<line num="403" type="method" name="lastModifiedAddressBook" crap="14.11" count="1"/>
<line num="405" type="stmt" count="1"/>
<line num="406" type="stmt" count="1"/>
<line num="409" type="stmt" count="0"/>
<line num="410" type="stmt" count="0"/>
<line num="411" type="stmt" count="0"/>
<line num="412" type="stmt" count="0"/>
<line num="413" type="stmt" count="0"/>
<line num="422" type="method" name="numContacts" crap="6" count="0"/>
<line num="424" type="stmt" count="0"/>
<line num="426" type="stmt" count="0"/>
<line num="427" type="stmt" count="0"/>
<line num="428" type="stmt" count="0"/>
<line num="431" type="stmt" count="0"/>
<line num="437" type="method" name="getContacts" crap="56" count="0"/>
<line num="439" type="stmt" count="0"/>
<line num="441" type="stmt" count="0"/>
<line num="442" type="stmt" count="0"/>
<line num="443" type="stmt" count="0"/>
<line num="445" type="stmt" count="0"/>
<line num="447" type="stmt" count="0"/>
<line num="448" type="stmt" count="0"/>
<line num="449" type="stmt" count="0"/>
<line num="452" type="stmt" count="0"/>
<line num="453" type="stmt" count="0"/>
<line num="454" type="stmt" count="0"/>
<line num="457" type="stmt" count="0"/>
<line num="459" type="stmt" count="0"/>
<line num="460" type="stmt" count="0"/>
<line num="461" type="stmt" count="0"/>
<line num="462" type="stmt" count="0"/>
<line num="464" type="stmt" count="0"/>
<line num="466" type="stmt" count="0"/>
<line num="484" type="method" name="getContact" crap="38.43" count="1"/>
<line num="489" type="stmt" count="1"/>
<line num="491" type="stmt" count="1"/>
<line num="492" type="stmt" count="1"/>
<line num="495" type="stmt" count="1"/>
<line num="496" type="stmt" count="0"/>
<line num="497" type="stmt" count="0"/>
<line num="498" type="stmt" count="0"/>
<line num="499" type="stmt" count="0"/>
<line num="500" type="stmt" count="0"/>
<line num="501" type="stmt" count="0"/>
<line num="502" type="stmt" count="0"/>
<line num="503" type="stmt" count="0"/>
<line num="505" type="stmt" count="0"/>
<line num="507" type="stmt" count="0"/>
<line num="508" type="stmt" count="1"/>
<line num="509" type="stmt" count="0"/>
<line num="511" type="stmt" count="0"/>
<line num="513" type="stmt" count="1"/>
<line num="514" type="stmt" count="1"/>
<line num="517" type="stmt" count="1"/>
<line num="518" type="stmt" count="0"/>
<line num="519" type="stmt" count="0"/>
<line num="520" type="stmt" count="1"/>
<line num="525" type="stmt" count="1"/>
<line num="527" type="stmt" count="1"/>
<line num="528" type="stmt" count="0"/>
<line num="529" type="stmt" count="0"/>
<line num="532" type="stmt" count="1"/>
<line num="533" type="stmt" count="0"/>
<line num="534" type="stmt" count="0"/>
<line num="535" type="stmt" count="0"/>
<line num="538" type="stmt" count="1"/>
<line num="540" type="stmt" count="1"/>
<line num="541" type="stmt" count="0"/>
<line num="542" type="stmt" count="0"/>
<line num="543" type="stmt" count="0"/>
<line num="544" type="stmt" count="0"/>
<line num="546" type="stmt" count="0"/>
<line num="547" type="stmt" count="0"/>
<line num="550" type="stmt" count="1"/>
<line num="551" type="stmt" count="1"/>
<line num="558" type="method" name="hasContact" crap="6" count="0"/>
<line num="560" type="stmt" count="0"/>
<line num="561" type="stmt" count="0"/>
<line num="562" type="stmt" count="0"/>
<line num="563" type="stmt" count="0"/>
<line num="582" type="method" name="createContact" crap="9.73" count="1"/>
<line num="585" type="stmt" count="1"/>
<line num="587" type="stmt" count="1"/>
<line num="589" type="stmt" count="0"/>
<line num="590" type="stmt" count="0"/>
<line num="591" type="stmt" count="0"/>
<line num="592" type="stmt" count="0"/>
<line num="594" type="stmt" count="0"/>
<line num="597" type="stmt" count="1"/>
<line num="598" type="stmt" count="1"/>
<line num="599" type="stmt" count="0"/>
<line num="600" type="stmt" count="0"/>
<line num="601" type="stmt" count="0"/>
<line num="604" type="stmt" count="1"/>
<line num="605" type="stmt" count="1"/>
<line num="606" type="stmt" count="1"/>
<line num="608" type="stmt" count="1"/>
<line num="609" type="stmt" count="1"/>
<line num="610" type="stmt" count="1"/>
<line num="611" type="stmt" count="1"/>
<line num="614" type="stmt" count="1"/>
<line num="615" type="stmt" count="1"/>
<line num="617" type="stmt" count="1"/>
<line num="618" type="stmt" count="1"/>
<line num="619" type="stmt" count="1"/>
<line num="620" type="stmt" count="1"/>
<line num="621" type="stmt" count="1"/>
<line num="622" type="stmt" count="1"/>
<line num="623" type="stmt" count="1"/>
<line num="625" type="stmt" count="1"/>
<line num="626" type="stmt" count="0"/>
<line num="627" type="stmt" count="0"/>
<line num="630" type="stmt" count="1"/>
<line num="631" type="stmt" count="0"/>
<line num="632" type="stmt" count="0"/>
<line num="634" type="stmt" count="1"/>
<line num="636" type="stmt" count="1"/>
<line num="637" type="stmt" count="1"/>
<line num="638" type="stmt" count="1"/>
<line num="639" type="stmt" count="1"/>
<line num="640" type="stmt" count="1"/>
<line num="655" type="method" name="updateContact" crap="240" count="0"/>
<line num="657" type="stmt" count="0"/>
<line num="658" type="stmt" count="0"/>
<line num="660" type="stmt" count="0"/>
<line num="661" type="stmt" count="0"/>
<line num="663" type="stmt" count="0"/>
<line num="665" type="stmt" count="0"/>
<line num="666" type="stmt" count="0"/>
<line num="667" type="stmt" count="0"/>
<line num="668" type="stmt" count="0"/>
<line num="670" type="stmt" count="0"/>
<line num="672" type="stmt" count="0"/>
<line num="674" type="stmt" count="0"/>
<line num="675" type="stmt" count="0"/>
<line num="676" type="stmt" count="0"/>
<line num="677" type="stmt" count="0"/>
<line num="678" type="stmt" count="0"/>
<line num="679" type="stmt" count="0"/>
<line num="681" type="stmt" count="0"/>
<line num="682" type="stmt" count="0"/>
<line num="683" type="stmt" count="0"/>
<line num="686" type="stmt" count="0"/>
<line num="687" type="stmt" count="0"/>
<line num="689" type="stmt" count="0"/>
<line num="691" type="stmt" count="0"/>
<line num="693" type="stmt" count="0"/>
<line num="694" type="stmt" count="0"/>
<line num="695" type="stmt" count="0"/>
<line num="696" type="stmt" count="0"/>
<line num="698" type="stmt" count="0"/>
<line num="700" type="stmt" count="0"/>
<line num="701" type="stmt" count="0"/>
<line num="702" type="stmt" count="0"/>
<line num="703" type="stmt" count="0"/>
<line num="705" type="stmt" count="0"/>
<line num="709" type="stmt" count="0"/>
<line num="711" type="stmt" count="0"/>
<line num="712" type="stmt" count="0"/>
<line num="713" type="stmt" count="0"/>
<line num="716" type="stmt" count="0"/>
<line num="717" type="stmt" count="0"/>
<line num="718" type="stmt" count="0"/>
<line num="719" type="stmt" count="0"/>
<line num="720" type="stmt" count="0"/>
<line num="723" type="stmt" count="0"/>
<line num="725" type="stmt" count="0"/>
<line num="727" type="stmt" count="0"/>
<line num="729" type="stmt" count="0"/>
<line num="730" type="stmt" count="0"/>
<line num="731" type="stmt" count="0"/>
<line num="732" type="stmt" count="0"/>
<line num="734" type="stmt" count="0"/>
<line num="735" type="stmt" count="0"/>
<line num="737" type="stmt" count="0"/>
<line num="739" type="stmt" count="0"/>
<line num="751" type="method" name="deleteContact" crap="36.44" count="1"/>
<line num="754" type="stmt" count="1"/>
<line num="755" type="stmt" count="1"/>
<line num="757" type="stmt" count="1"/>
<line num="759" type="stmt" count="0"/>
<line num="760" type="stmt" count="0"/>
<line num="761" type="stmt" count="0"/>
<line num="763" type="stmt" count="0"/>
<line num="765" type="stmt" count="0"/>
<line num="766" type="stmt" count="0"/>
<line num="767" type="stmt" count="0"/>
<line num="770" type="stmt" count="0"/>
<line num="771" type="stmt" count="0"/>
<line num="773" type="stmt" count="0"/>
<line num="775" type="stmt" count="0"/>
<line num="777" type="stmt" count="1"/>
<line num="778" type="stmt" count="1"/>
<line num="779" type="stmt" count="1"/>
<line num="780" type="stmt" count="1"/>
<line num="781" type="stmt" count="1"/>
<line num="783" type="stmt" count="1"/>
<line num="784" type="stmt" count="0"/>
<line num="785" type="stmt" count="0"/>
<line num="786" type="stmt" count="0"/>
<line num="790" type="stmt" count="1"/>
<line num="791" type="stmt" count="1"/>
<line num="793" type="stmt" count="1"/>
<line num="794" type="stmt" count="0"/>
<line num="795" type="stmt" count="0"/>
<line num="796" type="stmt" count="0"/>
<line num="799" type="stmt" count="1"/>
<line num="800" type="stmt" count="0"/>
<line num="801" type="stmt" count="0"/>
<line num="802" type="stmt" count="0"/>
<line num="803" type="stmt" count="0"/>
<line num="804" type="stmt" count="0"/>
<line num="807" type="stmt" count="1"/>
<line num="808" type="stmt" count="1"/>
<line num="821" type="method" name="lastModifiedContact" crap="6" count="0"/>
<line num="823" type="stmt" count="0"/>
<line num="824" type="stmt" count="0"/>
<line num="834" type="method" name="getIdFromUri" crap="12" count="0"/>
<line num="836" type="stmt" count="0"/>
<line num="837" type="stmt" count="0"/>
<line num="839" type="stmt" count="0"/>
<line num="840" type="stmt" count="0"/>
<line num="841" type="stmt" count="0"/>
<line num="844" type="stmt" count="0"/>
<line num="846" type="stmt" count="0"/>
<line num="847" type="stmt" count="0"/>
<line num="848" type="stmt" count="0"/>
<line num="851" type="stmt" count="0"/>
<line num="860" type="method" name="createAddressBookURI" crap="8.12" count="1"/>
<line num="862" type="stmt" count="1"/>
<line num="865" type="stmt" count="1"/>
<line num="866" type="stmt" count="1"/>
<line num="868" type="stmt" count="1"/>
<line num="869" type="stmt" count="0"/>
<line num="870" type="stmt" count="0"/>
<line num="872" type="stmt" count="0"/>
<line num="873" type="stmt" count="0"/>
<line num="876" type="stmt" count="1"/>
<line num="877" type="stmt" count="0"/>
<line num="878" type="stmt" count="0"/>
<line num="880" type="stmt" count="1"/>
<line num="881" type="stmt" count="1"/>
<line num="882" type="stmt" count="0"/>
<line num="883" type="stmt" count="0"/>
<line num="885" type="stmt" count="1"/>
<line num="887" type="stmt" count="1"/>
<line num="888" type="stmt" count="1"/>
<line num="889" type="stmt" count="0"/>
<line num="890" type="stmt" count="0"/>
<line num="891" type="stmt" count="0"/>
<line num="892" type="stmt" count="1"/>
<line num="901" type="method" name="uniqueURI" crap="20.70" count="1"/>
<line num="902" type="stmt" count="1"/>
<line num="904" type="stmt" count="1"/>
<line num="905" type="stmt" count="1"/>
<line num="907" type="stmt" count="1"/>
<line num="909" type="stmt" count="0"/>
<line num="910" type="stmt" count="0"/>
<line num="911" type="stmt" count="0"/>
<line num="913" type="stmt" count="0"/>
<line num="914" type="stmt" count="0"/>
<line num="916" type="stmt" count="0"/>
<line num="920" type="stmt" count="0"/>
<line num="922" type="stmt" count="1"/>
<line num="933" type="method" name="getPreparedQuery" crap="120.63" count="1"/>
<line num="935" type="stmt" count="1"/>
<line num="936" type="stmt" count="1"/>
<line num="939" type="stmt" count="1"/>
<line num="943" type="stmt" count="1"/>
<line num="944" type="stmt" count="0"/>
<line num="946" type="stmt" count="0"/>
<line num="947" type="stmt" count="0"/>
<line num="948" type="stmt" count="0"/>
<line num="949" type="stmt" count="1"/>
<line num="950" type="stmt" count="1"/>
<line num="952" type="stmt" count="1"/>
<line num="953" type="stmt" count="1"/>
<line num="954" type="stmt" count="1"/>
<line num="955" type="stmt" count="1"/>
<line num="956" type="stmt" count="1"/>
<line num="957" type="stmt" count="1"/>
<line num="958" type="stmt" count="1"/>
<line num="959" type="stmt" count="1"/>
<line num="960" type="stmt" count="1"/>
<line num="961" type="stmt" count="1"/>
<line num="962" type="stmt" count="0"/>
<line num="963" type="stmt" count="0"/>
<line num="964" type="stmt" count="0"/>
<line num="965" type="stmt" count="1"/>
<line num="966" type="stmt" count="0"/>
<line num="967" type="stmt" count="0"/>
<line num="968" type="stmt" count="0"/>
<line num="969" type="stmt" count="1"/>
<line num="970" type="stmt" count="1"/>
<line num="971" type="stmt" count="1"/>
<line num="972" type="stmt" count="1"/>
<line num="973" type="stmt" count="1"/>
<line num="974" type="stmt" count="1"/>
<line num="975" type="stmt" count="1"/>
<line num="976" type="stmt" count="1"/>
<line num="977" type="stmt" count="1"/>
<line num="978" type="stmt" count="1"/>
<line num="979" type="stmt" count="1"/>
<line num="980" type="stmt" count="1"/>
<line num="981" type="stmt" count="1"/>
<line num="982" type="stmt" count="1"/>
<line num="983" type="stmt" count="0"/>
<line num="984" type="stmt" count="0"/>
<line num="985" type="stmt" count="0"/>
<line num="986" type="stmt" count="0"/>
<line num="987" type="stmt" count="1"/>
<line num="988" type="stmt" count="1"/>
<line num="989" type="stmt" count="1"/>
<line num="990" type="stmt" count="1"/>
<line num="991" type="stmt" count="1"/>
<line num="992" type="stmt" count="1"/>
<line num="993" type="stmt" count="0"/>
<line num="994" type="stmt" count="0"/>
<line num="995" type="stmt" count="0"/>
<line num="996" type="stmt" count="0"/>
<line num="997" type="stmt" count="1"/>
<line num="998" type="stmt" count="1"/>
<line num="999" type="stmt" count="1"/>
<line num="1000" type="stmt" count="1"/>
<line num="1001" type="stmt" count="1"/>
<line num="1002" type="stmt" count="1"/>
<line num="1003" type="stmt" count="1"/>
<line num="1004" type="stmt" count="1"/>
<line num="1006" type="stmt" count="1"/>
<line num="1007" type="stmt" count="1"/>
<line num="1008" type="stmt" count="1"/>
<line num="1009" type="stmt" count="0"/>
<line num="1010" type="stmt" count="0"/>
<line num="1012" type="stmt" count="0"/>
<line num="1013" type="stmt" count="0"/>
<line num="1014" type="stmt" count="0"/>
<line num="1015" type="stmt" count="0"/>
<line num="1016" type="stmt" count="0"/>
<line num="1018" type="stmt" count="0"/>
<line num="1019" type="stmt" count="0"/>
<line num="1020" type="stmt" count="0"/>
<line num="1021" type="stmt" count="0"/>
<line num="1023" type="stmt" count="0"/>
<line num="1024" type="stmt" count="0"/>
<line num="1025" type="stmt" count="0"/>
<line num="1026" type="stmt" count="0"/>
<line num="1027" type="stmt" count="0"/>
<line num="1028" type="stmt" count="0"/>
<line num="1029" type="stmt" count="0"/>
<line num="1030" type="stmt" count="0"/>
<line num="1032" type="stmt" count="0"/>
<line num="1033" type="stmt" count="0"/>
<line num="1034" type="stmt" count="0"/>
<line num="1035" type="stmt" count="0"/>
<line num="1036" type="stmt" count="0"/>
<line num="1037" type="stmt" count="0"/>
<line num="1039" type="stmt" count="0"/>
<line num="1040" type="stmt" count="0"/>
<line num="1041" type="stmt" count="0"/>
<line num="1042" type="stmt" count="0"/>
<line num="1043" type="stmt" count="0"/>
<line num="1044" type="stmt" count="0"/>
<line num="1045" type="stmt" count="0"/>
<line num="1046" type="stmt" count="0"/>
<line num="1047" type="stmt" count="0"/>
<line num="1048" type="stmt" count="0"/>
<line num="1050" type="stmt" count="0"/>
<line num="1052" type="stmt" count="1"/>
<line num="1054" type="stmt" count="1"/>
<line num="1057" type="method" name="getSearchProvider" crap="2" count="0"/>
<line num="1058" type="stmt" count="0"/>
<metrics loc="1061" ncloc="827" classes="1" methods="23" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="514" coveredstatements="164" elements="537" coveredelements="166"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/backend/ldap.php">
<class name="Ldap" namespace="OCA\Contacts\Backend">
<metrics methods="27" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="422" coveredstatements="0" elements="449" coveredelements="0"/>
</class>
<line num="54" type="method" name="setLdapParams" crap="6" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="70" type="method" name="ldapCreateAndBindConnection" crap="30" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="94" type="method" name="ldapCloseConnection" crap="6" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="105" type="method" name="ldapIsConnected" crap="2" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="118" type="method" name="ldapFindMultiple" crap="156" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="159" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="172" type="method" name="ldapFindOne" crap="90" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="180" type="stmt" count="0"/>
<line num="181" type="stmt" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="184" type="stmt" count="0"/>
<line num="185" type="stmt" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="194" type="stmt" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="196" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="205" type="method" name="ldapAdd" crap="6" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="218" type="method" name="ldapUpdate" crap="6" count="0"/>
<line num="219" type="stmt" count="0"/>
<line num="220" type="stmt" count="0"/>
<line num="221" type="stmt" count="0"/>
<line num="222" type="stmt" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="230" type="method" name="ldapDelete" crap="6" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="234" type="stmt" count="0"/>
<line num="235" type="stmt" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="242" type="method" name="__construct" crap="6" count="0"/>
<line num="243" type="stmt" count="0"/>
<line num="244" type="stmt" count="0"/>
<line num="245" type="stmt" count="0"/>
<line num="246" type="stmt" count="0"/>
<line num="247" type="stmt" count="0"/>
<line num="248" type="stmt" count="0"/>
<line num="255" type="method" name="getAddressBooksForUser" crap="6" count="0"/>
<line num="256" type="stmt" count="0"/>
<line num="257" type="stmt" count="0"/>
<line num="258" type="stmt" count="0"/>
<line num="259" type="stmt" count="0"/>
<line num="260" type="stmt" count="0"/>
<line num="261" type="stmt" count="0"/>
<line num="275" type="method" name="getAddressBook" crap="56" count="0"/>
<line num="278" type="stmt" count="0"/>
<line num="280" type="stmt" count="0"/>
<line num="281" type="stmt" count="0"/>
<line num="283" type="stmt" count="0"/>
<line num="284" type="stmt" count="0"/>
<line num="285" type="stmt" count="0"/>
<line num="286" type="stmt" count="0"/>
<line num="287" type="stmt" count="0"/>
<line num="288" type="stmt" count="0"/>
<line num="289" type="stmt" count="0"/>
<line num="292" type="stmt" count="0"/>
<line num="293" type="stmt" count="0"/>
<line num="294" type="stmt" count="0"/>
<line num="296" type="stmt" count="0"/>
<line num="297" type="stmt" count="0"/>
<line num="298" type="stmt" count="0"/>
<line num="299" type="stmt" count="0"/>
<line num="300" type="stmt" count="0"/>
<line num="306" type="method" name="hasAddressBook" crap="12" count="0"/>
<line num="307" type="stmt" count="0"/>
<line num="308" type="stmt" count="0"/>
<line num="309" type="stmt" count="0"/>
<line num="310" type="stmt" count="0"/>
<line num="311" type="stmt" count="0"/>
<line num="325" type="method" name="updateAddressBook" crap="20" count="0"/>
<line num="326" type="stmt" count="0"/>
<line num="328" type="stmt" count="0"/>
<line num="330" type="stmt" count="0"/>
<line num="331" type="stmt" count="0"/>
<line num="332" type="stmt" count="0"/>
<line num="333" type="stmt" count="0"/>
<line num="334" type="stmt" count="0"/>
<line num="335" type="stmt" count="0"/>
<line num="336" type="stmt" count="0"/>
<line num="337" type="stmt" count="0"/>
<line num="349" type="method" name="createAddressBook" crap="12" count="0"/>
<line num="350" type="stmt" count="0"/>
<line num="351" type="stmt" count="0"/>
<line num="352" type="stmt" count="0"/>
<line num="353" type="stmt" count="0"/>
<line num="354" type="stmt" count="0"/>
<line num="355" type="stmt" count="0"/>
<line num="363" type="method" name="setAddressBook" crap="1122" count="0"/>
<line num="364" type="stmt" count="0"/>
<line num="365" type="stmt" count="0"/>
<line num="366" type="stmt" count="0"/>
<line num="367" type="stmt" count="0"/>
<line num="368" type="stmt" count="0"/>
<line num="369" type="stmt" count="0"/>
<line num="370" type="stmt" count="0"/>
<line num="371" type="stmt" count="0"/>
<line num="372" type="stmt" count="0"/>
<line num="373" type="stmt" count="0"/>
<line num="374" type="stmt" count="0"/>
<line num="375" type="stmt" count="0"/>
<line num="376" type="stmt" count="0"/>
<line num="377" type="stmt" count="0"/>
<line num="378" type="stmt" count="0"/>
<line num="379" type="stmt" count="0"/>
<line num="380" type="stmt" count="0"/>
<line num="381" type="stmt" count="0"/>
<line num="382" type="stmt" count="0"/>
<line num="383" type="stmt" count="0"/>
<line num="384" type="stmt" count="0"/>
<line num="385" type="stmt" count="0"/>
<line num="386" type="stmt" count="0"/>
<line num="387" type="stmt" count="0"/>
<line num="388" type="stmt" count="0"/>
<line num="389" type="stmt" count="0"/>
<line num="390" type="stmt" count="0"/>
<line num="391" type="stmt" count="0"/>
<line num="392" type="stmt" count="0"/>
<line num="393" type="stmt" count="0"/>
<line num="394" type="stmt" count="0"/>
<line num="395" type="stmt" count="0"/>
<line num="396" type="stmt" count="0"/>
<line num="397" type="stmt" count="0"/>
<line num="398" type="stmt" count="0"/>
<line num="399" type="stmt" count="0"/>
<line num="400" type="stmt" count="0"/>
<line num="401" type="stmt" count="0"/>
<line num="403" type="stmt" count="0"/>
<line num="404" type="stmt" count="0"/>
<line num="405" type="stmt" count="0"/>
<line num="406" type="stmt" count="0"/>
<line num="407" type="stmt" count="0"/>
<line num="408" type="stmt" count="0"/>
<line num="409" type="stmt" count="0"/>
<line num="410" type="stmt" count="0"/>
<line num="411" type="stmt" count="0"/>
<line num="412" type="stmt" count="0"/>
<line num="414" type="stmt" count="0"/>
<line num="415" type="stmt" count="0"/>
<line num="416" type="stmt" count="0"/>
<line num="417" type="stmt" count="0"/>
<line num="418" type="stmt" count="0"/>
<line num="419" type="stmt" count="0"/>
<line num="420" type="stmt" count="0"/>
<line num="421" type="stmt" count="0"/>
<line num="422" type="stmt" count="0"/>
<line num="423" type="stmt" count="0"/>
<line num="424" type="stmt" count="0"/>
<line num="432" type="method" name="deleteAddressBook" crap="6" count="0"/>
<line num="434" type="stmt" count="0"/>
<line num="435" type="stmt" count="0"/>
<line num="436" type="stmt" count="0"/>
<line num="437" type="stmt" count="0"/>
<line num="438" type="stmt" count="0"/>
<line num="439" type="stmt" count="0"/>
<line num="440" type="stmt" count="0"/>
<line num="442" type="stmt" count="0"/>
<line num="445" type="stmt" count="0"/>
<line num="446" type="stmt" count="0"/>
<line num="473" type="method" name="getContacts" crap="210" count="0"/>
<line num="474" type="stmt" count="0"/>
<line num="475" type="stmt" count="0"/>
<line num="476" type="stmt" count="0"/>
<line num="477" type="stmt" count="0"/>
<line num="478" type="stmt" count="0"/>
<line num="479" type="stmt" count="0"/>
<line num="480" type="stmt" count="0"/>
<line num="481" type="stmt" count="0"/>
<line num="482" type="stmt" count="0"/>
<line num="484" type="stmt" count="0"/>
<line num="485" type="stmt" count="0"/>
<line num="486" type="stmt" count="0"/>
<line num="487" type="stmt" count="0"/>
<line num="488" type="stmt" count="0"/>
<line num="489" type="stmt" count="0"/>
<line num="490" type="stmt" count="0"/>
<line num="491" type="stmt" count="0"/>
<line num="492" type="stmt" count="0"/>
<line num="493" type="stmt" count="0"/>
<line num="495" type="stmt" count="0"/>
<line num="496" type="stmt" count="0"/>
<line num="498" type="stmt" count="0"/>
<line num="499" type="stmt" count="0"/>
<line num="500" type="stmt" count="0"/>
<line num="501" type="stmt" count="0"/>
<line num="502" type="stmt" count="0"/>
<line num="503" type="stmt" count="0"/>
<line num="504" type="stmt" count="0"/>
<line num="505" type="stmt" count="0"/>
<line num="506" type="stmt" count="0"/>
<line num="507" type="stmt" count="0"/>
<line num="508" type="stmt" count="0"/>
<line num="510" type="stmt" count="0"/>
<line num="511" type="stmt" count="0"/>
<line num="512" type="stmt" count="0"/>
<line num="513" type="stmt" count="0"/>
<line num="524" type="method" name="getContact" crap="56" count="0"/>
<line num="525" type="stmt" count="0"/>
<line num="526" type="stmt" count="0"/>
<line num="527" type="stmt" count="0"/>
<line num="528" type="stmt" count="0"/>
<line num="529" type="stmt" count="0"/>
<line num="531" type="stmt" count="0"/>
<line num="532" type="stmt" count="0"/>
<line num="533" type="stmt" count="0"/>
<line num="534" type="stmt" count="0"/>
<line num="535" type="stmt" count="0"/>
<line num="536" type="stmt" count="0"/>
<line num="537" type="stmt" count="0"/>
<line num="538" type="stmt" count="0"/>
<line num="539" type="stmt" count="0"/>
<line num="540" type="stmt" count="0"/>
<line num="541" type="stmt" count="0"/>
<line num="542" type="stmt" count="0"/>
<line num="543" type="stmt" count="0"/>
<line num="544" type="stmt" count="0"/>
<line num="545" type="stmt" count="0"/>
<line num="546" type="stmt" count="0"/>
<line num="547" type="stmt" count="0"/>
<line num="548" type="stmt" count="0"/>
<line num="549" type="stmt" count="0"/>
<line num="550" type="stmt" count="0"/>
<line num="551" type="stmt" count="0"/>
<line num="552" type="stmt" count="0"/>
<line num="553" type="stmt" count="0"/>
<line num="554" type="stmt" count="0"/>
<line num="555" type="stmt" count="0"/>
<line num="556" type="stmt" count="0"/>
<line num="557" type="stmt" count="0"/>
<line num="558" type="stmt" count="0"/>
<line num="566" type="method" name="getSabreFormatCard" crap="12" count="0"/>
<line num="574" type="stmt" count="0"/>
<line num="575" type="stmt" count="0"/>
<line num="576" type="stmt" count="0"/>
<line num="577" type="stmt" count="0"/>
<line num="578" type="stmt" count="0"/>
<line num="579" type="stmt" count="0"/>
<line num="580" type="stmt" count="0"/>
<line num="581" type="stmt" count="0"/>
<line num="582" type="stmt" count="0"/>
<line num="583" type="stmt" count="0"/>
<line num="584" type="stmt" count="0"/>
<line num="585" type="stmt" count="0"/>
<line num="586" type="stmt" count="0"/>
<line num="587" type="stmt" count="0"/>
<line num="588" type="stmt" count="0"/>
<line num="589" type="stmt" count="0"/>
<line num="590" type="stmt" count="0"/>
<line num="598" type="method" name="createContact" crap="72" count="0"/>
<line num="600" type="stmt" count="0"/>
<line num="602" type="stmt" count="0"/>
<line num="603" type="stmt" count="0"/>
<line num="606" type="stmt" count="0"/>
<line num="607" type="stmt" count="0"/>
<line num="608" type="stmt" count="0"/>
<line num="609" type="stmt" count="0"/>
<line num="610" type="stmt" count="0"/>
<line num="612" type="stmt" count="0"/>
<line num="613" type="stmt" count="0"/>
<line num="614" type="stmt" count="0"/>
<line num="615" type="stmt" count="0"/>
<line num="616" type="stmt" count="0"/>
<line num="617" type="stmt" count="0"/>
<line num="618" type="stmt" count="0"/>
<line num="619" type="stmt" count="0"/>
<line num="621" type="stmt" count="0"/>
<line num="622" type="stmt" count="0"/>
<line num="623" type="stmt" count="0"/>
<line num="624" type="stmt" count="0"/>
<line num="625" type="stmt" count="0"/>
<line num="626" type="stmt" count="0"/>
<line num="627" type="stmt" count="0"/>
<line num="629" type="stmt" count="0"/>
<line num="631" type="stmt" count="0"/>
<line num="632" type="stmt" count="0"/>
<line num="633" type="stmt" count="0"/>
<line num="634" type="stmt" count="0"/>
<line num="635" type="stmt" count="0"/>
<line num="636" type="stmt" count="0"/>
<line num="637" type="stmt" count="0"/>
<line num="638" type="stmt" count="0"/>
<line num="640" type="stmt" count="0"/>
<line num="643" type="stmt" count="0"/>
<line num="644" type="stmt" count="0"/>
<line num="645" type="stmt" count="0"/>
<line num="646" type="stmt" count="0"/>
<line num="647" type="stmt" count="0"/>
<line num="648" type="stmt" count="0"/>
<line num="649" type="stmt" count="0"/>
<line num="650" type="stmt" count="0"/>
<line num="651" type="stmt" count="0"/>
<line num="661" type="method" name="updateContact" crap="56" count="0"/>
<line num="662" type="stmt" count="0"/>
<line num="663" type="stmt" count="0"/>
<line num="664" type="stmt" count="0"/>
<line num="665" type="stmt" count="0"/>
<line num="666" type="stmt" count="0"/>
<line num="667" type="stmt" count="0"/>
<line num="668" type="stmt" count="0"/>
<line num="669" type="stmt" count="0"/>
<line num="670" type="stmt" count="0"/>
<line num="671" type="stmt" count="0"/>
<line num="673" type="stmt" count="0"/>
<line num="674" type="stmt" count="0"/>
<line num="675" type="stmt" count="0"/>
<line num="676" type="stmt" count="0"/>
<line num="677" type="stmt" count="0"/>
<line num="678" type="stmt" count="0"/>
<line num="679" type="stmt" count="0"/>
<line num="682" type="stmt" count="0"/>
<line num="683" type="stmt" count="0"/>
<line num="684" type="stmt" count="0"/>
<line num="685" type="stmt" count="0"/>
<line num="686" type="stmt" count="0"/>
<line num="688" type="stmt" count="0"/>
<line num="689" type="stmt" count="0"/>
<line num="690" type="stmt" count="0"/>
<line num="691" type="stmt" count="0"/>
<line num="693" type="stmt" count="0"/>
<line num="694" type="stmt" count="0"/>
<line num="695" type="stmt" count="0"/>
<line num="697" type="stmt" count="0"/>
<line num="698" type="stmt" count="0"/>
<line num="699" type="stmt" count="0"/>
<line num="700" type="stmt" count="0"/>
<line num="702" type="stmt" count="0"/>
<line num="703" type="stmt" count="0"/>
<line num="704" type="stmt" count="0"/>
<line num="705" type="stmt" count="0"/>
<line num="706" type="stmt" count="0"/>
<line num="707" type="stmt" count="0"/>
<line num="708" type="stmt" count="0"/>
<line num="717" type="method" name="deleteContact" crap="12" count="0"/>
<line num="718" type="stmt" count="0"/>
<line num="719" type="stmt" count="0"/>
<line num="720" type="stmt" count="0"/>
<line num="721" type="stmt" count="0"/>
<line num="722" type="stmt" count="0"/>
<line num="723" type="stmt" count="0"/>
<line num="724" type="stmt" count="0"/>
<line num="725" type="stmt" count="0"/>
<line num="726" type="stmt" count="0"/>
<line num="727" type="stmt" count="0"/>
<line num="729" type="stmt" count="0"/>
<line num="730" type="stmt" count="0"/>
<line num="731" type="stmt" count="0"/>
<line num="732" type="stmt" count="0"/>
<line num="733" type="stmt" count="0"/>
<line num="734" type="stmt" count="0"/>
<line num="735" type="stmt" count="0"/>
<line num="747" type="method" name="lastModifiedContact" crap="6" count="0"/>
<line num="748" type="stmt" count="0"/>
<line num="749" type="stmt" count="0"/>
<line num="750" type="stmt" count="0"/>
<line num="751" type="stmt" count="0"/>
<line num="752" type="stmt" count="0"/>
<line num="753" type="stmt" count="0"/>
<line num="754" type="stmt" count="0"/>
<line num="762" type="method" name="setAddressbookList" crap="6" count="0"/>
<line num="763" type="stmt" count="0"/>
<line num="764" type="stmt" count="0"/>
<line num="766" type="stmt" count="0"/>
<line num="767" type="stmt" count="0"/>
<line num="768" type="stmt" count="0"/>
<line num="769" type="stmt" count="0"/>
<line num="775" type="method" name="getAddressbookList" crap="6" count="0"/>
<line num="776" type="stmt" count="0"/>
<line num="777" type="stmt" count="0"/>
<line num="779" type="stmt" count="0"/>
<line num="780" type="stmt" count="0"/>
<line num="782" type="method" name="getSearchProvider" crap="2" count="0"/>
<line num="783" type="stmt" count="0"/>
<line num="784" type="stmt" count="0"/>
<metrics loc="785" ncloc="516" classes="1" methods="27" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="422" coveredstatements="0" elements="449" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/backend/shared.php">
<class name="Shared" namespace="OCA\Contacts\Backend">
<metrics methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="61" coveredstatements="0" elements="65" coveredelements="0"/>
</class>
<line num="49" type="method" name="getAddressBooksForUser" crap="12" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="72" type="method" name="getAddressBook" crap="30" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="106" type="method" name="getContacts" crap="12" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="128" type="method" name="getContact" crap="20" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<metrics loc="152" ncloc="105" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="61" coveredstatements="0" elements="65" coveredelements="0"/>
</file>
</package>
<package name="OCA\Contacts\CardDAV">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/carddav/addressbook.php">
<class name="AddressBook" namespace="OCA\Contacts\CardDAV">
<metrics methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="138" coveredstatements="0" elements="144" coveredelements="0"/>
</class>
<line num="49" type="method" name="__construct" crap="2" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="72" type="method" name="getACL" crap="110" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="147" type="method" name="getSupportedPrivilegeSet" crap="2" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="152" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="159" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="180" type="stmt" count="0"/>
<line num="181" type="stmt" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="183" type="stmt" count="0"/>
<line num="184" type="stmt" count="0"/>
<line num="185" type="stmt" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="194" type="stmt" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="196" type="stmt" count="0"/>
<line num="198" type="stmt" count="0"/>
<line num="206" type="method" name="getChild" crap="6" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="211" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="214" type="stmt" count="0"/>
<line num="221" type="method" name="getChildren" crap="6" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="224" type="stmt" count="0"/>
<line num="225" type="stmt" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="227" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="237" type="method" name="getLastModified" crap="2" count="0"/>
<line num="239" type="stmt" count="0"/>
<line num="241" type="stmt" count="0"/>
<metrics loc="242" ncloc="170" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="138" coveredstatements="0" elements="144" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/carddav/addressbookroot.php">
<class name="AddressBookRoot" namespace="OCA\Contacts\CardDAV">
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="3" coveredelements="0"/>
</class>
<line num="41" type="method" name="getChildForPrincipal" crap="2" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<metrics loc="47" ncloc="13" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="0" elements="3" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/carddav/backend.php">
<class name="Backend" namespace="OCA\Contacts\CardDAV">
<metrics methods="13" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="118" coveredstatements="0" elements="131" coveredelements="0"/>
</class>
<line num="39" type="method" name="__construct" crap="2" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="49" type="method" name="getAddressBooksForUser" crap="30" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="92" type="method" name="updateAddressBook" crap="20" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="126" type="method" name="createAddressBook" crap="20" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="159" type="method" name="deleteAddressBook" crap="2" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="170" type="method" name="lastModifiedAddressBook" crap="2" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="181" type="method" name="getCards" crap="6" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="183" type="stmt" count="0"/>
<line num="185" type="stmt" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="194" type="stmt" count="0"/>
<line num="196" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="206" type="method" name="getCard" crap="12" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<line num="214" type="stmt" count="0"/>
<line num="215" type="stmt" count="0"/>
<line num="216" type="stmt" count="0"/>
<line num="217" type="stmt" count="0"/>
<line num="218" type="stmt" count="0"/>
<line num="220" type="stmt" count="0"/>
<line num="221" type="stmt" count="0"/>
<line num="235" type="method" name="createCard" crap="2" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="237" type="stmt" count="0"/>
<line num="238" type="stmt" count="0"/>
<line num="248" type="method" name="updateCard" crap="2" count="0"/>
<line num="249" type="stmt" count="0"/>
<line num="250" type="stmt" count="0"/>
<line num="251" type="stmt" count="0"/>
<line num="260" type="method" name="deleteCard" crap="2" count="0"/>
<line num="261" type="stmt" count="0"/>
<line num="262" type="stmt" count="0"/>
<line num="263" type="stmt" count="0"/>
<line num="270" type="method" name="userIDByPrincipal" crap="2" count="0"/>
<line num="271" type="stmt" count="0"/>
<line num="272" type="stmt" count="0"/>
<line num="273" type="stmt" count="0"/>
<line num="281" type="method" name="getBackendForAddressBook" crap="12" count="0"/>
<line num="282" type="stmt" count="0"/>
<line num="283" type="stmt" count="0"/>
<line num="284" type="stmt" count="0"/>
<line num="285" type="stmt" count="0"/>
<line num="286" type="stmt" count="0"/>
<line num="287" type="stmt" count="0"/>
<line num="288" type="stmt" count="0"/>
<line num="289" type="stmt" count="0"/>
<metrics loc="290" ncloc="164" classes="1" methods="13" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="118" coveredstatements="0" elements="131" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/carddav/card.php">
<class name="Card" namespace="OCA\Contacts\CardDAV">
<metrics methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="0" elements="32" coveredelements="0"/>
</class>
<line num="47" type="method" name="__construct" crap="2" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="66" type="method" name="getACL" crap="42" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<metrics loc="100" ncloc="52" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="0" elements="32" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/carddav/plugin.php">
<class name="Plugin" namespace="OCA\Contacts\CardDAV">
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="0" elements="18" coveredelements="0"/>
</class>
<line num="46" type="method" name="validateVCard" crap="30" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<metrics loc="69" ncloc="29" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="0" elements="18" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/carddav/useraddressbooks.php">
<class name="UserAddressBooks" namespace="OCA\Contacts\CardDAV">
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="8" coveredelements="0"/>
</class>
<line num="36" type="method" name="getChildren" crap="6" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<metrics loc="47" ncloc="18" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="8" coveredelements="0"/>
</file>
</package>
<package name="OCA\Contacts\Connector">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/connector/importconnector.php">
<class name="ImportConnector" namespace="OCA\Contacts\Connector">
<metrics methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="105" coveredstatements="0" elements="110" coveredelements="0"/>
</class>
<line num="38" type="method" name="__construct" crap="6" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="53" type="method" name="setConfig" crap="2" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="63" type="method" name="updateProperty" crap="210" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="108" type="method" name="updateImageProperty" crap="6" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="129" type="method" name="getOrCreateVCardProperty" crap="380" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="152" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="159" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="180" type="stmt" count="0"/>
<line num="181" type="stmt" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="183" type="stmt" count="0"/>
<metrics loc="186" ncloc="128" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="105" coveredstatements="0" elements="110" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/connector/importcsvconnector.php">
<class name="ImportCsvConnector" namespace="OCA\Contacts\Connector">
<metrics methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="137" coveredstatements="0" elements="143" coveredelements="0"/>
</class>
<line num="42" type="method" name="getElementsFromInput" crap="6" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="61" type="method" name="getSourceElementsFromFile" crap="462" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="127" type="method" name="convertElementToVCard" crap="272" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="159" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="185" type="method" name="getImportEntryFromPosition" crap="20" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="200" type="method" name="getImportEntryFromName" crap="72" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="211" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<line num="214" type="stmt" count="0"/>
<line num="215" type="stmt" count="0"/>
<line num="224" type="method" name="getFormatMatch" crap="30" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="227" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="234" type="stmt" count="0"/>
<line num="235" type="stmt" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="237" type="stmt" count="0"/>
<line num="238" type="stmt" count="0"/>
<line num="239" type="stmt" count="0"/>
<line num="240" type="stmt" count="0"/>
<metrics loc="243" ncloc="162" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="137" coveredstatements="0" elements="143" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/connector/importldifconnector.php">
<class name="ImportLdifConnector" namespace="OCA\Contacts\Connector">
<metrics methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="120" coveredstatements="0" elements="126" coveredelements="0"/>
</class>
<line num="41" type="method" name="getElementsFromInput" crap="6" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="60" type="method" name="getSourceElementsFromFile" crap="306" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="119" type="method" name="convertElementToVCard" crap="42" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="155" type="method" name="convertElementToProperty" crap="72" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="159" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="185" type="method" name="getImportEntry" crap="12" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="187" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="189" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="201" type="method" name="getFormatMatch" crap="12" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="211" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<metrics loc="216" ncloc="150" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="120" coveredstatements="0" elements="126" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/connector/importvcardconnector.php">
<class name="ImportVCardConnector" namespace="OCA\Contacts\Connector">
<metrics methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="120" coveredstatements="0" elements="125" coveredelements="0"/>
</class>
<line num="26" type="stmt" count="0"/>
<line num="27" type="stmt" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="42" type="method" name="getElementsFromInput" crap="12" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="63" type="method" name="getSourceElementsFromFile" crap="110" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="108" type="method" name="convertElementToVCard" crap="110" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="120" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="151" type="stmt" count="0"/>
<line num="152" type="stmt" count="0"/>
<line num="159" type="method" name="getImportEntry" crap="182" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="168" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="180" type="stmt" count="0"/>
<line num="181" type="stmt" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="183" type="stmt" count="0"/>
<line num="184" type="stmt" count="0"/>
<line num="193" type="method" name="getFormatMatch" crap="20" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="199" type="stmt" count="0"/>
<line num="200" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<metrics loc="209" ncloc="152" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="123" coveredstatements="0" elements="128" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/connector/ldapconnector.php">
<class name="LdapConnector" namespace="OCA\Contacts\Connector">
<metrics methods="17" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="253" coveredstatements="0" elements="270" coveredelements="0"/>
</class>
<line num="27" type="method" name="__construct" crap="6" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="33" type="stmt" count="0"/>
<line num="34" type="stmt" count="0"/>
<line num="35" type="method" name="convertDate" crap="2" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="50" type="method" name="ldapToVCard" crap="72" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="88" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="106" type="method" name="getOrCreateVCardProperty" crap="90" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="144" type="stmt" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="155" type="method" name="updateVCardProperty" crap="12" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="159" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="170" type="method" name="updateVCardImageProperty" crap="12" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="180" type="stmt" count="0"/>
<line num="181" type="stmt" count="0"/>
<line num="182" type="stmt" count="0"/>
<line num="183" type="stmt" count="0"/>
<line num="184" type="stmt" count="0"/>
<line num="191" type="method" name="getVCardProperty" crap="72" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="194" type="stmt" count="0"/>
<line num="195" type="stmt" count="0"/>
<line num="196" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="199" type="stmt" count="0"/>
<line num="200" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="202" type="stmt" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="216" type="method" name="getLdifEntry" crap="156" count="0"/>
<line num="218" type="stmt" count="0"/>
<line num="219" type="stmt" count="0"/>
<line num="220" type="stmt" count="0"/>
<line num="221" type="stmt" count="0"/>
<line num="222" type="stmt" count="0"/>
<line num="223" type="stmt" count="0"/>
<line num="224" type="stmt" count="0"/>
<line num="225" type="stmt" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="227" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="229" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="234" type="stmt" count="0"/>
<line num="235" type="stmt" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="237" type="stmt" count="0"/>
<line num="238" type="stmt" count="0"/>
<line num="239" type="stmt" count="0"/>
<line num="240" type="stmt" count="0"/>
<line num="241" type="stmt" count="0"/>
<line num="242" type="stmt" count="0"/>
<line num="243" type="stmt" count="0"/>
<line num="250" type="method" name="VCardToLdap" crap="12" count="0"/>
<line num="252" type="stmt" count="0"/>
<line num="253" type="stmt" count="0"/>
<line num="256" type="stmt" count="0"/>
<line num="258" type="stmt" count="0"/>
<line num="259" type="stmt" count="0"/>
<line num="260" type="stmt" count="0"/>
<line num="261" type="stmt" count="0"/>
<line num="262" type="stmt" count="0"/>
<line num="263" type="stmt" count="0"/>
<line num="264" type="stmt" count="0"/>
<line num="271" type="method" name="getLdifProperty" crap="132" count="0"/>
<line num="272" type="stmt" count="0"/>
<line num="275" type="stmt" count="0"/>
<line num="277" type="stmt" count="0"/>
<line num="278" type="stmt" count="0"/>
<line num="279" type="stmt" count="0"/>
<line num="280" type="stmt" count="0"/>
<line num="282" type="stmt" count="0"/>
<line num="283" type="stmt" count="0"/>
<line num="284" type="stmt" count="0"/>
<line num="286" type="stmt" count="0"/>
<line num="287" type="stmt" count="0"/>
<line num="289" type="stmt" count="0"/>
<line num="290" type="stmt" count="0"/>
<line num="291" type="stmt" count="0"/>
<line num="294" type="stmt" count="0"/>
<line num="295" type="stmt" count="0"/>
<line num="296" type="stmt" count="0"/>
<line num="297" type="stmt" count="0"/>
<line num="298" type="stmt" count="0"/>
<line num="299" type="stmt" count="0"/>
<line num="300" type="stmt" count="0"/>
<line num="301" type="stmt" count="0"/>
<line num="302" type="stmt" count="0"/>
<line num="303" type="stmt" count="0"/>
<line num="304" type="stmt" count="0"/>
<line num="305" type="stmt" count="0"/>
<line num="313" type="method" name="updateLdifProperty" crap="12" count="0"/>
<line num="314" type="stmt" count="0"/>
<line num="315" type="stmt" count="0"/>
<line num="316" type="stmt" count="0"/>
<line num="317" type="stmt" count="0"/>
<line num="318" type="stmt" count="0"/>
<line num="319" type="stmt" count="0"/>
<line num="320" type="stmt" count="0"/>
<line num="321" type="stmt" count="0"/>
<line num="327" type="method" name="getLdapEntries" crap="20" count="0"/>
<line num="328" type="stmt" count="0"/>
<line num="329" type="stmt" count="0"/>
<line num="331" type="stmt" count="0"/>
<line num="332" type="stmt" count="0"/>
<line num="333" type="stmt" count="0"/>
<line num="334" type="stmt" count="0"/>
<line num="336" type="stmt" count="0"/>
<line num="337" type="stmt" count="0"/>
<line num="338" type="stmt" count="0"/>
<line num="339" type="stmt" count="0"/>
<line num="340" type="stmt" count="0"/>
<line num="341" type="stmt" count="0"/>
<line num="342" type="stmt" count="0"/>
<line num="343" type="stmt" count="0"/>
<line num="349" type="method" name="getUnassignedVCardProperty" crap="12" count="0"/>
<line num="350" type="stmt" count="0"/>
<line num="351" type="stmt" count="0"/>
<line num="352" type="stmt" count="0"/>
<line num="353" type="stmt" count="0"/>
<line num="354" type="stmt" count="0"/>
<line num="355" type="stmt" count="0"/>
<line num="361" type="method" name="getLdapId" crap="12" count="0"/>
<line num="362" type="stmt" count="0"/>
<line num="363" type="stmt" count="0"/>
<line num="364" type="stmt" count="0"/>
<line num="365" type="stmt" count="0"/>
<line num="366" type="stmt" count="0"/>
<line num="367" type="stmt" count="0"/>
<line num="373" type="method" name="getXmlConfigName" crap="12" count="0"/>
<line num="374" type="stmt" count="0"/>
<line num="375" type="stmt" count="0"/>
<line num="376" type="stmt" count="0"/>
<line num="377" type="stmt" count="0"/>
<line num="378" type="stmt" count="0"/>
<line num="379" type="stmt" count="0"/>
<line num="386" type="method" name="validateLdapEntry" crap="182" count="0"/>
<line num="387" type="stmt" count="0"/>
<line num="388" type="stmt" count="0"/>
<line num="391" type="stmt" count="0"/>
<line num="392" type="stmt" count="0"/>
<line num="393" type="stmt" count="0"/>
<line num="395" type="stmt" count="0"/>
<line num="396" type="stmt" count="0"/>
<line num="399" type="stmt" count="0"/>
<line num="402" type="stmt" count="0"/>
<line num="403" type="stmt" count="0"/>
<line num="404" type="stmt" count="0"/>
<line num="405" type="stmt" count="0"/>
<line num="406" type="stmt" count="0"/>
<line num="407" type="stmt" count="0"/>
<line num="408" type="stmt" count="0"/>
<line num="410" type="stmt" count="0"/>
<line num="411" type="stmt" count="0"/>
<line num="412" type="stmt" count="0"/>
<line num="413" type="stmt" count="0"/>
<line num="415" type="stmt" count="0"/>
<line num="416" type="stmt" count="0"/>
<line num="418" type="stmt" count="0"/>
<line num="420" type="stmt" count="0"/>
<line num="421" type="stmt" count="0"/>
<line num="422" type="stmt" count="0"/>
<line num="423" type="stmt" count="0"/>
<line num="425" type="stmt" count="0"/>
<line num="426" type="stmt" count="0"/>
<line num="427" type="stmt" count="0"/>
<line num="428" type="stmt" count="0"/>
<line num="429" type="stmt" count="0"/>
<line num="437" type="method" name="insertEmptyEntries" crap="20" count="0"/>
<line num="438" type="stmt" count="0"/>
<line num="440" type="stmt" count="0"/>
<line num="441" type="stmt" count="0"/>
<line num="442" type="stmt" count="0"/>
<line num="443" type="stmt" count="0"/>
<line num="444" type="stmt" count="0"/>
<line num="445" type="stmt" count="0"/>
<metrics loc="448" ncloc="269" classes="1" methods="17" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="253" coveredstatements="0" elements="270" coveredelements="0"/>
</file>
</package>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/ipimobject.php">
<metrics loc="130" ncloc="31" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<package name="OCA\Contacts\Middleware">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/middleware/http.php">
<class name="Http" namespace="OCA\Contacts\Middleware">
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="0" elements="12" coveredelements="0"/>
</class>
<line num="28" type="stmt" count="0"/>
<line num="29" type="stmt" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="48" type="method" name="afterException" crap="6" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<metrics loc="63" ncloc="28" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="15" coveredstatements="0" elements="16" coveredelements="0"/>
</file>
</package>
<package name="OCA\Contacts\Search">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/search/contact.php">
<class name="Contact" namespace="OCA\Contacts\Search">
<metrics methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="24" coveredstatements="0" elements="26" coveredelements="0"/>
</class>
<line num="76" type="method" name="__construct" crap="2" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="95" type="method" name="checkAndMerge" crap="42" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<metrics loc="115" ncloc="43" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="24" coveredstatements="0" elements="26" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/search/provider.php">
<class name="Provider" namespace="OCA\Contacts\Search">
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="8" coveredelements="0"/>
</class>
<line num="34" type="method" name="search" crap="6" count="0"/>
<line num="35" type="stmt" count="0"/>
<line num="36" type="stmt" count="0"/>
<line num="37" type="stmt" count="0"/>
<line num="38" type="stmt" count="0"/>
<line num="39" type="stmt" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<metrics loc="42" ncloc="16" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="8" coveredelements="0"/>
</file>
</package>
<package name="OCA\Contacts\Share">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/share/addressbook.php">
<class name="Addressbook" namespace="OCA\Contacts\Share">
<metrics methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="0" elements="58" coveredelements="0"/>
</class>
<line num="24" type="method" name="__construct" crap="2" count="0"/>
<line num="25" type="stmt" count="0"/>
<line num="26" type="stmt" count="0"/>
<line num="39" type="method" name="isValidSource" crap="6" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="60" type="method" name="generateTarget" crap="20" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="96" type="method" name="formatItems" crap="42" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="118" type="stmt" count="0"/>
<line num="120" type="method" name="getChildren" crap="6" count="0"/>
<line num="121" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="123" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="130" type="method" name="isShareTypeAllowed" crap="2" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<metrics loc="134" ncloc="76" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="0" elements="58" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/share/contact.php">
<class name="Contact" namespace="OCA\Contacts\Share">
<metrics methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="27" coveredstatements="0" elements="32" coveredelements="0"/>
</class>
<line num="39" type="method" name="__construct" crap="2" count="0"/>
<line num="40" type="stmt" count="0"/>
<line num="41" type="stmt" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="44" type="method" name="isValidSource" crap="12" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="57" type="method" name="generateTarget" crap="2" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="64" type="method" name="formatItems" crap="12" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="75" type="method" name="isShareTypeAllowed" crap="2" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<metrics loc="79" ncloc="50" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="27" coveredstatements="0" elements="32" coveredelements="0"/>
</file>
</package>
<package name="OCA\Contacts\Utils">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/utils/jsonserializer.php">
<class name="JSONSerializer" namespace="OCA\Contacts\Utils">
<metrics methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="115" coveredstatements="33" elements="118" coveredelements="33"/>
</class>
<line num="46" type="method" name="serialize" crap="56" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="67" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="83" type="method" name="serializeContact" crap="32.26" count="1"/>
<line num="85" type="stmt" count="1"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<line num="90" type="stmt" count="1"/>
<line num="92" type="stmt" count="1"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<line num="100" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="103" type="stmt" count="1"/>
<line num="104" type="stmt" count="1"/>
<line num="105" type="stmt" count="1"/>
<line num="106" type="stmt" count="1"/>
<line num="108" type="stmt" count="1"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="111" type="stmt" count="0"/>
<line num="112" type="stmt" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="115" type="stmt" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="1"/>
<line num="118" type="stmt" count="0"/>
<line num="119" type="stmt" count="0"/>
<line num="121" type="stmt" count="1"/>
<line num="123" type="stmt" count="1"/>
<line num="124" type="stmt" count="1"/>
<line num="125" type="stmt" count="1"/>
<line num="141" type="method" name="serializeProperty" crap="266.06" count="1"/>
<line num="142" type="stmt" count="1"/>
<line num="143" type="stmt" count="1"/>
<line num="145" type="stmt" count="1"/>
<line num="146" type="stmt" count="1"/>
<line num="147" type="stmt" count="1"/>
<line num="148" type="stmt" count="1"/>
<line num="149" type="stmt" count="1"/>
<line num="150" type="stmt" count="1"/>
<line num="152" type="stmt" count="0"/>
<line num="153" type="stmt" count="0"/>
<line num="154" type="stmt" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="168" type="stmt" count="1"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="1"/>
<line num="172" type="stmt" count="0"/>
<line num="173" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="178" type="stmt" count="0"/>
<line num="179" type="stmt" count="0"/>
<line num="180" type="stmt" count="0"/>
<line num="181" type="stmt" count="1"/>
<line num="182" type="stmt" count="1"/>
<line num="183" type="stmt" count="1"/>
<line num="186" type="stmt" count="1"/>
<line num="187" type="stmt" count="1"/>
<line num="188" type="stmt" count="1"/>
<line num="191" type="stmt" count="1"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="194" type="stmt" count="1"/>
<line num="198" type="stmt" count="0"/>
<line num="199" type="stmt" count="0"/>
<line num="200" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="210" type="stmt" count="0"/>
<line num="211" type="stmt" count="0"/>
<line num="212" type="stmt" count="0"/>
<line num="213" type="stmt" count="0"/>
<line num="215" type="stmt" count="0"/>
<line num="217" type="stmt" count="0"/>
<line num="219" type="stmt" count="0"/>
<line num="221" type="stmt" count="1"/>
<line num="222" type="stmt" count="1"/>
<metrics loc="224" ncloc="148" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="115" coveredstatements="33" elements="118" coveredelements="33"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/utils/properties.php">
<class name="Properties" namespace="OCA\Contacts\Utils">
<metrics methods="7" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="186" coveredstatements="125" elements="193" coveredelements="126"/>
</class>
<line num="29" type="stmt" count="1"/>
<line num="69" type="method" name="getIMOptions" crap="3" count="1"/>
<line num="70" type="stmt" count="1"/>
<line num="73" type="stmt" count="1"/>
<line num="74" type="stmt" count="1"/>
<line num="75" type="stmt" count="1"/>
<line num="76" type="stmt" count="1"/>
<line num="78" type="stmt" count="1"/>
<line num="79" type="stmt" count="1"/>
<line num="80" type="stmt" count="1"/>
<line num="81" type="stmt" count="1"/>
<line num="83" type="stmt" count="1"/>
<line num="84" type="stmt" count="1"/>
<line num="85" type="stmt" count="1"/>
<line num="86" type="stmt" count="1"/>
<line num="88" type="stmt" count="1"/>
<line num="89" type="stmt" count="1"/>
<line num="90" type="stmt" count="1"/>
<line num="91" type="stmt" count="1"/>
<line num="93" type="stmt" count="1"/>
<line num="94" type="stmt" count="1"/>
<line num="95" type="stmt" count="1"/>
<line num="96" type="stmt" count="1"/>
<line num="98" type="stmt" count="1"/>
<line num="99" type="stmt" count="1"/>
<line num="100" type="stmt" count="1"/>
<line num="101" type="stmt" count="1"/>
<line num="103" type="stmt" count="1"/>
<line num="104" type="stmt" count="1"/>
<line num="105" type="stmt" count="1"/>
<line num="106" type="stmt" count="1"/>
<line num="108" type="stmt" count="1"/>
<line num="109" type="stmt" count="1"/>
<line num="110" type="stmt" count="1"/>
<line num="111" type="stmt" count="1"/>
<line num="113" type="stmt" count="1"/>
<line num="114" type="stmt" count="1"/>
<line num="115" type="stmt" count="1"/>
<line num="116" type="stmt" count="1"/>
<line num="118" type="stmt" count="1"/>
<line num="119" type="stmt" count="1"/>
<line num="120" type="stmt" count="1"/>
<line num="121" type="stmt" count="1"/>
<line num="123" type="stmt" count="1"/>
<line num="124" type="stmt" count="1"/>
<line num="125" type="stmt" count="1"/>
<line num="126" type="stmt" count="1"/>
<line num="128" type="stmt" count="1"/>
<line num="129" type="stmt" count="1"/>
<line num="130" type="stmt" count="1"/>
<line num="131" type="stmt" count="1"/>
<line num="133" type="stmt" count="1"/>
<line num="134" type="stmt" count="1"/>
<line num="135" type="stmt" count="1"/>
<line num="136" type="stmt" count="1"/>
<line num="138" type="stmt" count="1"/>
<line num="139" type="stmt" count="1"/>
<line num="141" type="stmt" count="1"/>
<line num="142" type="stmt" count="1"/>
<line num="143" type="stmt" count="1"/>
<line num="144" type="stmt" count="1"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="148" type="stmt" count="0"/>
<line num="158" type="method" name="getTypesForProperty" crap="7" count="1"/>
<line num="159" type="stmt" count="1"/>
<line num="161" type="stmt" count="1"/>
<line num="162" type="stmt" count="1"/>
<line num="163" type="stmt" count="1"/>
<line num="165" type="stmt" count="1"/>
<line num="166" type="stmt" count="1"/>
<line num="167" type="stmt" count="1"/>
<line num="168" type="stmt" count="1"/>
<line num="169" type="stmt" count="1"/>
<line num="171" type="stmt" count="1"/>
<line num="172" type="stmt" count="1"/>
<line num="173" type="stmt" count="1"/>
<line num="174" type="stmt" count="1"/>
<line num="175" type="stmt" count="1"/>
<line num="176" type="stmt" count="1"/>
<line num="177" type="stmt" count="1"/>
<line num="178" type="stmt" count="1"/>
<line num="179" type="stmt" count="1"/>
<line num="180" type="stmt" count="1"/>
<line num="181" type="stmt" count="1"/>
<line num="182" type="stmt" count="1"/>
<line num="184" type="stmt" count="1"/>
<line num="185" type="stmt" count="1"/>
<line num="186" type="stmt" count="1"/>
<line num="187" type="stmt" count="1"/>
<line num="188" type="stmt" count="1"/>
<line num="189" type="stmt" count="1"/>
<line num="191" type="stmt" count="1"/>
<line num="192" type="stmt" count="1"/>
<line num="193" type="stmt" count="1"/>
<line num="194" type="stmt" count="1"/>
<line num="196" type="stmt" count="0"/>
<line num="202" type="method" name="getDefaultCategories" crap="2" count="0"/>
<line num="203" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<line num="206" type="stmt" count="0"/>
<line num="207" type="stmt" count="0"/>
<line num="208" type="stmt" count="0"/>
<line num="209" type="stmt" count="0"/>
<line num="215" type="method" name="generateUID" crap="1" count="1"/>
<line num="216" type="stmt" count="1"/>
<line num="217" type="stmt" count="1"/>
<line num="225" type="method" name="purgeIndexes" crap="6.32" count="1"/>
<line num="226" type="stmt" count="1"/>
<line num="227" type="stmt" count="1"/>
<line num="228" type="stmt" count="0"/>
<line num="230" type="stmt" count="1"/>
<line num="231" type="stmt" count="1"/>
<line num="233" type="stmt" count="1"/>
<line num="234" type="stmt" count="1"/>
<line num="235" type="stmt" count="1"/>
<line num="237" type="stmt" count="1"/>
<line num="238" type="stmt" count="1"/>
<line num="239" type="stmt" count="0"/>
<line num="240" type="stmt" count="0"/>
<line num="241" type="stmt" count="0"/>
<line num="242" type="stmt" count="0"/>
<line num="243" type="stmt" count="0"/>
<line num="245" type="stmt" count="1"/>
<line num="257" type="method" name="updateIndex" crap="12.22" count="1"/>
<line num="258" type="stmt" count="1"/>
<line num="260" type="stmt" count="1"/>
<line num="261" type="stmt" count="0"/>
<line num="264" type="stmt" count="1"/>
<line num="265" type="stmt" count="1"/>
<line num="266" type="stmt" count="1"/>
<line num="267" type="stmt" count="1"/>
<line num="268" type="stmt" count="1"/>
<line num="269" type="stmt" count="1"/>
<line num="270" type="stmt" count="1"/>
<line num="272" type="stmt" count="1"/>
<line num="273" type="stmt" count="1"/>
<line num="274" type="stmt" count="0"/>
<line num="275" type="stmt" count="0"/>
<line num="276" type="stmt" count="0"/>
<line num="278" type="stmt" count="1"/>
<line num="280" type="stmt" count="1"/>
<line num="282" type="stmt" count="1"/>
<line num="283" type="stmt" count="1"/>
<line num="284" type="stmt" count="1"/>
<line num="285" type="stmt" count="1"/>
<line num="286" type="stmt" count="1"/>
<line num="288" type="stmt" count="1"/>
<line num="289" type="stmt" count="1"/>
<line num="290" type="stmt" count="0"/>
<line num="291" type="stmt" count="0"/>
<line num="292" type="stmt" count="0"/>
<line num="294" type="stmt" count="1"/>
<line num="295" type="stmt" count="0"/>
<line num="296" type="stmt" count="0"/>
<line num="298" type="stmt" count="1"/>
<line num="299" type="stmt" count="1"/>
<line num="301" type="method" name="cacheThumbnail" crap="380" count="0"/>
<line num="304" type="stmt" count="0"/>
<line num="305" type="stmt" count="0"/>
<line num="307" type="stmt" count="0"/>
<line num="309" type="stmt" count="0"/>
<line num="310" type="stmt" count="0"/>
<line num="311" type="stmt" count="0"/>
<line num="313" type="stmt" count="0"/>
<line num="314" type="stmt" count="0"/>
<line num="315" type="stmt" count="0"/>
<line num="316" type="stmt" count="0"/>
<line num="320" type="stmt" count="0"/>
<line num="321" type="stmt" count="0"/>
<line num="322" type="stmt" count="0"/>
<line num="323" type="stmt" count="0"/>
<line num="325" type="stmt" count="0"/>
<line num="327" type="stmt" count="0"/>
<line num="328" type="stmt" count="0"/>
<line num="329" type="stmt" count="0"/>
<line num="330" type="stmt" count="0"/>
<line num="331" type="stmt" count="0"/>
<line num="332" type="stmt" count="0"/>
<line num="333" type="stmt" count="0"/>
<line num="334" type="stmt" count="0"/>
<line num="336" type="stmt" count="0"/>
<line num="338" type="stmt" count="0"/>
<line num="339" type="stmt" count="0"/>
<line num="340" type="stmt" count="0"/>
<line num="341" type="stmt" count="0"/>
<line num="342" type="stmt" count="0"/>
<line num="345" type="stmt" count="0"/>
<line num="346" type="stmt" count="0"/>
<line num="347" type="stmt" count="0"/>
<line num="348" type="stmt" count="0"/>
<line num="349" type="stmt" count="0"/>
<line num="353" type="stmt" count="0"/>
<line num="354" type="stmt" count="0"/>
<metrics loc="357" ncloc="285" classes="1" methods="7" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="187" coveredstatements="126" elements="194" coveredelements="127"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/utils/temporaryphoto.php">
<class name="TemporaryPhoto" namespace="OCA\Contacts\Utils">
<metrics methods="11" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="0" elements="62" coveredelements="0"/>
</class>
<line num="90" type="method" name="__construct" crap="6" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="93" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="96" type="stmt" count="0"/>
<line num="102" type="method" name="create" crap="6" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="115" type="method" name="remove" crap="2" count="0"/>
<line num="116" type="stmt" count="0"/>
<line num="117" type="stmt" count="0"/>
<line num="125" type="method" name="processImage" crap="2" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="128" type="stmt" count="0"/>
<line num="135" type="method" name="isValid" crap="6" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="144" type="method" name="getKey" crap="2" count="0"/>
<line num="145" type="stmt" count="0"/>
<line num="146" type="stmt" count="0"/>
<line num="147" type="stmt" count="0"/>
<line num="154" type="method" name="getPhoto" crap="2" count="0"/>
<line num="155" type="stmt" count="0"/>
<line num="156" type="stmt" count="0"/>
<line num="157" type="stmt" count="0"/>
<line num="164" type="method" name="cachePhoto" crap="12" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="0"/>
<line num="167" type="stmt" count="0"/>
<line num="169" type="stmt" count="0"/>
<line num="170" type="stmt" count="0"/>
<line num="171" type="stmt" count="0"/>
<line num="172" type="stmt" count="0"/>
<line num="174" type="stmt" count="0"/>
<line num="175" type="stmt" count="0"/>
<line num="176" type="stmt" count="0"/>
<line num="177" type="stmt" count="0"/>
<line num="182" type="method" name="normalizePhoto" crap="20" count="0"/>
<line num="184" type="stmt" count="0"/>
<line num="185" type="stmt" count="0"/>
<line num="186" type="stmt" count="0"/>
<line num="188" type="stmt" count="0"/>
<line num="190" type="stmt" count="0"/>
<line num="191" type="stmt" count="0"/>
<line num="192" type="stmt" count="0"/>
<line num="193" type="stmt" count="0"/>
<line num="194" type="stmt" count="0"/>
<line num="196" type="stmt" count="0"/>
<line num="197" type="stmt" count="0"/>
<line num="199" type="method" name="getMimeType" crap="2" count="0"/>
<line num="200" type="stmt" count="0"/>
<line num="201" type="stmt" count="0"/>
<line num="203" type="method" name="getImage" crap="2" count="0"/>
<line num="204" type="stmt" count="0"/>
<line num="205" type="stmt" count="0"/>
<metrics loc="205" ncloc="112" classes="1" methods="11" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="0" elements="62" coveredelements="0"/>
</file>
</package>
<package name="OCA\Contacts\Utils\TemporaryPhoto">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/utils/temporaryphoto/contact.php">
<class name="Contact" namespace="OCA\Contacts\Utils\TemporaryPhoto">
<metrics methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="0" elements="14" coveredelements="0"/>
</class>
<line num="41" type="method" name="__construct" crap="6" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="58" type="method" name="processImage" crap="2" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<metrics loc="62" ncloc="30" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="0" elements="14" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/utils/temporaryphoto/filesystem.php">
<class name="FileSystem" namespace="OCA\Contacts\Utils\TemporaryPhoto">
<metrics methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="0" elements="22" coveredelements="0"/>
</class>
<line num="26" type="stmt" count="0"/>
<line num="27" type="stmt" count="0"/>
<line num="28" type="stmt" count="0"/>
<line num="42" type="method" name="__construct" crap="6" count="0"/>
<line num="43" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="50" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="58" type="method" name="processImage" crap="6" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<metrics loc="71" ncloc="40" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="23" coveredstatements="0" elements="25" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/utils/temporaryphoto/uploaded.php">
<class name="Uploaded" namespace="OCA\Contacts\Utils\TemporaryPhoto">
<metrics methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="0" elements="36" coveredelements="0"/>
</class>
<line num="43" type="method" name="__construct" crap="6" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="51" type="stmt" count="0"/>
<line num="52" type="stmt" count="0"/>
<line num="53" type="stmt" count="0"/>
<line num="54" type="stmt" count="0"/>
<line num="59" type="method" name="processImage" crap="20" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="62" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<line num="66" type="stmt" count="0"/>
<line num="68" type="stmt" count="0"/>
<line num="69" type="stmt" count="0"/>
<line num="70" type="stmt" count="0"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<line num="73" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<line num="77" type="stmt" count="0"/>
<line num="78" type="stmt" count="0"/>
<line num="79" type="stmt" count="0"/>
<line num="80" type="stmt" count="0"/>
<line num="81" type="stmt" count="0"/>
<line num="82" type="stmt" count="0"/>
<line num="83" type="stmt" count="0"/>
<line num="84" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="87" type="stmt" count="0"/>
<metrics loc="88" ncloc="55" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="0" elements="36" coveredelements="0"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/utils/temporaryphoto/user.php">
<class name="User" namespace="OCA\Contacts\Utils\TemporaryPhoto">
<metrics methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="0" elements="18" coveredelements="0"/>
</class>
<line num="26" type="stmt" count="0"/>
<line num="27" type="stmt" count="0"/>
<line num="41" type="method" name="__construct" crap="6" count="0"/>
<line num="42" type="stmt" count="0"/>
<line num="44" type="stmt" count="0"/>
<line num="45" type="stmt" count="0"/>
<line num="46" type="stmt" count="0"/>
<line num="47" type="stmt" count="0"/>
<line num="48" type="stmt" count="0"/>
<line num="49" type="stmt" count="0"/>
<line num="55" type="method" name="processImage" crap="12" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="60" type="stmt" count="0"/>
<line num="61" type="stmt" count="0"/>
<line num="63" type="stmt" count="0"/>
<line num="64" type="stmt" count="0"/>
<line num="65" type="stmt" count="0"/>
<metrics loc="66" ncloc="32" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="18" coveredstatements="0" elements="20" coveredelements="0"/>
</file>
</package>
<package name="OCA\Contacts\VObject">
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/vobject/groupproperty.php">
<class name="GroupProperty" namespace="OCA\Contacts\VObject">
<metrics methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="30" elements="41" coveredelements="31"/>
</class>
<line num="43" type="method" name="addGroup" crap="2.01" count="1"/>
<line num="44" type="stmt" count="1"/>
<line num="45" type="stmt" count="1"/>
<line num="46" type="stmt" count="0"/>
<line num="48" type="stmt" count="1"/>
<line num="50" type="stmt" count="1"/>
<line num="51" type="stmt" count="1"/>
<line num="52" type="stmt" count="1"/>
<line num="53" type="stmt" count="1"/>
<line num="62" type="method" name="removeGroup" crap="2.01" count="1"/>
<line num="63" type="stmt" count="1"/>
<line num="64" type="stmt" count="1"/>
<line num="65" type="stmt" count="0"/>
<line num="67" type="stmt" count="1"/>
<line num="68" type="stmt" count="1"/>
<line num="69" type="stmt" count="1"/>
<line num="70" type="stmt" count="1"/>
<line num="71" type="stmt" count="1"/>
<line num="80" type="method" name="hasGroup" crap="1" count="1"/>
<line num="81" type="stmt" count="1"/>
<line num="82" type="stmt" count="1"/>
<line num="83" type="stmt" count="1"/>
<line num="84" type="stmt" count="1"/>
<line num="93" type="method" name="renameGroup" crap="2.01" count="1"/>
<line num="94" type="stmt" count="1"/>
<line num="95" type="stmt" count="1"/>
<line num="96" type="stmt" count="1"/>
<line num="97" type="stmt" count="0"/>
<line num="99" type="stmt" count="1"/>
<line num="100" type="stmt" count="1"/>
<line num="101" type="stmt" count="1"/>
<line num="102" type="stmt" count="1"/>
<line num="103" type="stmt" count="1"/>
<line num="106" type="method" name="in_arrayi" crap="2.15" count="1"/>
<line num="107" type="stmt" count="1"/>
<line num="108" type="stmt" count="0"/>
<line num="110" type="stmt" count="1"/>
<line num="114" type="method" name="array_searchi" crap="2.15" count="1"/>
<line num="115" type="stmt" count="1"/>
<line num="116" type="stmt" count="0"/>
<line num="118" type="stmt" count="1"/>
<metrics loc="120" ncloc="62" classes="1" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="30" elements="41" coveredelements="31"/>
</file>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/lib/vobject/vcard.php">
<class name="VCard" namespace="OCA\Contacts\VObject">
<metrics methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="177" coveredstatements="59" elements="185" coveredelements="59"/>
</class>
<line num="85" type="method" name="paramName" crap="20" count="0"/>
<line num="97" type="stmt" count="0"/>
<line num="99" type="stmt" count="0"/>
<line num="101" type="stmt" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="104" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<line num="106" type="stmt" count="0"/>
<line num="107" type="stmt" count="0"/>
<line num="108" type="stmt" count="0"/>
<line num="109" type="stmt" count="0"/>
<line num="110" type="stmt" count="0"/>
<line num="120" type="method" name="decodeProperty" crap="38.56" count="1"/>
<line num="121" type="stmt" count="1"/>
<line num="124" type="stmt" count="0"/>
<line num="125" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="127" type="stmt" count="0"/>
<line num="129" type="stmt" count="0"/>
<line num="130" type="stmt" count="0"/>
<line num="131" type="stmt" count="0"/>
<line num="132" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="134" type="stmt" count="0"/>
<line num="135" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="137" type="stmt" count="0"/>
<line num="138" type="stmt" count="0"/>
<line num="139" type="stmt" count="0"/>
<line num="140" type="stmt" count="0"/>
<line num="141" type="stmt" count="0"/>
<line num="142" type="stmt" count="0"/>
<line num="143" type="stmt" count="0"/>
<line num="144" type="stmt" count="1"/>
<line num="145" type="stmt" count="1"/>
<line num="153" type="method" name="fixPropertyParameters" crap="10.15" count="1"/>
<line num="156" type="stmt" count="1"/>
<line num="157" type="stmt" count="0"/>
<line num="158" type="stmt" count="0"/>
<line num="160" type="stmt" count="0"/>
<line num="161" type="stmt" count="0"/>
<line num="162" type="stmt" count="0"/>
<line num="163" type="stmt" count="0"/>
<line num="164" type="stmt" count="0"/>
<line num="165" type="stmt" count="0"/>
<line num="166" type="stmt" count="1"/>
<line num="167" type="stmt" count="1"/>
<line num="187" type="method" name="validate" crap="229.12" count="3"/>
<line num="189" type="stmt" count="3"/>
<line num="191" type="stmt" count="3"/>
<line num="192" type="stmt" count="1"/>
<line num="193" type="stmt" count="1"/>
<line num="195" type="stmt" count="1"/>
<line num="196" type="stmt" count="1"/>
<line num="206" type="stmt" count="1"/>
<line num="207" type="stmt" count="1"/>
<line num="209" type="stmt" count="3"/>
<line num="210" type="stmt" count="3"/>
<line num="211" type="stmt" count="1"/>
<line num="212" type="stmt" count="1"/>
<line num="213" type="stmt" count="1"/>
<line num="214" type="stmt" count="1"/>
<line num="216" type="stmt" count="2"/>
<line num="217" type="stmt" count="1"/>
<line num="218" type="stmt" count="1"/>
<line num="219" type="stmt" count="2"/>
<line num="220" type="stmt" count="0"/>
<line num="221" type="stmt" count="1"/>
<line num="222" type="stmt" count="1"/>
<line num="223" type="stmt" count="2"/>
<line num="224" type="stmt" count="2"/>
<line num="225" type="stmt" count="0"/>
<line num="226" type="stmt" count="0"/>
<line num="227" type="stmt" count="0"/>
<line num="228" type="stmt" count="0"/>
<line num="230" type="stmt" count="0"/>
<line num="231" type="stmt" count="0"/>
<line num="232" type="stmt" count="0"/>
<line num="233" type="stmt" count="0"/>
<line num="234" type="stmt" count="0"/>
<line num="235" type="stmt" count="0"/>
<line num="236" type="stmt" count="0"/>
<line num="240" type="stmt" count="3"/>
<line num="241" type="stmt" count="3"/>
<line num="242" type="stmt" count="0"/>
<line num="243" type="stmt" count="0"/>
<line num="244" type="stmt" count="0"/>
<line num="245" type="stmt" count="0"/>
<line num="247" type="stmt" count="0"/>
<line num="250" type="stmt" count="0"/>
<line num="251" type="stmt" count="0"/>
<line num="252" type="stmt" count="0"/>
<line num="253" type="stmt" count="0"/>
<line num="254" type="stmt" count="0"/>
<line num="255" type="stmt" count="0"/>
<line num="256" type="stmt" count="0"/>
<line num="257" type="stmt" count="0"/>
<line num="258" type="stmt" count="0"/>
<line num="261" type="stmt" count="0"/>
<line num="262" type="stmt" count="0"/>
<line num="263" type="stmt" count="0"/>
<line num="264" type="stmt" count="0"/>
<line num="265" type="stmt" count="0"/>
<line num="267" type="stmt" count="0"/>
<line num="268" type="stmt" count="0"/>
<line num="270" type="stmt" count="3"/>
<line num="271" type="stmt" count="0"/>
<line num="273" type="stmt" count="0"/>
<line num="274" type="stmt" count="0"/>
<line num="275" type="stmt" count="0"/>
<line num="276" type="stmt" count="0"/>
<line num="277" type="stmt" count="0"/>
<line num="278" type="stmt" count="0"/>
<line num="279" type="stmt" count="0"/>
<line num="280" type="stmt" count="0"/>
<line num="283" type="stmt" count="0"/>
<line num="284" type="stmt" count="0"/>
<line num="285" type="stmt" count="0"/>
<line num="286" type="stmt" count="0"/>
<line num="287" type="stmt" count="0"/>
<line num="288" type="stmt" count="0"/>
<line num="290" type="stmt" count="0"/>
<line num="291" type="stmt" count="0"/>
<line num="292" type="stmt" count="0"/>
<line num="294" type="stmt" count="3"/>
<line num="295" type="stmt" count="3"/>
<line num="296" type="stmt" count="3"/>
<line num="297" type="stmt" count="3"/>
<line num="298" type="stmt" count="3"/>
<line num="299" type="stmt" count="3"/>
<line num="302" type="stmt" count="3"/>
<line num="304" type="stmt" count="3"/>
<line num="305" type="stmt" count="3"/>
<line num="306" type="stmt" count="0"/>
<line num="307" type="stmt" count="0"/>
<line num="308" type="stmt" count="3"/>
<line num="309" type="stmt" count="3"/>
<line num="310" type="stmt" count="3"/>
<line num="312" type="stmt" count="3"/>
<line num="313" type="stmt" count="1"/>
<line num="314" type="stmt" count="1"/>
<line num="315" type="stmt" count="1"/>
<line num="316" type="stmt" count="1"/>
<line num="318" type="stmt" count="1"/>
<line num="319" type="stmt" count="1"/>
<line num="320" type="stmt" count="1"/>
<line num="321" type="stmt" count="1"/>
<line num="323" type="stmt" count="3"/>
<line num="324" type="stmt" count="3"/>
<line num="325" type="stmt" count="3"/>
<line num="326" type="stmt" count="3"/>
<line num="328" type="stmt" count="3"/>
<line num="329" type="stmt" count="3"/>
<line num="331" type="stmt" count="3"/>
<line num="342" type="method" name="propertyGroups" crap="30" count="0"/>
<line num="343" type="stmt" count="0"/>
<line num="344" type="stmt" count="0"/>
<line num="345" type="stmt" count="0"/>
<line num="346" type="stmt" count="0"/>
<line num="347" type="stmt" count="0"/>
<line num="348" type="stmt" count="0"/>
<line num="349" type="stmt" count="0"/>
<line num="350" type="stmt" count="0"/>
<line num="351" type="stmt" count="0"/>
<line num="360" type="method" name="inGroup" crap="6" count="0"/>
<line num="361" type="stmt" count="0"/>
<line num="362" type="stmt" count="0"/>
<line num="365" type="stmt" count="0"/>
<line num="376" type="method" name="addToGroup" crap="6" count="0"/>
<line num="377" type="stmt" count="0"/>
<line num="378" type="stmt" count="0"/>
<line num="379" type="stmt" count="0"/>
<line num="381" type="stmt" count="0"/>
<line num="392" type="method" name="removeFromGroup" crap="12" count="0"/>
<line num="394" type="stmt" count="0"/>
<line num="395" type="stmt" count="0"/>
<line num="398" type="stmt" count="0"/>
<line num="401" type="stmt" count="0"/>
<line num="403" type="stmt" count="0"/>
<line num="404" type="stmt" count="0"/>
<line num="405" type="stmt" count="0"/>
<line num="406" type="stmt" count="0"/>
<line num="407" type="stmt" count="0"/>
<line num="409" type="stmt" count="0"/>
<metrics loc="413" ncloc="244" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="177" coveredstatements="59" elements="185" coveredelements="59"/>
</file>
</package>
<file name="/Users/lukasreschke/Documents/Programming/master/apps/contacts/settings.php">
<line num="3" type="stmt" count="0"/>
<line num="4" type="stmt" count="0"/>
<line num="6" type="stmt" count="0"/>
<metrics loc="6" ncloc="6" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="3" coveredelements="0"/>
</file>
<metrics files="61" loc="11997" ncloc="8020" classes="52" methods="356" coveredmethods="44" conditionals="0" coveredconditionals="0" statements="5515" coveredstatements="822" elements="5871" coveredelements="866"/>
</project>
</coverage>

View File

@ -1,15 +0,0 @@
#!/bin/bash
WORKDIR=$PWD
echo "Work directory: $WORKDIR"
cd ..
git clone https://github.com/owncloud/core
cd core
git submodule update --init
mkdir apps2
ln -s $WORKDIR apps2
git checkout urlParams_fix
git checkout -b oc6-integration
git fetch origin
git merge origin/improved_request
cd $WORKDIR

View File

@ -9,6 +9,7 @@
namespace OCA\Contacts;
use OCA\Contacts\Utils\JSONSerializer;
use Test\TestCase;
require_once __DIR__ . '/backend/mock.php';

View File

@ -1,125 +0,0 @@
<?php
/**
* Copyright (c) 2013 Thomas Tanghus (thomas@tanghus.net)
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
OC_App::loadApp('contacts');
class Test_Contacts_Backend_Datebase extends \OCA\Contacts\TestCase {
protected static $schema_file = 'static://test_db_scheme';
protected static $test_prefix;
protected static $backend;
protected static $user;
protected static $addressBooksTableName;
protected static $cardsTableName;
public static function xsetUpBeforeClass() {
$dbfile = __DIR__.'/../../appinfo/database.xml';
self::$test_prefix = '_'.OC_Util::generateRandomBytes('4').'_';
$content = file_get_contents($dbfile);
$content = str_replace( '*dbprefix*', '*dbprefix*'.self::$test_prefix, $content );
file_put_contents( self::$schema_file, $content );
OC_DB::createDbFromStructure(self::$schema_file);
self::$addressBooksTableName = '*PREFIX*'.self::$test_prefix.'contacts_addressbooks';
self::$cardsTableName = '*PREFIX*'.self::$test_prefix.'contacts_cards';
OC_User::clearBackends();
OC_User::useBackend('dummy');
self::$user = uniqid('user_');
OC_User::createUser(self::$user, 'pass');
OC_User::setUserId(self::$user);
self::$backend = new OCA\Contacts\Backend\Database(
self::$user,
self::$addressBooksTableName,
self::$cardsTableName
);
}
public static function xtearDownAfterClass() {
OC_DB::removeDBStructure(self::$schema_file);
unlink(self::$schema_file);
}
public function xtestDatabaseBackend() {
$this->assertEquals(array(), self::$backend->getAddressBooksForUser());
$aid = self::$backend->createAddressBook(
array(
'displayname' => 'Contacts',
'description' => 'My Contacts',
)
);
// Test address books
$this->assertNotEquals(false, $aid); // Isn't there an assertNotFalse() ?
$this->assertEquals(1, count(self::$backend->getAddressBooksForUser()));
$this->assertTrue(self::$backend->hasAddressBook($aid));
$addressBook = self::$backend->getAddressBook($aid);
$this->assertEquals('Contacts', $addressBook['displayname']);
$this->assertEquals('My Contacts', $addressBook['description']);
self::$backend->updateAddressBook($aid, array('description' => 'All my contacts'));
$addressBook = self::$backend->getAddressBook($aid);
$this->assertEquals('All my contacts', $addressBook['description']);
// Test contacts
$this->assertEquals(array(), self::$backend->getContacts($aid));
$carddata = file_get_contents(__DIR__ . '/../data/test1.vcf');
$id = self::$backend->createContact($aid, $carddata);
$this->assertNotEquals(false, $id); // Isn't there an assertNotFalse() ?
$this->assertEquals(1, count(self::$backend->getContacts($aid)));
$this->assertTrue(self::$backend->hasContact($aid, $id));
$contact = self::$backend->getContact($aid, $id);
$this->assertEquals('Max Mustermann', $contact['displayname']);
$carddata = file_get_contents(__DIR__ . '/../data/test2.vcf');
$this->assertTrue(self::$backend->updateContact($aid, $id, $carddata));
$contact = self::$backend->getContact($aid, $id);
$this->assertEquals('John Q. Public', $contact['displayname']);
$this->assertTrue(self::$backend->deleteContact($aid, $id));
$this->assertTrue(self::$backend->deleteAddressBook($aid));
}
public function xtestAddressBook() {
$addressBook = new OCA\Contacts\AddressBook(
self::$backend,
array(
'displayname' => 'Contacts',
'description' => 'My Contacts',
)
);
$this->assertEquals(0, count($addressBook));
$id = $addressBook->addChild(
array(
'displayname' => 'John Q. Public'
)
);
$this->assertNotEquals(false, $id);
$this->assertEquals(1, count($addressBook));
$contact = $addressBook->getChild($id);
$this->assertEquals('John Q. Public', (string)$contact->FN);
$contact->FN = 'Max Mustermann';
$contact->save();
$contact = $addressBook[$id];
$metadata = $contact->getMetaData();
$this->assertEquals('Max Mustermann', $metadata['displayname']);
$this->assertEquals($contact->getPermissions(), $addressBook->getPermissions());
// Array access
$this->assertEquals($contact, $addressBook[$id]);
$this->assertTrue(isset($addressBook[$id]));
// Magic accessors
//$this->assertEquals($contact, $addressBook->{$id});
$this->assertTrue($addressBook->deleteChild($id));
$this->assertEquals(0, count($addressBook));
}
}

View File

@ -1,46 +0,0 @@
<?php
/**
* Copyright (c) 2015 Vincent Petry <pvince81@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Contacts;
class TestCase extends \PHPUnit_Framework_TestCase {
/**
* @var string
*/
protected $testUser;
public function setUp() {
$this->testUser = uniqid('user_');
// needed because some parts of code call "getRequest()" and "getSession()"
$session = $this->getMock('\OC\Session\Memory', array(), array(''));
$session->expects($this->any())
->method('get')
->with('user_id')
->will($this->returnValue($this->testUser));
$userObject = $this->getMock('\OCP\IUser');
$userObject->expects($this->any())
->method('getUId')
->will($this->returnValue($this->testUser));
$userSession = $this->getMockBuilder('\OC\User\Session')
->disableOriginalConstructor()
->getMock();
$userSession->expects($this->any())
->method('getUser')
->will($this->returnValue($userObject));
$userSession->expects($this->any())
->method('getSession')
->will($this->returnValue($session));
\OC::$server->registerService('UserSession', function (\OCP\IServerContainer $c) use ($userSession){
return $userSession;
});
}
}

View File

@ -1,17 +1,31 @@
<phpunit
bootstrap="bootstrap.php"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
colors="true"
>
<?xml version="1.0" encoding="utf-8" ?>
<phpunit bootstrap="bootstrap.php"
verbose="true"
timeoutForSmallTests="900"
timeoutForMediumTests="900"
timeoutForLargeTests="900"
>
<testsuites>
<testsuite name="unit-tests">
<directory suffix="_test.php">lib</directory>
<directory suffix=".php">unit</directory>
</testsuite>
<testsuite name="app-tests">
<directory suffix="_app.php">lib</directory>
<directory suffix=".php">integration</directory>
</testsuite>
</testsuites>
<!-- filters for code coverage -->
<filter>
<whitelist>
<directory suffix=".php">../../contacts</directory>
<exclude>
<directory suffix=".php">../../contacts/l10n</directory>
<directory suffix=".php">../../contacts/templates</directory>
<directory suffix=".php">../../contacts/tests</directory>
</exclude>
</whitelist>
</filter>
<logging>
<!-- and this is where your report will be written -->
<log type="coverage-clover" target="./clover.xml"/>
</logging>
</phpunit>

View File

@ -1,139 +0,0 @@
#!/bin/bash
#
# ownCloud
#
# @author Thomas Müller
# @copyright 2012, 2013 Thomas Müller thomas.mueller@tmit.eu
#
if [ "$DB" == "mysql" ] ; then
DATABASENAME=contacts_test
DATABASEUSER=contacts_test
ADMINLOGIN=travis
BASEDIR=$PWD
mysql -e 'CREATE DATABASE IF NOT EXISTS contacts_test'
# mysql -e "GRANT ALL PRIVILEGES ON *.* to admin@'%' identified by 'admin';"
# mysql -e "GRANT ALL PRIVILEGES ON *.* to admin@localhost identified by 'admin';"
mysql -e "UPDATE mysql.user SET Password=PASSWORD('travis') WHERE User='travis' AND Host='localhost';"
mysql -e "FLUSH PRIVILEGES;"
fi
if [ "$DB" == "sqlite" ] ; then
DATABASENAME=contacts_test
DATABASEUSER=contacts_test
ADMINLOGIN=oc_autotest
BASEDIR=$PWD
fi
DATADIR=$BASEDIR/data-autotest
echo "Using database $DATABASENAME with $DB"
# create autoconfig for sqlite, mysql and postgresql
cat > $BASEDIR/tests/autoconfig-sqlite.php <<DELIM
<?php
\$AUTOCONFIG = array (
'installed' => false,
'dbtype' => 'sqlite',
'dbtableprefix' => 'oc_',
'adminlogin' => '$ADMINLOGIN',
'adminpass' => 'admin',
'directory' => '$DATADIR',
);
DELIM
cat > $BASEDIR/tests/autoconfig-mysql.php <<DELIM
<?php
\$AUTOCONFIG = array (
'installed' => false,
'dbtype' => 'mysql',
'dbtableprefix' => 'oc_',
'adminlogin' => '$ADMINLOGIN',
'adminpass' => 'travis',
'directory' => '$DATADIR',
'dbuser' => 'travis',
'dbname' => '$DATABASENAME',
'dbhost' => 'localhost',
'dbpass' => 'travis',
);
DELIM
cat > $BASEDIR/tests/autoconfig-pgsql.php <<DELIM
<?php
\$AUTOCONFIG = array (
'installed' => false,
'dbtype' => 'pgsql',
'dbtableprefix' => 'oc_',
'adminlogin' => '$ADMINLOGIN',
'adminpass' => 'admin',
'directory' => '$DATADIR',
'dbuser' => '$DATABASEUSER',
'dbname' => '$DATABASENAME',
'dbhost' => 'localhost',
'dbpass' => 'owncloud',
);
DELIM
function setup_db {
echo "Setup environment for $DB testing ..."
# back to root folder
cd $BASEDIR
# reset data directory
rm -rf $DATADIR
mkdir $DATADIR
#rm -rf config/config.php
cp $BASEDIR/tests/preseed-config.php $BASEDIR/../core/config/config.php
# copy autoconfig
cat $BASEDIR/tests/autoconfig-$DB.php
cp $BASEDIR/tests/autoconfig-$DB.php $BASEDIR/../core/config/autoconfig.php
ls -l $BASEDIR/../core/config/
# trigger installation
cd $BASEDIR/../core/
php -f index.php
cd -
#test execution
echo "Testing with $DB ..."
cd tests
}
#
# start test execution
#
setup_db '$DB'
ls $BASEDIR/tests/
ls $BASEDIR/../core/config/
cat $BASEDIR/../core/config/config.php
#ls $BASEDIR/../core/data/
#cat $BASEDIR/../core/data/owncloud.log
#
# NOTES on mysql:
# - CREATE DATABASE oc_autotest;
# - CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY 'owncloud';
# - grant all on oc_autotest.* to 'oc_autotest'@'localhost';
#
# - for parallel executor support with EXECUTOR_NUMBER=0:
# - CREATE DATABASE oc_autotest0;
# - CREATE USER 'oc_autotest0'@'localhost' IDENTIFIED BY 'owncloud';
# - grant all on oc_autotest0.* to 'oc_autotest0'@'localhost';
#
# NOTES on pgsql:
# - su - postgres
# - createuser -P oc_autotest (enter password and enable superuser)
# - to enable dropdb I decided to add following line to pg_hba.conf (this is not the safest way but I don't care for the testing machine):
# local all all trust
#
# - for parallel executor support with EXECUTOR_NUMBER=0:
# - createuser -P oc_autotest0 (enter password and enable superuser)
#
# NOTES on oci:
# - it's a pure nightmare to install Oracle on a Linux-System
# - DON'T TRY THIS AT HOME!
# - if you really need it: we feel sorry for you
#

View File

@ -0,0 +1,114 @@
<?php
/**
* @author Lukas Reschke
* @copyright 2015 Lukas Reschke lukas@owncloud.com
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Contacts\Controller;
use OCP\AppFramework\Http\TemplateResponse;
use Test\TestCase;
use OCP\IRequest;
use OCA\Contacts\ImportManager;
use OCA\Contacts\Factory\UtilFactory;
/**
* Class PageControllerTest
*
* @package OCA\Contacts\Controller
*/
class PageControllerTest extends TestCase {
/** @var IRequest **/
private $request;
/** @var string */
private $appName;
/** @var PageController */
private $controller;
/** @var ImportManager */
private $importManager;
/** @var UtilFactory */
private $utilFactory;
public function setUp (){
$this->request = $this->getMockBuilder('OCP\IRequest')
->disableOriginalConstructor()
->getMock();
$this->importManager = $this->getMockBuilder('\OCA\Contacts\ImportManager')
->disableOriginalConstructor()
->getMock();
$this->utilFactory = $this->getMockBuilder('\OCA\Contacts\Factory\UtilFactory')
->disableOriginalConstructor()
->getMock();
$this->appName = 'contacts';
$this->controller = new PageController(
$this->appName,
$this->request,
$this->importManager,
$this->utilFactory
);
}
public function testIndex() {
$expected = new TemplateResponse($this->appName, 'contacts');
$expected->setParams([
'uploadMaxFilesize' => null,
'uploadMaxHumanFilesize' => null,
'phoneTypes' => [
'HOME' => 'Home',
'CELL' => 'Mobile',
'WORK' => 'Work',
'TEXT' => 'Text',
'VOICE' => 'Voice',
'MSG' => 'Message',
'FAX' => 'Fax',
'VIDEO' => 'Video',
'PAGER' => 'Pager',
'OTHER' => 'Other',
],
'emailTypes' => [
'WORK' => 'Work',
'HOME' => 'Home',
'INTERNET' => 'Internet',
'OTHER' => 'Other',
],
'adrTypes' => [
'WORK' => 'Work',
'HOME' => 'Home',
'OTHER' => 'Other',
],
'imppTypes' => [
'WORK' => 'Work',
'HOME' => 'Home',
'OTHER' => 'Other',
],
'imProtocols' => [
'jabber' => 'Jabber',
'sip' => 'Internet call',
'aim' => 'AIM',
'msn' => 'MSN',
'twitter' => 'Twitter',
'googletalk' => 'GoogleTalk',
'facebook' => 'Facebook',
'xmpp' => 'XMPP',
'icq' => 'ICQ',
'yahoo' => 'Yahoo',
'skype' => 'Skype',
'qq' => 'QQ',
'gadugadu' => 'GaduGadu',
'owncloud-handle' => 'ownCloud',
],
'importManager' => $this->importManager,
'cloudTypes' => [
'HOME' => 'Home',
'WORK' => 'Work',
'OTHER' => 'Other',
],
]);
$this->assertEquals($expected, $this->controller->index());
}
}

View File

@ -0,0 +1,84 @@
<?php
/**
* @author Lukas Reschke
* @copyright 2015 Lukas Reschke lukas@owncloud.com
*
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Contacts\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\JSONResponse;
use Test\TestCase;
use OCP\IRequest;
use OCP\IConfig;
/**
* Class SettingsControllerTest
*
* @package OCA\Contacts\Controller
*/
class SettingsControllerTest extends TestCase {
/** @var IRequest **/
private $request;
/** @var string */
private $appName;
/** @var SettingsController */
private $controller;
/** @var IConfig */
private $config;
/** @var string */
private $userId;
public function setUp (){
$this->request = $this->getMockBuilder('OCP\IRequest')
->disableOriginalConstructor()
->getMock();
$this->config = $this->getMockBuilder('\OCP\IConfig')
->disableOriginalConstructor()
->getMock();
$this->userId = 'JohnDoe';
$this->appName = 'contacts';
$this->controller = new SettingsController(
$this->appName,
$this->request,
$this->config,
$this->userId
);
}
public function testSetWithMissingValues() {
$expected = new JSONResponse();
$expected->setStatus(Http::STATUS_PRECONDITION_FAILED);
$this->assertEquals($expected, $this->controller->set());
$this->assertEquals($expected, $this->controller->set('key'));
$this->assertEquals($expected, $this->controller->set('', 'value'));
}
public function testSetWorking() {
$this->config->expects($this->once())
->method('setUserValue')
->with('JohnDoe', 'contacts', 'keyValue', 'valueValue');
$expected = new JSONResponse();
$expected->setData(['key' => 'keyValue', 'value' => 'valueValue']);
$this->assertEquals($expected, $this->controller->set('keyValue', 'valueValue'));
}
public function testSetException() {
$this->config->expects($this->once())
->method('setUserValue')
->with('JohnDoe', 'contacts', 'keyValue', 'valueValue')
->will($this->throwException(new \Exception()));
$expected = new JSONResponse();
$expected->setStatus(Http::STATUS_INTERNAL_SERVER_ERROR);
$this->assertEquals($expected, $this->controller->set('keyValue', 'valueValue'));
}
}

View File

@ -9,6 +9,7 @@
namespace OCA\Contacts;
use Sabre\VObject\Reader;
use Test\TestCase;
require_once __DIR__ . '/backend/mock.php';
@ -109,7 +110,8 @@ class AddressBookTest extends TestCase {
/**
* @depends testAddChild
*/
* @param $ab
*/
public function testGetChildren($ab) {
$contacts = $ab->getChildren();

View File

@ -8,6 +8,7 @@
namespace OCA\Contacts;
use Test\TestCase;
class AddressBookProviderTest extends TestCase {
@ -29,6 +30,11 @@ class AddressBookProviderTest extends TestCase {
*/
private $provider;
/**
* @var string
*/
protected $testUser;
/**
* @var array
*/
@ -36,6 +42,32 @@ class AddressBookProviderTest extends TestCase {
public function setUp() {
parent::setUp();
$this->testUser = uniqid('user_');
// needed because some parts of code call "getRequest()" and "getSession()"
$session = $this->getMockBuilder('\OC\Session\Memory')
->disableOriginalConstructor()
->getMock();
$session->expects($this->any())
->method('get')
->with('user_id')
->will($this->returnValue($this->testUser));
$userObject = $this->getMock('\OCP\IUser');
$userObject->expects($this->any())
->method('getUId')
->will($this->returnValue($this->testUser));
$userSession = $this->getMockBuilder('\OC\User\Session')
->disableOriginalConstructor()
->getMock();
$userSession->expects($this->any())
->method('getUser')
->will($this->returnValue($userObject));
$userSession->expects($this->any())
->method('getSession')
->will($this->returnValue($session));
\OC::$server->registerService('UserSession', function (\OCP\IServerContainer $c) use ($userSession){
return $userSession;
});
$this->backend = new Backend\Database($this->testUser);
$this->abinfo = array('displayname' => uniqid('display_'));

View File

@ -9,10 +9,11 @@
namespace OCA\Contacts\Backend;
use Sabre\VObject\Reader;
use Test\TestCase;
require_once __DIR__ .'/mock.php';
class BackendTest extends \OCA\Contacts\TestCase {
class BackendTest extends TestCase {
/**
* @var array

View File

@ -6,7 +6,9 @@
* See the COPYING-README file.
*/
class Test_VObjects extends \OCA\Contacts\TestCase {
use Test\TestCase;
class Test_VObjects extends TestCase {
public static function setUpBeforeClass() {
\Sabre\VObject\Component\VCard::$propertyMap['CATEGORIES'] = 'OCA\Contacts\VObject\GroupProperty';