Skip to content

Firefly III: a personal finances manager

Optimised some code.

James Cole541d9ebdd9cb
diff --git a/app/Crud/Account/AccountCrud.php b/app/Crud/Account/AccountCrud.php
index 682b8bc162..f81bbb3263 100644
--- a/app/Crud/Account/AccountCrud.php
+++ b/app/Crud/Account/AccountCrud.php
@@ -11,6 +11,7 @@ declare(strict_types = 1);
namespace FireflyIII\Crud\Account;
+use Carbon\Carbon;
use DB;
use FireflyIII\Models\Account;
use FireflyIII\Models\AccountMeta;
@@ -233,21 +234,8 @@ class AccountCrud implements AccountCrudInterface
$this->storeMetadata($newAccount, $data);
}
- // continue with the opposing account:
if ($data['openingBalance'] != 0) {
- $opposingData = [
- 'user' => $data['user'],
- 'accountType' => 'initial',
- 'virtualBalance' => 0,
- 'name' => $data['name'] . ' initial balance',
- 'active' => false,
- 'iban' => '',
- ];
- $opposing = $this->storeAccount($opposingData);
- if (!is_null($opposing) && !is_null($newAccount)) {
- $this->storeInitialBalance($newAccount, $opposing, $data);
- }
-
+ $this->storeInitialBalance($newAccount, $data);
}
return $newAccount;
@@ -282,35 +270,7 @@ class AccountCrud implements AccountCrudInterface
$account->save();
$this->updateMetadata($account, $data);
- $openingBalance = $this->openingBalanceTransaction($account);
- if ($data['openingBalance'] != 0) {
- if (!is_null($openingBalance->id)) {
- $this->updateInitialBalance($account, $openingBalance, $data);
-
- return $account;
- }
-
- $type = $data['openingBalance'] < 0 ? 'expense' : 'revenue';
- $opposingData = [
- 'user' => $data['user'],
- 'accountType' => $type,
- 'name' => $data['name'] . ' initial balance',
- 'active' => false,
- 'iban' => '',
- 'virtualBalance' => 0,
- ];
- $opposing = $this->storeAccount($opposingData);
- if (!is_null($opposing)) {
- $this->storeInitialBalance($account, $opposing, $data);
- }
-
- return $account;
-
- }
-
- if ($openingBalance) { // opening balance is zero, should we delete it?
- $openingBalance->delete(); // delete existing opening balance.
- }
+ $this->updateInitialBalance($account, $data);
return $account;
}
@@ -359,19 +319,21 @@ class AccountCrud implements AccountCrudInterface
/**
* @param Account $account
- * @param Account $opposing
* @param array $data
*
* @return TransactionJournal
*/
- protected function storeInitialBalance(Account $account, Account $opposing, array $data): TransactionJournal
+ protected function storeInitialBalance(Account $account, array $data): TransactionJournal
{
+ $amount = $data['openingBalance'];
+ $user = $data['user'];
+ $name = $data['name'];
+ $opposing = $this->storeOpposingAccount($amount, $user, $name);
$transactionType = TransactionType::whereType(TransactionType::OPENING_BALANCE)->first();
$journal = TransactionJournal::create(
[
'user_id' => $data['user'],
'transaction_type_id' => $transactionType->id,
- 'bill_id' => null,
'transaction_currency_id' => $data['openingBalanceCurrency'],
'description' => 'Initial balance for "' . $account->name . '"',
'completed' => true,
@@ -382,24 +344,22 @@ class AccountCrud implements AccountCrudInterface
$firstAccount = $account;
$secondAccount = $opposing;
- $firstAmount = $data['openingBalance'];
- $secondAmount = $data['openingBalance'] * -1;
+ $firstAmount = $amount;
+ $secondAmount = $amount * -1;
if ($data['openingBalance'] < 0) {
$firstAccount = $opposing;
$secondAccount = $account;
- $firstAmount = $data['openingBalance'] * -1;
- $secondAmount = $data['openingBalance'];
+ $firstAmount = $amount * -1;
+ $secondAmount = $amount;
}
$one = new Transaction(['account_id' => $firstAccount->id, 'transaction_journal_id' => $journal->id, 'amount' => $firstAmount]);
$one->save();// first transaction: from
-
$two = new Transaction(['account_id' => $secondAccount->id, 'transaction_journal_id' => $journal->id, 'amount' => $secondAmount]);
$two->save(); // second transaction: to
return $journal;
-
}
/**
@@ -425,30 +385,32 @@ class AccountCrud implements AccountCrudInterface
}
/**
- * @param Account $account
- * @param TransactionJournal $journal
- * @param array $data
+ * @param Account $account
+ * @param array $data
*
- * @return TransactionJournal
+ * @return bool
*/
- protected function updateInitialBalance(Account $account, TransactionJournal $journal, array $data): TransactionJournal
+ protected function updateInitialBalance(Account $account, array $data): bool
{
- $journal->date = $data['openingBalanceDate'];
- $journal->save();
+ $openingBalance = $this->openingBalanceTransaction($account);
+ if ($data['openingBalance'] != 0) {
+ if (!is_null($openingBalance->id)) {
+ $date = $data['openingBalanceDate'];
+ $amount = $data['openingBalance'];
- /** @var Transaction $transaction */
- foreach ($journal->transactions()->get() as $transaction) {
- if ($account->id == $transaction->account_id) {
- $transaction->amount = $data['openingBalance'];
- $transaction->save();
- }
- if ($account->id != $transaction->account_id) {
- $transaction->amount = $data['openingBalance'] * -1;
- $transaction->save();
+ return $this->updateJournal($account, $openingBalance, $date, $amount);
}
+
+ $this->storeInitialBalance($account, $data);
+
+ return true;
+ }
+ // else, delete it:
+ if ($openingBalance) { // opening balance is zero, should we delete it?
+ $openingBalance->delete(); // delete existing opening balance.
}
- return $journal;
+ return true;
}
/**
@@ -501,4 +463,56 @@ class AccountCrud implements AccountCrudInterface
return $journal;
}
+
+ /**
+ * @param float $amount
+ * @param int $user
+ * @param string $name
+ *
+ * @return Account
+ */
+ private function storeOpposingAccount(float $amount, int $user, string $name):Account
+ {
+ $type = $amount < 0 ? 'expense' : 'revenue';
+ $opposingData = [
+ 'user' => $user,
+ 'accountType' => $type,
+ 'name' => $name . ' initial balance',
+ 'active' => false,
+ 'iban' => '',
+ 'virtualBalance' => 0,
+ ];
+
+ return $this->storeAccount($opposingData);
+ }
+
+ /**
+ * @param Account $account
+ * @param TransactionJournal $journal
+ * @param Carbon $date
+ * @param float $amount
+ *
+ * @return bool
+ */
+ private function updateJournal(Account $account, TransactionJournal $journal, Carbon $date, float $amount): bool
+ {
+ // update date:
+ $journal->date = $date;
+ $journal->save();
+ // update transactions:
+ /** @var Transaction $transaction */
+ foreach ($journal->transactions()->get() as $transaction) {
+ if ($account->id == $transaction->account_id) {
+ $transaction->amount = $amount;
+ $transaction->save();
+ }
+ if ($account->id != $transaction->account_id) {
+ $transaction->amount = $amount * -1;
+ $transaction->save();
+ }
+ }
+
+ return true;
+
+ }
}
\ No newline at end of file
diff --git a/app/Helpers/Report/BalanceReportHelper.php b/app/Helpers/Report/BalanceReportHelper.php
index 7f936119d8..b9d37064e5 100644
--- a/app/Helpers/Report/BalanceReportHelper.php
+++ b/app/Helpers/Report/BalanceReportHelper.php
@@ -58,8 +58,7 @@ class BalanceReportHelper implements BalanceReportHelperInterface
*/
public function getBalanceReport(Carbon $start, Carbon $end, Collection $accounts): Balance
{
- $balance = new Balance;
- // build a balance header:
+ $balance = new Balance;
$header = new BalanceHeader;
$limitRepetitions = $this->budgetRepository->getAllBudgetLimitRepetitions($start, $end);
foreach ($accounts as $account) {
diff --git a/app/Http/Controllers/Chart/BudgetController.php b/app/Http/Controllers/Chart/BudgetController.php
index 60cc1931e6..b6a80a0b7f 100644
--- a/app/Http/Controllers/Chart/BudgetController.php
+++ b/app/Http/Controllers/Chart/BudgetController.php
@@ -32,9 +32,12 @@ use Response;
class BudgetController extends Controller
{
- /** @var \FireflyIII\Generator\Chart\Budget\BudgetChartGeneratorInterface */
+ /** @var BudgetChartGeneratorInterface */
protected $generator;
+ /** @var BudgetRepositoryInterface */
+ protected $repository;
+
/**
*
*/
@@ -43,6 +46,8 @@ class BudgetController extends Controller
parent::__construct();
// create chart generator:
$this->generator = app(BudgetChartGeneratorInterface::class);
+
+ $this->repository = app(BudgetRepositoryInterface::class);
}
/**
@@ -136,11 +141,9 @@ class BudgetController extends Controller
/**
* Shows a budget list with spent/left/overspent.
*
- * @param BudgetRepositoryInterface $repository
- *
* @return \Symfony\Component\HttpFoundation\Response
*/
- public function frontpage(BudgetRepositoryInterface $repository)
+ public function frontpage()
{
$start = session('start', Carbon::now()->startOfMonth());
$end = session('end', Carbon::now()->endOfMonth());
@@ -153,54 +156,26 @@ class BudgetController extends Controller
if ($cache->has()) {
return Response::json($cache->get());
}
- $budgets = $repository->getActiveBudgets();
- $repetitions = $repository->getAllBudgetLimitRepetitions($start, $end);
+ $budgets = $this->repository->getActiveBudgets();
+ $repetitions = $this->repository->getAllBudgetLimitRepetitions($start, $end);
$allEntries = new Collection;
- $format = strval(trans('config.month_and_day'));
/** @var Budget $budget */
foreach ($budgets as $budget) {
// get relevant repetitions:
- $name = $budget->name;
- $reps = $repetitions->filter(
- function (LimitRepetition $repetition) use ($budget, $start, $end) {
- if ($repetition->startdate < $end && $repetition->enddate > $start && $repetition->budget_id === $budget->id) {
- return $repetition;
- }
- }
- );
+ $reps = $this->filterRepetitions($repetitions, $budget, $start, $end);
+
if ($reps->count() === 0) {
- $amount = '0';
- $left = '0';
- $spent = $repository->spentInPeriod(new Collection([$budget]), new Collection, $start, $end);
- $overspent = '0';
- $allEntries->push([$name, $left, $spent, $overspent, $amount, $spent]);
- }
- /** @var LimitRepetition $repetition */
- foreach ($reps as $repetition) {
- $expenses = $repository->spentInPeriod(new Collection([$budget]), new Collection, $repetition->startdate, $repetition->enddate);
- if ($reps->count() > 1) {
- $name = $budget->name . ' ' . trans(
- 'firefly.between_dates',
- ['start' => $repetition->startdate->formatLocalized($format), 'end' => $repetition->enddate->formatLocalized($format)]
- );
- }
- $amount = $repetition->amount;
- $left = bccomp(bcadd($amount, $expenses), '0') < 1 ? '0' : bcadd($amount, $expenses);
- $spent = bccomp(bcadd($amount, $expenses), '0') < 1 ? bcmul($amount, '-1') : $expenses;
- $overspent = bccomp(bcadd($amount, $expenses), '0') < 1 ? bcadd($amount, $expenses) : '0';
- $allEntries->push([$name, $left, $spent, $overspent, $amount, $spent]);
+ $collection = $this->spentInPeriodSingle($budget, $start, $end);
+ $allEntries = $allEntries->merge($collection);
+ continue;
}
+ $collection = $this->spentInPeriodMulti($budget, $reps);
+ $allEntries = $allEntries->merge($collection);
}
-
- $list = $repository->journalsInPeriodWithoutBudget(new Collection, $start, $end);
- $sum = '0';
- /** @var TransactionJournal $entry */
- foreach ($list as $entry) {
- $sum = bcadd(TransactionJournal::amount($entry), $sum);
- }
- $allEntries->push([trans('firefly.no_budget'), '0', '0', $sum, '0', '0']);
+ $entry = $this->spentInPeriodWithout($start, $end);
+ $allEntries->push($entry);
$data = $this->generator->frontpage($allEntries);
$cache->store($data);
@@ -335,4 +310,94 @@ class BudgetController extends Controller
return Response::json($data);
}
+
+ /**
+ * @param Collection $repetitions
+ * @param Budget $budget
+ * @param Carbon $start
+ * @param Carbon $end
+ *
+ * @return Collection
+ */
+ private function filterRepetitions(Collection $repetitions, Budget $budget, Carbon $start, Carbon $end): Collection
+ {
+
+ return $repetitions->filter(
+ function (LimitRepetition $repetition) use ($budget, $start, $end) {
+ if ($repetition->startdate < $end && $repetition->enddate > $start && $repetition->budget_id === $budget->id) {
+ return $repetition;
+ }
+ }
+ );
+ }
+
+ /**
+ * @param Budget $budget
+ * @param Collection $repetitions
+ *
+ * @return Collection
+ */
+ private function spentInPeriodMulti(Budget $budget, Collection $repetitions): Collection
+ {
+ $format = strval(trans('config.month_and_day'));
+ $collection = new Collection;
+ $name = $budget->name;
+ /** @var LimitRepetition $repetition */
+ foreach ($repetitions as $repetition) {
+ $expenses = $this->repository->spentInPeriod(new Collection([$budget]), new Collection, $repetition->startdate, $repetition->enddate);
+
+ if ($repetitions->count() > 1) {
+ $name = $budget->name . ' ' . trans(
+ 'firefly.between_dates',
+ ['start' => $repetition->startdate->formatLocalized($format), 'end' => $repetition->enddate->formatLocalized($format)]
+ );
+ }
+ $amount = $repetition->amount;
+ $left = bccomp(bcadd($amount, $expenses), '0') < 1 ? '0' : bcadd($amount, $expenses);
+ $spent = bccomp(bcadd($amount, $expenses), '0') < 1 ? bcmul($amount, '-1') : $expenses;
+ $overspent = bccomp(bcadd($amount, $expenses), '0') < 1 ? bcadd($amount, $expenses) : '0';
+ $array = [$name, $left, $spent, $overspent, $amount, $spent];
+ $collection->push($array);
+ }
+
+ return $collection;
+ }
+
+ /**
+ * @param Budget $budget
+ * @param Carbon $start
+ * @param Carbon $end
+ *
+ * @return Collection
+ */
+ private function spentInPeriodSingle(Budget $budget, Carbon $start, Carbon $end): Collection
+ {
+ $collection = new Collection;
+ $amount = '0';
+ $left = '0';
+ $spent = $this->repository->spentInPeriod(new Collection([$budget]), new Collection, $start, $end);
+ $overspent = '0';
+ $array = [$budget->name, $left, $spent, $overspent, $amount, $spent];
+ $collection->push($array);
+
+ return $collection;
+ }
+
+ /**
+ * @param Carbon $start
+ * @param Carbon $end
+ *
+ * @return array
+ */
+ private function spentInPeriodWithout(Carbon $start, Carbon $end):array
+ {
+ $list = $this->repository->journalsInPeriodWithoutBudget(new Collection, $start, $end);
+ $sum = '0';
+ /** @var TransactionJournal $entry */
+ foreach ($list as $entry) {
+ $sum = bcadd(TransactionJournal::amount($entry), $sum);
+ }
+
+ return [trans('firefly.no_budget'), '0', '0', $sum, '0', '0'];
+ }
}
diff --git a/app/Import/Converter/AccountId.php b/app/Import/Converter/AccountId.php
index 221f5e4c84..7fd0b56cf2 100644
--- a/app/Import/Converter/AccountId.php
+++ b/app/Import/Converter/AccountId.php
@@ -32,17 +32,13 @@ class AccountId extends BasicConverter implements ConverterInterface
{
$value = intval(trim($value));
Log::debug('Going to convert using AssetAccountId', ['value' => $value]);
-
if ($value === 0) {
$this->setCertainty(0);
return new Account;
}
-
/** @var AccountCrudInterface $repository */
$repository = app(AccountCrudInterface::class, [$this->user]);
-
-
if (isset($this->mapping[$value])) {
Log::debug('Found account in mapping. Should exist.', ['value' => $value, 'map' => $this->mapping[$value]]);
$account = $repository->find(intval($this->mapping[$value]));
@@ -54,20 +50,15 @@ class AccountId extends BasicConverter implements ConverterInterface
return $account;
}
}
-
- // not mapped? Still try to find it first:
- $account = $repository->find($value);
+ $account = $repository->find($value);// not mapped? Still try to find it first:
if (!is_null($account->id)) {
$this->setCertainty(90);
-
Log::debug('Found account by ID ', ['id' => $account->id]);
return $account;
}
+ $this->setCertainty(0); // should not really happen. If the ID does not match FF, what is FF supposed to do?
- $this->setCertainty(0);
-
- // should not really happen. If the ID does not match FF, what is FF supposed to do?
return new Account;
}
diff --git a/app/Import/Converter/CurrencySymbol.php b/app/Import/Converter/CurrencySymbol.php
index 00977f3349..83b86dded2 100644
--- a/app/Import/Converter/CurrencySymbol.php
+++ b/app/Import/Converter/CurrencySymbol.php
@@ -33,7 +33,7 @@ class CurrencySymbol extends BasicConverter implements ConverterInterface
$value = trim($value);
Log::debug('Going to convert using CurrencySymbol', ['value' => $value]);
- if ($value === 0) {
+ if (strlen($value) === 0) {
$this->setCertainty(0);
return new TransactionCurrency;
}
diff --git a/app/Import/ImportEntry.php b/app/Import/ImportEntry.php
index d23310646e..1cfc657669 100644
--- a/app/Import/ImportEntry.php
+++ b/app/Import/ImportEntry.php
@@ -24,6 +24,8 @@ class ImportEntry
public $amount;
+
+
/**
* @param string $role
* @param string $value
@@ -34,6 +36,8 @@ class ImportEntry
*/
public function importValue(string $role, string $value, int $certainty, $convertedValue)
{
+ Log::debug('Going to import', ['role' => $role, 'value' => $value, 'certainty' => $certainty]);
+
switch ($role) {
default:
Log::error('Import entry cannot handle object.', ['role' => $role]);
@@ -41,11 +45,12 @@ class ImportEntry
break;
case 'amount':
+ /*
+ * Easy enough.
+ */
$this->setAmount($convertedValue);
- return;
- case 'account-id':
- break;
+ return;
}
}
diff --git a/public/result.html b/public/result.html
index d28b8ce89d..db161648c9 100644
--- a/public/result.html
+++ b/public/result.html
@@ -4,929 +4,1052 @@
<tr bgcolor="lightgrey">
<td align="center">1</td>
<td>/sites/firefly-iii/app/Crud/Account/AccountCrud.php</td>
-<td align="center" width="5%">192</td>
-<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method update() has an NPath complexity of 210. The configured NPath complexity threshold is 200.</a></td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveclasscomplexity">The class AccountCrud has an overall complexity of 52 which is very high. The configured complexity threshold is 50.</a></td>
</tr>
<tr>
<td align="center">2</td>
-<td>/sites/firefly-iii/app/Crud/Account/AccountCrud.php</td>
-<td align="center" width="5%">192</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method update() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Handlers/Events/UpdateJournalConnection.php</td>
+<td align="center" width="5%">33</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">3</td>
-<td>/sites/firefly-iii/app/Crud/Account/AccountCrud.php</td>
-<td align="center" width="5%">192</td>
-<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method update() has an NPath complexity of 210. The configured NPath complexity threshold is 128.</a></td>
+<td>/sites/firefly-iii/app/Helpers/Report/BalanceReportHelper.php</td>
+<td align="center" width="5%">34</td>
+<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class BalanceReportHelper has a coupling between objects value of 14. Consider to reduce the number of dependencies under 13.</a></td>
</tr>
<tr>
<td align="center">4</td>
-<td>/sites/firefly-iii/app/Crud/Account/AccountCrud.php</td>
-<td align="center" width="5%">192</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method update() has 42 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Helpers/Report/BalanceReportHelper.php</td>
+<td align="center" width="5%">267</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method removeUnusedBudgets() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">5</td>
-<td>/sites/firefly-iii/app/Helpers/Csv/Specifix/AbnAmroDescription.php</td>
-<td align="center" width="5%">41</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method fix() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Helpers/Report/BudgetReportHelper.php</td>
+<td align="center" width="5%">51</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method budgetYearOverview() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">6</td>
-<td>/sites/firefly-iii/app/Helpers/Csv/Specifix/AbnAmroDescription.php</td>
-<td align="center" width="5%">119</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method parseSepaDescription() has a Cyclomatic Complexity of 9. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Helpers/Report/BudgetReportHelper.php</td>
+<td align="center" width="5%">51</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method budgetYearOverview() has 59 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">7</td>
-<td>/sites/firefly-iii/app/Helpers/Csv/Specifix/AbnAmroDescription.php</td>
-<td align="center" width="5%">119</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method parseSepaDescription() has 49 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Helpers/Report/BudgetReportHelper.php</td>
+<td align="center" width="5%">118</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method getBudgetReport() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">8</td>
-<td>/sites/firefly-iii/app/Helpers/Csv/Specifix/AbnAmroDescription.php</td>
-<td align="center" width="5%">174</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method parseTRTPDescription() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.</a></td>
+<td>/sites/firefly-iii/app/Helpers/Report/BudgetReportHelper.php</td>
+<td align="center" width="5%">118</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method getBudgetReport() has 57 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">9</td>
-<td>/sites/firefly-iii/app/Helpers/Csv/Specifix/AbnAmroDescription.php</td>
-<td align="center" width="5%">174</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method parseTRTPDescription() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Admin/UserController.php</td>
+<td align="center" width="5%">54</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method index() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">10</td>
-<td>/sites/firefly-iii/app/Helpers/Csv/Specifix/AbnAmroDescription.php</td>
-<td align="center" width="5%">174</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method parseTRTPDescription() has 51 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/AttachmentController.php</td>
+<td align="center" width="5%">34</td>
+<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class AttachmentController has a coupling between objects value of 17. Consider to reduce the number of dependencies under 13.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">11</td>
-<td>/sites/firefly-iii/app/Helpers/Report/BalanceReportHelper.php</td>
-<td align="center" width="5%">34</td>
-<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class BalanceReportHelper has a coupling between objects value of 14. Consider to reduce the number of dependencies under 13.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Auth/AuthController.php</td>
+<td align="center" width="5%">37</td>
+<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class AuthController has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13.</a></td>
</tr>
<tr>
<td align="center">12</td>
-<td>/sites/firefly-iii/app/Helpers/Report/BalanceReportHelper.php</td>
-<td align="center" width="5%">268</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method removeUnusedBudgets() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Auth/AuthController.php</td>
+<td align="center" width="5%">65</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method login() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">13</td>
-<td>/sites/firefly-iii/app/Helpers/Report/BudgetReportHelper.php</td>
-<td align="center" width="5%">50</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method getBudgetReport() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Auth/PasswordController.php</td>
+<td align="center" width="5%">60</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method sendResetLinkEmail() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">14</td>
-<td>/sites/firefly-iii/app/Helpers/Report/BudgetReportHelper.php</td>
-<td align="center" width="5%">50</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method getBudgetReport() has 57 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Auth/TwoFactorController.php</td>
+<td align="center" width="5%">75</td>
+<td><a href="http://phpmd.org/rules/unusedcode.html#unusedformalparameter">Avoid unused parameters such as '$request'.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">15</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Admin/UserController.php</td>
-<td align="center" width="5%">30</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method index() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class BudgetController has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.</a></td>
</tr>
<tr>
<td align="center">16</td>
-<td>/sites/firefly-iii/app/Http/Controllers/AttachmentController.php</td>
-<td align="center" width="5%">33</td>
-<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class AttachmentController has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
+<td align="center" width="5%">196</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method multiYear() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">17</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Auth/AuthController.php</td>
-<td align="center" width="5%">36</td>
-<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class AuthController has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
+<td align="center" width="5%">196</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method multiYear() has 60 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
<td align="center">18</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Auth/AuthController.php</td>
-<td align="center" width="5%">64</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method login() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
+<td align="center" width="5%">196</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method multiYear has 5 parameters. Consider to reduce parameter number under 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">19</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Auth/PasswordController.php</td>
-<td align="center" width="5%">60</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method sendResetLinkEmail() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
+<td align="center" width="5%">266</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method period() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">20</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Auth/TwoFactorController.php</td>
-<td align="center" width="5%">75</td>
-<td><a href="http://phpmd.org/rules/unusedcode.html#unusedformalparameter">Avoid unused parameters such as '$request'.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
+<td align="center" width="5%">266</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method period() has 47 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">21</td>
-<td>/sites/firefly-iii/app/Http/Controllers/CategoryController.php</td>
-<td align="center" width="5%">34</td>
-<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class CategoryController has 11 public methods. Consider refactoring CategoryController to keep number of public methods under 10.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
+<td align="center" width="5%">266</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method period has 5 parameters. Consider to reduce parameter number under 5.</a></td>
</tr>
<tr>
<td align="center">22</td>
-<td>/sites/firefly-iii/app/Http/Controllers/CategoryController.php</td>
-<td align="center" width="5%">34</td>
-<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class CategoryController has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
+<td align="center" width="5%">340</td>
+<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method spentInPeriodMulti() has an NPath complexity of 251. The configured NPath complexity threshold is 200.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">23</td>
-<td>/sites/firefly-iii/app/Http/Controllers/CategoryController.php</td>
-<td align="center" width="5%">164</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method show() has 61 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
+<td align="center" width="5%">340</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method spentInPeriodMulti() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">24</td>
<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">32</td>
-<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class BudgetController has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.</a></td>
+<td align="center" width="5%">340</td>
+<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method spentInPeriodMulti() has an NPath complexity of 251. The configured NPath complexity threshold is 128.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">25</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">56</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method budget() has 40 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/ReportController.php</td>
+<td align="center" width="5%">101</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method yearInOut() has 43 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
<td align="center">26</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">144</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method frontpage() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/ReportController.php</td>
+<td align="center" width="5%">101</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method yearInOut has 5 parameters. Consider to reduce parameter number under 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">27</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">144</td>
-<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method frontpage() has an NPath complexity of 8036. The configured NPath complexity threshold is 200.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/ReportController.php</td>
+<td align="center" width="5%">154</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method yearInOutSummarized() has 42 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
<td align="center">28</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">144</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method frontpage() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Chart/ReportController.php</td>
+<td align="center" width="5%">154</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method yearInOutSummarized has 5 parameters. Consider to reduce parameter number under 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">29</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">144</td>
-<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method frontpage() has an NPath complexity of 8036. The configured NPath complexity threshold is 128.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/Controller.php</td>
+<td align="center" width="5%">30</td>
+<td><a href="http://phpmd.org/rules/design.html#numberofchildren">The class Controller has 20 children. Consider to rebalance this class hierarchy to keep number of children under 15.</a></td>
</tr>
<tr>
<td align="center">30</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">144</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method frontpage() has 66 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/CurrencyController.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class CurrencyController has a coupling between objects value of 14. Consider to reduce the number of dependencies under 13.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">31</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">222</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method multiYear() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/ImportController.php</td>
+<td align="center" width="5%">50</td>
+<td><a href="http://phpmd.org/rules/unusedcode.html#unusedlocalvariable">Avoid unused local variables such as '$importer'.</a></td>
</tr>
<tr>
<td align="center">32</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">222</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method multiYear() has 60 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/ImportController.php</td>
+<td align="center" width="5%">243</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method upload() has 44 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">33</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">222</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method multiYear has 5 parameters. Consider to reduce parameter number under 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/ImportController.php</td>
+<td align="center" width="5%">294</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method jobInCorrectStep() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">34</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">292</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method period() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/RuleController.php</td>
+<td align="center" width="5%">36</td>
+<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class RuleController has 13 public methods. Consider refactoring RuleController to keep number of public methods under 10.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">35</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">292</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method period() has 47 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/RuleController.php</td>
+<td align="center" width="5%">36</td>
+<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class RuleController has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13.</a></td>
</tr>
<tr>
<td align="center">36</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/BudgetController.php</td>
-<td align="center" width="5%">292</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method period has 5 parameters. Consider to reduce parameter number under 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/RuleController.php</td>
+<td align="center" width="5%">326</td>
+<td><a href="http://phpmd.org/rules/naming.html#shortmethodname">Avoid using short method names like RuleController::up(). The configured minimum method name length is 3.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">37</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/CategoryController.php</td>
-<td align="center" width="5%">158</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method multiYear() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/TagController.php</td>
+<td align="center" width="5%">41</td>
+<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class TagController has a coupling between objects value of 14. Consider to reduce the number of dependencies under 13.</a></td>
</tr>
<tr>
<td align="center">38</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/CategoryController.php</td>
-<td align="center" width="5%">158</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method multiYear() has 63 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/TagController.php</td>
+<td align="center" width="5%">181</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method index() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">39</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/ReportController.php</td>
-<td align="center" width="5%">101</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method yearInOut() has 43 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Controllers/TagController.php</td>
+<td align="center" width="5%">181</td>
+<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method index() has an NPath complexity of 131. The configured NPath complexity threshold is 128.</a></td>
</tr>
<tr>
<td align="center">40</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/ReportController.php</td>
-<td align="center" width="5%">101</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method yearInOut has 5 parameters. Consider to reduce parameter number under 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Middleware/AuthenticateTwoFactor.php</td>
+<td align="center" width="5%">36</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">41</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/ReportController.php</td>
-<td align="center" width="5%">154</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method yearInOutSummarized() has 42 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td>/sites/firefly-iii/app/Http/Middleware/IsConfirmed.php</td>
+<td align="center" width="5%">36</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">42</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Chart/ReportController.php</td>
-<td align="center" width="5%">154</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method yearInOutSummarized has 5 parameters. Consider to reduce parameter number under 5.</a></td>
+<td>/sites/firefly-iii/app/Http/Middleware/IsNotConfirmed.php</td>
+<td align="center" width="5%">36</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">43</td>
-<td>/sites/firefly-iii/app/Http/Controllers/Controller.php</td>
-<td align="center" width="5%">30</td>
-<td><a href="http://phpmd.org/rules/design.html#numberofchildren">The class Controller has 21 children. Consider to rebalance this class hierarchy to keep number of children under 15.</a></td>
+<td>/sites/firefly-iii/app/Http/Middleware/Range.php</td>
+<td align="center" width="5%">62</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">44</td>
-<td>/sites/firefly-iii/app/Http/Controllers/CurrencyController.php</td>
-<td align="center" width="5%">31</td>
-<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class CurrencyController has a coupling between objects value of 14. Consider to reduce the number of dependencies under 13.</a></td>
+<td>/sites/firefly-iii/app/Http/Middleware/Range.php</td>
+<td align="center" width="5%">95</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method datePicker() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">45</td>
-<td>/sites/firefly-iii/app/Http/Controllers/RuleController.php</td>
-<td align="center" width="5%">36</td>
-<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class RuleController has 13 public methods. Consider refactoring RuleController to keep number of public methods under 10.</a></td>
+<td>/sites/firefly-iii/app/Http/Middleware/Range.php</td>
+<td align="center" width="5%">95</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method datePicker() has 48 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
<td align="center">46</td>
-<td>/sites/firefly-iii/app/Http/Controllers/RuleController.php</td>
-<td align="center" width="5%">36</td>
-<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class RuleController has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13.</a></td>
+<td>/sites/firefly-iii/app/Http/Middleware/RedirectIfTwoFactorAuthenticated.php</td>
+<td align="center" width="5%">35</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">47</td>
-<td>/sites/firefly-iii/app/Http/Controllers/RuleController.php</td>
-<td align="center" width="5%">326</td>
-<td><a href="http://phpmd.org/rules/naming.html#shortmethodname">Avoid using short method names like RuleController::up(). The configured minimum method name length is 3.</a></td>
+<td>/sites/firefly-iii/app/Http/Requests/Request.php</td>
+<td align="center" width="5%">21</td>
+<td><a href="http://phpmd.org/rules/design.html#numberofchildren">The class Request has 19 children. Consider to rebalance this class hierarchy to keep number of children under 15.</a></td>
</tr>
<tr>
<td align="center">48</td>
-<td>/sites/firefly-iii/app/Http/Controllers/TagController.php</td>
-<td align="center" width="5%">41</td>
-<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class TagController has a coupling between objects value of 14. Consider to reduce the number of dependencies under 13.</a></td>
+<td>/sites/firefly-iii/app/Import/Converter/AccountId.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">49</td>
-<td>/sites/firefly-iii/app/Http/Controllers/TagController.php</td>
-<td align="center" width="5%">181</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method index() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Import/Converter/Amount.php</td>
+<td align="center" width="5%">30</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
<td align="center">50</td>
-<td>/sites/firefly-iii/app/Http/Controllers/TagController.php</td>
-<td align="center" width="5%">181</td>
-<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method index() has an NPath complexity of 131. The configured NPath complexity threshold is 128.</a></td>
+<td>/sites/firefly-iii/app/Import/Converter/AssetAccountIban.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">51</td>
-<td>/sites/firefly-iii/app/Http/Middleware/AuthenticateTwoFactor.php</td>
-<td align="center" width="5%">36</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Import/Converter/AssetAccountIban.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 44 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
<td align="center">52</td>
-<td>/sites/firefly-iii/app/Http/Middleware/IsConfirmed.php</td>
-<td align="center" width="5%">36</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Import/Converter/AssetAccountName.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">53</td>
-<td>/sites/firefly-iii/app/Http/Middleware/IsNotConfirmed.php</td>
-<td align="center" width="5%">36</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Import/Converter/AssetAccountName.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 43 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
<td align="center">54</td>
-<td>/sites/firefly-iii/app/Http/Middleware/Range.php</td>
-<td align="center" width="5%">61</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Import/Converter/AssetAccountNumber.php</td>
+<td align="center" width="5%">33</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">55</td>
-<td>/sites/firefly-iii/app/Http/Middleware/RedirectIfTwoFactorAuthenticated.php</td>
-<td align="center" width="5%">35</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td>/sites/firefly-iii/app/Import/Converter/AssetAccountNumber.php</td>
+<td align="center" width="5%">33</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 41 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
<td align="center">56</td>
-<td>/sites/firefly-iii/app/Http/Requests/Request.php</td>
-<td align="center" width="5%">21</td>
-<td><a href="http://phpmd.org/rules/design.html#numberofchildren">The class Request has 18 children. Consider to rebalance this class hierarchy to keep number of children under 15.</a></td>
+<td>/sites/firefly-iii/app/Import/Converter/BasicConverter.php</td>
+<td align="center" width="5%">22</td>
+<td><a href="http://phpmd.org/rules/design.html#numberofchildren">The class BasicConverter has 26 children. Consider to rebalance this class hierarchy to keep number of children under 15.</a></td>
</tr>
<tr bgcolor="lightgrey">
<td align="center">57</td>
+<td>/sites/firefly-iii/app/Import/Converter/BillId.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr>
+<td align="center">58</td>
+<td>/sites/firefly-iii/app/Import/Converter/BillId.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 41 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">59</td>
+<td>/sites/firefly-iii/app/Import/Converter/BillName.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr>
+<td align="center">60</td>
+<td>/sites/firefly-iii/app/Import/Converter/BillName.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 53 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">61</td>
+<td>/sites/firefly-iii/app/Import/Converter/BudgetId.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr>
+<td align="center">62</td>
+<td>/sites/firefly-iii/app/Import/Converter/BudgetName.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">63</td>
+<td>/sites/firefly-iii/app/Import/Converter/BudgetName.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 43 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr>
+<td align="center">64</td>
+<td>/sites/firefly-iii/app/Import/Converter/CategoryId.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">65</td>
+<td>/sites/firefly-iii/app/Import/Converter/CategoryName.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr>
+<td align="center">66</td>
+<td>/sites/firefly-iii/app/Import/Converter/CategoryName.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 43 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">67</td>
+<td>/sites/firefly-iii/app/Import/Converter/CurrencyId.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr>
+<td align="center">68</td>
+<td>/sites/firefly-iii/app/Import/Converter/CurrencyName.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">69</td>
+<td>/sites/firefly-iii/app/Import/Converter/CurrencyName.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 44 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr>
+<td align="center">70</td>
+<td>/sites/firefly-iii/app/Import/Converter/CurrencySymbol.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">71</td>
+<td>/sites/firefly-iii/app/Import/Converter/CurrencySymbol.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 44 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr>
+<td align="center">72</td>
+<td>/sites/firefly-iii/app/Import/Converter/OpposingAccountIban.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">73</td>
+<td>/sites/firefly-iii/app/Import/Converter/OpposingAccountIban.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 45 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr>
+<td align="center">74</td>
+<td>/sites/firefly-iii/app/Import/Converter/OpposingAccountName.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">75</td>
+<td>/sites/firefly-iii/app/Import/Converter/OpposingAccountName.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 44 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr>
+<td align="center">76</td>
+<td>/sites/firefly-iii/app/Import/Converter/OpposingAccountNumber.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">77</td>
+<td>/sites/firefly-iii/app/Import/Converter/OpposingAccountNumber.php</td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 42 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr>
+<td align="center">78</td>
+<td>/sites/firefly-iii/app/Import/Converter/TagsComma.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">79</td>
+<td>/sites/firefly-iii/app/Import/Converter/TagsComma.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 56 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr>
+<td align="center">80</td>
+<td>/sites/firefly-iii/app/Import/Converter/TagsSpace.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method convert() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">81</td>
+<td>/sites/firefly-iii/app/Import/Converter/TagsSpace.php</td>
+<td align="center" width="5%">31</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method convert() has 57 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr>
+<td align="center">82</td>
<td>/sites/firefly-iii/app/Jobs/MailError.php</td>
<td align="center" width="5%">67</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method handle() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">58</td>
+<tr bgcolor="lightgrey">
+<td align="center">83</td>
<td>/sites/firefly-iii/app/Models/Account.php</td>
-<td align="center" width="5%">91</td>
+<td align="center" width="5%">93</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method firstOrCreateEncrypted() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
+<tr>
+<td align="center">84</td>
+<td>/sites/firefly-iii/app/Models/Account.php</td>
+<td align="center" width="5%">186</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method getIbanAttribute() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+</tr>
<tr bgcolor="lightgrey">
-<td align="center">59</td>
+<td align="center">85</td>
<td>/sites/firefly-iii/app/Models/TransactionJournal.php</td>
<td align="center" width="5%">94</td>
<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class TransactionJournal has 23 public methods. Consider refactoring TransactionJournal to keep number of public methods under 10.</a></td>
</tr>
<tr>
-<td align="center">60</td>
+<td align="center">86</td>
<td>/sites/firefly-iii/app/Providers/AccountServiceProvider.php</td>
<td align="center" width="5%">41</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">61</td>
+<td align="center">87</td>
<td>/sites/firefly-iii/app/Providers/AttachmentServiceProvider.php</td>
<td align="center" width="5%">41</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
-<td align="center">62</td>
+<td align="center">88</td>
<td>/sites/firefly-iii/app/Providers/BillServiceProvider.php</td>
<td align="center" width="5%">41</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">63</td>
+<td align="center">89</td>
<td>/sites/firefly-iii/app/Providers/BudgetServiceProvider.php</td>
<td align="center" width="5%">41</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
-<td align="center">64</td>
+<td align="center">90</td>
<td>/sites/firefly-iii/app/Providers/CategoryServiceProvider.php</td>
<td align="center" width="5%">41</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">65</td>
+<td align="center">91</td>
<td>/sites/firefly-iii/app/Providers/CrudServiceProvider.php</td>
-<td align="center" width="5%">46</td>
+<td align="center" width="5%">48</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method registerAccount() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
-<td align="center">66</td>
+<td align="center">92</td>
<td>/sites/firefly-iii/app/Providers/CrudServiceProvider.php</td>
-<td align="center" width="5%">64</td>
+<td align="center" width="5%">68</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method registerJournal() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">67</td>
+<td align="center">93</td>
<td>/sites/firefly-iii/app/Providers/ExportJobServiceProvider.php</td>
-<td align="center" width="5%">32</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method boot() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">52</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method exportJob() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
-<td align="center">68</td>
-<td>/sites/firefly-iii/app/Providers/FireflyServiceProvider.php</td>
-<td align="center" width="5%">36</td>
-<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class FireflyServiceProvider has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13.</a></td>
+<td align="center">94</td>
+<td>/sites/firefly-iii/app/Providers/ExportJobServiceProvider.php</td>
+<td align="center" width="5%">70</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method importJob() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">69</td>
+<td align="center">95</td>
<td>/sites/firefly-iii/app/Providers/FireflyServiceProvider.php</td>
-<td align="center" width="5%">58</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method register() has 53 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">37</td>
+<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class FireflyServiceProvider has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13.</a></td>
</tr>
<tr>
-<td align="center">70</td>
+<td align="center">96</td>
+<td>/sites/firefly-iii/app/Providers/FireflyServiceProvider.php</td>
+<td align="center" width="5%">59</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method register() has 58 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">97</td>
<td>/sites/firefly-iii/app/Providers/JournalServiceProvider.php</td>
<td align="center" width="5%">41</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">71</td>
+<tr>
+<td align="center">98</td>
<td>/sites/firefly-iii/app/Providers/PiggyBankServiceProvider.php</td>
<td align="center" width="5%">42</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">72</td>
+<tr bgcolor="lightgrey">
+<td align="center">99</td>
<td>/sites/firefly-iii/app/Providers/RuleGroupServiceProvider.php</td>
<td align="center" width="5%">42</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">73</td>
+<tr>
+<td align="center">100</td>
<td>/sites/firefly-iii/app/Providers/RuleServiceProvider.php</td>
<td align="center" width="5%">41</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">74</td>
+<tr bgcolor="lightgrey">
+<td align="center">101</td>
<td>/sites/firefly-iii/app/Providers/TagServiceProvider.php</td>
<td align="center" width="5%">41</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method register() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">75</td>
+<tr>
+<td align="center">102</td>
<td>/sites/firefly-iii/app/Repositories/Account/AccountRepository.php</td>
<td align="center" width="5%">35</td>
<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class AccountRepository has 14 public methods. Consider refactoring AccountRepository to keep number of public methods under 10.</a></td>
</tr>
-<tr>
-<td align="center">76</td>
+<tr bgcolor="lightgrey">
+<td align="center">103</td>
<td>/sites/firefly-iii/app/Repositories/Account/AccountRepository.php</td>
<td align="center" width="5%">41</td>
<td><a href="http://phpmd.org/rules/unusedcode.html#unusedprivatefield">Avoid unused private fields such as '$validFields'.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">77</td>
-<td>/sites/firefly-iii/app/Repositories/Account/AccountRepository.php</td>
-<td align="center" width="5%">240</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method getPiggyBankAccounts() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
-</tr>
<tr>
-<td align="center">78</td>
+<td align="center">104</td>
<td>/sites/firefly-iii/app/Repositories/Account/AccountRepository.php</td>
-<td align="center" width="5%">282</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method getSavingsAccounts() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">247</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method getPiggyBankAccounts() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">79</td>
+<td align="center">105</td>
<td>/sites/firefly-iii/app/Repositories/Account/AccountRepository.php</td>
-<td align="center" width="5%">282</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method getSavingsAccounts() has 44 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">289</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method getSavingsAccounts() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
-<td align="center">80</td>
-<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
-<td align="center" width="5%">32</td>
-<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class BudgetRepository has 11 public methods. Consider refactoring BudgetRepository to keep number of public methods under 10.</a></td>
+<td align="center">106</td>
+<td>/sites/firefly-iii/app/Repositories/Account/AccountRepository.php</td>
+<td align="center" width="5%">289</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method getSavingsAccounts() has 44 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">81</td>
+<td align="center">107</td>
<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
-<td align="center" width="5%">84</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method firstUseDate() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">32</td>
+<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class BudgetRepository has 13 public methods. Consider refactoring BudgetRepository to keep number of public methods under 10.</a></td>
</tr>
<tr>
-<td align="center">82</td>
+<td align="center">108</td>
<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
-<td align="center" width="5%">184</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method journalsInPeriod() has 60 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">116</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method firstUseDate() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">83</td>
+<td align="center">109</td>
<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
-<td align="center" width="5%">252</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method journalsInPeriodWithoutBudget() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">216</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method journalsInPeriod() has 60 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
-<td align="center">84</td>
+<td align="center">110</td>
<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
-<td align="center" width="5%">252</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method journalsInPeriodWithoutBudget() has 49 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">284</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method journalsInPeriodWithoutBudget() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">85</td>
+<td align="center">111</td>
<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
-<td align="center" width="5%">310</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method spentInPeriod() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">284</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method journalsInPeriodWithoutBudget() has 49 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
-<td align="center">86</td>
+<td align="center">112</td>
<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
-<td align="center" width="5%">310</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method spentInPeriod() has 51 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">342</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method spentInPeriod() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">87</td>
+<td align="center">113</td>
<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
-<td align="center" width="5%">446</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method updateLimitAmount() has 43 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">342</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method spentInPeriod() has 51 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
-<td align="center">88</td>
+<td align="center">114</td>
<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
-<td align="center" width="5%">446</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method updateLimitAmount has 5 parameters. Consider to reduce parameter number under 5.</a></td>
+<td align="center" width="5%">478</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method updateLimitAmount() has 43 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">89</td>
-<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepositoryInterface.php</td>
-<td align="center" width="5%">138</td>
+<td align="center">115</td>
+<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepository.php</td>
+<td align="center" width="5%">478</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method updateLimitAmount has 5 parameters. Consider to reduce parameter number under 5.</a></td>
</tr>
<tr>
-<td align="center">90</td>
-<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">28</td>
-<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class CategoryRepository has 13 public methods. Consider refactoring CategoryRepository to keep number of public methods under 10.</a></td>
+<td align="center">116</td>
+<td>/sites/firefly-iii/app/Repositories/Budget/BudgetRepositoryInterface.php</td>
+<td align="center" width="5%">152</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method updateLimitAmount has 5 parameters. Consider to reduce parameter number under 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">91</td>
+<td align="center">117</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
<td align="center" width="5%">28</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessiveclasscomplexity">The class CategoryRepository has an overall complexity of 52 which is very high. The configured complexity threshold is 50.</a></td>
+<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class CategoryRepository has 14 public methods. Consider refactoring CategoryRepository to keep number of public methods under 10.</a></td>
</tr>
<tr>
-<td align="center">92</td>
+<td align="center">118</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">110</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method firstUseDate() has a Cyclomatic Complexity of 9. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">28</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveclasscomplexity">The class CategoryRepository has an overall complexity of 55 which is very high. The configured complexity threshold is 50.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">93</td>
+<td align="center">119</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">110</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method firstUseDate() has 42 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">129</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method firstUseDate() has a Cyclomatic Complexity of 9. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr>
-<td align="center">94</td>
+<td align="center">120</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">132</td>
-<td><a href="http://phpmd.org/rules/naming.html#longvariable">Avoid excessively long variable names like $firstTransactionQuery. Keep variable name length under 20.</a></td>
+<td align="center" width="5%">129</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method firstUseDate() has 42 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">95</td>
+<td align="center">121</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">225</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method journalsInPeriod() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">151</td>
+<td><a href="http://phpmd.org/rules/naming.html#longvariable">Avoid excessively long variable names like $firstTransactionQuery. Keep variable name length under 20.</a></td>
</tr>
<tr>
-<td align="center">96</td>
+<td align="center">122</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">225</td>
-<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method journalsInPeriod() has an NPath complexity of 128. The configured NPath complexity threshold is 128.</a></td>
+<td align="center" width="5%">244</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method journalsInPeriod() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">97</td>
+<td align="center">123</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">225</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method journalsInPeriod() has 54 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">244</td>
+<td><a href="http://phpmd.org/rules/codesize.html#npathcomplexity">The method journalsInPeriod() has an NPath complexity of 128. The configured NPath complexity threshold is 128.</a></td>
</tr>
<tr>
-<td align="center">98</td>
+<td align="center">124</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">225</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method journalsInPeriod has 5 parameters. Consider to reduce parameter number under 5.</a></td>
+<td align="center" width="5%">244</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method journalsInPeriod() has 54 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">99</td>
+<td align="center">125</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">288</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method journalsInPeriodWithoutCategory() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">244</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method journalsInPeriod has 5 parameters. Consider to reduce parameter number under 5.</a></td>
</tr>
<tr>
-<td align="center">100</td>
+<td align="center">126</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">288</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method journalsInPeriodWithoutCategory() has 53 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">307</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method journalsInPeriodWithoutCategory() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">101</td>
+<td align="center">127</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">348</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method lastUseDate() has a Cyclomatic Complexity of 9. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">307</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method journalsInPeriodWithoutCategory() has 52 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
-<td align="center">102</td>
+<td align="center">128</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">348</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method lastUseDate() has 42 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">366</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method lastUseDate() has a Cyclomatic Complexity of 9. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">103</td>
+<td align="center">129</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">464</td>
-<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method sumInPeriod() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
+<td align="center" width="5%">366</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method lastUseDate() has 42 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
-<td align="center">104</td>
+<td align="center">130</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">464</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method sumInPeriod() has 58 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center" width="5%">482</td>
+<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method sumInPeriod() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
<tr bgcolor="lightgrey">
-<td align="center">105</td>
+<td align="center">131</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
-<td align="center" width="5%">464</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method sumInPeriod has 5 parameters. Consider to reduce parameter number under 5.</a></td>
+<td align="center" width="5%">482</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method sumInPeriod() has 58 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
<tr>
-<td align="center">106</td>
+<td align="center">132</td>
+<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepository.php</td>
+<td align="center" width="5%">482</td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method sumInPeriod has 5 parameters. Consider to reduce parameter number under 5.</a></td>
+</tr>
+<tr bgcolor="lightgrey">
+<td align="center">133</td>
<td>/sites/firefly-iii/app/Repositories/Category/CategoryRepositoryInterface.php</td>
-<td align="center" width="5%">95</td>
+<td align="center" width="5%">104</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessiveparameterlist">The method journalsInPeriod has 5 parameters. Consider to reduce parameter number under 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">107</td>
+<tr>
+<td align="center">134</td>
<td>/sites/firefly-iii/app/Repositories/Journal/JournalRepository.php</td>
<td align="center" width="5%">39</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessiveclasscomplexity">The class JournalRepository has an overall complexity of 51 which is very high. The configured complexity threshold is 50.</a></td>
+<td><a href="http://phpmd.org/rules/codesize.html#excessiveclasscomplexity">The class JournalRepository has an overall complexity of 50 which is very high. The configured complexity threshold is 50.</a></td>
</tr>
-<tr>
-<td align="center">108</td>
+<tr bgcolor="lightgrey">
+<td align="center">135</td>
<td>/sites/firefly-iii/app/Repositories/Journal/JournalRepository.php</td>
<td align="center" width="5%">39</td>
<td><a href="http://phpmd.org/rules/design.html#couplingbetweenobjects">The class JournalRepository has a coupling between objects value of 19. Consider to reduce the number of dependencies under 13.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">109</td>
+<tr>
+<td align="center">136</td>
<td>/sites/firefly-iii/app/Repositories/Journal/JournalRepository.php</td>
-<td align="center" width="5%">227</td>
+<td align="center" width="5%">222</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method getTransactions() has 57 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
-<tr>
-<td align="center">110</td>
+<tr bgcolor="lightgrey">
+<td align="center">137</td>
<td>/sites/firefly-iii/app/Repositories/Journal/JournalRepository.php</td>
-<td align="center" width="5%">290</td>
+<td align="center" width="5%">285</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method store() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">111</td>
+<tr>
+<td align="center">138</td>
<td>/sites/firefly-iii/app/Repositories/Journal/JournalRepository.php</td>
-<td align="center" width="5%">290</td>
+<td align="center" width="5%">285</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method store() has 64 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
-<tr>
-<td align="center">112</td>
+<tr bgcolor="lightgrey">
+<td align="center">139</td>
<td>/sites/firefly-iii/app/Repositories/Journal/JournalRepository.php</td>
-<td align="center" width="5%">392</td>
+<td align="center" width="5%">387</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method update() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">113</td>
+<tr>
+<td align="center">140</td>
<td>/sites/firefly-iii/app/Repositories/Journal/JournalRepository.php</td>
-<td align="center" width="5%">392</td>
+<td align="center" width="5%">387</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method update() has 55 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
-<tr>
-<td align="center">114</td>
+<tr bgcolor="lightgrey">
+<td align="center">141</td>
<td>/sites/firefly-iii/app/Repositories/Journal/JournalRepository.php</td>
-<td align="center" width="5%">482</td>
+<td align="center" width="5%">477</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method storeAccounts() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">115</td>
+<tr>
+<td align="center">142</td>
<td>/sites/firefly-iii/app/Repositories/Journal/JournalRepository.php</td>
-<td align="center" width="5%">581</td>
+<td align="center" width="5%">576</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method updateTags() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">116</td>
+<tr bgcolor="lightgrey">
+<td align="center">143</td>
<td>/sites/firefly-iii/app/Repositories/Rule/RuleRepository.php</td>
<td align="center" width="5%">26</td>
<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class RuleRepository has 12 public methods. Consider refactoring RuleRepository to keep number of public methods under 10.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">117</td>
+<tr>
+<td align="center">144</td>
<td>/sites/firefly-iii/app/Repositories/Tag/TagRepository.php</td>
<td align="center" width="5%">49</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method connect() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">118</td>
+<tr bgcolor="lightgrey">
+<td align="center">145</td>
<td>/sites/firefly-iii/app/Repositories/Tag/TagRepository.php</td>
-<td align="center" width="5%">150</td>
+<td align="center" width="5%">183</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method connectAdvancePayment() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">119</td>
+<tr>
+<td align="center">146</td>
<td>/sites/firefly-iii/app/Repositories/Tag/TagRepository.php</td>
-<td align="center" width="5%">195</td>
+<td align="center" width="5%">228</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method connectBalancingAct() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">120</td>
+<tr bgcolor="lightgrey">
+<td align="center">147</td>
<td>/sites/firefly-iii/app/Repositories/Tag/TagRepository.php</td>
-<td align="center" width="5%">235</td>
+<td align="center" width="5%">268</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method matchAll() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">121</td>
+<tr>
+<td align="center">148</td>
<td>/sites/firefly-iii/app/Rules/Processor.php</td>
<td align="center" width="5%">179</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method triggered() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">122</td>
+<tr bgcolor="lightgrey">
+<td align="center">149</td>
<td>/sites/firefly-iii/app/Rules/TransactionMatcher.php</td>
<td align="center" width="5%">57</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method findMatchingTransactions() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">123</td>
+<tr>
+<td align="center">150</td>
<td>/sites/firefly-iii/app/Rules/TransactionMatcher.php</td>
<td align="center" width="5%">57</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method findMatchingTransactions() has 49 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
-<tr>
-<td align="center">124</td>
+<tr bgcolor="lightgrey">
+<td align="center">151</td>
<td>/sites/firefly-iii/app/Support/Binder/Date.php</td>
<td align="center" width="5%">36</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method routeBinder() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">125</td>
+<tr>
+<td align="center">152</td>
<td>/sites/firefly-iii/app/Support/CacheProperties.php</td>
<td align="center" width="5%">95</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method md5() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">126</td>
+<tr bgcolor="lightgrey">
+<td align="center">153</td>
<td>/sites/firefly-iii/app/Support/ExpandedForm.php</td>
<td align="center" width="5%">29</td>
<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class ExpandedForm has 18 public methods. Consider refactoring ExpandedForm to keep number of public methods under 10.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">127</td>
+<tr>
+<td align="center">154</td>
<td>/sites/firefly-iii/app/Support/ExpandedForm.php</td>
<td align="center" width="5%">211</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method makeSelectList() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">128</td>
+<tr bgcolor="lightgrey">
+<td align="center">155</td>
<td>/sites/firefly-iii/app/Support/ExpandedForm.php</td>
<td align="center" width="5%">236</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method makeSelectListWithEmpty() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">129</td>
+<tr>
+<td align="center">156</td>
<td>/sites/firefly-iii/app/Support/ExpandedForm.php</td>
<td align="center" width="5%">442</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method fillFieldValue() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">130</td>
+<tr bgcolor="lightgrey">
+<td align="center">157</td>
<td>/sites/firefly-iii/app/Support/Models/TagSupport.php</td>
<td align="center" width="5%">31</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method tagAllowAdvance() has a Cyclomatic Complexity of 8. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">131</td>
+<tr>
+<td align="center">158</td>
<td>/sites/firefly-iii/app/Support/Navigation.php</td>
<td align="center" width="5%">73</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method endOfPeriod() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">132</td>
+<tr bgcolor="lightgrey">
+<td align="center">159</td>
<td>/sites/firefly-iii/app/Support/Navigation.php</td>
<td align="center" width="5%">73</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method endOfPeriod() has 55 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">133</td>
+<tr>
+<td align="center">160</td>
<td>/sites/firefly-iii/app/Support/Navigation.php</td>
<td align="center" width="5%">213</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method startOfPeriod() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">134</td>
+<tr bgcolor="lightgrey">
+<td align="center">161</td>
<td>/sites/firefly-iii/app/Support/Navigation.php</td>
<td align="center" width="5%">213</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method startOfPeriod() has 42 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">135</td>
+<tr>
+<td align="center">162</td>
<td>/sites/firefly-iii/app/Support/Navigation.php</td>
<td align="center" width="5%">264</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method subtractPeriod() has 52 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
-<tr>
-<td align="center">136</td>
+<tr bgcolor="lightgrey">
+<td align="center">163</td>
<td>/sites/firefly-iii/app/Support/Twig/Journal.php</td>
<td align="center" width="5%">37</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method formatAccountPerspective() has a Cyclomatic Complexity of 7. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">137</td>
+<tr>
+<td align="center">164</td>
<td>/sites/firefly-iii/app/Support/Twig/Journal.php</td>
<td align="center" width="5%">37</td>
<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method formatAccountPerspective() has 46 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
</tr>
-<tr>
-<td align="center">138</td>
+<tr bgcolor="lightgrey">
+<td align="center">165</td>
<td>/sites/firefly-iii/app/Support/Twig/Journal.php</td>
<td align="center" width="5%">87</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method formatBudgetPerspective() has a Cyclomatic Complexity of 6. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">139</td>
+<tr>
+<td align="center">166</td>
<td>/sites/firefly-iii/app/Support/Twig/Journal.php</td>
<td align="center" width="5%">239</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method journalBudgets() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr>
-<td align="center">140</td>
+<tr bgcolor="lightgrey">
+<td align="center">167</td>
<td>/sites/firefly-iii/app/Support/Twig/Journal.php</td>
<td align="center" width="5%">276</td>
<td><a href="http://phpmd.org/rules/codesize.html#cyclomaticcomplexity">The method journalCategories() has a Cyclomatic Complexity of 5. The configured cyclomatic complexity threshold is 5.</a></td>
</tr>
-<tr bgcolor="lightgrey">
-<td align="center">141</td>
-<td>/sites/firefly-iii/app/User.php</td>
-<td align="center" width="5%">58</td>
-<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class User has 16 public methods. Consider refactoring User to keep number of public methods under 10.</a></td>
-</tr>
-<tr>
-<td align="center">142</td>
-<td>/sites/firefly-iii/database/migrations/2016_02_04_144117_changes_for_v380.php</td>
-<td align="center" width="5%">29</td>
-<td><a href="http://phpmd.org/rules/naming.html#shortmethodname">Avoid using short method names like ChangesForV380::up(). The configured minimum method name length is 3.</a></td>
-</tr>
-<tr bgcolor="lightgrey">
-<td align="center">143</td>
-<td>/sites/firefly-iii/database/migrations/2016_02_04_144117_changes_for_v380.php</td>
-<td align="center" width="5%">29</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method up() has 41 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
-</tr>
-<tr>
-<td align="center">144</td>
-<td>/sites/firefly-iii/database/migrations/2016_02_24_172426_create_jobs_table.php</td>
-<td align="center" width="5%">18</td>
-<td><a href="http://phpmd.org/rules/naming.html#shortmethodname">Avoid using short method names like CreateJobsTable::up(). The configured minimum method name length is 3.</a></td>
-</tr>
-<tr bgcolor="lightgrey">
-<td align="center">145</td>
-<td>/sites/firefly-iii/database/migrations/2016_04_08_181054_changes_for_v383.php</td>
-<td align="center" width="5%">29</td>
-<td><a href="http://phpmd.org/rules/naming.html#shortmethodname">Avoid using short method names like ChangesForV383::up(). The configured minimum method name length is 3.</a></td>
-</tr>
<tr>
-<td align="center">146</td>
-<td>/sites/firefly-iii/database/migrations/2016_04_25_093451_changes_for_v390.php</td>
-<td align="center" width="5%">59</td>
-<td><a href="http://phpmd.org/rules/naming.html#shortmethodname">Avoid using short method names like ChangesForV390::up(). The configured minimum method name length is 3.</a></td>
-</tr>
-<tr bgcolor="lightgrey">
-<td align="center">147</td>
-<td>/sites/firefly-iii/database/migrations/2016_04_25_093451_changes_for_v390.php</td>
-<td align="center" width="5%">59</td>
-<td><a href="http://phpmd.org/rules/codesize.html#excessivemethodlength">The method up() has 75 lines of code. Current threshold is set to 40. Avoid really long methods.</a></td>
+<td align="center">168</td>
+<td>/sites/firefly-iii/app/User.php</td>
+<td align="center" width="5%">61</td>
+<td><a href="http://phpmd.org/rules/codesize.html#toomanypublicmethods">The class User has 17 public methods. Consider refactoring User to keep number of public methods under 10.</a></td>
</tr>
</table><hr /><center><h3>Processing errors</h3></center><table align="center" cellspacing="0" cellpadding="3"><tr><th>File</th><th>Problem</th></tr><tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Console/Commands/UpgradeFireflyInstructions.php</td><td>Unexpected token: ??, line: 56, col: 38, file: /sites/firefly-iii/app/Console/Commands/UpgradeFireflyInstructions.php.</td></tr>
<tr><td>/sites/firefly-iii/app/Helpers/Collection/Balance.php</td><td>Unexpected token: ??, line: 51, col: 37, file: /sites/firefly-iii/app/Helpers/Collection/Balance.php.</td></tr>
<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Helpers/Collection/BalanceLine.php</td><td>Unexpected token: ??, line: 82, col: 30, file: /sites/firefly-iii/app/Helpers/Collection/BalanceLine.php.</td></tr>
<tr><td>/sites/firefly-iii/app/Helpers/Collection/BillLine.php</td><td>Unexpected token: ??, line: 45, col: 30, file: /sites/firefly-iii/app/Helpers/Collection/BillLine.php.</td></tr>
<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Helpers/Collection/BudgetLine.php</td><td>Unexpected token: ??, line: 43, col: 30, file: /sites/firefly-iii/app/Helpers/Collection/BudgetLine.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Helpers/Csv/Converter/AssetAccountIban.php</td><td>Unexpected token: DEFAULT, line: 59, col: 55, file: /sites/firefly-iii/app/Helpers/Csv/Converter/AssetAccountIban.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Helpers/Csv/Converter/AssetAccountName.php</td><td>Unexpected token: DEFAULT, line: 39, col: 55, file: /sites/firefly-iii/app/Helpers/Csv/Converter/AssetAccountName.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Helpers/Csv/Converter/AssetAccountNumber.php</td><td>Unexpected token: ??, line: 40, col: 31, file: /sites/firefly-iii/app/Helpers/Csv/Converter/AssetAccountNumber.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Helpers/Csv/Converter/Description.php</td><td>Unexpected token: ??, line: 27, col: 51, file: /sites/firefly-iii/app/Helpers/Csv/Converter/Description.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Helpers/Csv/Data.php</td><td>Unexpected token: ??, line: 70, col: 38, file: /sites/firefly-iii/app/Helpers/Csv/Data.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Helpers/Csv/Importer.php</td><td>Unexpected token: ??, line: 185, col: 54, file: /sites/firefly-iii/app/Helpers/Csv/Importer.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Helpers/Csv/Mapper/AssetAccount.php</td><td>Unexpected token: ??, line: 41, col: 36, file: /sites/firefly-iii/app/Helpers/Csv/Mapper/AssetAccount.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Helpers/Csv/PostProcessing/Amount.php</td><td>Unexpected token: ??, line: 30, col: 55, file: /sites/firefly-iii/app/Helpers/Csv/PostProcessing/Amount.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Helpers/Csv/PostProcessing/AssetAccount.php</td><td>Unexpected token: ??, line: 74, col: 62, file: /sites/firefly-iii/app/Helpers/Csv/PostProcessing/AssetAccount.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Helpers/Csv/PostProcessing/Description.php</td><td>Unexpected token: ??, line: 29, col: 65, file: /sites/firefly-iii/app/Helpers/Csv/PostProcessing/Description.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Helpers/Report/ReportHelper.php</td><td>Unexpected token: ??, line: 273, col: 59, file: /sites/firefly-iii/app/Helpers/Report/ReportHelper.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/AccountController.php</td><td>Unexpected token: ??, line: 169, col: 23, file: /sites/firefly-iii/app/Http/Controllers/AccountController.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Http/Controllers/BudgetController.php</td><td>Unexpected token: DEFAULT, line: 187, col: 69, file: /sites/firefly-iii/app/Http/Controllers/BudgetController.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Helpers/Csv/Importer.php</td><td>Unexpected token: ??, line: 193, col: 54, file: /sites/firefly-iii/app/Helpers/Csv/Importer.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Helpers/Report/ReportHelper.php</td><td>Unexpected token: ??, line: 273, col: 59, file: /sites/firefly-iii/app/Helpers/Report/ReportHelper.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Http/Controllers/AccountController.php</td><td>Unexpected token: ??, line: 169, col: 23, file: /sites/firefly-iii/app/Http/Controllers/AccountController.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/BudgetController.php</td><td>Unexpected token: DEFAULT, line: 189, col: 69, file: /sites/firefly-iii/app/Http/Controllers/BudgetController.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Http/Controllers/CategoryController.php</td><td>Unexpected token: DEFAULT, line: 211, col: 70, file: /sites/firefly-iii/app/Http/Controllers/CategoryController.php.</td></tr>
<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/Chart/AccountController.php</td><td>Unexpected token: ??, line: 80, col: 60, file: /sites/firefly-iii/app/Http/Controllers/Chart/AccountController.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Http/Controllers/CsvController.php</td><td>Unexpected token: DEFAULT, line: 202, col: 109, file: /sites/firefly-iii/app/Http/Controllers/CsvController.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Http/Controllers/Chart/CategoryController.php</td><td>Unexpected token: DEFAULT, line: 68, col: 70, file: /sites/firefly-iii/app/Http/Controllers/Chart/CategoryController.php.</td></tr>
<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/ExportController.php</td><td>Unexpected token: DEFAULT, line: 107, col: 65, file: /sites/firefly-iii/app/Http/Controllers/ExportController.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Http/Controllers/HomeController.php</td><td>Unexpected token: DEFAULT, line: 127, col: 73, file: /sites/firefly-iii/app/Http/Controllers/HomeController.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Http/Controllers/HomeController.php</td><td>Unexpected token: DEFAULT, line: 134, col: 73, file: /sites/firefly-iii/app/Http/Controllers/HomeController.php.</td></tr>
<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/JsonController.php</td><td>Unexpected token: DEFAULT, line: 116, col: 60, file: /sites/firefly-iii/app/Http/Controllers/JsonController.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Http/Controllers/PiggyBankController.php</td><td>Unexpected token: DEFAULT, line: 78, col: 93, file: /sites/firefly-iii/app/Http/Controllers/PiggyBankController.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/Popup/ReportController.php</td><td>Unexpected token: ??, line: 246, col: 59, file: /sites/firefly-iii/app/Http/Controllers/Popup/ReportController.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Http/Controllers/PiggyBankController.php</td><td>Unexpected token: DEFAULT, line: 98, col: 93, file: /sites/firefly-iii/app/Http/Controllers/PiggyBankController.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/Popup/ReportController.php</td><td>Unexpected token: ??, line: 47, col: 51, file: /sites/firefly-iii/app/Http/Controllers/Popup/ReportController.php.</td></tr>
<tr><td>/sites/firefly-iii/app/Http/Controllers/PreferencesController.php</td><td>Unexpected token: DEFAULT, line: 77, col: 71, file: /sites/firefly-iii/app/Http/Controllers/PreferencesController.php.</td></tr>
<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/ReportController.php</td><td>Unexpected token: DEFAULT, line: 83, col: 60, file: /sites/firefly-iii/app/Http/Controllers/ReportController.php.</td></tr>
<tr><td>/sites/firefly-iii/app/Http/Controllers/RuleGroupController.php</td><td>Unexpected token: DEFAULT, line: 189, col: 67, file: /sites/firefly-iii/app/Http/Controllers/RuleGroupController.php.</td></tr>
<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/Transaction/MassController.php</td><td>Unexpected token: DEFAULT, line: 111, col: 92, file: /sites/firefly-iii/app/Http/Controllers/Transaction/MassController.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Http/Controllers/Transaction/SplitController.php</td><td>Unexpected token: ??, line: 68, col: 67, file: /sites/firefly-iii/app/Http/Controllers/Transaction/SplitController.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Http/Controllers/Transaction/SplitController.php</td><td>Unexpected token: ??, line: 72, col: 67, file: /sites/firefly-iii/app/Http/Controllers/Transaction/SplitController.php.</td></tr>
<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Controllers/TransactionController.php</td><td>Unexpected token: ??, line: 95, col: 64, file: /sites/firefly-iii/app/Http/Controllers/TransactionController.php.</td></tr>
<tr><td>/sites/firefly-iii/app/Http/Requests/JournalFormRequest.php</td><td>Unexpected token: ??, line: 43, col: 36, file: /sites/firefly-iii/app/Http/Requests/JournalFormRequest.php.</td></tr>
<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/Requests/SplitJournalFormRequest.php</td><td>Unexpected token: ??, line: 40, col: 68, file: /sites/firefly-iii/app/Http/Requests/SplitJournalFormRequest.php.</td></tr>
<tr><td>/sites/firefly-iii/app/Http/Requests/TagFormRequest.php</td><td>Unexpected token: ??, line: 49, col: 36, file: /sites/firefly-iii/app/Http/Requests/TagFormRequest.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/breadcrumbs.php</td><td>Unexpected token: ??, line: 594, col: 56, file: /sites/firefly-iii/app/Http/breadcrumbs.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Models/AccountType.php</td><td>Unexpected token: DEFAULT, line: 35, col: 11, file: /sites/firefly-iii/app/Models/AccountType.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Models/Tag.php</td><td>Unexpected token: ??, line: 81, col: 57, file: /sites/firefly-iii/app/Models/Tag.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Repositories/Bill/BillRepository.php</td><td>Unexpected token: ??, line: 212, col: 48, file: /sites/firefly-iii/app/Repositories/Bill/BillRepository.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Rules/Triggers/AmountExactly.php</td><td>Unexpected token: ??, line: 57, col: 49, file: /sites/firefly-iii/app/Rules/Triggers/AmountExactly.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Rules/Triggers/AmountLess.php</td><td>Unexpected token: ??, line: 57, col: 49, file: /sites/firefly-iii/app/Rules/Triggers/AmountLess.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Rules/Triggers/AmountMore.php</td><td>Unexpected token: ??, line: 57, col: 49, file: /sites/firefly-iii/app/Rules/Triggers/AmountMore.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Support/Amount.php</td><td>Unexpected token: ??, line: 87, col: 61, file: /sites/firefly-iii/app/Support/Amount.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Support/Migration/TestData.php</td><td>Unexpected token: ??, line: 267, col: 77, file: /sites/firefly-iii/app/Support/Migration/TestData.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Support/Models/TransactionJournalSupport.php</td><td>Unexpected token: ??, line: 286, col: 52, file: /sites/firefly-iii/app/Support/Models/TransactionJournalSupport.php.</td></tr>
-<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Support/Twig/General.php</td><td>Unexpected token: ??, line: 112, col: 44, file: /sites/firefly-iii/app/Support/Twig/General.php.</td></tr>
-<tr><td>/sites/firefly-iii/app/Validation/FireflyValidator.php</td><td>Unexpected token: ??, line: 84, col: 33, file: /sites/firefly-iii/app/Validation/FireflyValidator.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Http/breadcrumbs.php</td><td>Unexpected token: ??, line: 573, col: 56, file: /sites/firefly-iii/app/Http/breadcrumbs.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Import/Importer/CsvImporter.php</td><td>Unexpected token: DEFAULT, line: 82, col: 62, file: /sites/firefly-iii/app/Import/Importer/CsvImporter.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Import/Mapper/AssetAccountIbans.php</td><td>Unexpected token: DEFAULT, line: 33, col: 59, file: /sites/firefly-iii/app/Import/Mapper/AssetAccountIbans.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Import/Mapper/AssetAccounts.php</td><td>Unexpected token: DEFAULT, line: 33, col: 56, file: /sites/firefly-iii/app/Import/Mapper/AssetAccounts.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Import/Mapper/OpposingAccountIbans.php</td><td>Unexpected token: DEFAULT, line: 35, col: 30, file: /sites/firefly-iii/app/Import/Mapper/OpposingAccountIbans.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Import/Mapper/OpposingAccounts.php</td><td>Unexpected token: DEFAULT, line: 35, col: 30, file: /sites/firefly-iii/app/Import/Mapper/OpposingAccounts.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Models/AccountType.php</td><td>Unexpected token: DEFAULT, line: 33, col: 11, file: /sites/firefly-iii/app/Models/AccountType.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Models/Tag.php</td><td>Unexpected token: ??, line: 81, col: 57, file: /sites/firefly-iii/app/Models/Tag.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Repositories/Bill/BillRepository.php</td><td>Unexpected token: ??, line: 233, col: 48, file: /sites/firefly-iii/app/Repositories/Bill/BillRepository.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Rules/Triggers/AmountExactly.php</td><td>Unexpected token: ??, line: 57, col: 49, file: /sites/firefly-iii/app/Rules/Triggers/AmountExactly.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Rules/Triggers/AmountLess.php</td><td>Unexpected token: ??, line: 57, col: 49, file: /sites/firefly-iii/app/Rules/Triggers/AmountLess.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Rules/Triggers/AmountMore.php</td><td>Unexpected token: ??, line: 57, col: 49, file: /sites/firefly-iii/app/Rules/Triggers/AmountMore.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Support/Amount.php</td><td>Unexpected token: ??, line: 87, col: 61, file: /sites/firefly-iii/app/Support/Amount.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Support/Migration/TestData.php</td><td>Unexpected token: ??, line: 267, col: 77, file: /sites/firefly-iii/app/Support/Migration/TestData.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Support/Models/TransactionJournalSupport.php</td><td>Unexpected token: ??, line: 286, col: 52, file: /sites/firefly-iii/app/Support/Models/TransactionJournalSupport.php.</td></tr>
+<tr><td>/sites/firefly-iii/app/Support/Twig/General.php</td><td>Unexpected token: ??, line: 90, col: 58, file: /sites/firefly-iii/app/Support/Twig/General.php.</td></tr>
+<tr bgcolor="lightgrey"><td>/sites/firefly-iii/app/Validation/FireflyValidator.php</td><td>Unexpected token: ??, line: 82, col: 33, file: /sites/firefly-iii/app/Validation/FireflyValidator.php.</td></tr>
</table></body></html>
\ No newline at end of file