Automatic refactoring tools? [closed] - refactoring

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a tool that will scan your code and suggest which refactoring to perform, based on duplicate code segments that it finds?
Let's say I'm specifically interested in C#/Java, but I'm open for tools in other languages as well.

We use Teamcity with duplicate finder

I haven't used it, but Clone Doctor might work for you.

For Java you have static code review tools to search for violations of a set of chosen rules, with some of the rules covering code duplication. Checkstyle has rules to find duplicate code and duplicate string literals. Another option is the PMD's Copy/Paste Detector.
These tools don't do refactoring themselves, but can help you find code that might need changes.

For Haskell, there's hlint, which proposes concrete refactorings (i.e. the resulting code), which is possible because of referential transparency.

For your need, Designite could be a useful tool. This is a software design quality assessment tool. It takes C# code, analyzes it and detects design smells in the code. At the same time, it also provides a few but important OO metrics.

Related

Static code analysis tool for terraform [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
Is there any static code analysis tool for terraform? I tried tflint. But it doesn't support output of module or attributes of resources. any other suggestion please
Terrascan is another static analysis tool in addition to TFLint. Terrascan is more focused on security checks for AWS resources.
Checkov is another terraform static analysis tool. Scanning multi-cloud resources for security miss configurations and supports terraform>=0.12
There is also TFsec, which is pretty good.
I'm working on a product that allows you to try a bunch of these scanners pretty easily and help integrate with your CI/CD called Soluble to determine which scanner works best for your environment. Always appreciate feedback.
you may also checkout enterprise grade solutions (google you will find them) similar to aquasec solution.
I would create a comparison table, pros and cons and then consider the best.

Alternatives to SchemaSpy [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am looking for a open source tool that can be used to generate ER diagram. Currently, this is done using SchemaSpy. Maven scripts are invoked during jenkins build to generate these data model diagrams. I have tried POCs using SchemaCrawler as well. However, the results are not much satisfactory. Would appreciate if I can get pointers to alternative tools that can be used along with the same setup (maven and jenkins).
If you would like to find out good alternatives to SchemaSpy try to use and test this tools:
SchemaCrawler
Red-Gate SQL Doc (not FOSS)
Dataedo (not FOSS)
SchemaSpy 6.0
Each of them has different advantages and disadvantages SchemaCawler is also open source java based and free. SchemaSpy 6.0 this is new version of SchemaSpy that has better look and feel plus fix some major issue.
Dataedo is very interesting tool that has also possibility to generate documentation to pdf, html. With Dataedo you can write comments of tables and columns and after apply them on your database. As I remember on supplier page you can find also free version.
The last solution that I want to recommend is Red-Gate SQL Doc. This is also generate nice looking documentation and has many options. But as usually this solution is not free you need pay to use it.

How do websites achieve the 'Web 2.0' look and feel? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm not sure that I'm using the correct language here so I will give some examples of web sites which I believe have 'Web 2.0'look and feel
https://www.yammer.com/
http://www.heroku.com/
https://foursquare.com/
http://24sevenoffice.com/
http://www.formassembly.com
They all have big text, big buttons, plus very slick and tasteful AJAX/CSS. My question is how is this look and feel assembled? Some possible ideas I have had:
. Underlying library such as jQuery/GWT
. Handled by web framework such as Rails/Django
. Coded completely from scratch
To me all the sites have sufficient similarity that there does seem to be some type of underlying common mechanism. The reason I'm asking is that as a developer I'm wondering if I can assemble a Web 2.0 looking site using some type of tool kit.
There are common frameworks and tools to help with the development, sure. You mention two of them. However, a tool alone isn't going to do it. Not unless you just entirely conform to some kind of brown-and-serve framework. (I don't know of any off-hand.)
Good look and feel comes from good UI/UX design. I'll bet that each of those example sites you gave has a talented graphic designer behind it (either on staff or contracted for making the site) who is proud of their creative work, and simply used some tools to help facilitate that work.
I have just discovered Bootstrap and this is exactly what I was looking for

Looking for a class cleaner/formatter plug in for visual studio [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Looking for a class cleanup/formatting plug-in for visual studio. Using ReSharper, but looking for something that will allow me to position members. i.e. private members at the top of the class, constructors next etc.
Anyone know of something that offers this?
Cheers
download dxcore and classCleaner and you can format your code anyway you like. if you do decide to customise classcleaner you are likely to get hooked.....
From the looks of it, the StyleCop plugin for ReSharper will do this if you run Code Cleanup. In particular, it has fixes for StyleCop Rule SA1201 specifying ordering.
ReSharper will allow you to control where members are placed in the file during code cleanup.
Take a look at:
ReSharper | Options | Languages | C# | Type Members Layout
http://www.jetbrains.com/resharper/features/screenshots/40/automatic_member_layout_full.png
Deselect Use Default Patterns to enable the textbox beneath. This allows you to specify, in great detail, what should go where.
The downside is that it takes a while to get your head around the notation used in the specification.
I believe this option is only available for C# code.

SNMP MIB development tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Does anybody know a good tool to assist in the development of an SNMP MIB with correct formatting and syntax?
If possible, it should be free and run under Linux.
You could always use the snmp-mode in emacs for syntax highlighting.
For a very quick & dirty systax-hightlighter, try the default color syntax highlighting in vim. Below is a screenshot from a MIB-II file in vim.
According to this net-snmp howto, there is a tool called smilint from the smilib package that they recommend. Sounds more directed than using snmptranslate.
See also this ietf page for descriptions on usage.
I've been using MIB Explorer Lite which has a syntax checker whenever you load a MIB. There's a free trial which I think lasts about 30 days.
I used http://www.mibdesigner.com/ couple of times and I find it to be a valuable tool significantly reducing the MIB design time.
It allows me to easily reorder parts of MIB and rename OIDs. More important it checks not only for invalid syntax but also for commonly used design and recommendation violations. The output is nicely formatted.

Resources