WebHook
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 0
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 4
1
<?php
2
3
/*
4
 * This file is part of Gitamin.
5
 *
6
 * Copyright (C) 2015-2016 The Gitamin Team
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
# == Schema Information
0 ignored issues
show
Unused Code Comprehensibility introduced by
36% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
13
#
14
# Table name: web_hooks
15
#
16
#  id                      :integer          not null, primary key
17
#  url                     :string(255)
18
#  project_id              :integer
19
#  created_at              :timestamp
20
#  updated_at              :timestamp
21
#  type                    :string(255)      default("ProjectHook")
22
#  service_id              :integer
23
#  push_events             :boolean          default(TRUE), not null
24
#  issues_events           :boolean          default(FALSE), not null
25
#  pull_requests_events    :boolean          default(FALSE), not null
26
#  tag_push_events         :boolean          default(FALSE)
27
#  comment_events          :boolean          default(FALSE), not null
28
#  enable_ssl_verification :boolean          default(TRUE)
29
#
30
31
namespace Gitamin\Models\Hooks;
32
33
use Illuminate\Database\Eloquent\Model;
34
35
class WebHook extends Model
36
{
37
    //
38
}
39