Pelzini

This is the code documentation for the Pelzini project

Page options:

Inherited members

class QualityCheckTransformer

This is a transformer that does quality checks on the codebase

It checks that the documentation has the required tags. Currently the 'required tags' are only the summary

The documentation is created in a report called the Quality check report.

Authors

Variables

NameVisibilityDescription
$offending_items 
$required_tags 

Functions

NameVisibilityDescription
__constructpublicSet up the quality check transformer
check_classprivateChecks that a class has high-enough quality documentation
check_filesprivateChecks that a file has high-enough quality documentation
check_functionprivateChecks that a function has high-enough quality documentation
check_interfaceprivateChecks that an interface has high-enough quality documentation
transformpublicTransforms the data model before outputting.

public __construct

void $QualityCheckTransformer->__construct ( [ array $required_tags ] );

Set up the quality check transformer

private check_class

void $QualityCheckTransformer->check_class ( mixed $item );

Checks that a class has high-enough quality documentation

private check_files

void $QualityCheckTransformer->check_files ( mixed $item );

Checks that a file has high-enough quality documentation

private check_function

void $QualityCheckTransformer->check_function ( mixed $item [, mixed $from ] );

Checks that a function has high-enough quality documentation

private check_interface

void $QualityCheckTransformer->check_interface ( mixed $item );

Checks that an interface has high-enough quality documentation

public transform

array $QualityCheckTransformer->transform ( array &$parser_model );

Transforms the data model before outputting.

This transformer generates a report of objects that do not have good enough documentation