creof/doctrine2-spatial

View on GitHub

Showing 60 of 447 total issues

Method testSolidPolygonFromArrayAddRings has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSolidPolygonFromArrayAddRings()
    {
        $expected = array(
            new LineString(
                array(
Severity: Minor
Found in tests/CrEOF/Spatial/Tests/PHP/Types/Geometry/PolygonTest.php - About 1 hr to fix

Method testSolidMultiLineStringAddRings has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSolidMultiLineStringAddRings()
    {
        $expected = array(
            new LineString(
                array(

Method testSelectSTSummaryGeometry has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSelectSTSummaryGeometry()
    {
        $entity1 = new GeometryEntity();
        $point1  = new Point(5, 5);

Method testSelectSTSummaryGeography has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSelectSTSummaryGeography()
    {
        $entity1 = new GeographyEntity();
        $point1  = new GeographyPoint(5, 5);

Method testSTEnvelopeWhereParameter has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSTEnvelopeWhereParameter()
    {
        $entity1 = new PolygonEntity();
        $rings1 = array(
            new LineString(array(

Method testEnvelopeWhereParameter has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testEnvelopeWhereParameter()
    {
        $entity1 = new PolygonEntity();
        $rings1 = array(
            new LineString(array(

Method testSolidMultiLineStringFromArraysGetRings has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSolidMultiLineStringFromArraysGetRings()
    {
        $expected = array(
            new LineString(
                array(

Method testMultiLineStringFromObjectsToArray has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testMultiLineStringFromObjectsToArray()
    {
        $expected = array(
            array(
                array(0, 0),

Method testSelectSTEnvelope has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSelectSTEnvelope()
    {
        $entity1 = new PolygonEntity();
        $rings1 = array(
            new LineString(array(

Method testSelectEnvelope has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSelectEnvelope()
    {
        $entity1 = new PolygonEntity();
        $rings1 = array(
            new LineString(array(

Method testSelectSTLineCrossingDirection has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSelectSTLineCrossingDirection()
    {
        $lineString1 = new LineString(array(
            new Point(8, 15),
            new Point(4, 8)

Method testMultiPolygon has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testMultiPolygon()
    {
        $polygons = array(
            new Polygon(
                array(

Method testFindByMultiPolygon has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testFindByMultiPolygon()
    {
        $polygons = array(
            new Polygon(
                array(

Method testMBRContainsWhereParameter has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testMBRContainsWhereParameter()
    {
        $lineString1 = new LineString(array(
            new Point(0, 0),
            new Point(10, 0),

Method testContainsWhereParameter has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testContainsWhereParameter()
    {
        $lineString1 = new LineString(array(
            new Point(0, 0),
            new Point(10, 0),

Method testSTCrossesWhereParameter has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSTCrossesWhereParameter()
    {
        $lineString1 = new LineString(array(
            new Point(0, 0),
            new Point(10, 10)

Method testTypeWrappingSelect has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testTypeWrappingSelect()
    {
        $lineString = new LineString(array(
            new Point(0, 0),
            new Point(10, 0),
Severity: Minor
Found in tests/CrEOF/Spatial/Tests/ORM/Query/WrappingTest.php - About 1 hr to fix

Method testSTContainsWhereParameter has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSTContainsWhereParameter()
    {
        $lineString1 = new LineString(array(
            new Point(0, 0),
            new Point(10, 0),

Method testSelectSTCrosses has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSelectSTCrosses()
    {
        $lineString1 = new LineString(array(
            new Point(0, 0),
            new Point(10, 10)

Method testSelectSTMakeEnvelope has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSelectSTMakeEnvelope()
    {
        $lineString1 = new LineString(array(
            new Point(0, 0),
            new Point(2, 0),
Severity
Category
Status
Source
Language