Questions tagged [simian]

Simian (Similarity Analyser) identifies duplication in Java, C#, C, C++, COBOL, Ruby, JSP, ASP, HTML, XML, Visual Basic, Groovy source code and even plain text files.

12 questions
8
votes
3 answers

Tips to show similarities in files

In a project, I found some css files that "smell" like there are copy-pasted rules in them. I wonder what are your strategies for detecting copy-paste stuff in files. Just of curiosity i'd like to hear your tips and tricks for showing file…
Jesper Rønn-Jensen
  • 106,591
  • 44
  • 118
  • 155
3
votes
1 answer

Simian multiple excludes option

I use Simian to analyze the duplicate codes in my c# project. But I want to exclude two kind of situations. One is unit test files shouldn't be analyzed, the other is auto-generated file (such as Microsoft.Moles auto produces m.g.cs files) My…
Richard
  • 145
  • 1
  • 9
3
votes
1 answer

How do you use the maven-simian-plugin in Maven2?

I'm looking for a Maven2 reporting plugin for Simian and the closest thing to such a reporting I found is this. The problem is, the documentation for it appears to be for Maven 1 instead. Why is a Maven 1 plugin stored in a Maven 2 repository? I…
aberrant80
  • 12,815
  • 8
  • 45
  • 68
2
votes
1 answer

Simian excludes option

I am having some issues configuring the options for Simian Currently I have -includes=**/*.cs -formatter=xml:build\log\simian.xml -failOnDuplication I would like to add an -excludes option to exclude all files in a subfolder…
Matt Evans
  • 7,113
  • 7
  • 32
  • 64
1
vote
1 answer

Simian not detecting duplicate code in CruiseControl.Net integration

My Simian task looks like this: C:\\Program Files (x86)\simian\bin\simian-2.3.33.exe -includes=*.cs -formatter=xml:build\log\simian.xml-failOnDuplication The build log looks like…
Matt Evans
  • 7,113
  • 7
  • 32
  • 64
1
vote
1 answer

How do I specify negative/false command line switches in Simian Analyzer?

The Simian Analyzer can be invoked like this simian-2.5.1.exe *.cs which will launch it with all its default settings. Some of its flags/switches/options are Boolean and set to "true" as default. See here for the complete list. But how do I, in…
someName
  • 1,275
  • 2
  • 14
  • 33
1
vote
1 answer

Set up ignore block comments for Simian Ant Task

Is it possible to set up start and end comments for disabling simian in an Ant task? I've seen various forums talking about a command line option to disable simian for certain blocks of code using comments and I have tried this in the Ant task…
digiarnie
  • 22,305
  • 31
  • 78
  • 126
1
vote
2 answers

Which repository holds the Maven 2 Simian plugin?

Is there a Maven Simian plugin available for Maven 2.x? I can't seem to locate a repository which holds it. The earliest mention I could find was an unreleased version…
aberrant80
  • 12,815
  • 8
  • 45
  • 68
0
votes
0 answers

How to skip scanning symbolic links while using Simian for duplicate code detection

How to skip scanning symbolic links while using Simian for duplicate code detection? I am currently using Simian to scan a directory for duplicate code, but I would like to skip any symbolic links in the directory to avoid redundant…
0
votes
0 answers

How to get started with Simian and Munki

I'm working with these two apps but have little to no experience in this area (or real world programming at all). I'd like to dive in but I'm not really sure where to start. I understand that Simian and Munki are used to deploy and monitor…
0
votes
1 answer

Chaos Monkey:AWS EC2: HTTP/1.1 401 Unauthorized error on connecting to eu-central-1(frankfurt)

We are using Chaos monkey for resilience testing on AWS ec2 clients. When chaos monkey is trying to authenticate with the given secret key for frankfurt region, we are getting HTTP/1.1 401 Unauthorized error.We are using AWS SDK for Java. It is…
0
votes
1 answer

How do I get Simian to produce a nice HTML report I can email to everyone on the team?

I am trying to discover how great our problem is with duplicate code, therefore I need to be able to mail a nice report (HTML, PDF, or word) to everyone on the team that lists all the duplicates that are found. How do I create such a report? (At…
Ian Ringrose
  • 51,220
  • 55
  • 213
  • 317