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

brick / geo / 14062212560

25 Mar 2025 02:26PM UTC coverage: 53.902% (+1.7%) from 52.154%
14062212560

push

github

BenMorel
Implement PgsqlDriver (pgsql extension)

0 of 52 new or added lines in 1 file covered. (0.0%)

110 existing lines in 8 files now uncovered.

1637 of 3037 relevant lines covered (53.9%)

409.17 hits per line

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

0.0
/src/Engine/SpatialiteEngine.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Brick\Geo\Engine;
6

7
use Brick\Geo\Engine\Database\Internal\AbstractDatabaseWkbEngine;
8
use Brick\Geo\Engine\Internal\TypeChecker;
9
use Brick\Geo\LineString;
10
use Brick\Geo\Point;
11
use Override;
12

13
/**
14
 * Database engine based on the SpatiaLite extension for SQLite.
15
 */
16
final readonly class SpatialiteEngine extends AbstractDatabaseWkbEngine
17
{
18
    #[Override]
19
    public function lineInterpolatePoint(LineString $lineString, float $fraction) : Point
20
    {
UNCOV
21
        $result = $this->queryGeometry('ST_Line_Interpolate_Point', $lineString, $fraction);
×
UNCOV
22
        TypeChecker::check($result, Point::class);
×
23

UNCOV
24
        return $result;
×
25
    }
26

27
    public function getSpatialiteVersion() : string
28
    {
UNCOV
29
        return $this->driver->executeQuery('SELECT spatialite_version()')->get(0)->asString();
×
30
    }
31
}
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