Code Duplication    Length = 7-7 lines in 2 locations

c3.php 2 locations

@@ 204-210 (lines=7) @@
201
    $codeCoverage = __c3_factory($complete_report);
202
203
    switch ($route) {
204
        case 'html':
205
            try {
206
                __c3_send_file(__c3_build_html_report($codeCoverage, $path));
207
            } catch (Exception $e) {
208
                __c3_error($e->getMessage());
209
            }
210
            return __c3_exit();
211
        case 'clover':
212
            try {
213
                __c3_send_file(__c3_build_clover_report($codeCoverage, $path));
@@ 211-217 (lines=7) @@
208
                __c3_error($e->getMessage());
209
            }
210
            return __c3_exit();
211
        case 'clover':
212
            try {
213
                __c3_send_file(__c3_build_clover_report($codeCoverage, $path));
214
            } catch (Exception $e) {
215
                __c3_error($e->getMessage());
216
            }
217
            return __c3_exit();
218
        case 'serialized':
219
            try {
220
                __c3_send_file($complete_report);