PHP Classes

File: clover.xml

Recommend this page to a friend!
  Classes of Stefan Kientzler   PHP Generate Json LD   clover.xml   Download  
File: clover.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Generate Json LD
Generate metadata for HTML pages in JSON-LD format
Author: By
Last change:
Date: 2 years ago
Size: 25,714 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <coverage generated="1632598743"> <project timestamp="1632598743"> <package name="SKien\JsonLD"> <file name="/var/www/html/packages/JsonLD/SKien/JsonLD/JsonLD.php"> <class name="SKien\JsonLD\JsonLD" namespace="SKien\JsonLD" fullPackage="JsonLD" package="JsonLD"> <metrics complexity="79" methods="19" coveredmethods="19" conditionals="0" coveredconditionals="0" statements="165" coveredstatements="165" elements="184" coveredelements="184"/> </class> <line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="74"/> <line num="60" type="stmt" count="74"/> <line num="61" type="stmt" count="74"/> <line num="62" type="stmt" count="74"/> <line num="63" type="stmt" count="74"/> <line num="64" type="stmt" count="74"/> <line num="66" type="stmt" count="74"/> <line num="73" type="method" name="setDescription" visibility="public" complexity="1" crap="1" count="1"/> <line num="75" type="stmt" count="1"/> <line num="76" type="stmt" count="1"/> <line num="85" type="method" name="setLocation" visibility="public" complexity="4" crap="4" count="2"/> <line num="87" type="stmt" count="2"/> <line num="88" type="stmt" count="2"/> <line num="89" type="stmt" count="2"/> <line num="90" type="stmt" count="1"/> <line num="92" type="stmt" count="2"/> <line num="95" type="stmt" count="2"/> <line num="103" type="method" name="addImage" visibility="public" complexity="4" crap="4" count="1"/> <line num="105" type="stmt" count="1"/> <line num="106" type="stmt" count="1"/> <line num="107" type="stmt" count="1"/> <line num="108" type="stmt" count="1"/> <line num="110" type="stmt" count="1"/> <line num="111" type="stmt" count="1"/> <line num="112" type="stmt" count="1"/> <line num="114" type="stmt" count="1"/> <line num="117" type="stmt" count="1"/> <line num="120" type="stmt" count="1"/> <line num="128" type="method" name="buildImageObject" visibility="protected" complexity="5" crap="5" count="3"/> <line num="130" type="stmt" count="3"/> <line num="133" type="stmt" count="3"/> <line num="134" type="stmt" count="3"/> <line num="135" type="stmt" count="3"/> <line num="137" type="stmt" count="3"/> <line num="138" type="stmt" count="3"/> <line num="139" type="stmt" count="3"/> <line num="141" type="stmt" count="3"/> <line num="142" type="stmt" count="3"/> <line num="143" type="stmt" count="3"/> <line num="145" type="stmt" count="3"/> <line num="146" type="stmt" count="3"/> <line num="147" type="stmt" count="3"/> <line num="148" type="stmt" count="3"/> <line num="152" type="stmt" count="3"/> <line num="164" type="method" name="buildAddress" visibility="protected" complexity="6" crap="6" count="2"/> <line num="166" type="stmt" count="2"/> <line num="167" type="stmt" count="2"/> <line num="168" type="stmt" count="2"/> <line num="170" type="stmt" count="2"/> <line num="171" type="stmt" count="2"/> <line num="173" type="stmt" count="2"/> <line num="174" type="stmt" count="2"/> <line num="176" type="stmt" count="2"/> <line num="177" type="stmt" count="2"/> <line num="179" type="stmt" count="2"/> <line num="180" type="stmt" count="2"/> <line num="182" type="stmt" count="2"/> <line num="193" type="method" name="buildLocation" visibility="protected" complexity="9" crap="9" count="2"/> <line num="195" type="stmt" count="2"/> <line num="196" type="stmt" count="2"/> <line num="197" type="stmt" count="2"/> <line num="198" type="stmt" count="2"/> <line num="200" type="stmt" count="2"/> <line num="201" type="stmt" count="2"/> <line num="202" type="stmt" count="2"/> <line num="203" type="stmt" count="2"/> <line num="204" type="stmt" count="2"/> <line num="206" type="stmt" count="2"/> <line num="207" type="stmt" count="2"/> <line num="208" type="stmt" count="2"/> <line num="209" type="stmt" count="2"/> <line num="210" type="stmt" count="2"/> <line num="213" type="stmt" count="2"/> <line num="214" type="stmt" count="1"/> <line num="217" type="stmt" count="2"/> <line num="229" type="method" name="buildContactPoint" visibility="protected" complexity="5" crap="5" count="3"/> <line num="231" type="stmt" count="3"/> <line num="232" type="stmt" count="3"/> <line num="233" type="stmt" count="3"/> <line num="234" type="stmt" count="3"/> <line num="235" type="stmt" count="3"/> <line num="236" type="stmt" count="3"/> <line num="237" type="stmt" count="3"/> <line num="238" type="stmt" count="3"/> <line num="239" type="stmt" count="3"/> <line num="241" type="stmt" count="3"/> <line num="242" type="stmt" count="3"/> <line num="245" type="stmt" count="3"/> <line num="254" type="method" name="setProperty" visibility="public" complexity="8" crap="8" count="11"/> <line num="256" type="stmt" count="11"/> <line num="258" type="stmt" count="11"/> <line num="259" type="stmt" count="1"/> <line num="260" type="stmt" count="1"/> <line num="261" type="stmt" count="10"/> <line num="262" type="stmt" count="1"/> <line num="263" type="stmt" count="1"/> <line num="264" type="stmt" count="9"/> <line num="265" type="stmt" count="1"/> <line num="266" type="stmt" count="1"/> <line num="267" type="stmt" count="8"/> <line num="268" type="stmt" count="1"/> <line num="269" type="stmt" count="1"/> <line num="270" type="stmt" count="7"/> <line num="271" type="stmt" count="1"/> <line num="272" type="stmt" count="1"/> <line num="273" type="stmt" count="6"/> <line num="275" type="stmt" count="6"/> <line num="276" type="stmt" count="6"/> <line num="278" type="stmt" count="11"/> <line num="279" type="stmt" count="11"/> <line num="281" type="stmt" count="11"/> <line num="289" type="method" name="getHTMLHeadTag" visibility="public" complexity="3" crap="3" count="1"/> <line num="291" type="stmt" count="1"/> <line num="292" type="stmt" count="1"/> <line num="293" type="stmt" count="1"/> <line num="294" type="stmt" count="1"/> <line num="295" type="stmt" count="1"/> <line num="297" type="stmt" count="1"/> <line num="305" type="method" name="getJson" visibility="public" complexity="3" crap="3" count="2"/> <line num="307" type="stmt" count="2"/> <line num="308" type="stmt" count="2"/> <line num="309" type="stmt" count="1"/> <line num="311" type="stmt" count="2"/> <line num="318" type="method" name="getObject" visibility="public" complexity="1" crap="1" count="41"/> <line num="320" type="stmt" count="41"/> <line num="328" type="method" name="validString" visibility="protected" complexity="1" crap="1" count="25"/> <line num="331" type="stmt" count="25"/> <line num="332" type="stmt" count="25"/> <line num="333" type="stmt" count="25"/> <line num="334" type="stmt" count="25"/> <line num="342" type="method" name="validLongLat" visibility="protected" complexity="2" crap="2" count="5"/> <line num="345" type="stmt" count="5"/> <line num="346" type="stmt" count="5"/> <line num="348" type="stmt" count="5"/> <line num="358" type="method" name="validDate" visibility="protected" complexity="9" crap="9" count="10"/> <line num="360" type="stmt" count="10"/> <line num="361" type="stmt" count="10"/> <line num="362" type="stmt" count="10"/> <line num="363" type="stmt" count="10"/> <line num="365" type="stmt" count="3"/> <line num="366" type="stmt" count="7"/> <line num="368" type="stmt" count="1"/> <line num="369" type="stmt" count="6"/> <line num="370" type="stmt" count="6"/> <line num="371" type="stmt" count="6"/> <line num="372" type="stmt" count="1"/> <line num="375" type="stmt" count="10"/> <line num="376" type="stmt" count="9"/> <line num="377" type="stmt" count="9"/> <line num="378" type="stmt" count="7"/> <line num="380" type="stmt" count="2"/> <line num="384" type="stmt" count="10"/> <line num="392" type="method" name="validTime" visibility="protected" complexity="6" crap="6" count="5"/> <line num="394" type="stmt" count="5"/> <line num="395" type="stmt" count="5"/> <line num="396" type="stmt" count="5"/> <line num="397" type="stmt" count="3"/> <line num="398" type="stmt" count="3"/> <line num="399" type="stmt" count="3"/> <line num="400" type="stmt" count="3"/> <line num="403" type="stmt" count="5"/> <line num="411" type="method" name="validURL" visibility="protected" complexity="3" crap="3" count="16"/> <line num="413" type="stmt" count="16"/> <line num="414" type="stmt" count="3"/> <line num="416" type="stmt" count="15"/> <line num="417" type="stmt" count="15"/> <line num="418" type="stmt" count="3"/> <line num="419" type="stmt" count="3"/> <line num="421" type="stmt" count="12"/> <line num="429" type="method" name="validEMail" visibility="protected" complexity="3" crap="3" count="8"/> <line num="431" type="stmt" count="8"/> <line num="432" type="stmt" count="1"/> <line num="434" type="stmt" count="7"/> <line num="435" type="stmt" count="7"/> <line num="436" type="stmt" count="3"/> <line num="437" type="stmt" count="3"/> <line num="439" type="stmt" count="4"/> <line num="453" type="method" name="strTruncateEllipsis" visibility="protected" complexity="5" crap="5" count="5"/> <line num="455" type="stmt" count="5"/> <line num="456" type="stmt" count="3"/> <line num="457" type="stmt" count="3"/> <line num="458" type="stmt" count="2"/> <line num="460" type="stmt" count="3"/> <line num="462" type="stmt" count="5"/> <metrics loc="464" ncloc="330" classes="1" methods="19" coveredmethods="19" conditionals="0" coveredconditionals="0" statements="165" coveredstatements="165" elements="184" coveredelements="184"/> </file> <file name="/var/www/html/packages/JsonLD/SKien/JsonLD/JsonLDArticle.php"> <class name="SKien\JsonLD\JsonLDArticle" namespace="SKien\JsonLD" fullPackage="JsonLD" package="JsonLD"> <metrics complexity="15" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="41" elements="46" coveredelements="46"/> </class> <line num="44" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="5"/> <line num="46" type="stmt" count="5"/> <line num="47" type="stmt" count="5"/> <line num="48" type="stmt" count="5"/> <line num="49" type="stmt" count="5"/> <line num="50" type="stmt" count="5"/> <line num="51" type="stmt" count="5"/> <line num="53" type="stmt" count="5"/> <line num="62" type="method" name="setPublisher" visibility="public" complexity="5" crap="5" count="1"/> <line num="64" type="stmt" count="1"/> <line num="65" type="stmt" count="1"/> <line num="66" type="stmt" count="1"/> <line num="67" type="stmt" count="1"/> <line num="68" type="stmt" count="1"/> <line num="70" type="stmt" count="1"/> <line num="71" type="stmt" count="1"/> <line num="72" type="stmt" count="1"/> <line num="74" type="stmt" count="1"/> <line num="75" type="stmt" count="1"/> <line num="76" type="stmt" count="1"/> <line num="79" type="stmt" count="1"/> <line num="85" type="method" name="setLogo" visibility="public" complexity="3" crap="3" count="1"/> <line num="87" type="stmt" count="1"/> <line num="88" type="stmt" count="1"/> <line num="89" type="stmt" count="1"/> <line num="90" type="stmt" count="1"/> <line num="92" type="stmt" count="1"/> <line num="94" type="stmt" count="1"/> <line num="104" type="method" name="setInfo" visibility="public" complexity="4" crap="4" count="1"/> <line num="106" type="stmt" count="1"/> <line num="107" type="stmt" count="1"/> <line num="108" type="stmt" count="1"/> <line num="109" type="stmt" count="1"/> <line num="110" type="stmt" count="1"/> <line num="111" type="stmt" count="1"/> <line num="112" type="stmt" count="1"/> <line num="114" type="stmt" count="1"/> <line num="115" type="stmt" count="1"/> <line num="118" type="stmt" count="1"/> <line num="124" type="method" name="setAuthor" visibility="public" complexity="2" crap="2" count="1"/> <line num="126" type="stmt" count="1"/> <line num="127" type="stmt" count="1"/> <line num="128" type="stmt" count="1"/> <line num="129" type="stmt" count="1"/> <line num="130" type="stmt" count="1"/> <line num="133" type="stmt" count="1"/> <metrics loc="134" ncloc="81" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="41" elements="46" coveredelements="46"/> </file> <file name="/var/www/html/packages/JsonLD/SKien/JsonLD/JsonLDEvent.php"> <class name="SKien\JsonLD\JsonLDEvent" namespace="SKien\JsonLD" fullPackage="JsonLD" package="JsonLD"> <metrics complexity="34" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="78" coveredstatements="78" elements="86" coveredelements="86"/> </class> <line num="83" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="15"/> <line num="85" type="stmt" count="15"/> <line num="86" type="stmt" count="15"/> <line num="87" type="stmt" count="15"/> <line num="88" type="stmt" count="15"/> <line num="96" type="method" name="setInfo" visibility="public" complexity="4" crap="4" count="1"/> <line num="98" type="stmt" count="1"/> <line num="99" type="stmt" count="1"/> <line num="100" type="stmt" count="1"/> <line num="101" type="stmt" count="1"/> <line num="102" type="stmt" count="1"/> <line num="104" type="stmt" count="1"/> <line num="105" type="stmt" count="1"/> <line num="108" type="stmt" count="1"/> <line num="120" type="method" name="setAddress" visibility="public" complexity="3" crap="3" count="1"/> <line num="122" type="stmt" count="1"/> <line num="123" type="stmt" count="1"/> <line num="124" type="stmt" count="1"/> <line num="126" type="stmt" count="1"/> <line num="127" type="stmt" count="1"/> <line num="136" type="method" name="setVirtualLocation" visibility="public" complexity="4" crap="4" count="2"/> <line num="138" type="stmt" count="2"/> <line num="139" type="stmt" count="2"/> <line num="140" type="stmt" count="2"/> <line num="141" type="stmt" count="2"/> <line num="142" type="stmt" count="1"/> <line num="143" type="stmt" count="1"/> <line num="144" type="stmt" count="1"/> <line num="145" type="stmt" count="1"/> <line num="146" type="stmt" count="1"/> <line num="148" type="stmt" count="1"/> <line num="149" type="stmt" count="1"/> <line num="152" type="stmt" count="2"/> <line num="176" type="method" name="setStatus" visibility="public" complexity="4" crap="4" count="6"/> <line num="178" type="stmt" count="6"/> <line num="179" type="stmt" count="6"/> <line num="180" type="stmt" count="5"/> <line num="182" type="stmt" count="6"/> <line num="183" type="stmt" count="1"/> <line num="185" type="stmt" count="6"/> <line num="200" type="method" name="addOffer" visibility="public" complexity="9" crap="9" count="1"/> <line num="202" type="stmt" count="1"/> <line num="203" type="stmt" count="1"/> <line num="204" type="stmt" count="1"/> <line num="205" type="stmt" count="1"/> <line num="206" type="stmt" count="1"/> <line num="207" type="stmt" count="1"/> <line num="208" type="stmt" count="1"/> <line num="210" type="stmt" count="1"/> <line num="211" type="stmt" count="1"/> <line num="212" type="stmt" count="1"/> <line num="214" type="stmt" count="1"/> <line num="215" type="stmt" count="1"/> <line num="217" type="stmt" count="1"/> <line num="218" type="stmt" count="1"/> <line num="220" type="stmt" count="1"/> <line num="221" type="stmt" count="1"/> <line num="223" type="stmt" count="1"/> <line num="224" type="stmt" count="1"/> <line num="226" type="stmt" count="1"/> <line num="227" type="stmt" count="1"/> <line num="229" type="stmt" count="1"/> <line num="231" type="stmt" count="1"/> <line num="243" type="method" name="setOrganizer" visibility="public" complexity="4" crap="4" count="2"/> <line num="245" type="stmt" count="2"/> <line num="246" type="stmt" count="2"/> <line num="247" type="stmt" count="2"/> <line num="248" type="stmt" count="2"/> <line num="249" type="stmt" count="1"/> <line num="250" type="stmt" count="1"/> <line num="251" type="stmt" count="1"/> <line num="252" type="stmt" count="1"/> <line num="255" type="stmt" count="2"/> <line num="267" type="method" name="addPerformer" visibility="public" complexity="5" crap="5" count="1"/> <line num="269" type="stmt" count="1"/> <line num="270" type="stmt" count="1"/> <line num="271" type="stmt" count="1"/> <line num="272" type="stmt" count="1"/> <line num="273" type="stmt" count="1"/> <line num="274" type="stmt" count="1"/> <line num="276" type="stmt" count="1"/> <line num="277" type="stmt" count="1"/> <line num="278" type="stmt" count="1"/> <line num="279" type="stmt" count="1"/> <line num="281" type="stmt" count="1"/> <line num="283" type="stmt" count="1"/> <metrics loc="284" ncloc="157" classes="1" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="78" coveredstatements="78" elements="86" coveredelements="86"/> </file> <file name="/var/www/html/packages/JsonLD/SKien/JsonLD/JsonLDLocalBusiness.php"> <class name="SKien\JsonLD\JsonLDLocalBusiness" namespace="SKien\JsonLD" fullPackage="JsonLD" package="JsonLD"> <metrics complexity="40" methods="14" coveredmethods="14" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="84" elements="98" coveredelements="98"/> </class> <line num="73" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="14"/> <line num="75" type="stmt" count="14"/> <line num="76" type="stmt" count="14"/> <line num="77" type="stmt" count="14"/> <line num="78" type="stmt" count="14"/> <line num="80" type="stmt" count="14"/> <line num="81" type="stmt" count="14"/> <line num="92" type="method" name="setURL" visibility="public" complexity="5" crap="5" count="2"/> <line num="94" type="stmt" count="2"/> <line num="95" type="stmt" count="2"/> <line num="96" type="stmt" count="2"/> <line num="97" type="stmt" count="2"/> <line num="98" type="stmt" count="1"/> <line num="100" type="stmt" count="2"/> <line num="102" type="stmt" count="2"/> <line num="110" type="method" name="setInfo" visibility="public" complexity="4" crap="4" count="1"/> <line num="112" type="stmt" count="1"/> <line num="113" type="stmt" count="1"/> <line num="114" type="stmt" count="1"/> <line num="115" type="stmt" count="1"/> <line num="116" type="stmt" count="1"/> <line num="117" type="stmt" count="1"/> <line num="119" type="stmt" count="1"/> <line num="120" type="stmt" count="1"/> <line num="121" type="stmt" count="1"/> <line num="124" type="stmt" count="1"/> <line num="136" type="method" name="setAddress" visibility="public" complexity="1" crap="1" count="1"/> <line num="138" type="stmt" count="1"/> <line num="139" type="stmt" count="1"/> <line num="145" type="method" name="setLogo" visibility="public" complexity="2" crap="2" count="1"/> <line num="147" type="stmt" count="1"/> <line num="148" type="stmt" count="1"/> <line num="149" type="stmt" count="1"/> <line num="151" type="stmt" count="1"/> <line num="161" type="method" name="setPriceRange" visibility="public" complexity="1" crap="1" count="1"/> <line num="163" type="stmt" count="1"/> <line num="164" type="stmt" count="1"/> <line num="170" type="method" name="setServesCuisine" visibility="public" complexity="1" crap="1" count="1"/> <line num="172" type="stmt" count="1"/> <line num="173" type="stmt" count="1"/> <line num="181" type="method" name="setOpeningHours" visibility="public" complexity="1" crap="1" count="1"/> <line num="184" type="stmt" count="1"/> <line num="185" type="stmt" count="1"/> <line num="197" type="method" name="addLanguage" visibility="public" complexity="2" crap="2" count="1"/> <line num="199" type="stmt" count="1"/> <line num="200" type="stmt" count="1"/> <line num="202" type="stmt" count="1"/> <line num="203" type="stmt" count="1"/> <line num="214" type="method" name="addContact" visibility="public" complexity="3" crap="3" count="2"/> <line num="216" type="stmt" count="2"/> <line num="217" type="stmt" count="2"/> <line num="218" type="stmt" count="2"/> <line num="219" type="stmt" count="2"/> <line num="220" type="stmt" count="2"/> <line num="222" type="stmt" count="2"/> <line num="223" type="stmt" count="2"/> <line num="225" type="stmt" count="2"/> <line num="235" type="method" name="addContactLanguage" visibility="public" complexity="4" crap="4" count="1"/> <line num="237" type="stmt" count="1"/> <line num="238" type="stmt" count="1"/> <line num="239" type="stmt" count="1"/> <line num="241" type="stmt" count="1"/> <line num="243" type="stmt" count="1"/> <line num="255" type="method" name="addSameAs" visibility="public" complexity="3" crap="3" count="1"/> <line num="257" type="stmt" count="1"/> <line num="258" type="stmt" count="1"/> <line num="259" type="stmt" count="1"/> <line num="260" type="stmt" count="1"/> <line num="262" type="stmt" count="1"/> <line num="264" type="stmt" count="1"/> <line num="288" type="method" name="addOpeningHours" visibility="public" complexity="8" crap="8" count="1"/> <line num="290" type="stmt" count="1"/> <line num="291" type="stmt" count="1"/> <line num="292" type="stmt" count="1"/> <line num="293" type="stmt" count="1"/> <line num="294" type="stmt" count="1"/> <line num="295" type="stmt" count="1"/> <line num="297" type="stmt" count="1"/> <line num="298" type="stmt" count="1"/> <line num="300" type="stmt" count="1"/> <line num="301" type="stmt" count="1"/> <line num="302" type="stmt" count="1"/> <line num="303" type="stmt" count="1"/> <line num="304" type="stmt" count="1"/> <line num="305" type="stmt" count="1"/> <line num="308" type="stmt" count="1"/> <line num="309" type="stmt" count="1"/> <line num="310" type="stmt" count="1"/> <line num="311" type="stmt" count="1"/> <line num="312" type="stmt" count="1"/> <line num="314" type="stmt" count="1"/> <line num="330" type="method" name="addDepartment" visibility="public" complexity="3" crap="3" count="1"/> <line num="332" type="stmt" count="1"/> <line num="333" type="stmt" count="1"/> <line num="334" type="stmt" count="1"/> <line num="335" type="stmt" count="1"/> <line num="337" type="stmt" count="1"/> <line num="339" type="stmt" count="1"/> <metrics loc="340" ncloc="171" classes="1" methods="14" coveredmethods="14" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="84" elements="98" coveredelements="98"/> </file> </package> <metrics files="4" loc="1222" ncloc="739" classes="4" methods="46" coveredmethods="46" conditionals="0" coveredconditionals="0" statements="368" coveredstatements="368" elements="414" coveredelements="414"/> </project> </coverage>