Index

A B C D E F G H I J L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ABSTRACT - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 
ABSTRACT_CLASS - Enum constant in enum com.CodeSmell.parser.CPGClass.ClassType
 
addAttribute(CPGClass.Attribute) - Method in class com.CodeSmell.model.UMLClass
 
addClass(CPGClass) - Method in class com.CodeSmell.parser.CodePropertyGraph
Add a CPGClass to the CodePropertyGraph
addClass(ArrayList<CPGClass>, CPGClass) - Static method in class com.CodeSmell.parser.Package.File
Add classes to the current File
addFile(ArrayList<Package.File>, Package.File) - Static method in class com.CodeSmell.parser.Package
Add files to the current Package
addMethod(CPGClass.Method) - Method in class com.CodeSmell.model.UMLClass
 
addOutwardRelation(CodePropertyGraph.Relation) - Method in class com.CodeSmell.parser.CPGClass
Add an outward relation to the existing outwardRelations of a given class
addPackage(Package) - Method in class com.CodeSmell.parser.CodePropertyGraph
 
addPackage(ArrayList<Package>, Package) - Static method in class com.CodeSmell.parser.Package
Add sub-packages to the current Package
addRelation(CodePropertyGraph.Relation) - Method in class com.CodeSmell.parser.CodePropertyGraph
Add a CodePropertyGraph.Relation to the CodePropertyGraph
addRelationship(ClassRelation) - Method in class com.CodeSmell.model.UMLClass
 
addRenderEventListener(RenderEventListener) - Static method in class com.CodeSmell.model.RenderObject
 
addSmell(CPGClass.Method, ArrayList<CPGClass.Method>, ArrayList<CPGClass>, CPGClass) - Method in class com.CodeSmell.smell.ShotgunSurgery
 
addSmell(CPGClass, CPGClass, int, int) - Method in class com.CodeSmell.smell.FeatureEnvy
 
addSmell(Smell) - Method in class com.CodeSmell.parser.CPGClass
 
AGGREGATION - Enum constant in enum com.CodeSmell.model.ClassRelation.RelationshipType
 
allAttributeCalls - Variable in class com.CodeSmell.stat.Helper
All the CPGClass.Attribute calls that exist within the cpg
allAttributeNames - Variable in class com.CodeSmell.stat.Helper
All the attribute names that exist within the cpg
allAttributes - Variable in class com.CodeSmell.stat.Helper
All the CPGClass.Attribute that exist within the cpg
allClassNames - Variable in class com.CodeSmell.stat.Helper
All the class names (both name and classFullName) that exist within the cpg
allMethodCalls - Variable in class com.CodeSmell.stat.Helper
All the CPGClass.Method calls that exist within the cpg
allMethodNames - Variable in class com.CodeSmell.stat.Helper
All the method names that exist within the cpg
allMethods - Variable in class com.CodeSmell.stat.Helper
All the CPGClass.Method that exist within the cpg
allParameters - Variable in class com.CodeSmell.stat.Helper
All the CPGClass.Method.Parameter that exist within the cpg
ArrayListExclusion() - Constructor for class com.CodeSmell.parser.Parser.ArrayListExclusion
 
assignAssociation(CodePropertyGraph) - Static method in class com.CodeSmell.parser.RelationshipManager
Iterates through the cpg assigning association relationships.
assignDependency(CodePropertyGraph) - Static method in class com.CodeSmell.parser.RelationshipManager
Iterates through the cpg, assigning dependencies based off of method parameters and method calls.
assignInheritance(CodePropertyGraph) - Static method in class com.CodeSmell.parser.RelationshipManager
Iterates through the cpg, assigning inheritance relations
assignOutwardRelations(CodePropertyGraph) - Static method in class com.CodeSmell.parser.RelationshipManager
Iterates through all the added relations within cpg to add the respective outward relations to the sourceClass.
assignRealization(CodePropertyGraph) - Static method in class com.CodeSmell.parser.RelationshipManager
Iterates through the cpg and assigns realization relationships.
attribute - Variable in class com.CodeSmell.stat.AttributeStat
The reference to the attribute that this AttributeStat is referring to
Attribute(String, String, String, int, ArrayList<CPGClass.Modifier>, String) - Constructor for class com.CodeSmell.parser.CPGClass.Attribute
 
attributeCalls - Variable in class com.CodeSmell.parser.CPGClass.Method
All the attributes that this method uses, if any
attributes - Variable in class com.CodeSmell.model.UMLClass
 
attributes - Variable in class com.CodeSmell.parser.CPGClass
An array of all of the CPGClass.Attribute that a class has
attributes - Variable in class com.CodeSmell.smell.Smell.CodeFragment
 
AttributeStat - Class in com.CodeSmell.stat
 
AttributeStat(CPGClass.Attribute, Helper) - Constructor for class com.CodeSmell.stat.AttributeStat
 
attributeStats - Variable in class com.CodeSmell.stat.ClassStat
A map containing all the attribute stats of a given class
attributeStats - Variable in class com.CodeSmell.stat.StatTracker
Group all the CPGClass.Attribute with a AttributeStat containing statistics about that attribute
attributeType - Variable in class com.CodeSmell.parser.CPGClass.Attribute
The full type of the attribute
attributeUsage - Variable in class com.CodeSmell.stat.AttributeStat
An integer value representing the total number of times this attribute was throughout the methods in cpg

B

BIDIRECTIONAL_ASSOCIATION - Enum constant in enum com.CodeSmell.model.ClassRelation.RelationshipType
 
buildSmellStream(CodePropertyGraph) - Static method in class com.CodeSmell.smell.Common
 

C

CALLING_CLASS_CAP - Static variable in class com.CodeSmell.smell.ShotgunSurgery
 
CALLING_METHOD_CAP - Static variable in class com.CodeSmell.smell.ShotgunSurgery
 
checkRelationExists(CodePropertyGraph, CodePropertyGraph.Relation) - Static method in class com.CodeSmell.parser.RelationshipManager
Determines whether a relation exists within the CodePropertyGraph (matching the exact source, target, type and multiplicity)
checkSimilarInstructions() - Method in class com.CodeSmell.smell.LazyClass
 
chooseDirectory() - Static method in class com.CodeSmell.Launcher
 
CLASS - Enum constant in enum com.CodeSmell.parser.CPGClass.ClassType
 
classes - Variable in class com.CodeSmell.parser.CodePropertyGraph
All the classes within the CodePropertyGraph
classes - Variable in class com.CodeSmell.parser.Package.File
All the classes that reside within the file
classes - Variable in class com.CodeSmell.smell.Smell.CodeFragment
 
classesWhichCallAttr - Variable in class com.CodeSmell.stat.AttributeStat
A total count of how many times each class within cpg calls this attribute through all of their methods.
classesWhichCallMethod - Variable in class com.CodeSmell.stat.MethodStat
A map containing a count of how many times each class within cpg has called this method, >= 0.
classFullName - Variable in class com.CodeSmell.parser.CPGClass
The full name of the class (either the same as name or if the class is a nested class, will be "CPGClass.Attribute" for example)
classLineMap - Variable in class com.CodeSmell.stat.ClassStat
A detailed overview indicating how totalClassLines was determined showing how many lines were associated with attributes, methods, class declaration, and all nested classes
ClassRelation - Class in com.CodeSmell.model
 
ClassRelation(UMLClass, UMLClass, ClassRelation.RelationshipType, String) - Constructor for class com.CodeSmell.model.ClassRelation
 
ClassRelation.RelationshipType - Enum in com.CodeSmell.model
 
classSet - Variable in class com.CodeSmell.smell.ISPViolation.Segregation
 
ClassSorter() - Constructor for class com.CodeSmell.smell.Common.ClassSorter
 
ClassStat - Class in com.CodeSmell.stat
 
