This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > counts <- table(mtcars$vs, mtcars$gear) | |
| > par(bg = "white"); | |
| > barplot(counts, main="Car Distribution by Gears and VS", | |
| xlab="Number of Gears", col=c("darkblue","maroon"), | |
| legend = rownames(counts), beside=TRUE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MSG_TYPE_INFO <- "[INFO]" | |
| MSG_TYPE_WARNING <- "[WARNING]" | |
| MSG_TYPE_DEBUG <- "[DEBUG]" | |
| MSG_TYPE_ERROR <- "[ERROR]" | |
| log.ANY <- function(typeOfMessage, message) { | |
| print(paste(date(), typeOfMessage, message)) | |
| } | |
| log.INFO <- function(message) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| log.INFO <- function(message) { | |
| print(paste(date(), "[INFO]", message)) | |
| } | |
| log.WARNING <- function(message) { | |
| print(paste(date(), "[WARNING]", message)) | |
| } | |
| log.DEBUG <- function(message) { | |
| print(paste(date(), "[DEBUG]", message)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SonarQube Runner 2.3 | |
| Java 1.7.0_25 Oracle Corporation (64-bit) | |
| Mac OS X 10.8.5 x86_64 | |
| INFO: Runner configuration file: /opt/sonar-runner-2.3/conf/sonar-runner.properties | |
| INFO: Project configuration file: /Users/manisarkar/bn_projects/TimelineJS/sonar-project.properties | |
| INFO: Default locale: "en_US", source code encoding: "UTF-8" | |
| INFO: Work directory: /Users/manisarkar/bn_projects/TimelineJS/.sonar | |
| INFO: SonarQube Server 3.7 | |
| 14:11:20.927 INFO - Load batch settings | |
| . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] BUILD SUCCESS | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Total time: 29.923s | |
| [INFO] Finished at: Fri Sep 13 18:07:01 BST 2013 | |
| [INFO] Final Memory: 62M/247M | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] [18:07:01.557] Execute org.apache.maven.plugins:maven-surefire-plugin:2.10:test done: 20372 ms | |
| [INFO] [18:07:01.557] Execute maven plugin maven-surefire-plugin done: 20373 ms | |
| . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <settings> | |
| <profiles> | |
| <profile> | |
| <id>sonar</id> | |
| <activation> | |
| <activeByDefault>true</activeByDefault> | |
| </activation> | |
| <properties> | |
| <!-- Example for MySQL--> | |
| <sonar.jdbc.url> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) Write a failing test | |
| 2) Write the simplest code to pass the test | |
| 3) Refactor to remove duplications | |
| 4) Write the assertion first and work backwards | |
| 5) See the test fail | |
| 6) Write meaningful tests | |
| 7) Triangulate | |
| 8) Keep your test and model code separate | |
| 9) Isolate your tests | |
| 10) Organise your tests to reflect model code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ mvn clean package | |
| Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 | |
| [INFO] Scanning for projects... | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Reactor Build Order: | |
| [INFO] | |
| [INFO] Goldman Sachs Collections Code Generator | |
| [INFO] Goldman Sachs Collections Code Generator Ant Task | |
| [INFO] Goldman Sachs Collections Code Generator Maven Plugin | |
| [INFO] Goldman Sachs Collections API |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :compileJava UP-TO-DATE | |
| :processResources UP-TO-DATE | |
| :classes UP-TO-DATE | |
| :jar | |
| :javadoc/home/saiubuntu/git-repos/disruptor/src/main/java/com/lmax/disruptor/util/Util.java:128: warning: no description for @param | |
| * @param buffer | |
| ^ | |
| /home/saiubuntu/git-repos/disruptor/src/main/java/com/lmax/disruptor/dsl/Disruptor.java:106: error: self-closing element not allowed | |
| * <p/> | |
| ^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ mvn clean package | |
| Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 | |
| [INFO] Scanning for projects... | |
| [WARNING] | |
| [WARNING] Some problems were encountered while building the effective model for org.mutabilitydetector:MutabilityDetector4FindBugs:jar:0.3-SNAPSHOT | |
| [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-gpg-plugin is missing. @ line 88, column 15 | |
| [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 70, column 15 | |
| [WARNING] | |
| [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. | |
| [WARNING] |