“Method Definition Validator” is now available

A new analytical tool for ruby, the Method Definition Validator , is now available.

This tool can detect the omission of modifications when a method definition is changed.
It detects if there are ommisions of modification in places where the method is called, in cases such as renaming a method or changing the number of arguments. This tool is compatible with Ruby.

def do_something
puts 'do_something'
end
do_something

For example, when the do_something method above is modified to def do_something(p) , the caller will become an error, because it won’t have enough arguments.
By enabling the new Method Definition Validator , it detects and indicates such ommisions before they end up in the production environment. This tool is useful because it can conduct detection on portions with no differences, which are often overlooked since code reviews are usually done based on differential files.

image_of_Method_Definition_Validator

You can use this tool by enabling the Method Definition Validator from Sider’s “Select Analytical Tool” Menu.

setting_of_Method_Definition_Validator

For more information about Sider, please go to our website.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.