ClassStat(CPGClass, CodePropertyGraph, Helper, Map<CPGClass.Attribute, AttributeStat>, Map<CPGClass.Method, MethodStat>) - Constructor for class com.CodeSmell.stat.ClassStat
 
classStats - Variable in class com.CodeSmell.stat.StatTracker
Group all the CPGClass with a ClassStat containing statistics about that class and its attributes and methods via AttributeStat and MethodStat respectively
classType - Variable in class com.CodeSmell.parser.CPGClass
The type of the class ("abstract class", "class", "enum", "interface")
ClassType(String) - Constructor for enum com.CodeSmell.parser.CPGClass.ClassType
 
classUsage - Variable in class com.CodeSmell.stat.ClassStat
The total number of times this class was used within cpg
code - Variable in class com.CodeSmell.parser.CPGClass.Attribute
The full line of code in which the attribute is declared
code - Variable in class com.CodeSmell.parser.CPGClass
The class declaration (i.e.
code - Variable in class com.CodeSmell.parser.CPGClass.Method.Instruction
The line of code
code - Variable in class com.CodeSmell.parser.CPGClass.Method.Parameter
The full line of code belonging to a method parameter
CodeFragment(String, CPGClass[], CPGClass.Method[], CPGClass.Modifier[], CPGClass.Attribute[], CPGClass.Method.Parameter[], CPGClass.Method.Instruction[]) - Constructor for class com.CodeSmell.smell.Smell.CodeFragment
 
CodePropertyGraph - Class in com.CodeSmell.parser
The CodePropertyGraph which contains all the classes and relations
CodePropertyGraph() - Constructor for class com.CodeSmell.parser.CodePropertyGraph
 
CodePropertyGraph.Relation - Class in com.CodeSmell.parser
A relationship that exists between two classes, with a type and associated multiplicity (if any)
collapseNestedClasses(List<CPGClass>) - Static method in class com.CodeSmell.smell.Common
 
collectAllAttributeCalls(List<CPGClass.Method>) - Static method in class com.CodeSmell.stat.Helper
Collect all the attribute calls of each method into one single list.
collectAllAttributeNames(List<CPGClass.Attribute>) - Static method in class com.CodeSmell.stat.Helper
Collect all the attribute names that exist within cpg
collectAllAttributes(CodePropertyGraph) - Static method in class com.CodeSmell.stat.Helper
Collect all the attributes that exist within cpg
collectAllClassNames(CodePropertyGraph) - Static method in class com.CodeSmell.stat.Helper
Collect all the class names that exist within the cpg (both name and classFullName) into one single list.
collectAllMethodCalls(List<CPGClass.Method>) - Static method in class com.CodeSmell.stat.Helper
Collect all the method calls of each method into one single list.
collectAllMethodNames(List<CPGClass.Method>) - Static method in class com.CodeSmell.stat.Helper
Collect all the method names that exist within the cpg into one single list.
collectAllMethods(CodePropertyGraph) - Static method in class com.CodeSmell.stat.Helper
Collect all the methods that exist within cpg.
collectAllParameters(List<CPGClass.Method>) - Static method in class com.CodeSmell.stat.Helper
Collect all the Parameters of each method into one single list.
colour - Variable in class com.CodeSmell.model.Shape
 
com.CodeSmell - package com.CodeSmell
 
com.CodeSmell.model - package com.CodeSmell.model
 
com.CodeSmell.parser - package com.CodeSmell.parser
 
com.CodeSmell.smell - package com.CodeSmell.smell
 
com.CodeSmell.stat - package com.CodeSmell.stat
 
com.CodeSmell.view - package com.CodeSmell.view
 
Common - Class in com.CodeSmell.smell
 
Common() - Constructor for class com.CodeSmell.smell.Common
 
Common.ClassSorter - Class in com.CodeSmell.smell
 
Common.ContentSorter - Class in com.CodeSmell.smell
 
Common.RelationSorter - Class in com.CodeSmell.smell
 
COMPOSITION - Enum constant in enum com.CodeSmell.model.ClassRelation.RelationshipType
 
containsViolation(CPGClass, CPGClass[]) - Method in class com.CodeSmell.smell.ISPViolation
 
contentSize(CPGClass) - Method in class com.CodeSmell.smell.Common.ContentSorter
 
contentSorter - Variable in class com.CodeSmell.smell.GodClass
 
ContentSorter() - Constructor for class com.CodeSmell.smell.Common.ContentSorter
 
contentThreshold - Variable in class com.CodeSmell.smell.GodClass
 
Controller - Class in com.CodeSmell
 
Controller() - Constructor for class com.CodeSmell.Controller
 
cpg - Variable in class com.CodeSmell.smell.Smell
 
CPG_BACKUP_JSON - Static variable in class com.CodeSmell.parser.Parser
 
cpgClass - Variable in class com.CodeSmell.stat.ClassStat
The reference to the class that this ClassStat is providing statistics on
CPGClass - Class in com.CodeSmell.parser
A class within the CodePropertyGraph.
CPGClass(String, String, String, String[], String, int, ArrayList<CPGClass.Modifier>, CPGClass.ClassType, String, int, int, int, ArrayList<CPGClass.Attribute>, ArrayList<CPGClass.Method>) - Constructor for class com.CodeSmell.parser.CPGClass
 
CPGClass.Attribute - Class in com.CodeSmell.parser
An attribute belonging to a class
CPGClass.ClassType - Enum in com.CodeSmell.parser
The type belonging to a given CPGClass.
CPGClass.Method - Class in com.CodeSmell.parser
A method belonging to a class
CPGClass.Method.Instruction - Class in com.CodeSmell.parser
Each individual line of code that exists within a method body
CPGClass.Method.Parameter - Class in com.CodeSmell.parser
A parameter which belongs to a method
CPGClass.Modifier - Enum in com.CodeSmell.parser
All the potential modifiers that can exist on a class, attribute or method
cpgStream - Static variable in class com.CodeSmell.MainApp
 
createAttributeStats(Helper) - Static method in class com.CodeSmell.stat.StatTracker
 
createClassStats(CodePropertyGraph, Helper, Map<CPGClass.Attribute, AttributeStat>, Map<CPGClass.Method, MethodStat>) - Static method in class com.CodeSmell.stat.StatTracker
Iterate through the cpg to create stat objects corresponding to elements within the graph.
createMethodStats(CodePropertyGraph, Helper) - Static method in class com.CodeSmell.stat.StatTracker
 

D

DEPENDENCY - Enum constant in enum com.CodeSmell.model.ClassRelation.RelationshipType
 
description - Variable in class com.CodeSmell.smell.Smell.CodeFragment
 
description() - Method in class com.CodeSmell.smell.FeatureEnvy
 
description() - Method in class com.CodeSmell.smell.GodClass
 
description() - Method in class com.CodeSmell.smell.InappropriateIntimacy
 
description() - Method in class com.CodeSmell.smell.ISPViolation
 
description() - Method in class com.CodeSmell.smell.LazyClass
 
description() - Method in class com.CodeSmell.smell.MisplacedClass
 
description() - Method in class com.CodeSmell.smell.OrphanVariable
 
description() - Method in class com.CodeSmell.smell.RefusedBequest
 
description() - Method in class com.CodeSmell.smell.ShotgunSurgery
 
description() - Method in class com.CodeSmell.smell.Smell
 
destination - Variable in class com.CodeSmell.parser.CodePropertyGraph.Relation
The destination class of the relationship
detect() - Method in class com.CodeSmell.smell.Smell
 
detectAll() - Method in class com.CodeSmell.smell.FeatureEnvy
Fills out a list of classes that 'envy' (meaning: access other classes' methods more than their own) other classes
detectAll() - Method in class com.CodeSmell.smell.GodClass
 
detectAll() - Method in class com.CodeSmell.smell.LazyClass
 
detectAll() - Method in class com.CodeSmell.smell.MisplacedClass
 
detectAll() - Method in class com.CodeSmell.smell.ShotgunSurgery
 
detectAll(StatTracker, LinkedList<Smell.CodeFragment>) - Static method in class com.CodeSmell.smell.InappropriateIntimacy
 
detectAll(LinkedList<Smell.CodeFragment>) - Static method in class com.CodeSmell.smell.OrphanVariable
In order for a class to be labeled as having an Orphan Variable code smell, the following conditions must be satisfied:
detectAll(LinkedList<Smell.CodeFragment>) - Static method in class com.CodeSmell.smell.RefusedBequest
 
detections - Variable in class com.CodeSmell.smell.FeatureEnvy
 
detections - Variable in class com.CodeSmell.smell.GodClass
 
detections - Variable in class com.CodeSmell.smell.InappropriateIntimacy
 
detections - Variable in class com.CodeSmell.smell.LazyClass
 
detections - Variable in class com.CodeSmell.smell.MisplacedClass
 
detections - Variable in class com.CodeSmell.smell.OrphanVariable
 
detections - Variable in class com.CodeSmell.smell.RefusedBequest
 
detections - Variable in class com.CodeSmell.smell.ShotgunSurgery
 
detections - Variable in class com.CodeSmell.smell.Smell
 
detectNext() - Method in class com.CodeSmell.smell.FeatureEnvy
 
detectNext() - Method in class com.CodeSmell.smell.GodClass
 
detectNext() - Method in class com.CodeSmell.smell.InappropriateIntimacy
 
detectNext() - Method in class com.CodeSmell.smell.ISPViolation
 
detectNext() - Method in class com.CodeSmell.smell.LazyClass
 
detectNext() - Method in class com.CodeSmell.smell.MisplacedClass
 
detectNext() - Method in class com.CodeSmell.smell.OrphanVariable
 
detectNext() - Method in class com.CodeSmell.smell.RefusedBequest
 
detectNext() - Method in class com.CodeSmell.smell.ShotgunSurgery
 
detectNext() - Method in class com.CodeSmell.smell.Smell
 
detectNextSimilarities() - Method in class com.CodeSmell.smell.LazyClass
 
determineAttributeUsage(CPGClass.Attribute, Helper) - Static method in class com.CodeSmell.stat.AttributeStat
Determine how many times this attribute was used in each method within cpg and additionally, how many times it was used per class in cpg.
determineBidirectionalAssociation(CPGClass, CPGClass) - Static method in class com.CodeSmell.parser.RelationshipManager
Determines if a bidirectional association exists between two classes.
determineClassAttributeUsage(Map<CPGClass.Method, Integer>, CPGClass.Attribute) - Static method in class com.CodeSmell.stat.AttributeStat
Determine the total number of times another class has accessed this attribute via all of its methods combined.
determineClassMethodUsage(Map<CPGClass.Method, Integer>) - Static method in class com.CodeSmell.stat.MethodStat
Determine how many times this method was used by each class within cpg.
determineClassUsage(CPGClass, CodePropertyGraph, Helper, Map<CPGClass.Attribute, AttributeStat>, Map<CPGClass.Method, MethodStat>) - Static method in class com.CodeSmell.stat.ClassStat
Determine how many times a given CPGClass was used throughout the cpg as an attribute type, parameter type, the destination of an inheritance or realization relationship, the amount of times its attributes and methods were called.
determineCompositionRelationship(CPGClass, CPGClass) - Static method in class com.CodeSmell.parser.RelationshipManager
Determines if a composition relation exists between two classes.
determineDistinctAttributeCalls(CPGClass.Method, CodePropertyGraph) - Static method in class com.CodeSmell.stat.MethodStat
Group the attribute calls of this method to its parentClass.
determineDistinctClassTypes(CodePropertyGraph) - Static method in class com.CodeSmell.stat.StatTracker
Iterates through the cpg to determine all the distinct class types that are present such as abstract class, class, enum, interface.
determineDistinctMethodCalls(CPGClass.Method, CodePropertyGraph) - Static method in class com.CodeSmell.stat.MethodStat
Group the method calls of this method to its parentClass.
determineDistinctPackages(CodePropertyGraph) - Static method in class com.CodeSmell.parser.PackageManager
Iterate through the cpg to determine all the distinct packages and sub-packages, additionally creating files which possess 1 or more classes each (accounts for nested classes).
determineDistinctRelations(CodePropertyGraph) - Static method in class com.CodeSmell.stat.StatTracker
Iterates through the cpg and groups all relations by RelationshipType.
determineMethodUsage(CPGClass.Method, Helper) - Static method in class com.CodeSmell.stat.MethodStat
Determine how many times this method was used by each method within cpg.
determinePackageUsage(Map<CPGClass, ClassStat>) - Static method in class com.CodeSmell.stat.StatTracker
Determine the usage of each package by summing the class usage of every class within that package.
determineParameterUsage(CPGClass.Method) - Static method in class com.CodeSmell.stat.MethodStat
Determine how many times the parameters of this method were used within the method's instructions.
determineTotalAttributeCalls(CPGClass.Method, CodePropertyGraph, Helper) - Static method in class com.CodeSmell.stat.MethodStat
Determine the total number of times that the attributes of classes (including attribute's parentClass) were called within the method's instructions
determineTotalClassAttributeCalls(Map<CPGClass.Method, MethodStat>) - Static method in class com.CodeSmell.stat.ClassStat
Determine the total number of distinct attributes of other classes (including itself) that this class uses throughout its methods.
determineTotalClassLines(CPGClass, CodePropertyGraph) - Static method in class com.CodeSmell.stat.ClassStat
Given a CPGClass object, return a map representing the total lines present within that file.
determineTotalClassMethodCalls(Map<CPGClass.Method, MethodStat>) - Static method in class com.CodeSmell.stat.ClassStat
Determine the total number of distinct methods of other classes (including itself) that this class uses throughout its methods.
determineTotalMethodCalls(CPGClass.Method, CodePropertyGraph, Helper) - Static method in class com.CodeSmell.stat.MethodStat
Determine the total number of times methods of classes (including the method's parentClass) were called within the method's instructions.
dispatchToRenderEventListeners(RenderEvent) - Method in class com.CodeSmell.model.RenderObject
 
distinctAttributeCalls - Variable in class com.CodeSmell.stat.MethodStat
A map containing the list of attributes of other CPG classes that this method calls
distinctClassTypes - Variable in class com.CodeSmell.stat.StatTracker
Group all CPGClass by their classType.
distinctMethodCalls - Variable in class com.CodeSmell.stat.MethodStat
A map containing the list of methods of other CPG classes that this method calls
distinctRelations - Variable in class com.CodeSmell.stat.StatTracker
Group all the relations present within cpg by their ClassRelation.RelationshipType
drawShape(Shape) - Method in class com.CodeSmell.view.WebBridge
 

E

emptyLines - Variable in class com.CodeSmell.parser.CPGClass
The total number of empty lines within a class
engine - Variable in class com.CodeSmell.view.WebBridge
 
ENUM - Enum constant in enum com.CodeSmell.parser.CPGClass.ClassType
 
ENVY_THRESHOLD - Static variable in class com.CodeSmell.smell.FeatureEnvy
 
equals(Object) - Method in class com.CodeSmell.parser.CPGClass.Attribute
 
equals(Object) - Method in class com.CodeSmell.parser.CPGClass
 
equals(Object) - Method in class com.CodeSmell.parser.CPGClass.Method
 
equals(Object) - Method in class com.CodeSmell.parser.CPGClass.Method.Instruction
 
equals(Object) - Method in class com.CodeSmell.parser.CPGClass.Method.Parameter
 

F

FeatureEnvy - Class in com.CodeSmell.smell
 
FeatureEnvy(CodePropertyGraph) - Constructor for class com.CodeSmell.smell.FeatureEnvy
 
File(String, String) - Constructor for class com.CodeSmell.parser.Package.File
 
fileLength - Variable in class com.CodeSmell.parser.CPGClass
The total length of the file where the class exists
fileName - Variable in class com.CodeSmell.parser.Package.File
The name of the file (e.g.
filePath - Variable in class com.CodeSmell.parser.CPGClass
The full filepath pointing to where the class is stored
filePath - Variable in class com.CodeSmell.parser.Package.File
The full filePath of the file
files - Variable in class com.CodeSmell.parser.Package
All the files contained within the package
FINAL - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 
findClassByName(CodePropertyGraph, String) - Static method in class com.CodeSmell.smell.Common
 
findLongMethods(Helper, int) - Static method in class com.CodeSmell.stat.StatTracker
Group all methods with a total method length greater than a specified limit value into a single list.
findLongParameterMethods(Helper, int) - Static method in class com.CodeSmell.stat.StatTracker
Group all methods with a total number of parameters greater than a specified limit value into a single list.
first - Variable in class com.CodeSmell.model.Pair
 

G

getAttributeCalls() - Method in class com.CodeSmell.parser.CPGClass.Method
Return all the attribute calls of a method, if any
getAttributes() - Method in class com.CodeSmell.model.UMLClass
 
getAttributes() - Method in class com.CodeSmell.parser.CPGClass
 
getBackupStream() - Static method in class com.CodeSmell.MainApp
 
getClassDimensions(int) - Method in class com.CodeSmell.view.WebBridge
 
getClasses() - Method in class com.CodeSmell.parser.CodePropertyGraph
 
getDetections() - Method in class com.CodeSmell.smell.FeatureEnvy
 
getDetections() - Method in class com.CodeSmell.smell.GodClass
 
getDetections() - Method in class com.CodeSmell.smell.InappropriateIntimacy
 
getDetections() - Method in class com.CodeSmell.smell.ISPViolation
 
getDetections() - Method in class com.CodeSmell.smell.LazyClass
 
getDetections() - Method in class com.CodeSmell.smell.MisplacedClass
 
getDetections() - Method in class com.CodeSmell.smell.OrphanVariable
 
getDetections() - Method in class com.CodeSmell.smell.RefusedBequest
 
getDetections() - Method in class com.CodeSmell.smell.ShotgunSurgery
 
getDetections() - Method in class com.CodeSmell.smell.Smell
 
getHeight() - Method in class com.CodeSmell.model.UMLClass
 
getId() - Method in class com.CodeSmell.model.UMLClass
 
getIndex(CPGClass) - Method in class com.CodeSmell.smell.Common.ClassSorter
 
getInheritsFrom() - Method in class com.CodeSmell.parser.CPGClass
 
getKey(int) - Method in class com.CodeSmell.smell.Common.ClassSorter
 
getMethodCalls() - Method in class com.CodeSmell.parser.CPGClass.Method
Return all the method calls of a method, if any
getMethods() - Method in class com.CodeSmell.model.UMLClass
 
getMethods() - Method in class com.CodeSmell.parser.CPGClass
 
getMethodStats(CPGClass.Method) - Static method in class com.CodeSmell.smell.Common
 
getMisplacedClasses() - Method in class com.CodeSmell.smell.MisplacedClass
 
getOutwardRelations() - Method in class com.CodeSmell.parser.CPGClass
Returns all the outward relations of a given class
getPackages() - Method in class com.CodeSmell.parser.CodePropertyGraph
 
getParent() - Method in class com.CodeSmell.parser.CPGClass.Attribute
 
getParent() - Method in class com.CodeSmell.parser.CPGClass.Method
 
getPath() - Method in class com.CodeSmell.model.ClassRelation
 
getPosition() - Method in class com.CodeSmell.model.UMLClass
 
getRelations() - Method in class com.CodeSmell.model.UMLClass
 
getRelations() - Method in class com.CodeSmell.parser.CodePropertyGraph
 
getResponse() - Method in class com.CodeSmell.model.RenderEvent
 
getSmells() - Method in class com.CodeSmell.model.UMLClass
 
getSmells() - Method in class com.CodeSmell.parser.CPGClass
 
getStream() - Method in class com.CodeSmell.parser.JoernServer
 
getTimesCalled() - Method in class com.CodeSmell.parser.CPGClass
 
getTimesCalling() - Method in class com.CodeSmell.parser.CPGClass
 
getTotal() - Method in class com.CodeSmell.smell.Common.ClassSorter
 
getTypeList() - Method in class com.CodeSmell.parser.CPGClass.Attribute
 
getTypeList() - Method in class com.CodeSmell.parser.CPGClass.Method.Parameter
 
getVal(int) - Method in class com.CodeSmell.smell.Common.ClassSorter
 
getWidth() - Method in class com.CodeSmell.model.UMLClass
 
GodClass - Class in com.CodeSmell.smell
 
GodClass(CodePropertyGraph) - Constructor for class com.CodeSmell.smell.GodClass
Create a new GodClass object with the given parameters.
GodClass(CodePropertyGraph, double, double, int, int) - Constructor for class com.CodeSmell.smell.GodClass
Create a new GodClass object with the given parameters.
groupAttributesByModifiers(CPGClass) - Static method in class com.CodeSmell.stat.ClassStat
Group all the attributes present within a class by 'PUBLIC', 'PRIVATE' and 'PACKAGE PRIVATE' modifiers.
groupMethodsByModifiers(CPGClass) - Static method in class com.CodeSmell.stat.ClassStat
Group all the methods present within a class by 'PUBLIC', 'PRIVATE' and 'PACKAGE PRIVATE' modifiers.

H

hasConstants(CPGClass) - Static method in class com.CodeSmell.smell.OrphanVariable
Determine if a given class has constants within its attributes.
hasUnusedProperties(CPGClass, CPGClass) - Static method in class com.CodeSmell.smell.RefusedBequest
 
height - Variable in class com.CodeSmell.model.UMLClass
 
helper - Variable in class com.CodeSmell.stat.StatTracker
A helper object consisting of potentially useful collections of elements withing cpg such as all attributes, all methods, method parameters, method calls, attribute calls, and names of classes, attributes and methods within cpg.
Helper - Class in com.CodeSmell.stat
A class that contains potentially helpful lists containing info such as all attributes, all methods, all method calls, all Parameters, all class names within cpg.
Helper(CodePropertyGraph) - Constructor for class com.CodeSmell.stat.Helper
 

I

id - Variable in class com.CodeSmell.model.UMLClass
 
importStatements - Variable in class com.CodeSmell.parser.CPGClass
The import statements imported from the file where the class is defined
InappropriateIntimacy - Class in com.CodeSmell.smell
 
InappropriateIntimacy(CodePropertyGraph) - Constructor for class com.CodeSmell.smell.InappropriateIntimacy
 
INHERITANCE - Enum constant in enum com.CodeSmell.model.ClassRelation.RelationshipType
 
inheritsFrom - Variable in class com.CodeSmell.parser.CPGClass
The list of classes that the class inherits from in some way (can include interfaces as well)
initialize() - Method in class com.CodeSmell.Controller
 
initializeCPG(InputStream, boolean) - Static method in class com.CodeSmell.parser.Parser
Reads in a .json file to create an initial CodePropertyGraph and then calls methods to obtain missing information and update necessary fields of every element within cpg.
initializeMainView(CodePropertyGraph) - Method in class com.CodeSmell.MainApp
 
initStatTracker(CodePropertyGraph) - Static method in class com.CodeSmell.smell.Common
 
Instruction(String, String, int, String) - Constructor for class com.CodeSmell.parser.CPGClass.Method.Instruction
 
instructions - Variable in class com.CodeSmell.parser.CPGClass.Method
All the method CPGClass.Method.Instruction belonging to a method
instructions - Variable in class com.CodeSmell.smell.Smell.CodeFragment
 
INTERFACE - Enum constant in enum com.CodeSmell.parser.CPGClass.ClassType
 
interfaceMethods(CPGClass) - Static method in class com.CodeSmell.smell.Common
 
interfaces - Static variable in class com.CodeSmell.smell.Common
 
interfaces - Variable in class com.CodeSmell.smell.ISPViolation
 
isLocalPortFree(int) - Static method in class com.CodeSmell.parser.JoernServer
 
isNestedClass(CPGClass, CPGClass) - Static method in class com.CodeSmell.smell.Common
 
isNotImplemented(CPGClass.Method) - Method in class com.CodeSmell.smell.ISPViolation
 
ISPViolation - Class in com.CodeSmell.smell
 
ISPViolation(CodePropertyGraph) - Constructor for class com.CodeSmell.smell.ISPViolation
 
ISPViolation.Segregation - Class in com.CodeSmell.smell
 
itemCount() - Method in class com.CodeSmell.smell.Common.ClassSorter
 
items - Variable in class com.CodeSmell.smell.Common.ClassSorter
 

J

jfx - module jfx
 
JOERN_QUERY_LOGFILE - Static variable in class com.CodeSmell.parser.Parser
 
JoernServer - Class in com.CodeSmell.parser
 
JoernServer() - Constructor for class com.CodeSmell.parser.JoernServer
 
JoernServer.ReaderThread - Class in com.CodeSmell.parser
 
joernStream - Variable in class com.CodeSmell.parser.JoernServer
 

L

label - Variable in class com.CodeSmell.parser.CPGClass.Method.Instruction
The label associated with each line of code (i.e.
lastBatch - Variable in class com.CodeSmell.smell.ISPViolation
 
lastDetection - Variable in class com.CodeSmell.smell.GodClass
 
lastDetection - Variable in class com.CodeSmell.smell.Smell
 
Launcher - Class in com.CodeSmell
 
Launcher() - Constructor for class com.CodeSmell.Launcher
 
LazyClass - Class in com.CodeSmell.smell
A Lazy Class is a class that is under used.
LazyClass(CodePropertyGraph) - Constructor for class com.CodeSmell.smell.LazyClass
 
lazyClasses - Variable in class com.CodeSmell.smell.LazyClass
 
lazySharedMethods - Static variable in class com.CodeSmell.smell.LazyClass
 
lineNumber - Variable in class com.CodeSmell.parser.CPGClass.Attribute
The line number in which the attribute was declared
lineNumber - Variable in class com.CodeSmell.parser.CPGClass
The line number in which the class is declared
lineNumber - Variable in class com.CodeSmell.parser.CPGClass.Method.Instruction
The line number of where the line of code occurs within the method body
lineNumberEnd - Variable in class com.CodeSmell.parser.CPGClass.Method
The line number where the method ends
lineNumberStart - Variable in class com.CodeSmell.parser.CPGClass.Method
The line number where the method starts
listParameterizedType - Variable in class com.CodeSmell.parser.Parser.ArrayListExclusion
 
longMethods - Variable in class com.CodeSmell.stat.StatTracker
Group all methods with a total method length being greater than a provided limit, as of this moment - 30 lines.
longParameterMethod - Variable in class com.CodeSmell.stat.StatTracker
Group all methods with a parameter length being greater than a provided limit, as of this moment - 4 parameters.

M

main(String[]) - Static method in class com.CodeSmell.Launcher
 
main(String[]) - Static method in class com.CodeSmell.MainApp
 
MainApp - Class in com.CodeSmell
 
MainApp() - Constructor for class com.CodeSmell.MainApp
 
makeFragment(String, Object...) - Static method in class com.CodeSmell.smell.Smell.CodeFragment
 
maxLineCount - Variable in class com.CodeSmell.smell.GodClass
 
method - Variable in class com.CodeSmell.stat.MethodStat
The reference to the method that this MethodStat is providing information about
Method(String, String, ArrayList<CPGClass.Modifier>, ArrayList<CPGClass.Method.Parameter>, String, int, int, int, ArrayList<CPGClass.Method.Instruction>) - Constructor for class com.CodeSmell.parser.CPGClass.Method
 
methodBody - Variable in class com.CodeSmell.parser.CPGClass.Method
The method body containing the name of the method along with all of its parameters, if any (i.e.
methodCall - Variable in class com.CodeSmell.parser.CPGClass.Method.Instruction
The name of the method that the instruction is calling, if any
methodCalls - Variable in class com.CodeSmell.parser.CPGClass.Method
All the methods that this method calls, if any
methods - Variable in class com.CodeSmell.model.UMLClass
 
methods - Variable in class com.CodeSmell.parser.CPGClass
All the CPGClass.Method that a class has
methods - Variable in class com.CodeSmell.smell.Smell.CodeFragment
 
methodSet - Variable in class com.CodeSmell.smell.ISPViolation.Segregation
 
MethodStat - Class in com.CodeSmell.stat
MethodStat contains stats relevant to a given method pertaining to how it is used within cpg.
MethodStat(CPGClass.Method, CodePropertyGraph, Helper) - Constructor for class com.CodeSmell.stat.MethodStat
 
methodStats - Variable in class com.CodeSmell.stat.ClassStat
A map containing all the method stats of a given class
methodStats - Variable in class com.CodeSmell.stat.StatTracker
Group all the CPGClass.Method with a MethodStat containing statistics about that method
methodsWhichCallAttr - Variable in class com.CodeSmell.stat.AttributeStat
A total count of how many times each method within cpg calls this attribute within their method's instructions
methodsWhichCallMethod - Variable in class com.CodeSmell.stat.MethodStat
A map containing a count of how many times each method within cpg has called this method, >= 0.
methodUsage - Variable in class com.CodeSmell.stat.MethodStat
The total times this method was called within cpg
minLineCount - Variable in class com.CodeSmell.smell.GodClass
 
MisplacedClass - Class in com.CodeSmell.smell
 
MisplacedClass(CodePropertyGraph) - Constructor for class com.CodeSmell.smell.MisplacedClass
 
misplacedClasses - Variable in class com.CodeSmell.smell.MisplacedClass
 
Modifier(String) - Constructor for enum com.CodeSmell.parser.CPGClass.Modifier
 
modifierGroupedAttributes - Variable in class com.CodeSmell.stat.ClassStat
Groups all the attributes of a given class by "PUBLIC", "PROTECTED", "PRIVATE" and "PACKAGE PRIVATE" modifiers.
modifierGroupedMethods - Variable in class com.CodeSmell.stat.ClassStat
Groups all the methods of a given class by "PUBLIC", "PROTECTED", "PRIVATE" and "PACKAGE PRIVATE" modifiers.
modifiers - Variable in class com.CodeSmell.parser.CPGClass.Attribute
All the modifiers that the attribute has CPGClass.Modifier
modifiers - Variable in class com.CodeSmell.parser.CPGClass.Method
All the CPGClass.Modifier that a method has
modifiers - Variable in class com.CodeSmell.parser.CPGClass
The list containing all the CPGClass.Modifier of the class
modifiers - Variable in class com.CodeSmell.smell.Smell.CodeFragment
 
modString - Variable in enum com.CodeSmell.parser.CPGClass.Modifier
The string representation of a given enum of type, Modifier
multiplicity - Variable in class com.CodeSmell.model.ClassRelation
 
multiplicity - Variable in class com.CodeSmell.parser.CodePropertyGraph.Relation
The multiplicity associated with the relation (empty for relations other than some form of ASSOCIATION relation)

N

name - Variable in class com.CodeSmell.model.UMLClass
 
name - Variable in class com.CodeSmell.parser.CPGClass.Attribute
The name of the attribute
name - Variable in class com.CodeSmell.parser.CPGClass.Method
The name of the method
name - Variable in class com.CodeSmell.parser.CPGClass.Method.Parameter
The name of the method parameter
name - Variable in class com.CodeSmell.parser.CPGClass
The name of the class
name - Variable in class com.CodeSmell.smell.Smell
 
NATIVE - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 
nextFreePort(int, int) - Static method in class com.CodeSmell.parser.JoernServer
 
nextInputSize(InputStream) - Static method in class com.CodeSmell.parser.Parser
 
nextJson(InputStream, int) - Static method in class com.CodeSmell.parser.Parser
 
nonEmptyLines - Variable in class com.CodeSmell.parser.CPGClass
The total number of non-empty lines within a class (includes comments)

O

obtainMultiplicity(String, Long) - Static method in class com.CodeSmell.parser.RelationshipManager
Returns the multiplicity given an attribute type and a count of how many instances that attribute has within a given class.
obtainUniqueInstructions(CPGClass.Method, Helper) - Static method in class com.CodeSmell.stat.MethodStat
Analyze the existing method and its instructions and return a new list filled with only unique constructions that would appear the same as if read from the .java file.
order(CPGClass) - Method in class com.CodeSmell.smell.Common.ClassSorter
 
order(CPGClass) - Method in class com.CodeSmell.smell.Common.ContentSorter
 
order(CPGClass) - Method in class com.CodeSmell.smell.Common.RelationSorter
 
originalInterfaceMethods(CPGClass) - Static method in class com.CodeSmell.smell.Common
 
OrphanVariable - Class in com.CodeSmell.smell
An Orphan Variable/Constant Class can be defined as a collection of constants that belong elsewhere than the class they are defined within.
OrphanVariable(CodePropertyGraph) - Constructor for class com.CodeSmell.smell.OrphanVariable
 
outwardRelations - Variable in class com.CodeSmell.parser.CPGClass
All the outward CodePropertyGraph.Relation that a class has.

P

Package - Class in com.CodeSmell.parser
A class that is meant to represent that packages that exist within a given codebase.
Package(String) - Constructor for class com.CodeSmell.parser.Package
 
PACKAGE_PRIVATE - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 
Package.File - Class in com.CodeSmell.parser
A file that exists within a package, can contain 1 or more classes
PackageManager - Class in com.CodeSmell.parser
 
PackageManager(CodePropertyGraph) - Constructor for class com.CodeSmell.parser.PackageManager
 
packageName - Variable in class com.CodeSmell.parser.CPGClass.Attribute
The name of the package in which the type of the Attribute originates from (i.e.
packageName - Variable in class com.CodeSmell.parser.CPGClass
The package that the class belongs to, if any
packageName - Variable in class com.CodeSmell.parser.Package
The name of the package
packages - Variable in class com.CodeSmell.parser.CodePropertyGraph
All the packages within the CodePropertyGraph.
packageUse - Variable in class com.CodeSmell.stat.StatTracker
Group all classes to their respective packages and maintain a sum of the usage of each class within that package as the total package usage for that package
Pair<F,S> - Class in com.CodeSmell.model
 
Pair(F, S) - Constructor for class com.CodeSmell.model.Pair
 
Parameter(String, String, String) - Constructor for class com.CodeSmell.parser.CPGClass.Method.Parameter
 
parameters - Variable in class com.CodeSmell.parser.CPGClass.Method
All the method CPGClass.Method.Parameter belonging to a method
parameters - Variable in class com.CodeSmell.smell.Smell.CodeFragment
 
parameterUsage - Variable in class com.CodeSmell.stat.MethodStat
A map containing a count of how many times each parameter within this method was used, >= 0
parentClass - Variable in class com.CodeSmell.parser.CPGClass.Attribute
The parent class which owns this attribute
parentClass - Variable in class com.CodeSmell.parser.CPGClass.Method
The class which owns the method
parentClassName - Variable in class com.CodeSmell.parser.CPGClass.Method
 
Parser - Class in com.CodeSmell.parser
The Parser class that reads in the JSON source code of the project that is being analysed and then converts the JSON code to a code property object
Parser() - Constructor for class com.CodeSmell.parser.Parser
 
Parser.ArrayListExclusion - Class in com.CodeSmell.parser
 
path - Variable in class com.CodeSmell.model.ClassRelation
 
pathContainerId - Variable in class com.CodeSmell.model.ClassRelation
 
position - Variable in class com.CodeSmell.model.UMLClass
 
Position - Class in com.CodeSmell.model
 
Position(double, double) - Constructor for class com.CodeSmell.model.Position
 
printSmellDetections(Smell) - Method in class com.CodeSmell.MainApp
 
PRIVATE - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 
processDetection(CPGClass, int) - Method in class com.CodeSmell.smell.ISPViolation
 
PROTECTED - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 
PUBLIC - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 

R

rand - Static variable in class com.CodeSmell.parser.JoernServer
 
reader - Variable in class com.CodeSmell.parser.JoernServer.ReaderThread
 
ReaderThread(BufferedReader) - Constructor for class com.CodeSmell.parser.JoernServer.ReaderThread
 
readFromJoernQuery(CodePropertyGraph, BufferedInputStream, Gson) - Static method in class com.CodeSmell.parser.Parser
 
REALIZATION - Enum constant in enum com.CodeSmell.model.ClassRelation.RelationshipType
 
REFLEXIVE_ASSOCIATION - Enum constant in enum com.CodeSmell.model.ClassRelation.RelationshipType
 
RefusedBequest - Class in com.CodeSmell.smell
A class that does not use all of its inherited properties from its superclass.
RefusedBequest(CodePropertyGraph) - Constructor for class com.CodeSmell.smell.RefusedBequest
 
Relation(CPGClass, CPGClass, ClassRelation.RelationshipType, String) - Constructor for class com.CodeSmell.parser.CodePropertyGraph.Relation
 
relations - Variable in class com.CodeSmell.model.UMLClass
 
relations - Variable in class com.CodeSmell.parser.CodePropertyGraph
All the relationships between classes within the CodePropertyGraph
RelationshipManager - Class in com.CodeSmell.parser
The RelationshipManager is responsible for adding relations to the CodePropertyGraph object and adding relationships to each CPGClass's outwardRelations attribute.
RelationshipManager(CodePropertyGraph) - Constructor for class com.CodeSmell.parser.RelationshipManager
Create a RelationshipManager object which will assign all possible relations, provided a valid CPG and will return a new CPG with relations.
RelationshipType() - Constructor for enum com.CodeSmell.model.ClassRelation.RelationshipType
 
relationSorter - Variable in class com.CodeSmell.smell.GodClass
 
RelationSorter() - Constructor for class com.CodeSmell.smell.Common.RelationSorter
 
relationThreshold - Variable in class com.CodeSmell.smell.GodClass
 
removeWhenParserLambdaLimitationFixed(Worker.State) - Method in class com.CodeSmell.MainApp
 
render() - Method in class com.CodeSmell.model.RenderObject
 
render() - Method in class com.CodeSmell.model.UMLClass
 
RENDER - Enum constant in enum com.CodeSmell.model.RenderEvent.Type
 
renderClass(UMLClass) - Method in class com.CodeSmell.view.WebBridge
 
RenderEvent - Class in com.CodeSmell.model
 
RenderEvent(RenderEvent.Type, RenderObject) - Constructor for class com.CodeSmell.model.RenderEvent
 
RenderEvent.Type - Enum in com.CodeSmell.model
 
RenderEventListener - Interface in com.CodeSmell.view
 
renderEventListeners - Static variable in class com.CodeSmell.model.RenderObject
 
renderEventPerformed(RenderEvent) - Method in interface com.CodeSmell.view.RenderEventListener
 
renderEventPerformed(RenderEvent) - Method in class com.CodeSmell.view.WebBridge
 
RenderObject - Class in com.CodeSmell.model
 
RenderObject() - Constructor for class com.CodeSmell.model.RenderObject
 
renderPath(ClassRelation) - Method in class com.CodeSmell.view.WebBridge
 
REPOSITION - Enum constant in enum com.CodeSmell.model.RenderEvent.Type
 
repositionClass(int, double, double) - Method in class com.CodeSmell.view.WebBridge
 
response - Variable in class com.CodeSmell.model.RenderEvent
 
returnAffectedAttributes(CPGClass, CPGClass) - Static method in class com.CodeSmell.smell.RefusedBequest
 
returnAffectedAttributes(List<CPGClass.Method>) - Static method in class com.CodeSmell.smell.InappropriateIntimacy
 
returnAffectedAttributes(List<AttributeStat>) - Static method in class com.CodeSmell.smell.OrphanVariable
Return an array consisting of all the constants, given a list of filtered AttributeStats containing references to the constants of a given class.
returnAffectedClasses(CPGClass, CPGClass.Method[]) - Static method in class com.CodeSmell.smell.InappropriateIntimacy
 
returnAffectedClasses(List<AttributeStat>, CPGClass) - Static method in class com.CodeSmell.smell.OrphanVariable
Iterate through all the AttributeStats and add all classes which call each reference Attribute within each AttributeStat along with the parent CPGClass and return an array of CPGClass.
returnAffectedInstructions(CPGClass.Attribute[], CPGClass.Method[]) - Static method in class com.CodeSmell.smell.OrphanVariable
Iterate through all the affected methods and find the affected instructions.
returnAffectedMethods(CPGClass, CPGClass) - Static method in class com.CodeSmell.smell.RefusedBequest
 
returnAffectedMethods(CPGClass, List<MethodStat>) - Static method in class com.CodeSmell.smell.InappropriateIntimacy
 
returnAffectedMethods(List<AttributeStat>) - Static method in class com.CodeSmell.smell.OrphanVariable
Iterate through the filtered AttributeStats and return an array consisting of all the methods which call each Attribute.
returnAttributeCalls(CodePropertyGraph, CPGClass.Method) - Static method in class com.CodeSmell.parser.Parser
Return all the attributes that a method calls
returnFilteredAttributeStat(List<AttributeStat>, CPGClass) - Static method in class com.CodeSmell.smell.OrphanVariable
Return a list of filtered AttributeStats, this list contains AttributeStat objects which are of primitive type, has the necessary modifiers to be a constant, the attribute is used within cpg and the parentClass of the attribute does not use the attribute.
returnFilteredClassStat() - Static method in class com.CodeSmell.smell.OrphanVariable
Return a list of filtered ClassStats, this list contains ClassStat objects where the CPGClass contains constants as attributes.
returnGetters(CPGClass, List<CPGClass.Attribute>) - Static method in class com.CodeSmell.smell.InappropriateIntimacy
 
returnHighestMultiplicity(Map<String, Long>) - Static method in class com.CodeSmell.parser.RelationshipManager
Return a String representing the highest multiplicity from a map of attribute types.
returnInheritsFrom(CPGClass, CodePropertyGraph) - Static method in class com.CodeSmell.parser.Parser
Return the list of CPGClasses that a given CPGClass inherits from (either interfaces or class / abstract class)
returnLazyClasses() - Method in class com.CodeSmell.smell.LazyClass
 
returnMethodCalls(CodePropertyGraph, CPGClass.Method) - Static method in class com.CodeSmell.parser.Parser
Return all the method calls that a method calls.
returnMisplacedClasses() - Method in class com.CodeSmell.smell.MisplacedClass
 
returnSuperToSubClasses(List<CodePropertyGraph.Relation>) - Static method in class com.CodeSmell.smell.RefusedBequest
 
returnTotalAttributeCalls(Map<CPGClass.Attribute, AttributeStat>) - Static method in class com.CodeSmell.stat.ClassStat
Iterate through the stats of every attribute present within this class and return a total referring to how many times all the attributes belonging to this class were used throughout cpg.
returnTotalClassLines(Map<String, Integer>) - Static method in class com.CodeSmell.stat.ClassStat
Iterate through the key, value pairs of the classLineMap and return an integer value representing the total number of lines present within a class.
returnTotalMethodCalls(Map<CPGClass.Method, MethodStat>) - Static method in class com.CodeSmell.stat.ClassStat
Iterate through the stats of every method present within this class and return a total referring to how many times all the methods belonging to this class were used throughout cpg.
returnTotalUsage(Map<CPGClass.Method, Integer>) - Static method in class com.CodeSmell.stat.AttributeStat
Determine the total attribute usage across all methods within cpg for this attribute.
returnTotalUsage(Map<CPGClass.Method, Integer>) - Static method in class com.CodeSmell.stat.MethodStat
Return an integer value representing the total number of times this method was called across all methods within cpg.
returnTotalUsage(Map<String, Integer>) - Static method in class com.CodeSmell.stat.ClassStat
Iterate through all the key, value pairs of the usageMap to return an integer value representing the total times a given class was used within cpg.
returnType - Variable in class com.CodeSmell.parser.CPGClass.Method
The return type of the method, if any
returnTypeLists(String, CodePropertyGraph) - Static method in class com.CodeSmell.parser.Parser
Return all the types (CPGClass) that are associated within a given string belonging to a parameter or attribute
run() - Method in class com.CodeSmell.parser.JoernServer.ReaderThread
 

S

second - Variable in class com.CodeSmell.model.Pair
 
Segregation() - Constructor for class com.CodeSmell.smell.ISPViolation.Segregation
 
segregations - Variable in class com.CodeSmell.smell.ISPViolation
 
setAttributeCalls(List<CPGClass.Attribute>) - Method in class com.CodeSmell.parser.CPGClass.Method
Set the attributeCalls field of a method to be equal to the provided attributeCalls list
setAttributes(List<CPGClass.Attribute>) - Method in class com.CodeSmell.parser.CPGClass
 
setInheritsFrom(List<CPGClass>) - Method in class com.CodeSmell.parser.CPGClass
 
setMethodCalls(List<CPGClass.Method>) - Method in class com.CodeSmell.parser.CPGClass.Method
Set the methodCalls field of a method to be equal to the provided methodCalls list
setMethods(List<CPGClass.Method>) - Method in class com.CodeSmell.parser.CPGClass
 
setParent(CPGClass) - Method in class com.CodeSmell.parser.CPGClass.Attribute
 
setParent(CPGClass) - Method in class com.CodeSmell.parser.CPGClass.Method
 
setPath(ArrayList<Position>) - Method in class com.CodeSmell.model.ClassRelation
 
setPosition(double, double) - Method in class com.CodeSmell.model.UMLClass
 
setResponse(Object) - Method in class com.CodeSmell.model.RenderEvent
 
setTimesCalled(int) - Method in class com.CodeSmell.parser.CPGClass
 
setTimesCalling(int) - Method in class com.CodeSmell.parser.CPGClass
 
setTypeList(List<CPGClass>) - Method in class com.CodeSmell.parser.CPGClass.Attribute
 
setTypeList(List<CPGClass>) - Method in class com.CodeSmell.parser.CPGClass.Method.Parameter
 
Shape - Class in com.CodeSmell.model
 
Shape(Position[], String) - Constructor for class com.CodeSmell.model.Shape
 
ShotgunSurgery - Class in com.CodeSmell.smell
 
ShotgunSurgery(CodePropertyGraph) - Constructor for class com.CodeSmell.smell.ShotgunSurgery
 
shouldSkipClass(Class<?>) - Method in class com.CodeSmell.parser.Parser.ArrayListExclusion
 
shouldSkipField(FieldAttributes) - Method in class com.CodeSmell.parser.Parser.ArrayListExclusion
 
skipJoern - Static variable in class com.CodeSmell.MainApp
 
Smell - Class in com.CodeSmell.smell
 
Smell(String, CodePropertyGraph) - Constructor for class com.CodeSmell.smell.Smell
 
Smell.CodeFragment - Class in com.CodeSmell.smell
Each detection is represented by a code fragment object containing the appropriate information needed to identify what the problem is in the CPG.
smells - Variable in class com.CodeSmell.model.UMLClass
 
smells - Variable in class com.CodeSmell.parser.CPGClass
 
sortNested(HashMap<CPGClass, CPGClass[]>) - Method in class com.CodeSmell.smell.Common.ClassSorter
 
source - Variable in class com.CodeSmell.model.ClassRelation
 
source - Variable in class com.CodeSmell.model.RenderEvent
 
source - Variable in class com.CodeSmell.parser.CodePropertyGraph.Relation
The source class of the relationship
start(File) - Method in class com.CodeSmell.parser.JoernServer
 
start(Stage) - Method in class com.CodeSmell.MainApp
 
STATIC - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 
stats - Static variable in class com.CodeSmell.smell.Common
 
stats - Static variable in class com.CodeSmell.smell.LazyClass
 
stats - Static variable in class com.CodeSmell.smell.MisplacedClass
 
StatTracker - Class in com.CodeSmell.stat
A class that is meant to contain potentially useful statistics that can aid in the detection of code smells and for general use case purposes including determining potential bugs within the CodeSmell tool itself.
StatTracker(CodePropertyGraph) - Constructor for class com.CodeSmell.stat.StatTracker
 
subPackages - Variable in class com.CodeSmell.parser.Package
All the subpackages that exist within the package, if any
SYNCHRONIZED - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 

T

tallyRelations() - Method in class com.CodeSmell.smell.LazyClass
 
target - Variable in class com.CodeSmell.model.ClassRelation
 
timesCalled - Variable in class com.CodeSmell.parser.CPGClass
 
timesCalling - Variable in class com.CodeSmell.parser.CPGClass
 
toString() - Method in class com.CodeSmell.model.Position
 
toString() - Method in class com.CodeSmell.parser.CodePropertyGraph.Relation
 
toString() - Method in class com.CodeSmell.parser.CodePropertyGraph
 
toString() - Method in class com.CodeSmell.parser.CPGClass.Attribute
 
toString() - Method in enum com.CodeSmell.parser.CPGClass.ClassType
 
toString() - Method in class com.CodeSmell.parser.CPGClass.Method.Instruction
 
toString() - Method in class com.CodeSmell.parser.CPGClass.Method.Parameter
 
toString() - Method in class com.CodeSmell.parser.CPGClass.Method
 
toString() - Method in enum com.CodeSmell.parser.CPGClass.Modifier
 
toString() - Method in class com.CodeSmell.parser.CPGClass
 
toString() - Method in class com.CodeSmell.parser.Package.File
 
toString() - Method in class com.CodeSmell.parser.Package
 
toString() - Method in class com.CodeSmell.smell.ISPViolation.Segregation
 
toString() - Method in class com.CodeSmell.smell.Smell.CodeFragment
 
toString() - Method in class com.CodeSmell.stat.AttributeStat
 
toString() - Method in class com.CodeSmell.stat.ClassStat
 
toString() - Method in class com.CodeSmell.stat.MethodStat
 
total - Variable in class com.CodeSmell.smell.Common.ClassSorter
 
totalAttributeCalls - Variable in class com.CodeSmell.stat.MethodStat
A map containing a count of how many times the attributes of another class were used within this method
totalClassAttributeCalls - Variable in class com.CodeSmell.stat.ClassStat
The total distinct attribute calls that this class makes to other classes (including itself) via its methods.
totalClassLines - Variable in class com.CodeSmell.stat.ClassStat
The total number of non-empty lines present within a file (excludes package and import statements)
totalClassMethodCalls - Variable in class com.CodeSmell.stat.ClassStat
The total distinct method calls that this class makes to other classes (including itself) via its methods.
totalMethodCalls - Variable in class com.CodeSmell.stat.MethodStat
A map containing a count of how many times the methods of another class were used within this method
totalMethodLength - Variable in class com.CodeSmell.parser.CPGClass.Method
The total length of the method (lineNumberEnd - lineNumberStart)
type - Variable in class com.CodeSmell.model.ClassRelation
 
type - Variable in class com.CodeSmell.model.RenderEvent
 
type - Variable in class com.CodeSmell.parser.CodePropertyGraph.Relation
The ClassRelation.RelationshipType that defines this relation (e.g.
type - Variable in class com.CodeSmell.parser.CPGClass.Method.Parameter
The full type of the method parameter
Type() - Constructor for enum com.CodeSmell.model.RenderEvent.Type
 
typeList - Variable in class com.CodeSmell.parser.CPGClass.Attribute
All the types that can be extracted from the attributeType (i.e.
typeList - Variable in class com.CodeSmell.parser.CPGClass.Method.Parameter
All the types that can be extracted from the parameter type (i.e.
typeString - Variable in enum com.CodeSmell.parser.CPGClass.ClassType
 

U

UMLClass - Class in com.CodeSmell.model
 
UMLClass(String, ArrayList<Smell>) - Constructor for class com.CodeSmell.model.UMLClass
 
UNIDIRECTIONAL_ASSOCIATION - Enum constant in enum com.CodeSmell.model.ClassRelation.RelationshipType
 
uniqueInstructions - Variable in class com.CodeSmell.stat.MethodStat
All the non-duplicated instructions that appear as-is in the .java file for a given method.
updateCPG(CodePropertyGraph) - Static method in class com.CodeSmell.parser.Parser
Update the properties of each CPGClass and additionally add relations and packages to the cpg.
updateCPGClassProperties(CodePropertyGraph) - Static method in class com.CodeSmell.parser.Parser
Updates the properties of each CPGClass within the CPG.
usageMap - Variable in class com.CodeSmell.stat.ClassStat
A detailed overview indicating how the classUsage was determined by showing how many times a class was used as a parameter type, inheritance or realization relation target, how many times it was used as an attribute type, and how many times its attributes and methods were called

V

valueOf(String) - Static method in enum com.CodeSmell.model.ClassRelation.RelationshipType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.CodeSmell.model.RenderEvent.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.CodeSmell.parser.CPGClass.ClassType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.CodeSmell.parser.CPGClass.Modifier
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.CodeSmell.model.ClassRelation.RelationshipType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.CodeSmell.model.RenderEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.CodeSmell.parser.CPGClass.ClassType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.CodeSmell.parser.CPGClass.Modifier
Returns an array containing the constants of this enum type, in the order they are declared.
vertex - Variable in class com.CodeSmell.model.Shape
 
VIRTUAL - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 
VOLATILE - Enum constant in enum com.CodeSmell.parser.CPGClass.Modifier
 

W

WebBridge - Class in com.CodeSmell.view
 
WebBridge(WebEngine) - Constructor for class com.CodeSmell.view.WebBridge
 
width - Variable in class com.CodeSmell.model.UMLClass
 
writeBackup(CodePropertyGraph) - Static method in class com.CodeSmell.parser.Parser
 

X

x - Variable in class com.CodeSmell.model.Position
 

Y

y - Variable in class com.CodeSmell.model.Position
 
A B C D E F G H I J L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form