Can I see checked rules list in a project? [duplicate] - filter

This question already has an answer here:
SonarQube - How to see more than the first 15 violations?
(1 answer)
Closed 5 years ago.
I made to run sonarqube. And many bugs were caught in the project.
So when I loaded Issues page, I filtered rules like link image...
I think a lot of bugs was caught many rules in the sonarqube. But I can not see all of rules in the left side of a issues page.
Can I see all rules that bugs were caught ??
Sorry about my poor English... And Thanks a lot in advance..
enter image description here

It's not possible to get this list through the UI. However, you could use web services to
get the list of all rules active in the appropriate profile
get the issue count in your project for each rule

Related

Bracket.io - PHP Syntax highlighter

I am running the latest version of Adobe Brackets.io (v1.14.1) and would like to be able to highlight PHP tags (eg. <?PHP and ?>) in a different color (eg. red).
Now, I can appreciate that Brackets is focused on design and CSS aspects of web-development, but having searched this question beforehand I found that this is a rather popular request, hence was wondering if there has been update on this matter?
I downloaded extension "PHP SmartHints" reading that it would allow for this feature, but sadly does not.
Appreciate any recommendations on how to set this up.
Thanks
EDIT: this questions was asked almost 5 years ago here but has no accepted answer.

How to create a JMeter Plugin [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I've been trying to figure out how to add on to the functionality of JMeter for a couple days, and I'm sort of stumped. I basically want to build a testing functionality of a proprietary DB (it's not too important on the specifics here). However, the issue I am encountering is where to even begin with the creation of the functionality.
I've tried various stuff on the JMeter website (an example) and the wiki (an example), but it all boils down to I can't seem to find a repository which I can pull into eclipse (or with just building with ant, I can't seem to download_jars because it can't connect to the repo listed in there). Is there any up to date resources on how to build a JMeter plug in? Or am I doing something wrong here because I am inexperienced in setting up something like this?
Any help is greatly appreciated, but please don't just link the first thing on google; I have done quite a bit of searching already. Thanks!
Edit: It turned out the reason I couldn't get eclipse working with a repo was due to the network restrictions I had to deal with. When I tried on another computer/network, it worked fine. I used this jmeter tutorial, but since it is out of date regarding the repository (they use SVN now), I used http://svn.apache.org/repos/asf/jmeter as the root using subclipse. In case anyone runs into the same problem I did.
I have also searched for a building jmeter plugin for my graph plugin stuff. I got a simple and good source code from Ruben laguna's blog. You can understand the basic structure and steps to create jmeter plugin.
Check out this:
Graph plugin - http://rubenlaguna.com/wp/better-jmeter-graphs/
Enhanced-jdbc-sampler - http://rubenlaguna.com/wp/enhanced-jdbc-sampler-for-apache-jmeter-22/

After SONAR and plug-in upgrades, all false-positives reappeared

Recently we upgraded our SONAR from 3.x to 4.3. There was an error in our Jenkins build (squidindex was null) which triggered the upgrade of the java from 2.2 to 2.2.1 along with the plugins for JaCoCo, Findbugs, Squid for Java, and Surefire.
Once SonarQube was up and running again, we discovered that although no code changes had taken place, we now had over 200 critical issues as well as a high number of major ones. Upon research, it became apparent that all of our previously marked false-positives had now reappeared.
Obviously we want to find a way to fix this besides walking through over a thousand various issues and re-marking them.
We have done some research in the database and have discovered a puzzle that we think might be related. In the Issues table, we have found that there are duplicate entries where the first difference is that one entry has the simple file name and the other entry has the file name along with the extension.
(I had an image of a few lines from the database to put here, but as I do not yet have a 10 reputation, I cannot. Please contact me and I will be glad to email the image. Sigh.)
As you can see, Lines 2 & 3 both refer to line 134 in the file PersistentObjectCollection.java. Line 2 shows that the issue is FIXED and CLOSED while Line 3 shows the same issue as Open and null resolution.
We are wondering if we could safely use SQL to find matched pairs like this and copy the necessary columns across to register the issues properly?
Can you please take a look and tell me if this is something feasible to do, or if there is a better alternative to try.
Question already asked on the SonarQube mailing list : http://sonar.markmail.org/thread/kpx3une24lwoilli
Please don't duplicate question !!

Joomla article showing an unwanted 1 one every page

It's been over a month now of me trying to find help for my site, not a single person has been able to help me. I believe if someone were to simply go on the backend of my site, then perhaps it could be fixed quickly.
My issue is I have an article that's showing a 1 on every page. I believe that '1' was replaced by a former developer where perhaps the article title went. When I hover over it with Firebug, it's showing:
<div class="item-page">
1
<p></p>
</div>
I've personally spent about 9 hours now trying to find it. I've been suggested to look in the template area many times. The 1 still shows up in the articles when I switch templates. Not that it seems to matter, I'm using Rockettheme.
Please don't recommend I simply go to the article manager and fix it; that's the first place I looked. Remember, it's showing up for every Single Article.
I would deeply appreciate any help; I'm in a bit of a desperate situation here.
Thank you for your time!!
I'm not sure why my question was voted down?
That's a bug that existed many many years ago. You need to update to the current version of Joomla. (Not migrate--update to the current release of your version)
Try disabling all content plugins and see if it goes away. One of the content plugins may be adding content to the articles.

Joomla and Google Analytics with advanced options [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to insert google analytics tracking code in my joomla site.
so i registered in the official site of google and saw there is an advanced tab with three more options than standard.
Do i have to check "i want to track dynamic pages" and "i want to track php pages"?
Do these options provide me better results or they are necessary for a dynamic site based on php like joomla?
Also where do i place the tracking code? Because of some bugs some say it is better just after the tag whereas other say just before the tag.
Thank you
General SEO advice: with Joomla you don't need to track pages dynamically, if you want, you can turn on SEF and use robots.txt, ror.xml and sitemap.xml (the first and last files are very important to google).
I also recommend on using Google webmaster tool to update Google whenever you post a new article as well as to check if there are crawling errors and remove "bad" URLs from google.
Like I commented on the other answer, tracking code should be located just before the closing tag for your web page - I recommend on placing the tracking code in the template! (even though you can copy and paste it separately into each article - this option should be done only on rare cases that you need to pass different parameters to GA from different articles.
Update:
Regarding your comment: yes, if you go to the "admin" section, then to "tracking code" you'll see the following option:
All it does is provide a different way of including the tracking code in your pages. I got to admit that I didn't use this option with a few Joomla and WP websites I've dealt with, and it still works totally fine. But if Google recommend on doing so - by all means go ahead and do it!
Judging by this source on setting up GA, it is important for PHP websites that you include the google tracking script at the bottom of the page before the </BODY> tag. I'm struggling to find any information that would give relevance to the questions you have mentioned above, beyond the fact that choosing different checkboxes shows you different instructions to setting up your script.

Resources