Compare eb3a555 ... +0 ... 88d6237

Coverage Reach
modules/export/epub/class-epub201.php modules/export/epub/class-epub3.php modules/export/htmlbook/class-htmlbook.php modules/export/xhtml/class-xhtml11.php modules/export/class-export.php modules/export/prince/class-pdf.php modules/export/prince/class-docraptor.php modules/export/prince/class-filters.php modules/export/prince/class-docraptorprint.php modules/export/prince/class-printpdf.php modules/export/class-table.php modules/export/thincc/class-weblinks.php modules/export/odt/class-odt.php modules/export/namespace.php modules/export/wordpress/class-vanillawxr.php modules/export/wordpress/class-wxr.php modules/export/indesign/class-icml.php modules/export/mobi/class-kindlegen.php modules/import/wordpress/class-wxr.php modules/import/wordpress/class-downloads.php modules/import/wordpress/class-parser.php modules/import/ooxml/class-docx.php modules/import/class-import.php modules/import/epub/class-epub201.php modules/import/odf/class-odt.php modules/import/html/class-xhtml.php modules/import/api/class-api.php modules/themeoptions/class-pdfoptions.php modules/themeoptions/class-globaloptions.php modules/themeoptions/class-weboptions.php modules/themeoptions/class-ebookoptions.php modules/themeoptions/class-admin.php modules/searchandreplace/class-search.php modules/searchandreplace/class-searchandreplace.php modules/searchandreplace/types/class-content.php modules/searchandreplace/class-result.php admin/laf/namespace.php admin/metaboxes/namespace.php admin/covergenerator/namespace.php admin/dashboard/namespace.php admin/class-catalog-list-table.php admin/network/class-sharingandprivacyoptions.php admin/diagnostics/namespace.php admin/class-publishoptions.php admin/users/class-userbulk.php admin/class-sitemap.php admin/networkmanagers/namespace.php admin/analytics/namespace.php admin/organize/namespace.php admin/class-exportoptions.php admin/attachments/namespace.php admin/class-network-managers-list-table.php admin/branding/namespace.php admin/delete/class-book.php admin/plugins/namespace.php admin/fonts/namespace.php api/endpoints/controller/class-toc.php api/endpoints/controller/class-metadata.php api/endpoints/controller/class-sectionmetadata.php api/endpoints/controller/class-books.php api/endpoints/controller/class-posts.php api/endpoints/controller/class-directory.php api/endpoints/controller/class-revisions.php api/endpoints/controller/class-terms.php api/namespace.php cloner/class-cloner.php cloner/class-downloads.php covergenerator/class-generator.php covergenerator/class-input.php covergenerator/class-isbn.php covergenerator/class-princejpg.php covergenerator/class-docraptorjpg.php covergenerator/class-covergenerator.php covergenerator/class-sku.php covergenerator/class-spine.php covergenerator/class-princepdf.php covergenerator/class-docraptorpdf.php utility/namespace.php utility/class-percentageyield.php shortcodes/glossary/class-glossary.php shortcodes/attributions/class-attachments.php shortcodes/complex/class-complex.php shortcodes/footnotes/class-footnotes.php shortcodes/generics/class-generics.php shortcodes/wikipublisher/class-glyphs.php shortcodes/class-tablepress.php class-catalog.php metadata/namespace.php class-book.php class-mathjax.php class-styles.php interactive/class-content.php interactive/class-h5p.php interactive/class-phet.php sanitize/namespace.php class-taxonomy.php image/namespace.php theme/class-lock.php theme/namespace.php class-metadata.php editor/namespace.php class-options.php class-activation.php class-licensing.php posttype/namespace.php datacollector/class-book.php datacollector/class-user.php class-globaltypography.php redirect/namespace.php registration/namespace.php class-contributors.php htmlbook/class-element.php htmlbook/class-validator.php htmlbook/block/class-codelistings.php class-eventstreams.php class-sass.php l10n/namespace.php media/namespace.php namespace.php class-bookdirectory.php class-customcss.php analytics/namespace.php class-pressbooks.php class-htmlparser.php class-container.php class-privacy.php class-htmlawed.php

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 1 files from the diff.

@@ -227,12 +227,10 @@
Loading
227 227
228 228
	if ( isset( $book_information['pb_primary_subject'] ) ) {
229 229
		$name = Metadata\get_subject_from_thema( $book_information['pb_primary_subject'] );
230 -
		if ( is_null( $name ) || ! $name ) {
231 -
			$name = $book_information['pb_primary_subject'];
232 -
		}
233 230
		$book_schema['about'][] = [
234 231
			'@type' => 'Thing',
235 -
			'identifier' => $book_information['pb_primary_subject'],
232 +
			'identifier' => ( is_null( $name ) || ! $name ) ?
233 +
						$book_information['pb_primary_subject'] : $name,
236 234
			'name' => $name,
237 235
		];
238 236
	}
@@ -241,13 +239,10 @@
Loading
241 239
		$additional_subjects = explode( ', ', $book_information['pb_additional_subjects'] );
242 240
		foreach ( $additional_subjects as $additional_subject ) {
243 241
			$name = Metadata\get_subject_from_thema( $additional_subject );
244 -
			if ( is_null( $name ) || ! $name ) {
245 -
				$name = $additional_subject;
246 -
			}
247 242
			$book_schema['about'][] = [
248 243
				'@type' => 'Thing',
249 244
				'identifier' => $additional_subject,
250 -
				'name' => $name,
245 +
				'name' => ( is_null( $name ) || ! $name ) ? $additional_subject : $name,
251 246
			];
252 247
		}
253 248
	}

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Complexity Coverage
inc ø +<.01% 67.62%
Project Totals (127 files) 4856 67.62%
Loading