Benutzer:Elkuku/Proyektz/EasyCreator/EasyCodeEye

Aus Joomla! Dokumentation
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

[Bearbeiten] Description

EasyCodeEye provides an interface to several PEAR packages that will have an eye on your code...

[Bearbeiten] Check your PATHs

PEAR itself and its packages have to be both in your PHP include_path and in your system PATH.

Please check the documentation of your OS to achive this..

ToDo more info ?

[Bearbeiten] See also

[Bearbeiten] PHP include_path

[Bearbeiten] System include path

Hinweis.png After changing your PATH variables and the PHP include_path don't forget to restart your server AND your session !

24px-Tip.png To check that everything is set up like it should be try

$ echo $PATH
# echo $PATH

and

$ php -v
# php -v

in a normal AND a root shell - This should give you the path to your PHP binaries and the PHP version..

[Bearbeiten] PEAR

PEAR is a framework and distribution system for reusable PHP components.

[Bearbeiten] Windows installation

The standard xampp installation for windows seems to come without PEAR. So you have to manually install PEAR:

Go to the ugly windows command line (execute -> cmd) - a 'black' window opens =;)

We assume your xampp installation on drive C in the standard folder Folder blue.png xampp.

Move to Folder blue.png C:\xampp\php by

cd xampp\php

execute

go-pear

choose to install a 'local' copy

For all the other stuff that will come up can accept the default values. Pay a little attention to the paths mentioned, and how to modify your php.ini and your PATH.

PEAR should now be installed.

Time to install the Packages

Done ?

NOTE : I am NOT a windoows user so - please verify the information and, pleaseplease, correct any errors - thx =;)

[Bearbeiten] Linux installation

  • Install PEAR (if not already installed)

Refer to the documentation of your distribution if you have any problems.

Do you need any additional information ? really ? ...See also

Time to install the Packages

[Bearbeiten] Mac installation

ToDo

[Bearbeiten] See also

[Bearbeiten] CodeSniffer

EasyCreator provides an interface to PEAR::CodeSniffer. This enables you to verify the formatting of your code against some predefined standards like PEAR or Zend. You can also define your own coding standards for your project.

[Bearbeiten] Installation

pear install PHP_CodeSniffer

[Bearbeiten] See also

[Bearbeiten] Copy/Paste Detector

Finds duplicated code.

[Bearbeiten] Installation

Add the channels and Install

pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear install phpunit/phpcpd

[Bearbeiten] See also

[Bearbeiten] phpDocumentor

Documents your code.

[Bearbeiten] Installation

pear install --alldeps PhpDocumentor

[Bearbeiten] See also

[Bearbeiten] PHPUnit

For executing unit tests and creating skeletons.

[Bearbeiten] Installation

Add the channel and Install

pear channel-discover pear.phpunit.de
pear install phpunit/PHPUnit

[Bearbeiten] See also

[Bearbeiten] Others

EasyCodeEye Charts

[Bearbeiten] Statistics

This is ment to gather some statistics about your project, like number of files, code lines and sizes.

They are represented by pie charts (for now) using the javascript chart library from highcharts

[Bearbeiten] Project reflection

Draws a picture of your extension.

Still under development..

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Sonstiges
Team Navigation
Werkzeuge