• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tomasnorre / crawler / 17624281546

10 Sep 2025 07:10PM UTC coverage: 67.575% (-1.2%) from 68.768%
17624281546

Pull #1183

github

web-flow
Merge adbaf6ed2 into 96cae4d2b
Pull Request #1183: [TASK] Refactor ProcessCleanupHook, extract logic to ProcessManager and ProcessCleaner classes

4 of 55 new or added lines in 6 files covered. (7.27%)

17 existing lines in 1 file now uncovered.

1859 of 2751 relevant lines covered (67.58%)

3.18 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/Classes/Process/ProcessManagerFactory.php
1
<?php
2

3
namespace AOE\Crawler\Process;
4

5
/*
6
 * (c) 2025 Tomas Norre Mikkelsen <tomasnorre@gmail.com>
7
 *
8
 * This file is part of the TYPO3 Crawler Extension.
9
 *
10
 * It is free software; you can redistribute it and/or modify it under
11
 * the terms of the GNU General Public License, either version 2
12
 * of the License, or any later version.
13
 *
14
 * For the full copyright and license information, please read the
15
 * LICENSE.txt file that was distributed with this source code.
16
 *
17
 * The TYPO3 project - inspiring people to share!
18
 */
19

20
use TYPO3\CMS\Core\Core\Environment;
21

22
class ProcessManagerFactory
23
{
24
    public static function create(): ProcessManagerInterface
25
    {
26
        if (Environment::isWindows()) {
1✔
NEW
27
            return new WindowsProcessManager();
×
28
        }
29

30
        return new UnixProcessManager();
1✔
31
    }
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc