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
	}
Files Complexity Coverage
inc 4,856 67.62%
Project Totals (127 files) 4856 67.62%
4052.3
10=0
TRAVIS_OS_NAME=linux
1
codecov:
2
  notify:
3
    require_ci_to_pass: yes
4

5
coverage:
6
  precision: 2
7
  round: down
8
  range: "70...100"
9

10
  status:
11
    project: yes
12
    patch: yes
13
    changes: no
14

15
  notify:
16
    slack:
17
      default:
18
        url: "secret:/oj/A552M7JoclWHak5KXY5DO66SFEZlJcFZLuoPRqiOZK4mHKAGHa4hiSjgWwXTIVzWP2ACNNZnbX5q/QPPUdjWkwk1LpavnvmA9EsmRZBgjWaPJgcXmNSDg2UHM74kT4Nl17TX8RAJ0c2aABuPycxPuz43y2lw+f3CfTv/rLs="
19
        threshold: 1%
20
parsers:
21
  gcov:
22
    branch_detection:
23
      conditional: yes
24
      loop: yes
25
      method: no
26
      macro: no
27

28
comment:
29
  layout: "header, diff"
30
  behavior: default
31
  require_changes: no
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading