Giter Site home page Giter Site logo

nickknw / vbnet_signature_survey Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 16 KB

Ward Cunninham's Signature Survey, adapted for vb.net, with some enhancements of my own.

Home Page: http://nickknowlson.com/projects/vbnet-signature-survey/

Ruby 100.00%

vbnet_signature_survey's People

Contributors

abethcrane avatar nickknw avatar

Stargazers

 avatar

Watchers

 avatar  avatar

vbnet_signature_survey's Issues

Invalid byte sequence in UTF-8 crashes script

vb_signature_survey.rb:103:in block (3 levels) in vb_file_report': invalid byte sequence in UTF-8 (ArgumentError) from vb_signature_survey.rb:93:in each_line'
from vb_signature_survey.rb:93:in block (2 levels) in vb_file_report' from vb_signature_survey.rb:88:in open'
from vb_signature_survey.rb:88:in block in vb_file_report' from vb_signature_survey.rb:87:in open'
from vb_signature_survey.rb:87:in vb_file_report' from vb_signature_survey.rb:58:in call'
from vb_signature_survey.rb:58:in block in for_each_vb_file_in_dir' from vb_signature_survey.rb:56:in glob'
from vb_signature_survey.rb:56:in for_each_vb_file_in_dir' from vb_signature_survey.rb:69:in block in for_each_vb_file_in_dir'
from vb_signature_survey.rb:67:in glob' from vb_signature_survey.rb:67:in for_each_vb_file_in_dir'
from vb_signature_survey.rb:69:in block in for_each_vb_file_in_dir' from vb_signature_survey.rb:67:in glob'
from vb_signature_survey.rb:67:in for_each_vb_file_in_dir' from vb_signature_survey.rb:69:in block in for_each_vb_file_in_dir'
from vb_signature_survey.rb:67:in glob' from vb_signature_survey.rb:67:in for_each_vb_file_in_dir'
from vb_signature_survey.rb:69:in block in for_each_vb_file_in_dir' from vb_signature_survey.rb:67:in glob'
from vb_signature_survey.rb:67:in for_each_vb_file_in_dir' from vb_signature_survey.rb:69:in block in for_each_vb_file_in_dir'
from vb_signature_survey.rb:67:in glob' from vb_signature_survey.rb:67:in for_each_vb_file_in_dir'
from vb_signature_survey.rb:237:in block in <main>' from vb_signature_survey.rb:229:in open'
from vb_signature_survey.rb:229:in `

'

It's possible for the indent to become negative

There's no protection on indent_level remaining >= 0. I'm guessing this implies the visual basic file is badly-formed, but regardless the survey shouldn't crash.

Stack trace:
vb_signature_survey.rb:85:in *': negative argument (ArgumentError) from vb_signature_survey.rb:85:in block in vb_file_report'
from vb_signature_survey.rb:112:in block (3 levels) in vb_file_report' from vb_signature_survey.rb:93:in each_line'
from vb_signature_survey.rb:93:in block (2 levels) in vb_file_report' from vb_signature_survey.rb:88:in open'
from vb_signature_survey.rb:88:in block in vb_file_report' from vb_signature_survey.rb:87:in open'
from vb_signature_survey.rb:87:in vb_file_report' from vb_signature_survey.rb:58:in call'
from vb_signature_survey.rb:58:in block in for_each_vb_file_in_dir' from vb_signature_survey.rb:56:in glob'
from vb_signature_survey.rb:56:in for_each_vb_file_in_dir' from vb_signature_survey.rb:69:in block in for_each_vb_file_in_dir'
from vb_signature_survey.rb:67:in glob' from vb_signature_survey.rb:67:in for_each_vb_file_in_dir'
from vb_signature_survey.rb:69:in block in for_each_vb_file_in_dir' from vb_signature_survey.rb:67:in glob'
from vb_signature_survey.rb:67:in for_each_vb_file_in_dir' from vb_signature_survey.rb:69:in block in for_each_vb_file_in_dir'
from vb_signature_survey.rb:67:in glob' from vb_signature_survey.rb:67:in for_each_vb_file_in_dir'
from vb_signature_survey.rb:234:in block in <main>' from vb_signature_survey.rb:226:in open'
from vb_signature_survey.rb:226:in `

'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.