ã¯ããã« ããã«ã¡ã¯ã ããã¿ã¤ã ã¸ã£ãã³ã§ç¤¾å JiraãBitbucketã®éç¨ããã¦ãã TAKE ã§ã. å¼ç¤¾ã§ã¯SonarQubeã®Communityçã¨Developerçã®ï¼ã¤ã使ãåãã¦ãã¾ã. ããã§ããã£ãããããã®å©ç¹ã«ã¤ãã¦ãä¼ããããã¾ã. çµè« ã©ã¡ããçæ¹ã ãã«çµããããããã¯ããå é¨ãã¼ã«ãªã©ãªãã¸ããªã®éè¦åº¦ã«ãã£ã¦ä½¿ãåãããã¨ã大åã ã¨æãã¾ã. æ¯è¼ æé ä¸çªå¤§ããã¨ããã¯ããã§ãã. ä¸è¨ã®è¡¨ã®ããã«ãªã£ã¦ãã¾ã. è¡æ°æ¯ã®èª²é㯠100,000è¡ 14,470å 250,000è¡ 108,526å 500,000è¡ 217,086å 1000,000è¡ 361,810å â» 2019/12/11æç¹ã®çºæ¿ã§ã ãã¹ã¦ã®ãªãã¸ããªã«ãããã¨ãªãã¨,ãã£ããæ¤è¨ããããªããå¤æ®µè¨å®ã§ãã. ç°å¢æ§ç¯ Communityçãå§åçã«æ¥½ã§Dockerã¨d
SonarQubeServerã®æ§ç¯ ããã§ã¯ãã£ããSonarQubeã®ç°å¢ãæ§ç¯ãã¦ããã¾ãï¼ ã¾ãã¯EC2ä¸ã«SonarQubeServerãæ§ç¯ãã¦ã¿ã¾ãã ä»åã¯ä¸è¨ã®ãããªç°å¢ãæ§ç¯ãã¦ããã¾ãã ã¤ã³ã¹ã¿ã³ã¹ã¿ã¤ãï¼t2.medium OS:Amazon Linux2 DB:postgresql-9.2.23-3.amzn2.x86_64 JDK:openjdk:1.8.0_171 SonarQube:7.2.1 EC2ã¤ã³ã¹ã¿ã³ã¹ã®ä½æ æé ã¯çç¥ãã¾ãã GIPãå²ãå½ã¦ã¤ã¤ãã»ãã¥ãªãã£ã°ã«ã¼ãã§22,9000ãã¼ãã解æ¾ãã¦ããã¦ããã¦ä¸ããã Postgresã®ã¤ã³ã¹ãã¼ã«ã¨åæè¨å® ä½æããEC2ã«ã¾ãPostgresã®ã¤ã³ã¹ãã¼ã«ãè¡ãã¾ãã sudo yum install postgresql-server sudo systemctl enable pos
What's CentOS 8ã«ãSonarQubeãµã¼ãã¼ã®8.6ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ãã SonarQubeã¨ã¯ SonarQubeã¯ãã½ã¼ã¹ã³ã¼ãã®ãã°ãèå¼±æ§ãªã©ãæ¤åºãããã¼ã«ã§ãã 使ãæ¹ã¨ãã¦ã¯2ã¤ããããã§ãã IDEãªã©ã§ã½ã¼ã¹ã³ã¼ããæ¸ãæã«ä½¿ãSonarLint ãã«ãããã¹ãå®è¡æã«è§£æãè¡ãSonarQube scanner SonarQube scannerã¯SonarQubeãµã¼ãã¼ã«çµæãéä¿¡ãã ä»åã¯ãSonarQubeãµã¼ãã¼ãCentOS 8ã«ã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ãã SonarQubeãµã¼ãã¼ SonarQubeã®ãã¦ã³ãã¼ããã¼ã¸ã«è¡ãã¨ã4種é¡ãããã¨ã確èªã§ãã¾ãã Download Community EditionãDeveloper EditionãEnterprise EditionãData Center Editionããããã§
ã³ã¼ãåæã¨ã¯ ç¶ç¶ãã¦ã¢ããªã±ã¼ã·ã§ã³ãéçºãã¦ããä¸ã§ã¯ãã³ã¼ãã®ä¿å®æ§ãéè¦ã«ãªã£ã¦ãã¾ããç¹ã«ãã¼ã ã®éçºã§ã¯ãã¡ã³ãã¼ã®ã¹ãã«ã«ãã©ã¤ãããããããä¸ã«ã¯ãã¾ãè¯ãã¨ã¯è¨ããªãå質ã®ã³ã¼ããæ¸ããã¦ãã¾ããã¨ãããã¾ãã ãããã£ãåé¡ã«å¯¾å¦ããããã®æ¹æ³ã«ã¯ããã¤ãããã¾ããæèè ãä»ã®ã¡ã³ãã¼ã«ããã¬ãã¥ã¼ãéãã¦ç´ãã¦ããã¨ããæ¹æ³ããã®ä¸ã¤ã§ãããããããã£ããã®è²´éãªã¬ãã¥ã¼ã®å ´ããããæå³äºæ«ãªãã³ã¼ãã£ã³ã°ã«ã¼ã«ãã¨ãããããªãã®ã®ææã«è²»ããã®ã¯ãé常ã«ãã£ãããªããã¨ã§ããã¬ãã¥ã¼ã§ã¯æ©è½è¦ä»¶ã«æ²¿ã£ãå 容ãã³ã¼ãã®è¨è¨ãæ§é ã¨ãã£ããã人ã§ããã§ããªãããã¨ã«æ³¨åããããã®ã§ãã ããã§ããã³ã¼ãã£ã³ã°ã«ã¼ã«ãã®ãããªæ±ºã¾ããã£ããã®ã«ã¤ãã¦ã¯ããã¼ã«ã使ã£ã¦æ¤åºããç´ãã¦ããã¾ãããããã®ããã®ãã¼ã«ã®ä¸ã¤ããä»åç´¹ä»ããVisual Studioã«æè¼ããã
éçã³ã¼ã解æ (ããã¦ãã³ã¼ããããããstatic code analysis) ã¾ãã¯éçããã°ã©ã 解æ (static program analysis) ã¨ã¯ãã³ã³ãã¥ã¼ã¿ã®ã½ããã¦ã§ã¢ã®è§£æææ³ã®ä¸ç¨®ã§ãããå®è¡ãã¡ã¤ã«ãå®è¡ãããã¨ãªã解æãè¡ããã¨ãéã«ã½ããã¦ã§ã¢ãå®è¡ãã¦è¡ã解æãåçããã°ã©ã 解æã¨å¼ã¶[1]ãéçã³ã¼ã解æã¯ã½ã¼ã¹ã³ã¼ãã«å¯¾ãã¦è¡ããããã¨ãå¤ãããå°æ°ãªãããªãã¸ã§ã¯ãã³ã¼ãã«å¯¾ãã¦è¡ãå ´åããããã¾ãããã®ç¨èªã¯ä»¥ä¸ã«åæãããã¼ã«ã使ç¨ãã解æãæå³ãããã¨ãå¤ãã人éãè¡ãä½æ¥ã¯ã¤ã³ã¹ãã¯ã·ã§ã³ãã³ã¼ãã¬ãã¥ã¼ãªã©ã¨å¼ã¶ãæ¥æ¬èªã§ã¯éçã³ã¼ãåæã¨ã訳ããã[2]ã ãã¼ã«ãè¡ãéçã³ã¼ã解æã®æ´ç·´åº¦ã¯ãåã ã®æã宣è¨ã ããæ¤è¨¼ãããã®ãããããã°ã©ã å ¨ä½ã解æãããã®ã¾ã§æ§ã ã§ããã解æçµæã®å©ç¨ãæ§ã ã§ãLintã®ããã«åã«ææããã ãã®
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}