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
46
    public void doFilter(ServletRequest req, ServletResponse resp,
47
            FilterChain chain) throws IOException, ServletException {
48
        HttpServletResponse response = (HttpServletResponse) resp;
49
        response.setHeader("Access-Control-Allow-Origin", "*");
50
        response.setHeader("Access-Control-Allow-Credentials", "true");
51
        response.setHeader("Access-Control-Allow-Methods",
52
                "GET, POST, PATCH, PUT, DELETE, OPTIONS");
53
        response.setHeader("Access-Control-Max-Age", "3600");
54
        response.setHeader(
55
                "Access-Control-Allow-Headers",
56
                "Origin, Authorization, X-Requested-With, Content-Type, Accept, X-Auth-Token, X-CSRF-TOKEN");
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
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