Reporting::parse_data()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 2
c 1
b 1
f 0
nc 1
nop 1
dl 0
loc 5
rs 9.4285
1
<?php
2
namespace testContent;
3
4
/**
5
 * Reporting wrapper class
6
 *
7
 * Class to standardize the reporting and status functionality of the plugin.
8
 *
9
 * @package    WordPress
10
 * @subpackage Evans
11
 * @author     Old Town Media
12
 */
13
class Reporting{
14
15
	public function create_report( $data ){
16
17
		$cleaned = json_encode( $this->parse_data( $data ) );
18
		return $cleaned;
19
20
	}
21
22
	private function parse_data( $data ){
23
24
		return $data;
25
26
	}
27
28
	// none of the reports should echo
29
	// return arrays of everything
30
31
}
32