Recently in learning Sonar, configured for several days, only to build up the environment, for their own learning ability feel ashamed, hurriedly in this record, so-called good memory than bad pen.1. Sonar IntroductionSonar is an open source platform for code Quality management that manages the quality of Java source code.Through the plug-in mechanism, Sonar can
Address: http://www.cnblogs.com/ericsun/archive/2011/09/19/2180827.html
I. Brief Introduction
PrefaceSonar is an open-source platform for managing the quality of Java source code. From sonar 1.6, sonar has changed from a quality data reporting tool to the current code quality management platform.
Main features
1) code coverage: the unit test will show the lines of code selected.
2) Improve coding rules
3)
.
• When the projector is turned off, the video signal from the tablet computer will be displayed on the external monitor via the HDMI interface.
Precautions:
To use a projector on the ThinkPad X1 Tablet presenter Module:
The computer must have the ThinkPad X1 Tablet presenter Module eject utility installed. Your computer may be pre-installed with this program.
Preface
Sonar related information is divided into 2 chapters, part of Sonar, part of Sonar runner, this study is sonar.
The sonar plugin relies on the Sonar runner plug-in, and the sonar
The shortest distance from a point (x3,y3) to a line passing through a point (x1,y1) and a point (X2,y2)public static double Getmindistance (MapPoint pt1, MapPoint pt2, MapPoint pt3){Double dis = 0;if (pt1. X = = Pt2. X{dis = Math.Abs (pt3. X-pt1. X);return dis;}Double Linek = (pt2. Y-pt1. Y)/(pt2. X-pt1. X);Double Linec = (pt2. X * pt1. Y-pt1. X * pt2. Y)/(pt2. X-pt1. X);dis = Math.Abs (Linek * pt3. X-pt3. Y + Linec)/(MATH.SQRT (Linek * Linek + 1));r
First, install the Sonarqube service end, in other Computer browser landing, start to install other programming language detection plug-ins
The system has installed language plug-ins:
Download the languages that are commonly used in software projects:Android,CSS,Web,XML
Java-Related:Checkstyle,Findbugs,PMD
Java Static Analysis tool profiling objects
Application Technology
Checkstyle
Java source files, defect pattern matching
Findbugs
Byte
The status of JS windows can control the State Bar information (the effect is not visible on IE9)var space_num=0; var dir=1; function Myscroll () { var space_my= ""; Space_num=space_num+1*dir; if (space_num>50 | | space_num Dir=dir*-1 } for (Var i=0;i space_my+= "" } window.status=space_my+ ' Hello World ' } function Startit () { SetInterval (' Myscrol
CnCxzSecs Blog
Brief description:Discuz! 7.2/X1 mood wall plug-in SQL injection and persistent XSS vulnerabilities.SQL injection is quite bad, and GPC is required to be off (currently, such websites are almost out of print)Because XSS is persistent, It is triggered as long as the administrator opens the application. How to Use XSS is wise.
Detailed description:By Discuz! Authenticated (Http://addons.discuz.com/workroom.php) Mood wall plug-ins (Http://
EasyTalk Weibo system X1.X File Inclusion Vulnerability. The $ _ GET [out] parameter in the PluginsAction. class. php file is not filtered and is directly called to contain files, resulting in a vulnerability.
PluginsAction. class. php:
--------------------------------------------------
Class PluginsAction extends Action {
Public function index (){$ App =$ _ GET [app];$ Action = $ _ GET [action];$ Out = urldecode ($ _ GET [out]); // note
If (@ file_e
Failure phenomenon:
When you install the Cisco WebEx application on the ThinkPad X1 tablet machine, it is possible for the program to stay on the 99% progress bar for 3-10 minutes at the installation interface. When the installation is complete, devices such as the system's microphone may not be detected properly in the WebEx meeting.
Impact Models:
ThinkPad X1 Tablet (20
-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/89/13/wKiom1gG7AnDT0TNAAFGj3TKGOs414.png "width=" 1077 "height=" 667 "/>Second, install the command line analysis sideSonar's command-line analysis software has two runner and scanner, the official document is written in scanner, but runner and its installation, use is basically the same.1. Install sonar-runner-dist-2.4 on CentOScd/usr/local/src/wget Http:/
sonar--Code Quality management platformFirst, basic understandingSonar (SonarQube) is an open source platform for managing the quality of source code. Sonar is not just a quality data reporting tool, but also a code quality management platform. through the plug-in mechanism,sonar can integrate different test tools, code analysis tools, and continuous integration
The method of increasing sonar height by MWC flight controlPresent situationMWC Open source flight control has been a bit of a year, and now a lot of new cross-machine to cc3d, Aerial camera switch to APM, commercial flight control is also a lot. But MWC as an Arduino based open source flight control, can be said to be very mature and code easy to understand, cheap, the effect is good, so my four-axis platform is still using the MWC flight control. MW
Rom Introduction
This rom has removed the official recovery. After the phone is flushed, the recovery of the mobile phone will not be replaced. It is easy to fl the ROM into other Rom.
1. Maintain the development version of WiFi and network optimization.
2. Standby RF optimization. And power-saving code optimization. Mobile phones consume less power. Longer standby time
3. The camera is normal. High focus speed. Better imaging effect
4. Optimize the GPS configuration file. Effectively impro
Now the newly purchased laptops are basically built with Windows 8 systems, and there are some other software services of various manufacturers, such as a restoration system of thinkpad, which has a hidden partition on the hard disk. However, for most people, the built-in system is not what they want, and many of the built-in functions are not used. This is the case with the notebook I will introduce.
Thinkpad X1 carbon ultraboo, just arrived, no sett
123456789Ten - to + - the * $Stroke-width= ' 3 ' stroke-opacity = '. 3 ' fill-opacity = '. 9 'Panax Notoginseng>Transparent) Although none is the same as the transparent effect but the mechanism is completely different none is not populated transparent -Is transparent, outlines the stroke as no style = "fill: #09F3C7; stroke: #C7F309;" stroke-opacity = '. 3 ' fill-opacity = '. 9 '-- the + a the[javascript svg fill stroke stroke-width x1 y1 x2 y2 line
Jenkins + maven + git + sonar system continuous integration code Test Management, jenkinsmavenJenkins + maven + git + sonar system continuous integration code Test ManagementInstall JenkinsJenkins is a Java-based continuous integration tool used to monitor continuous repetitive work. features include: 1. Continuous software version release/test projects. 2. Monitor the execution of external calls.1. downl
HudsonIs a scalable continuous integration engine. It is mainly used for: continuous and automatic construction/testing of software projects. It monitors some scheduled tasks.
SonarIt is an open-source quality management platform that focuses on continuous analysis and measurement technology quality from projects to class methods. It integrates code quality-related software for unified management;
To put it simply,
HudsonIs a continuous, automatic building/testing software project,
WhileSonarIt
1. Code Quality seven CrimesSonar is a code quality management system, its help document opening Ming Yi, put forward the code quality of the seven crimes, summed up in place, may wish a look:1. Bugs and Hidden Bugs (Bugs and potential Bugs)2. Violation of code specification (Coding standards Breach)3. Copy and paste (duplications)4. Lack of unit testing (Lack of unitTests)5. Poor complexity distribution (baddistribution of complexity)6. Pasta Designs (spaghettidesign)7. Insufficient or excessiv
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.