Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

DescriptionThis project was created to perform source code analysis on the various Linux kernels. The project was written fairly quickly and can be expanded upon to include new language support and new metrics to report on. Key FeaturesLanguage independent analysis Code normalization based on ... [More] file's language Source code analysis based on file's language Capabilities to expand on metrics to report Source folders structure is maintained Multi-threaded operations for increased speed How to RunThe Java program is in an executable JAR file, which means it can be ran by executing it. The only problem is that currently there is no user interface which allows the data to be displayed after the analysis. The current implementation is to print to console a report on the root folder and the first level of sub folders. This means to actually get any results the JAR must be ran through terminal/console. Example running the JAR in Linux's terminal: java -jar static-source-anlaysis-0.1.jar >> output-file.txt This will print the output into the output.txt file, which contains the results. In cases where you are running out of memory (should only happen on extremely big folders) increase the JVM's memory by using an alternative run command: Example running the JAR with increased memory in Linux's terminal: java -Xms256m -Xmx1024m -XX:-UseGCOverheadLimit -jar static-source-anlaysis-0.1.jar >> output-file.txt The Xms specifies the starting memory and the Xmx specifies the max amount of memory, The later is what you need to alter depending on the hardware you have. [Less]

0
 
  0 reviews  |  0 users  |  1,235 lines of code  |  0 current contributors  |  Analyzed 4 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.