PHP Класс TextStatisticsKiplingIf

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$TextStatistics Manually Calculated Scores -------------------------------------------------------- Flesch-Kincaid Reading Ease (206.835 - (1.015 * (word_count / sentence_count)) - (84.6 * (syllableCount / word_count))) = -187.47239726027397260273972602738 Flesch-Kincaid Grade Level ((0.39 * (word_count / sentence_count)) + (11.8 * (syllableCount / word_count)) - 15.59) = 111.9489041095890410958904109589 Gunning-Fog Score (((word_count / sentence_count) + (100 * (long_word_count / word_count ))) * 0.4) = 117.48493150684931506849315068493 Coleman-Liau Index ((5.89 * (letter_count / word_count)) - (0.3 * (sentence_count / word_count)) - 15.8) = 6.8916095890410958904109589041096 SMOG Index (1.043 * sqrt((long_word_count * (30 / sentence_count)) + 3.1291)) = 14.114418454399741934838352157075 Automated Readability Index ((4.71 * (letter_count / word_count)) + (0.5 * (word_count / sentence_count)) - 21.43) = 142.7164041095890410958904109589
$strText

Открытые методы

Метод Описание
setUp ( )
tearDown ( )
testAutomatedReadabilityIndex ( ) * Test Automated Readability Index --------------------
testColemanLiauIndex ( ) * Test Coleman Liau Index --------------------
testFleschKincaidGradeLevel ( ) * Test Flesch Kincaid Grade Level --------------------
testFleschKincaidReadingEase ( ) * Test Flesch Kincaid Reading Ease --------------------
testGunningFogScore ( ) * Test Gunning Fog Score --------------------
testKiplingSyllables ( ) * Test Syllables --------------------
testLetterCount ( ) * Test Total Letters --------------------
testSMOGIndex ( ) * Test SMOG Index --------------------
testSentenceCount ( ) * Test Sentences --------------------
testSyllableCount ( ) * Test Total Syllables --------------------
testTextLengthCheck ( ) * Test Letter Count --------------------
testWordCount ( ) * Test Words --------------------

Описание методов

setUp() публичный Метод

public setUp ( )

tearDown() публичный Метод

public tearDown ( )

testAutomatedReadabilityIndex() публичный Метод

* Test Automated Readability Index --------------------

testColemanLiauIndex() публичный Метод

* Test Coleman Liau Index --------------------

testFleschKincaidGradeLevel() публичный Метод

* Test Flesch Kincaid Grade Level --------------------

testFleschKincaidReadingEase() публичный Метод

* Test Flesch Kincaid Reading Ease --------------------

testGunningFogScore() публичный Метод

* Test Gunning Fog Score --------------------
public testGunningFogScore ( )

testKiplingSyllables() публичный Метод

* Test Syllables --------------------

testLetterCount() публичный Метод

* Test Total Letters --------------------
public testLetterCount ( )

testSMOGIndex() публичный Метод

* Test SMOG Index --------------------
public testSMOGIndex ( )

testSentenceCount() публичный Метод

* Test Sentences --------------------
public testSentenceCount ( )

testSyllableCount() публичный Метод

* Test Total Syllables --------------------
public testSyllableCount ( )

testTextLengthCheck() публичный Метод

* Test Letter Count --------------------
public testTextLengthCheck ( )

testWordCount() публичный Метод

* Test Words --------------------
public testWordCount ( )

Описание свойств

$TextStatistics защищенное свойство

Manually Calculated Scores -------------------------------------------------------- Flesch-Kincaid Reading Ease (206.835 - (1.015 * (word_count / sentence_count)) - (84.6 * (syllableCount / word_count))) = -187.47239726027397260273972602738 Flesch-Kincaid Grade Level ((0.39 * (word_count / sentence_count)) + (11.8 * (syllableCount / word_count)) - 15.59) = 111.9489041095890410958904109589 Gunning-Fog Score (((word_count / sentence_count) + (100 * (long_word_count / word_count ))) * 0.4) = 117.48493150684931506849315068493 Coleman-Liau Index ((5.89 * (letter_count / word_count)) - (0.3 * (sentence_count / word_count)) - 15.8) = 6.8916095890410958904109589041096 SMOG Index (1.043 * sqrt((long_word_count * (30 / sentence_count)) + 3.1291)) = 14.114418454399741934838352157075 Automated Readability Index ((4.71 * (letter_count / word_count)) + (0.5 * (word_count / sentence_count)) - 21.43) = 142.7164041095890410958904109589
protected $TextStatistics

$strText защищенное свойство

protected $strText