{"action":"created","comment":{"url":"https://api.github.com/repos/sudar/bulk-delete/pulls/comments/200860743","pull_request_review_id":135252584,"id":200860743,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDg2MDc0Mw==","diff_hunk":"@@ -0,0 +1,295 @@\n+<?php\n+namespace BulkWP\\BulkDelete\\Core\\Terms;\n+\n+use BulkWP\\BulkDelete\\Core\\Base\\BaseModule;\n+\n+defined( 'ABSPATH' ) || exit; // Exit if accessed directly.\n+\n+/**\n+ * Module for deleting terms.\n+ *\n+ * @since 6.0.0\n+ */\n+abstract class TermsModule extends BaseModule {\n+\t/**\n+\t * Build query params for WP_Query by using delete options.\n+\t *\n+\t * Return an empty query array to short-circuit deletion.\n+\t *\n+\t * @param array $options Delete options.\n+\t *\n+\t * @return array Query.\n+\t */\n+\tabstract protected function build_query( $options );\n+\n+\tprotected $item_type = 'terms';\n+\n+\t/**\n+\t * Handle common filters.\n+\t *\n+\t * @param array $request Request array.\n+\t *\n+\t * @return array User options.\n+\t */\n+\tprotected function parse_common_filters( $request ) {\n+\t\t$options = array();\n+\n+\t\t$options['restrict']     = bd_array_get_bool( $request, 'smbd_' . $this->field_slug . '_restrict', false );\n+\t\t$options['limit_to']     = absint( bd_array_get( $request, 'smbd_' . $this->field_slug . '_limit_to', 0 ) );\n+\t\t$options['force_delete'] = bd_array_get_bool( $request, 'smbd_' . $this->field_slug . '_force_delete', false );\n+\n+\t\t$options['date_op'] = bd_array_get( $request, 'smbd_' . $this->field_slug . '_op' );\n+\t\t$options['days']    = absint( bd_array_get( $request, 'smbd_' . $this->field_slug . '_days' ) );\n+\n+\t\treturn $options;\n+\t}\n+\n+\tpublic function filter_js_array( $js_array ) {\n+\t\treturn $js_array;\n+\t}\n+\n+\tprotected function do_delete( $options ) {\n+\t\t$query = $this->build_query( $options );\n+\n+\t\tif ( empty( $query ) ) {\n+\t\t\t// Short circuit deletion, if nothing needs to be deleted.\n+\t\t\treturn 0;\n+\t\t}\n+\n+\t\treturn $this->delete_terms_from_query( $query, $options );\n+\t}\n+\n+\t/**\n+\t * Build the query using query params and then Delete posts.\n+\t *\n+\t * @param array $query   Params for WP Query.\n+\t * @param array $options Delete Options.\n+\t *\n+\t * @return int Number of posts deleted.\n+\t */\n+\tprotected function delete_terms_from_query( $query, $options ) {\n+\t\t$term_ids = bd_term_query( $query, $options['taxonomy'] );\n+\n+\t\treturn $this->delete_terms_by_id( $term_ids, $options );\n+\t}\n+\n+\t/**\n+\t * Render the \"private post\" setting fields.\n+\t */\n+\tprotected function render_private_post_settings() {\n+\t\tbd_render_private_post_settings( $this->field_slug );\n+\t}\n+\n+\t/**\n+\t * Delete terms by ids.\n+\t *\n+\t * @param int[] $term_ids List of term ids to delete.\n+\t * @param mixed $options\n+\t *\n+\t * @return int Number of posts deleted.\n+\t */\n+\tprotected function delete_terms_by_id( $term_ids, $options ) {\n+\t\t$count = 0;\n+\t\tforeach ( $term_ids as $term_id ) {\n+\t\t\t$term = get_term( $term_id, $options['taxonomy'] );\n+\t\t\tif( isset( $options['no_posts'] ) ){\n+\t\t\t\tif( $term->count == 0 ){\n+\t\t\t\t\twp_delete_term( $term_id, $options['taxonomy'] );\n+\t\t\t\t\t$count++;\n+\t\t\t\t}\n+\t\t\t}else{\n+\t\t\t\twp_delete_term( $term_id, $options['taxonomy'] );\n+\t\t\t\t$count++;\n+\t\t\t}\n+\t\t}\n+\n+\t\treturn $count;\n+\t}\n+\n+\t/**\n+\t * custom string function use to get is string start with specified string.\n+\t *\n+\t * @param string $haystack.\n+\t * @param string $needle.\n+\t *\n+\t * @return boolean.\n+\t */\n+\tprotected function bd_starts_with($haystack, $needle){\n+\t     $length = strlen($needle);\n+\n+\t     return (substr($haystack, 0, $length) === $needle);\n+\t}\n+\n+\t/**\n+\t * custom string function use to get is string ends with specified string.\n+\t *\n+\t * @param string $haystack.\n+\t * @param string $needle.\n+\t *\n+\t * @return boolean.\n+\t */\n+\tprotected function bd_ends_with($haystack, $needle){\n+\t    $length = strlen($needle);\n+\n+\t    return $length === 0 ||\n+\t    (substr($haystack, -$length) === $needle);\n+\t}\n+\n+\t/**\n+\t * get terms which is start with specified string.\n+\t *\n+\t * @param string $term_text.\n+\t * @param array  $options.\n+\t *\n+\t * @return array term ids.\n+\t */\n+\tprotected function term_starts( $term_text , $options ){\n+\t\t$term_ids = array();\n+\t\t$terms    = get_terms( $options['taxonomy'], array(\n+\t\t    'hide_empty' => false,\n+\t\t) );\n+\n+\t\tforeach( $terms as $term ){\n+\t\t\tif( $this->bd_starts_with( $term->name, $term_text ) ){\n+\t\t\t\t$term_ids[] = $term->term_id;\n+\t\t\t}\n+\t\t}\n+\n+\t\treturn $term_ids;\n+\t}\n+\n+\t/**\n+\t * get terms which is ends with specified string.\n+\t *\n+\t * @param string $term_text.\n+\t * @param array  $options.\n+\t *\n+\t * @return array term ids.\n+\t */\n+\tprotected function term_ends( $term_text , $options ){\n+\t\t$term_ids = array();\n+\t\t$terms    = get_terms( $options['taxonomy'], array(\n+\t\t    'hide_empty' => false,\n+\t\t) );\n+\n+\t\tforeach( $terms as $term ){\n+\t\t\tif( $this->bd_ends_with( $term->name, $term_text ) ){\n+\t\t\t\t$term_ids[] = $term->term_id;\n+\t\t\t}\n+\t\t}\n+\n+\t\treturn $term_ids;\n+\t}\n+\n+\t/**\n+\t * get terms which is contain specified string.\n+\t *\n+\t * @param string $term_text.\n+\t * @param array  $options.\n+\t *\n+\t * @return array term ids.\n+\t */\n+\tprotected function term_contains( $term_text , $options ){\n+\t\t$term_ids = array();\n+\t\t$terms    = get_terms( $options['taxonomy'], array(\n+\t\t    'hide_empty' => false,\n+\t\t) );\n+\n+\t\tforeach( $terms as $term ){\n+\t\t\tif ( strpos( $term->name, $term_text ) !== false ) {\n+\t\t\t\t$term_ids[] = $term->term_id;\n+\t\t\t}\n+\t\t}\n+\n+\t\treturn $term_ids;\n+\t}\n+\n+\t/**\n+\t * Get term ids which is have the sepcified post count .\n+\t *\n+\t * @param array $options.\n+\t *\n+\t * @return array term ids.\n+\t */\n+\tprotected function term_count_query( $options ){","path":"include/Core/Terms/TermsModule.php","position":214,"original_position":214,"commit_id":"6691d70686060afcca7a96ee2e1a9e485be37818","original_commit_id":"6691d70686060afcca7a96ee2e1a9e485be37818","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [The method term_count_query() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.](https://app.codacy.com/app/sudar/bulk-delete/pullRequest?prid=1846922)","created_at":"2018-07-09T00:35:17Z","updated_at":"2018-07-09T00:35:17Z","html_url":"https://github.com/sudar/bulk-delete/pull/332#discussion_r200860743","pull_request_url":"https://api.github.com/repos/sudar/bulk-delete/pulls/332","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/sudar/bulk-delete/pulls/comments/200860743"},"html":{"href":"https://github.com/sudar/bulk-delete/pull/332#discussion_r200860743"},"pull_request":{"href":"https://api.github.com/repos/sudar/bulk-delete/pulls/332"}}},"pull_request":{"url":"https://api.github.com/repos/sudar/bulk-delete/pulls/332","id":191630773,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNjMwNzcz","html_url":"https://github.com/sudar/bulk-delete/pull/332","diff_url":"https://github.com/sudar/bulk-delete/pull/332.diff","patch_url":"https://github.com/sudar/bulk-delete/pull/332.patch","issue_url":"https://api.github.com/repos/sudar/bulk-delete/issues/332","number":332,"state":"open","locked":false,"title":"178 feature/delete terms  by postfix prefix","user":{"login":"rajanit2000","id":2988033,"node_id":"MDQ6VXNlcjI5ODgwMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2988033?v=4","gravatar_id":"","url":"https://api.github.com/users/rajanit2000","html_url":"https://github.com/rajanit2000","followers_url":"https://api.github.com/users/rajanit2000/followers","following_url":"https://api.github.com/users/rajanit2000/following{/other_user}","gists_url":"https://api.github.com/users/rajanit2000/gists{/gist_id}","starred_url":"https://api.github.com/users/rajanit2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajanit2000/subscriptions","organizations_url":"https://api.github.com/users/rajanit2000/orgs","repos_url":"https://api.github.com/users/rajanit2000/repos","events_url":"https://api.github.com/users/rajanit2000/events{/privacy}","received_events_url":"https://api.github.com/users/rajanit2000/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-31T02:52:10Z","updated_at":"2018-07-09T00:35:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e745381c2823cf45f4e79c4f12ac857311b003b","assignee":{"login":"rajanit2000","id":2988033,"node_id":"MDQ6VXNlcjI5ODgwMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2988033?v=4","gravatar_id":"","url":"https://api.github.com/users/rajanit2000","html_url":"https://github.com/rajanit2000","followers_url":"https://api.github.com/users/rajanit2000/followers","following_url":"https://api.github.com/users/rajanit2000/following{/other_user}","gists_url":"https://api.github.com/users/rajanit2000/gists{/gist_id}","starred_url":"https://api.github.com/users/rajanit2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajanit2000/subscriptions","organizations_url":"https://api.github.com/users/rajanit2000/orgs","repos_url":"https://api.github.com/users/rajanit2000/repos","events_url":"https://api.github.com/users/rajanit2000/events{/privacy}","received_events_url":"https://api.github.com/users/rajanit2000/received_events","type":"User","site_admin":false},"assignees":[{"login":"rajanit2000","id":2988033,"node_id":"MDQ6VXNlcjI5ODgwMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2988033?v=4","gravatar_id":"","url":"https://api.github.com/users/rajanit2000","html_url":"https://github.com/rajanit2000","followers_url":"https://api.github.com/users/rajanit2000/followers","following_url":"https://api.github.com/users/rajanit2000/following{/other_user}","gists_url":"https://api.github.com/users/rajanit2000/gists{/gist_id}","starred_url":"https://api.github.com/users/rajanit2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajanit2000/subscriptions","organizations_url":"https://api.github.com/users/rajanit2000/orgs","repos_url":"https://api.github.com/users/rajanit2000/repos","events_url":"https://api.github.com/users/rajanit2000/events{/privacy}","received_events_url":"https://api.github.com/users/rajanit2000/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":179381528,"node_id":"MDU6TGFiZWwxNzkzODE1Mjg=","url":"https://api.github.com/repos/sudar/bulk-delete/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/sudar/bulk-delete/pulls/332/commits","review_comments_url":"https://api.github.com/repos/sudar/bulk-delete/pulls/332/comments","review_comment_url":"https://api.github.com/repos/sudar/bulk-delete/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sudar/bulk-delete/issues/332/comments","statuses_url":"https://api.github.com/repos/sudar/bulk-delete/statuses/6691d70686060afcca7a96ee2e1a9e485be37818","head":{"label":"sudar:178-feature/delete-terms--by-postfix-prefix","ref":"178-feature/delete-terms--by-postfix-prefix","sha":"6691d70686060afcca7a96ee2e1a9e485be37818","user":{"login":"sudar","id":103148,"node_id":"MDQ6VXNlcjEwMzE0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/103148?v=4","gravatar_id":"","url":"https://api.github.com/users/sudar","html_url":"https://github.com/sudar","followers_url":"https://api.github.com/users/sudar/followers","following_url":"https://api.github.com/users/sudar/following{/other_user}","gists_url":"https://api.github.com/users/sudar/gists{/gist_id}","starred_url":"https://api.github.com/users/sudar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudar/subscriptions","organizations_url":"https://api.github.com/users/sudar/orgs","repos_url":"https://api.github.com/users/sudar/repos","events_url":"https://api.github.com/users/sudar/events{/privacy}","received_events_url":"https://api.github.com/users/sudar/received_events","type":"User","site_admin":false},"repo":{"id":7251206,"node_id":"MDEwOlJlcG9zaXRvcnk3MjUxMjA2","name":"bulk-delete","full_name":"sudar/bulk-delete","owner":{"login":"sudar","id":103148,"node_id":"MDQ6VXNlcjEwMzE0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/103148?v=4","gravatar_id":"","url":"https://api.github.com/users/sudar","html_url":"https://github.com/sudar","followers_url":"https://api.github.com/users/sudar/followers","following_url":"https://api.github.com/users/sudar/following{/other_user}","gists_url":"https://api.github.com/users/sudar/gists{/gist_id}","starred_url":"https://api.github.com/users/sudar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudar/subscriptions","organizations_url":"https://api.github.com/users/sudar/orgs","repos_url":"https://api.github.com/users/sudar/repos","events_url":"https://api.github.com/users/sudar/events{/privacy}","received_events_url":"https://api.github.com/users/sudar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sudar/bulk-delete","description":"Bulk Delete is a WordPress Plugin that allows you to delete posts, pages and users in bulk based on different conditions and filters.","fork":false,"url":"https://api.github.com/repos/sudar/bulk-delete","forks_url":"https://api.github.com/repos/sudar/bulk-delete/forks","keys_url":"https://api.github.com/repos/sudar/bulk-delete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sudar/bulk-delete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sudar/bulk-delete/teams","hooks_url":"https://api.github.com/repos/sudar/bulk-delete/hooks","issue_events_url":"https://api.github.com/repos/sudar/bulk-delete/issues/events{/number}","events_url":"https://api.github.com/repos/sudar/bulk-delete/events","assignees_url":"https://api.github.com/repos/sudar/bulk-delete/assignees{/user}","branches_url":"https://api.github.com/repos/sudar/bulk-delete/branches{/branch}","tags_url":"https://api.github.com/repos/sudar/bulk-delete/tags","blobs_url":"https://api.github.com/repos/sudar/bulk-delete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sudar/bulk-delete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sudar/bulk-delete/git/refs{/sha}","trees_url":"https://api.github.com/repos/sudar/bulk-delete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sudar/bulk-delete/statuses/{sha}","languages_url":"https://api.github.com/repos/sudar/bulk-delete/languages","stargazers_url":"https://api.github.com/repos/sudar/bulk-delete/stargazers","contributors_url":"https://api.github.com/repos/sudar/bulk-delete/contributors","subscribers_url":"https://api.github.com/repos/sudar/bulk-delete/subscribers","subscription_url":"https://api.github.com/repos/sudar/bulk-delete/subscription","commits_url":"https://api.github.com/repos/sudar/bulk-delete/commits{/sha}","git_commits_url":"https://api.github.com/repos/sudar/bulk-delete/git/commits{/sha}","comments_url":"https://api.github.com/repos/sudar/bulk-delete/comments{/number}","issue_comment_url":"https://api.github.com/repos/sudar/bulk-delete/issues/comments{/number}","contents_url":"https://api.github.com/repos/sudar/bulk-delete/contents/{+path}","compare_url":"https://api.github.com/repos/sudar/bulk-delete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sudar/bulk-delete/merges","archive_url":"https://api.github.com/repos/sudar/bulk-delete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sudar/bulk-delete/downloads","issues_url":"https://api.github.com/repos/sudar/bulk-delete/issues{/number}","pulls_url":"https://api.github.com/repos/sudar/bulk-delete/pulls{/number}","milestones_url":"https://api.github.com/repos/sudar/bulk-delete/milestones{/number}","notifications_url":"https://api.github.com/repos/sudar/bulk-delete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sudar/bulk-delete/labels{/name}","releases_url":"https://api.github.com/repos/sudar/bulk-delete/releases{/id}","deployments_url":"https://api.github.com/repos/sudar/bulk-delete/deployments","created_at":"2012-12-20T02:53:36Z","updated_at":"2018-07-08T07:18:38Z","pushed_at":"2018-07-09T00:34:16Z","git_url":"git://github.com/sudar/bulk-delete.git","ssh_url":"git@github.com:sudar/bulk-delete.git","clone_url":"https://github.com/sudar/bulk-delete.git","svn_url":"https://github.com/sudar/bulk-delete","homepage":"https://bulkwp.com","size":4738,"stargazers_count":15,"watchers_count":15,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":76,"license":null,"forks":3,"open_issues":76,"watchers":15,"default_branch":"dev/6.0.0"}},"base":{"label":"sudar:dev/6.0.0","ref":"dev/6.0.0","sha":"a95fb91dccd5e949b0669baaa130862e7d3f06c2","user":{"login":"sudar","id":103148,"node_id":"MDQ6VXNlcjEwMzE0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/103148?v=4","gravatar_id":"","url":"https://api.github.com/users/sudar","html_url":"https://github.com/sudar","followers_url":"https://api.github.com/users/sudar/followers","following_url":"https://api.github.com/users/sudar/following{/other_user}","gists_url":"https://api.github.com/users/sudar/gists{/gist_id}","starred_url":"https://api.github.com/users/sudar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudar/subscriptions","organizations_url":"https://api.github.com/users/sudar/orgs","repos_url":"https://api.github.com/users/sudar/repos","events_url":"https://api.github.com/users/sudar/events{/privacy}","received_events_url":"https://api.github.com/users/sudar/received_events","type":"User","site_admin":false},"repo":{"id":7251206,"node_id":"MDEwOlJlcG9zaXRvcnk3MjUxMjA2","name":"bulk-delete","full_name":"sudar/bulk-delete","owner":{"login":"sudar","id":103148,"node_id":"MDQ6VXNlcjEwMzE0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/103148?v=4","gravatar_id":"","url":"https://api.github.com/users/sudar","html_url":"https://github.com/sudar","followers_url":"https://api.github.com/users/sudar/followers","following_url":"https://api.github.com/users/sudar/following{/other_user}","gists_url":"https://api.github.com/users/sudar/gists{/gist_id}","starred_url":"https://api.github.com/users/sudar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudar/subscriptions","organizations_url":"https://api.github.com/users/sudar/orgs","repos_url":"https://api.github.com/users/sudar/repos","events_url":"https://api.github.com/users/sudar/events{/privacy}","received_events_url":"https://api.github.com/users/sudar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sudar/bulk-delete","description":"Bulk Delete is a WordPress Plugin that allows you to delete posts, pages and users in bulk based on different conditions and filters.","fork":false,"url":"https://api.github.com/repos/sudar/bulk-delete","forks_url":"https://api.github.com/repos/sudar/bulk-delete/forks","keys_url":"https://api.github.com/repos/sudar/bulk-delete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sudar/bulk-delete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sudar/bulk-delete/teams","hooks_url":"https://api.github.com/repos/sudar/bulk-delete/hooks","issue_events_url":"https://api.github.com/repos/sudar/bulk-delete/issues/events{/number}","events_url":"https://api.github.com/repos/sudar/bulk-delete/events","assignees_url":"https://api.github.com/repos/sudar/bulk-delete/assignees{/user}","branches_url":"https://api.github.com/repos/sudar/bulk-delete/branches{/branch}","tags_url":"https://api.github.com/repos/sudar/bulk-delete/tags","blobs_url":"https://api.github.com/repos/sudar/bulk-delete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sudar/bulk-delete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sudar/bulk-delete/git/refs{/sha}","trees_url":"https://api.github.com/repos/sudar/bulk-delete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sudar/bulk-delete/statuses/{sha}","languages_url":"https://api.github.com/repos/sudar/bulk-delete/languages","stargazers_url":"https://api.github.com/repos/sudar/bulk-delete/stargazers","contributors_url":"https://api.github.com/repos/sudar/bulk-delete/contributors","subscribers_url":"https://api.github.com/repos/sudar/bulk-delete/subscribers","subscription_url":"https://api.github.com/repos/sudar/bulk-delete/subscription","commits_url":"https://api.github.com/repos/sudar/bulk-delete/commits{/sha}","git_commits_url":"https://api.github.com/repos/sudar/bulk-delete/git/commits{/sha}","comments_url":"https://api.github.com/repos/sudar/bulk-delete/comments{/number}","issue_comment_url":"https://api.github.com/repos/sudar/bulk-delete/issues/comments{/number}","contents_url":"https://api.github.com/repos/sudar/bulk-delete/contents/{+path}","compare_url":"https://api.github.com/repos/sudar/bulk-delete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sudar/bulk-delete/merges","archive_url":"https://api.github.com/repos/sudar/bulk-delete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sudar/bulk-delete/downloads","issues_url":"https://api.github.com/repos/sudar/bulk-delete/issues{/number}","pulls_url":"https://api.github.com/repos/sudar/bulk-delete/pulls{/number}","milestones_url":"https://api.github.com/repos/sudar/bulk-delete/milestones{/number}","notifications_url":"https://api.github.com/repos/sudar/bulk-delete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sudar/bulk-delete/labels{/name}","releases_url":"https://api.github.com/repos/sudar/bulk-delete/releases{/id}","deployments_url":"https://api.github.com/repos/sudar/bulk-delete/deployments","created_at":"2012-12-20T02:53:36Z","updated_at":"2018-07-08T07:18:38Z","pushed_at":"2018-07-09T00:34:16Z","git_url":"git://github.com/sudar/bulk-delete.git","ssh_url":"git@github.com:sudar/bulk-delete.git","clone_url":"https://github.com/sudar/bulk-delete.git","svn_url":"https://github.com/sudar/bulk-delete","homepage":"https://bulkwp.com","size":4738,"stargazers_count":15,"watchers_count":15,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":76,"license":null,"forks":3,"open_issues":76,"watchers":15,"default_branch":"dev/6.0.0"}},"_links":{"self":{"href":"https://api.github.com/repos/sudar/bulk-delete/pulls/332"},"html":{"href":"https://github.com/sudar/bulk-delete/pull/332"},"issue":{"href":"https://api.github.com/repos/sudar/bulk-delete/issues/332"},"comments":{"href":"https://api.github.com/repos/sudar/bulk-delete/issues/332/comments"},"review_comments":{"href":"https://api.github.com/repos/sudar/bulk-delete/pulls/332/comments"},"review_comment":{"href":"https://api.github.com/repos/sudar/bulk-delete/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sudar/bulk-delete/pulls/332/commits"},"statuses":{"href":"https://api.github.com/repos/sudar/bulk-delete/statuses/6691d70686060afcca7a96ee2e1a9e485be37818"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codacy-bot"}}