PHPXref: Difference between revisions
Jump to navigation
Jump to search
m (→requirement) |
mNo edit summary |
||
| Line 15: | Line 15: | ||
== generation the cross reference report == | == generation the cross reference report == | ||
# Execute the c:\PHPXref\phpxref.bat and wait some minutes... | # Execute the c:\PHPXref\phpxref.bat and wait some minutes... | ||
# | # Example of summary statistics | ||
<pre> Files Scanned: 1284 containing 669767 lines | |||
<pre> | |||
7640 variable names in 24339 definitions and 238971 references. | 7640 variable names in 24339 definitions and 238971 references. | ||
5102 function/method names in 7711 definitions and 44215 references. | 5102 function/method names in 7711 definitions and 44215 references. | ||
| Line 26: | Line 23: | ||
0 table names in 0 references. | 0 table names in 0 references. | ||
</pre> | </pre> | ||
Browse the generated report: file://c:\PHPXref\output/index.html or see the [http://xref.moodle.org/nav.html?index.html demo] | |||
version: | version: | ||
Revision as of 00:49, 8 May 2009
PHPXref - The PHP Cross Referencing Documentation Utility (demo)
Using PHPXref on MS Windows
requirement
- Download PHPXref for MS Windows
- Download IndigoPerl, a binary distribution of Perl for Windows (not use the xampp built-in perl or TinyPerl 2.0 because they lack of some perl modules .pm )
installation
- Install the "IndigoPerl" to the default directory: c:\perl-5.10.0\ (perl.exe will be located to c:\perl-5.10.0\bin\perl.exe)
- Extract "PHPXref" to c:\PHPXref (or other directory you preferred)
- Modify the perl path of the file c:\PHPXref\phpxref.bat
C:\Perl\bin\perl phpxref.pl
toc:\perl-5.10.0\bin\perl.exe
- Copy the php_scripts you want to analyze to c:\PHPXref\source\php_scripts\
generation the cross reference report
- Execute the c:\PHPXref\phpxref.bat and wait some minutes...
- Example of summary statistics
Files Scanned: 1284 containing 669767 lines 7640 variable names in 24339 definitions and 238971 references. 5102 function/method names in 7711 definitions and 44215 references. 288 constant names in 317 definitions and 6332 references. 688 class names in 696 definitions and 5925 references. 0 table names in 0 references.
Browse the generated report: file://c:\PHPXref\output/index.html or see the demo
version:
- PHPXref 0.7
- IndigoPerl V9.02 / Perl 5.10.0