Skip to content

  • Top Certifications
  • Courses
  • Tutorials
  • Forum & Support
  • DevOps Tools
  • Slides
  • Update
  • Professional
  • Uncategorised

    RSM, Sonar, Parasoft and others CAST

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmjobs created the topic: RSM, Sonar, Parasoft and others CAST Some useful URL for RSM, Sonar, Parasoft and others CAST msquaredtechnologies.com/m2rsm/docs/rsm_metrics_narration.htm www.locmetrics.com/alternatives.html en.wikipedia.org/wiki/Source_lines_of_code msquaredtechnologies.com/m2rsm/index.html www.castsoftware.com/

    Read More RSM, Sonar, Parasoft and others CASTContinue

  • Uncategorised

    Sonar Support with JSP & HTML

    ByRajesh Kumar December 9, 2017January 9, 2020

    rajeshkumar created the topic: Sonar Support with JSP & HTML JSP/HTML land, usefull tests could be done via some regexp, ie check if style/css are used (to avoid dirty colors/fonts hard-coded for example). If we want to build something pretty robust and extensible, I think we should integrate a java library which is able to…

    Read More Sonar Support with JSP & HTMLContinue

  • Uncategorised

    Ant Example code for Emma Instrumentation

    ByRajesh Kumar December 9, 2017January 9, 2020

    rajeshkumar created the topic: Ant Example code for Emma Instrumentation asdasd Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

    Read More Ant Example code for Emma InstrumentationContinue

  • Uncategorised

    Ant Example code for Emma Instrumentation

    ByRajesh Kumar December 9, 2017January 9, 2020

    rajeshkumar created the topic: Ant Example code for Emma Instrumentation In-place instrument a certain subset of already compiled classes using overwrite mode and several coverage filters: [code language=”css”] <emma enabled=”${emma.enabled}” > <instr instrpathref=”${out.dir}/classes” mode=”overwrite” > <!– always exclude every class with a “Test” in the name: –> <filter excludes=”*Test*” /> <!– don’t instrument everything in…

    Read More Ant Example code for Emma InstrumentationContinue

  • Uncategorised

    What is static analysis code

    ByRajesh Kumar December 9, 2017January 9, 2020

    pasupuleti2 created the topic: What is static analysis code What is static analysis code? How it is help to jenkins builds? What is PC-Lint?

    Read More What is static analysis codeContinue

  • Uncategorised

    Sonar.lock.db what it this file ??

    ByRajesh Kumar December 9, 2017January 9, 2020

    hareesh.aims created the topic: sonar.lock.db what it this file ?? Hi Rajesh , I installed Sonarqube in AWS, later i Unzipped to Opt directory , I tried to delete the sonarqube folder using this command rm -rf sonarqube-6.4. My question is , after deleting the Sonaqube folder i see a file called “sonar.lock.db” and I…

    Read More Sonar.lock.db what it this file ??Continue

  • Uncategorised

    Error in Emma using ant

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: Error in Emma using ant Hi, During offline mode, I am getting folllowing error using EMMA and ant… taskdef A class needed by class com.vladium.emma.emmajavaTask cannot be found: org/apache/tools/ant/taskdefs/Java Any Help?

    Read More Error in Emma using antContinue

  • Uncategorised

    Emma vs Emmarun

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: emma vs emmarun Hi, could you please tell me differece between emma and emmarun?

    Read More Emma vs EmmarunContinue

  • Uncategorised

    Ant script with EMMA code-coverage

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: Ant script with EMMA code-coverage Ant script with EMMA code-coverage so it can find runtime coverage data? [code language=”css”] <taskdef resource=”emma_ant.properties”> <classpath> <pathelement location=”lib/emma.jar” /> <pathelement location=”lib/emma_ant.jar” /> </classpath> </taskdef> <target name=”compile”> <mkdir dir=”build”/> <!– vytvori adresar build –> <mkdir dir=”build/classes”/> <mkdir dir=”build/test”/> <javac destdir=”build/classes” srcdir=”src” debug=”true” /> <!– prelozi zdrojove…

    Read More Ant script with EMMA code-coverageContinue

  • Uncategorised

    Jar instrumentation using Emma

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: jar instrumentation using Emma Hi, I am just referring following url emma.sourceforge.net/faq.html#q.runtime.appservers and trying to instrument jar directly instead of class files. Is there any different process for instrumenting jar files? scmuser replied the topic: Re:jar instrumentation using Emma I found some useful info below…. [code language=”css”] <emma enabled=”${emma.enabled}” > <instr…

    Read More Jar instrumentation using EmmaContinue

  • Uncategorised

    Instrument Jar file issues

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: Instrument Jar file issues Hi, i am instrumenting jar file using following script… [code language=”css”] <emma enabled=”${emma.enabled}” > <instr mode=”overwrite” instrpath=”${jar.location}” destdir=”${inst.jar.location}” metadatafile=”${inst.jar.location}/metadata.emma” merge=”no” > <instrpath> <fileset dir=”${jar.location}” includes=”**/*.jar” /> </instrpath> [/code] But I am getting following error during execution…. [instr] processing instrumentation path … [instr] package [org/w3c/dom] contains classes [DOMException]…

    Read More Instrument Jar file issuesContinue

  • Uncategorised

    Constant_info: invalid tag value

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: CONSTANT_info: invalid tag value Hi, While Doing Instrumentation of jar file, I got following Error…Any help? [code language=”css”] [instr] processing instrumentation path … [instr] package [org/w3c/dom] contains classes [DOMException] without full debug info [instr] package [org/w3c/tidy] contains classes [AttrCheckImpl$CheckAlign] without full debug info [instr] package [org/xml/sax] contains classes [HandlerBase] without full…

    Read More Constant_info: invalid tag valueContinue

  • Uncategorised

    Com.vladium.emma.EMMARuntimeException

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: com.vladium.emma.EMMARuntimeException Hi, I have J2EE application. Whenever I am trying to instrument my jar file, I am getting following Error… Any Help on this com.vladium.emma.EMMARuntimeException: com.vladium.emma.EMMARuntimeException

    Read More Com.vladium.emma.EMMARuntimeExceptionContinue

  • Uncategorised

    Instrument class files from all subdirectory

    ByRajesh Kumar December 9, 2017January 9, 2020

    rajeshkumar created the topic: instrument class files from all subdirectory Hi, is there any possibilities to instrument classes from all sub-directory instead of single class directory? Any sample code? Regards, Rajesh Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

    Read More Instrument class files from all subdirectoryContinue

  • Uncategorised

    Java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT

    ByRajesh Kumar December 9, 2017January 9, 2020

    rajeshkumar created the topic: “java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT” I got sometime following error while using emma… “java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT” Solution can be found in… devnet.jetbrains.net/thread/275232 Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

    Read More Java.lang.NoClassDefFoundError: com/vladium/emma/rt/RTContinue

  • Uncategorised

    Ant Example code for Emma Instrumentation and reports

    ByRajesh Kumar December 9, 2017January 9, 2020

    rajeshkumar created the topic: Ant Example code for Emma Instrumentation and reports In-place instrument a certain subset of already compiled classes using overwrite mode and several coverage filters: [code language=”css”] <emma enabled=”${emma.enabled}” > <instr instrpathref=”${out.dir}/classes” mode=”overwrite” > <!– always exclude every class with a “Test” in the name: –> <filter excludes=”*Test*” /> <!– don’t instrument…

    Read More Ant Example code for Emma Instrumentation and reportsContinue

  • Uncategorised

    How to verify of cobertura.jar file is loaded into jvm

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: How to verify of cobertura.jar file is loaded into jvm How to verify of cobertura.jar file is loaded into jvm? I have instrumented class but Automated test is not writing any thing in ser file? Any verification checklist? rajeshkumar replied the topic: How to verify of cobertura.jar file is loaded into…

    Read More How to verify of cobertura.jar file is loaded into jvmContinue

  • Uncategorised

    Cobertura – how to check if class file is instrumented or not?

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: Cobertura – how to check if class file is instrumented or not? Hi, Could you please tell me how to check if class file is instrumented or not using Cobertura?

    Read More Cobertura – how to check if class file is instrumented or not?Continue

  • Uncategorised

    Cobertura merge two instrumented data file

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: cobertura merge two instrumented data file Hi, Is it possible to merge two diff data file “cobertura.ser” file from two diff instrumentation?

    Read More Cobertura merge two instrumented data fileContinue

  • Uncategorised

    Could not find or load main class net.sourceforge.cobertura.instrument

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser replied the topic: Could not find or load main class net.sourceforge.cobertura.instrument Still could not resolve the issues as below; [code language=”css”] C:\Users\rkumar11>cd C:\cobertura [/code] [code language=”css”] C:\cobertura>cobertura-check.bat Error: Could not find or load main class net.sourceforge.cobertura.check.Main [/code] [code language=”css”] C:\cobertura>cobertura-check.bat Error: Could not find or load main class net.sourceforge.cobertura.check.Main [/code] [code language=”css”] C:\cobertura>ls -1…

    Read More Could not find or load main class net.sourceforge.cobertura.instrumentContinue

  • Uncategorised

    Npm module “grunt-open” not found. Is it installed?

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: Npm module “grunt-open” not found. Is it installed? I am getting following error… [code language=”css”] grunt lite [31m>> [39mLocal Npm module “grunt-open” not found. Is it installed? Loading “nodestatic.js” tasks…[31mERROR[39m [31m>> [39mError: Cannot find module ‘node-static’ [31m>> [39mLocal Npm module “grunt-contrib-jshint” not found. Is it installed? [31m>> [39mLocal Npm module “grunt-exec”…

    Read More Npm module “grunt-open” not found. Is it installed?Continue

  • Uncategorised

    Instrumentating class file using Ant in Cobertura

    ByRajesh Kumar December 9, 2017January 9, 2020

    rajeshkumar created the topic: Instrumentating class file using Ant in Cobertura Instrumentating class file using Ant in Cobertura Cobertura’s documentation gives the following example to show how instrumentation can be done on classes inside a jar file that is on Cobertura’s classpath. ANT SCRIPT [code language=”css”] <project> <property name=”cobertura.dir” value=”../cobertura-2.0.3″ /> <property name=”instrumented.dir” value=”../destination” />…

    Read More Instrumentating class file using Ant in CoberturaContinue

  • Testing Tools

    Just to test Order and Unorder list

    ByRajesh Kumar December 9, 2017January 9, 2020

    rajeshkumar created the topic: Just to test Order and Unorder list First Digit – should be incremented by 1 Second Digit – if its 0, no change but with others digit +3 Third Digit -Should be added +3 Fourth Digit – if 55 then make it 65 and if 56 then make it 66 Rest…

    Read More Just to test Order and Unorder listContinue

  • Uncategorised

    A simple Ruby method to send email

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: A simple Ruby method to send email A simple Ruby method to send email [code language=”css”] require ‘net/smtp’ def send_email(to,opts={}) opts[:server] ||= ‘localhost’ opts[:from] ||= ’email@example.com’ opts[:from_alias] ||= ‘Example Emailer’ opts[:subject] ||= “You need to see this” opts[:body] ||= “Important stuff!” msg = <<END_OF_MESSAGE From: #{opts[:from_alias]} <#{opts[:from]}> To: <#{to}> Subject: #{opts[:subject]}…

    Read More A simple Ruby method to send emailContinue

  • Uncategorised

    Add each array element to the lines of a file in ruby

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: Add each array element to the lines of a file in ruby Add each array element to the lines of a file in ruby Either use Array#each to iterate over your array and call IO#puts to write each element to the file (puts adds a record separator, typically a newline character):…

    Read More Add each array element to the lines of a file in rubyContinue

  • Uncategorised

    What is the way to iterate through an array in Ruby?

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: What is the way to iterate through an array in Ruby? What is the way to iterate through an array in Ruby? This will iterate through all the elements: [code language=”css”] array = [1, 2, 3, 4, 5, 6] array.each { |x| puts x } Prints: 1 2 3 4 5…

    Read More What is the way to iterate through an array in Ruby?Continue

  • Uncategorised

    Short Notes – Ruby Arrays- Insert, Append, length, Index, Removed

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: Short Notes – Ruby Arrays- Insert, Append, length, Index, Removed Short Notes – Ruby Arrays- Insert, Append, length, Index, Removed Create a Ruby Array [code language=”css”] letters = Array.new letters = [] letters = Array.new() letters = letters = Array.new(3) ( Define how many elements you array would be) letters =…

    Read More Short Notes – Ruby Arrays- Insert, Append, length, Index, RemovedContinue

  • Uncategorised

    Common ways to read a file in Ruby?

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: Common ways to read a file in Ruby? [code language=”css”] File.open(“my/file/path”, “r”) do |f| f.each_line do |line| puts line end end # File is closed automatically at end of block [/code] It is also possible to explicitly close file after as above (pass a block to open closes it for you):…

    Read More Common ways to read a file in Ruby?Continue

  • Uncategorised

    How to process every line in a text file with Ruby

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: How to process every line in a text file with Ruby Example 1 [code language=”css”] # ruby sample code. # process every line in a text file with ruby (version 1). file=’GettysburgAddress.txt’ File.readlines(file).each do |line| puts line end [/code] Example 2 [code language=”css”] # ruby sample code. # process every line…

    Read More How to process every line in a text file with RubyContinue

  • Scripting

    Script for time stamp update.

    ByRajesh Kumar December 9, 2017January 9, 2020

    scmuser created the topic: Script for time stamp update. write a batch Script for time stamp update? sgadmin replied the topic: Re:Script for time stamp update. [code language=”css”] data=data.txt tfile=`cat data.txt |wc -l` [/code] for (( i = 2 ; i <= tfile ; i++ )) do mfile=`cat $data |head -$i|tail -1|tr -s ” ”…

    Read More Script for time stamp update.Continue

Page navigation

Previous PagePrevious 1 … 347 348 349 350 351 … 388 Next PageNext

© 2026 - WordPress Theme by Kadence WP

  • Top Certifications
  • Courses
  • Tutorials
  • Forum & Support
  • DevOps Tools
  • Slides
  • Update
  • Professional
Search