Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/checkstyle/java_copyright.header
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/\*$
\W\* method-use-analyzer
\W\*
\W\* Copyright \(C\) \d\d\d\d Synopsys Inc\.$
\W\* Copyright \(C\) \d\d\d\d Black Duck Software, Inc\.$
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Currently, Eclipse is the supported IDE for development. It is recommended to cr

### Custom Setup

To run tests, the property `com.synopsys.method.analyzer.test.project.dir` must be set to the file path of the `method-analyzer-test-project` directory in the run/debug settings of TestNG. Executions of the tests from the command line via Gradle are configured with this value automatically.
To run tests, the property `com.blackduck.method.analyzer.test.project.dir` must be set to the file path of the `method-analyzer-test-project` directory in the run/debug settings of TestNG. Executions of the tests from the command line via Gradle are configured with this value automatically.


## General Standards
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General library settings
group=com.synopsys
version=0.2.10-SNAPSHOT
group=com.blackduck
version=1.0.0-SNAPSHOT

org.gradle.console=plain
org.gradle.warning.mode=all
Expand Down
2 changes: 1 addition & 1 deletion method-analyzer-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
// Configure tests with directory for test project
// This requires setting up TestNG run/debug properties within IDE imports to execute tests
test {
systemProperty 'com.synopsys.method.analyzer.test.project.dir', "${project(':method-analyzer-test-project').projectDir}"
systemProperty 'com.blackduck.method.analyzer.test.project.dir', "${project(':method-analyzer-test-project').projectDir}"
}

publishing {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core;
package com.blackduck.method.analyzer.core;

import java.io.IOException;
import java.io.InputStream;
Expand All @@ -40,13 +40,13 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.blackduck.method.analyzer.core.bytecode.ClassMethodReferenceVisitor;
import com.blackduck.method.analyzer.core.model.MethodUse;
import com.blackduck.method.analyzer.core.model.ReferencedMethod;
import com.blackduck.method.analyzer.core.report.ReportGenerator;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import com.google.common.collect.Multimap;
import com.synopsys.method.analyzer.core.bytecode.ClassMethodReferenceVisitor;
import com.synopsys.method.analyzer.core.model.MethodUse;
import com.synopsys.method.analyzer.core.model.ReferencedMethod;
import com.synopsys.method.analyzer.core.report.ReportGenerator;

/**
* Represents functionality to analyze and report on the external method calls made within a Java project
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.bytecode;
package com.blackduck.method.analyzer.core.bytecode;

import java.util.List;
import java.util.Objects;
Expand All @@ -39,9 +39,9 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.blackduck.method.analyzer.core.model.MethodUse;
import com.blackduck.method.analyzer.core.model.ReferencedMethod;
import com.google.common.collect.Multimap;
import com.synopsys.method.analyzer.core.model.MethodUse;
import com.synopsys.method.analyzer.core.model.ReferencedMethod;

/**
* Represents handling for traversing ASM's byte code model to accumulate method reference information within a project
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.bytecode;
package com.blackduck.method.analyzer.core.bytecode;

import java.util.Collection;
import java.util.HashSet;
Expand All @@ -31,13 +31,13 @@

import javax.annotation.Nullable;

import com.blackduck.method.analyzer.core.model.MethodUse;
import com.blackduck.method.analyzer.core.model.ReferencedMethod;
import com.google.common.collect.HashBasedTable;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;
import com.google.common.collect.Table;
import com.google.common.collect.Table.Cell;
import com.synopsys.method.analyzer.core.model.MethodUse;
import com.synopsys.method.analyzer.core.model.ReferencedMethod;

/**
* Represents handling for tracking referenced methods throughout a project
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -26,4 +26,4 @@
*
* @author romeara
*/
package com.synopsys.method.analyzer.core.bytecode;
package com.blackduck.method.analyzer.core.bytecode;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.model;
package com.blackduck.method.analyzer.core.model;

import java.util.Objects;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.model;
package com.blackduck.method.analyzer.core.model;

import java.util.List;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -26,4 +26,4 @@
*
* @author romeara
*/
package com.synopsys.method.analyzer.core.model;
package com.blackduck.method.analyzer.core.model;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -26,4 +26,4 @@
*
* @author romeara
*/
package com.synopsys.method.analyzer.core;
package com.blackduck.method.analyzer.core;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2022 Synopsys Inc.
* Copyright (C) 2022 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.report;
package com.blackduck.method.analyzer.core.report;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2022 Synopsys Inc.
* Copyright (C) 2022 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.report;
package com.blackduck.method.analyzer.core.report;

import java.util.List;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.report;
package com.blackduck.method.analyzer.core.report;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.report;
package com.blackduck.method.analyzer.core.report;

import java.nio.charset.StandardCharsets;
import java.util.Base64;
Expand All @@ -29,10 +29,10 @@

import javax.annotation.Nullable;

import com.blackduck.method.analyzer.core.model.ReferencedMethod;
import com.google.common.base.MoreObjects;
import com.google.common.hash.HashCode;
import com.google.common.hash.Hashing;
import com.synopsys.method.analyzer.core.model.ReferencedMethod;

/**
* Represents JSON data for a opaque identifiers of a method referenced within an analyzed project
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.report;
package com.blackduck.method.analyzer.core.report;

import java.util.List;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.report;
package com.blackduck.method.analyzer.core.report;

import java.util.List;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.report;
package com.blackduck.method.analyzer.core.report;

import java.util.Collection;
import java.util.List;
Expand All @@ -29,9 +29,9 @@

import javax.annotation.Nullable;

import com.blackduck.method.analyzer.core.model.MethodUse;
import com.blackduck.method.analyzer.core.model.ReferencedMethod;
import com.google.common.base.MoreObjects;
import com.synopsys.method.analyzer.core.model.MethodUse;
import com.synopsys.method.analyzer.core.model.ReferencedMethod;

/**
* Represents JSON data for a method referenced within an analyzed project with data on where it is used
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* method-use-analyzer
*
* Copyright (C) 2020 Synopsys Inc.
* Copyright (C) 2020 Black Duck Software, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -20,7 +20,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.method.analyzer.core.report;
package com.blackduck.method.analyzer.core.report;

import java.io.BufferedWriter;
import java.io.File;
Expand Down Expand Up @@ -49,11 +49,11 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.blackduck.method.analyzer.core.model.MethodUse;
import com.blackduck.method.analyzer.core.model.ReferencedMethod;
import com.google.common.collect.Lists;
import com.google.common.collect.Multimap;
import com.google.gson.Gson;
import com.synopsys.method.analyzer.core.model.MethodUse;
import com.synopsys.method.analyzer.core.model.ReferencedMethod;

/**
* Represents functionality for converting in-memory representations of method references to a stored file
Expand Down
Loading
Loading