Debug Android Java source code
The back garden of the straw hat-Neo
Previously written: This article mainly focuses on debugging the Java source code. It should be said that it is the source code after system_process. This is a powerful
For example, to count the workload of a Java programmer writing code in one day (for example, the number of lines of valid code, the number of blank lines, and the number of lines of comments), this tool may serve as a reference.
Idea: because the content of each Java source
PHP Code formatting tool http://www.waterproof.fr/products/phpCodeBeautifier/
Recently modified a code, there is no indentation, with this can be formatted a bit.
Equivalent to the previous C indent
By the way, write about other languages.
C, C + + C # ==> indent Astyle
Java ==> astyle Jalopy jacobe importscrbber
PHP =
easier it is to add new product features. Tools such as Checkstyle can help find places that can affect maintainability, conflict with coding standards, such as large classes, too long methods, unused variables, and so on.
about PMDAnother Open-source tool, called PMD, provides similar functionality as Checkstyle. I prefer Checkstyle, but PMD also has a lot of followers, so I suggest you take a look at t
Recently to use graphics verification code, the Internet to find information, reference changed a tool class, and added to the program, the following recorded to do the backup, the main reference to http://www.iteye.com/topic/573456 article changes, added comments, and Web page checksum verification code
Package Com.jd.jr.faecms.common.validateCode;
Import Javax
followers, so I suggest you look at this tool, after all, it is quite popular with some people.
The benefit of using Eclipse's CheckStyle plug-in is the ability to understand the various encoding conflicts in the source context during encoding, making it more likely that developers will actually handle these conflicts before checking in the code. You can
mechanism to develop a unified indentation specification is a truly operable system.
Introduction to several open-source code beautification tools
Tool Name applicable language introduction installation/Use
Cindent is synonymous with code beautification tools. indent is a standard tool attached to GCC,
Indent [Optio
Package common.util;
Import Java.util.concurrent.ExecutorService;
Import java.util.concurrent.Executors;
Import Java.util.concurrent.Future;
/** Threading Tool class/public class Threadutil {/** maximum number of threads for long time thread pool * * private static final int max_thread = 2;
/** A long time thread timeout, if the thread execution time exceeds this time will automatically release * * private static final int long_timeout_time = 6
develop a unified indentation specification is a truly operable system.Introduction to several open-source code beautification tools
Tool Name
Applicable Language
Introduction
Installation/Use
Indent
C
Indent is synonymous with code beautification tools
Indent is a standard
PMD 5.7.0 was released. PMD is a Java program code checker that is released using the BSD protocol. The tool can check whether the Java code contains unused variables, contains empty fetch blocks, contains unnecessary objects, and so on. The software is powerful and highly e
Java Static Code analysis tool inferCHSZS, reprint need to indicate. Blog home: Http://blog.csdn.net/chszsI. Introduction of InferInfer is Facebook's latest open source static program analysis tool for analyzing code before publishing a mobile app to identify potential probl
1 What is findbugsfindbugs is a static analysis tool that examines a class or JAR file and compares bytecode to a set of defect patterns to identify possible problems. With the static analysis tool, you can analyze the software without actually running the program. Rather than determining the intent of a program by parsing the form or structure of a class file, it is common to use the Visitor pattern to ide
Java Decompiler "Java Anti-compilation": The Development of the Anti-compilation tool, you can easily view the *.class file source code. Here are a few ways to view the source code: Tools Plugins1, Jd-guiJd-gui is a graphical interface
There are a lot of plug-ins in the eclipse environment that can help us with the static analysis of the code, which can help us find bugs in the code as early as possible. Here are a few common plug-ins:
1. PMD
We can install the PMD plug-in for eclipse through Http://pmd.sourceforge.net/eclipse.
PMD is a Java source Code
development manual will explain each knowledge point step by step, each knowledge point is described based on a complete example. The knowledge points echo each other before and after each other to ensure that learners learn from each other and learn from each other.
★Comprehensive Technical Support:In addition to providing complete development manuals and sample code, we also provide blogs and QQ groups to answer all the problems encountered durin
Source code DownloadLog4j is the de facto Java standard logging tool. Whether to use log4j to a certain extent can be said to be a measure of a developer is a qualified Java programmer standards. If you are a Java programmer, if you are not using log4j, you really need to re
operation, and after the operation, after the memory growth. Hprof. If memory is growing, it is advisable to 3, 4 times. Then open the histogram (histogram) view separately, and in the object list, compare the retained size changes for each object.The first bit is not necessarily a leaked object, it is possible that it itself is a normal consumption of memory.The object of the leak was the sudden rise in the rankings. The distinguishing method is to look at the memory address of each object, th
1. Open various System Tools2. Timed Shutdown (for restart and sleep failure, refer to the above twoArticleSelf-scaling)3. Simple File Operations
CopyCode The Code is as follows: [Java]
Package com. cxy. F;
Import java. AWT. image;Import java. AWT. menuitem;Import java
Java Development Tool IntelliJ IDEA Tutorial: unit test and code coverage
This article shows how to use IntelliJ IDEA to develop Unit Testing and Analysis coverage.
1. Create a new project
Create a Java project named UnitTestingApp.
2. Create a class for testing.
Create a new class for testing.
The add method sayHell
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.