Home Identifier Source Test Repository
public class | source

Statistic

Model for collection analyze results

Static Method Summary

Static Public Methods
public static

Static constructor for Statistic class

Constructor Summary

Public Constructor
public

Constructor function

Member Summary

Private Members
private

_broken: Broken: *

Brokens links model

private

Number of processed external links

private

Number of processed internal links

Method Summary

Public Methods
public

Returns total amount of processed links (internal and external)

public

getBroken(): Broken

Returns model of broken links

public

Returns amount of founded broken links

public

Returns amount of processed external website links

public

Returns amount of processed internal website links

public

Increase count of processed external website links

public

Increase count of processed internal website links

Static Public Methods

public static create(): Statistic source

Static constructor for Statistic class

Return:

Statistic

Public Constructors

public constructor source

Constructor function

Private Members

private _broken: Broken: * source

Brokens links model

Return:

Broken

private _countExternal: Number source

Number of processed external links

private _countInternal: Number source

Number of processed internal links

Public Methods

public getAllCount(): Number source

Returns total amount of processed links (internal and external)

Return:

Number

public getBroken(): Broken source

Returns model of broken links

Return:

Broken

public getBrokenCount(): Number source

Returns amount of founded broken links

Return:

Number

public getExternalCount(): Number source

Returns amount of processed external website links

Return:

Number

public getInternalCount(): Number source

Returns amount of processed internal website links

Return:

Number

public increaseExternalCount(): Statistic source

Increase count of processed external website links

Return:

Statistic

public increaseInternalCount(): Statistic source

Increase count of processed internal website links

Return:

Statistic