I am working on a distributed application with 50 different modules. These have very less test coverage. Clearly,I need to prioritize which modules/classes needs testing. Is there a way to understand how many times a given line of code has been executed in prod (and, which class is used at what frequency by real time production usage pattern) for say a week ? I mention prod as this instrumentation should not affect the already running code due to obvious sensitive reasons. We use maven for deployment. I heard, corbetura can come in handy for this use case-but,could not find how from their documentation. Any one did a similar thing before ? Note that assumption is there are no unit test cases in the already running code at production.
Count number of times LOC has executed in **PROD** - for java app
203 Views Asked by gov At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in MAVEN
- Auto reload with play2
- maven pom.xml dependencies order vs classpath/build path order
- How to ignore or fix the duplicate classes warning?
- Scala Eclipse IDE compiler giving errors until "clean" is run
- How to run multiple "mvn test"-commands from batch file?
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- javaCV Maven project
- Logging error when executing Maven SonarQube plugin
- Gradle: Override transitive dependency by version classifier
- Why we need maven if there's javac that compiles the code?
- jar file input == null while java app is working
- JPA and web app
- Test Selector Plugin Jenkins returns No tests were executed
- Eclipse OSGI unsatisfied constraint
- GlassFish 4.0 CDI deployment failure + Apache Spark
Related Questions in UNIT-TESTING
- How to write tests for classes with inheritance
- PHPunit call magic methods
- Convert IEnumerable to IObservable with variable Period
- How to a run specific code before & after each unit test in Python
- Unit testing a class A that derives from an abstract class B
- Is there another way to unit test business logic in mvc
- Some of my tests show prepended with junit.framework
- Selenium Driver Service not found exception
- Can not convert from Class<PowerMockRunner> to Class<? extends Runner>
- AngularJS Unit Testing - multiple mocks and providers
- How to use Sinon.js FakeXMLHttpRequest with superagent?
- Get Mock with AutoMock.Create<>()
- Mock service that takes unitOfWork in constructor
- Cleanest method for creating a pytest test fixture that takes in dynamic text data
- g++ 5.1.0 not building project, clang shows unknown error
Related Questions in INSTRUMENTATION
- Instrumenting Jersey2.x Resources with Dropwizard
- Can a PIN tool instrument a bash script that contains code to run other commands?
- How can I profile Signed Assemblies with VS 2012
- Delete all sharedPreferences in Android
- get web application classes with javaagent?
- can LD_PRELOAD trick considered as a type of instrumentation?
- cobertura instrumentation context already initialized
- Pin app terminated abnormally due to signal 6
- UiAutomator 2.0 test from command line
- Read Java Socket connect values using bytecode instrumentation
- Android Instrumentation Test Runner: How to filter multiple test annotations
- Dynamic Bytecode Instrumentation fails without any error
- How to run instrumentation @SmallTests from terminal?
- Can change static methods at run time using java Instrumentation?
- Count number of times LOC has executed in **PROD** - for java app
Related Questions in LINES-OF-CODE
- How can I add a lines of code measure to a project in SonarQube from an external source?
- Count number of times LOC has executed in **PROD** - for java app
- How to skip specific files while calculating Lines of Code?
- Countlines of code : include deleted lines?
- Program to count program sizes
- Does initiating a large class on a page slow it down?
- How to count lines of code in Python excluding comments and docstrings?
- Count Lines of Code on Netbeans PHP Project
- Counting conditional statements in Eclipse
- CLOC - how to count loc in a specific (unique) directory using match-d
- Get lines of code in src folder skipping comments and empty lines
- How do I calculate the code-to-comment ratio of a C# project?
- Why does NDepend count Static fields as LOC for a method
- How many lines of PHP code is too many for one file?
- Why does Github list Django's total lines of code as over 800K?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
We use newrelic
It will let you know which method is used the most, which is the slowest one, db performance and more. That's how we monitor production and we also used it to plan our stress tests.
I hope that helps.