Filter by:
File Violation Severity
api/pacman-api-admin/src/mai...rvice/PolicyServiceImpl.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
api/pacman-api-admin/src/mai...rvice/PolicyServiceImpl.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
api/pacman-api-admin/src/mai...rvice/PolicyServiceImpl.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
api/pacman-api-admin/src/mai...rvice/PolicyServiceImpl.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
api/pacman-api-compliance/sr...onfig/CrossOriginFilter.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
api/pacman-api-compliance/sr...onfig/CrossOriginFilter.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
api/pacman-api-compliance/sr...onfig/CrossOriginFilter.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
api/pacman-api-compliance/sr...onfig/CrossOriginFilter.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
api/pacman-api-compliance/sr...onfig/CrossOriginFilter.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
jobs/pacman-rule-engine-2.0/...ons/autofix/AutoFixPlan.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
jobs/pacman-rule-engine-2.0/...ons/autofix/AutoFixPlan.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (method chain calls)
Warning
jobs/pacman-rule-engine-2.0/...ons/autofix/AutoFixPlan.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (method chain calls)
Warning
jobs/pacman-rule-engine-2.0/...ons/autofix/AutoFixPlan.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (method chain calls)
Warning
jobs/pacman-rule-engine-2.0/...ons/autofix/AutoFixPlan.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
jobs/pacman-rule-engine-2.0/...ons/autofix/AutoFixPlan.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (static property access)
Warning
jobs/pacman-rule-engine-2.0/...ons/autofix/AutoFixPlan.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
jobs/pacman-awsrules/src/mai...verityVulnerabilityRule.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (object not created locally)
Warning
99
 
100
		if (resourceAttributes != null) {
101
			instanceId = StringUtils.trim(resourceAttributes.get(PacmanRuleConstants.INSTANCEID));
102
			try {
103
				List<String> severityList = PacmanUtils.getSeverityVulnerabilitiesByInstanceId(instanceId,ec2WithVulnInfoForS5Url, severityVulnValue);
104
				if (!severityList.isEmpty()) {
105
␣␣␣␣␣
106
					annotation = Annotation.buildAnnotation(ruleParam,Annotation.Type.ISSUE);
107
					annotation.put(PacmanSdkConstants.DESCRIPTION,"An Ec2 instance with vulnerability "+ severityVulnValue + " found!!");
108
					annotation.put(PacmanRuleConstants.SEVERITY, severity);
109
					annotation.put(PacmanRuleConstants.CATEGORY, category);
jobs/pacman-cloud-discovery/...entoryFetchOrchestrator.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (method chain calls)
Warning
jobs/pacman-cloud-discovery/...entoryFetchOrchestrator.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (method chain calls)
Warning
api/pacman-api-admin/src/mai...rvice/PolicyServiceImpl.java LawOfDemeter   (kritika/PMD Java)
Potential violation of Law of Demeter (method chain calls)
Warning