Coder Social home page Coder Social logo

philintv / shopsys-spryker-and-sylius-analysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomasvotruba/shopsys-spryker-and-sylius-analysis

0.0 2.0 0.0 160 KB

Static analysis of Shopsys, Sylius and Spryker

Home Page: https://www.tomasvotruba.cz/blog/2017/08/28/shopsys-spriker-and-sylius-under-static-analysis/

PHP 100.00%

shopsys-spryker-and-sylius-analysis's Introduction

Code Complexity of Shopsys, Spryker & Sylius

Build Status

You can find nice summary of these metrics 2 posts:

To be sure we're not making them up, you can run them yourself on you local machine:

1. Install

Spryker requires few extra PHP extensions. Here is how you add them:

On Linux

sudo apt-get install php-bcmath php-gmp php-redis php-bz2

Install this Repository

Then you can install this repository:

git clone https://github.com/TomasVotruba/shopsys-spryker-and-sylius-analysis.git ecommerce-analysis
cd ecommerce-analysis
composer install

Download Projects

As project have dependencies in conflict, they have to be cloned to own directories. This command downloads all projects to /project directory and runs composer install on them.

bin/run prepare

2. Run Analysis

bin/run analyze

Or limit it to single project:

bin/run analyze --project shopsys 

And it will print this nice summary for every project:

Preview

Easy Coding Standard

This will check coding standards of project with psr2.yml and clean-code.yml sets:

bin/run ecs

PHPStan

This will run and show number of errors per level:

bin/run phpstan

# with specific level only
bin/run phpstan --level 7

# with top 20 most frequent errors
bin/run phpstan --level 7 --report

And it will print summary for every project:

Preview

shopsys-spryker-and-sylius-analysis's People

Contributors

tomasvotruba avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.