NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Execution Sequence
__________________________________
WithoutMultiThreading > main
----------------------------------
Make methods static !
Use of backupExcelBeforeRun, backupExcelAfterRun ?
==================================
ExcelOperation > readExecutionVariables
----------------------------------
Remove classlevel variables, refactor loading of config !
Research extent report improvement *
==================================
WithoutMultiThreading > backupExcelBeforeRun
----------------------------------
Use of zip ?
==================================
FileArchive > zipSingleFile
----------------------------------
Improve on execution time for zip !
==================================
DriverScript > driverTest
----------------------------------
Remove method ? !
==================================
ExcelOperation > readTestSuite
----------------------------------
Check possibility of improvement of reading file *
Check improvement on fillo query *
Research fillo improvement *
Refactor ? !
==================================
ExcelOperation > executeFlowMethods
----------------------------------
Refactor ? !
==================================
DriverScript > execute_Actions
----------------------------------
Refactor to flowMethods.getClass().getMethod(flowID, FlowMethods.class, String.class).invoke(flowMethods, testSuiteModuleName); !
==================================
WithoutMultiThreading > exitMethod
----------------------------------
Nothing
==================================
MISC
----------------------------------
Research global try catch for report generation - try catch at main method level or https://stackoverflow.com/questions/1548487/java-global-exception-handler *
Setup sonarqube *
CI *
Use PMD for code analysis - download jar, follow instructions on https://pmd.github.io/ to start off, use pmd command > filetobemade.extension to put output to file !**
Precommit hooks *
Use the source and refactor options under eclipse to improve code *
Achieve max cohesion and min coupling and make methods static on page classes as much as possible *
Use local variable more than class variables *
Explore object pool - https://www.javaworld.com/article/2076690/java-concurrency/build-your-own-objectpool-in-java-to-boost-app-speed.html ? *
Maximise String pool usage ! ? *
Look for looping structures across application and improve them *
For long existing variables, use runtime calculations to calculate their values if possible than storing them in memory for long duration *
Use compressedoops > -XX:+UseCompressedOops > https://wiki.openjdk.java.net/display/HotSpot/CompressedOops > http://www.oracle.com/technetwork/articles/java/vmoptions-jsp-140102.html > https://www.javacodegeeks.com/2016/05/compressedoops-introduction-compressed-references-java.html > https://www.cubrid.org/blog/the-principles-of-java-application-performance-tuning > https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/tune_footprint.html
Prefer primitive types to their Object wrappers. The main cause of wrapper types usage are JDK collections, so consider using one of primitive type collection frameworks like Trove. - https://bitbucket.org/trove4j/trove ** http://java-performance.info/primitive-types-collections-trove-library/
Use primitives over Wrapper objects *
Avoid autoboxing if possible ? * https://docs.oracle.com/javase/1.5.0/docs/guide/language/autoboxing.html
Upgrade Java version *
https://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html *
Use early return from methods **
==================================
LINKS
----------------------------------
https://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#Java (To research)
https://www.journaldev.com/4098/java-heap-space-vs-stack-memory (For Reference)
https://blog.jooq.org/2015/02/05/top-10-easy-performance-optimisations-in-java/ (For use) **
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.