struct Report::PMD::Violation

Overview

A rule violation inside a File#violations array.

Included Modules

Defined in:

report/pmd.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(beginline : Int32, begincolumn : Int32, endline : Int32, endcolumn : Int32, description : String, rule : String, ruleset : String, priority : Int32, externalInfoUrl : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def begincolumn : Int32 #

def beginline : Int32 #

def clone #

[View source]
def copy_with(beginline _beginline = @beginline, begincolumn _begincolumn = @begincolumn, endline _endline = @endline, endcolumn _endcolumn = @endcolumn, description _description = @description, rule _rule = @rule, ruleset _ruleset = @ruleset, priority _priority = @priority, externalInfoUrl _externalInfoUrl = @externalInfoUrl) #

[View source]
def description : String #

def endcolumn : Int32 #

def endline : Int32 #

def externalInfoUrl : String #

def priority : Int32 #

def rule : String #

def ruleset : String #