Class Filter.FilterCommandLine

    • Field Detail

      • classPattern

        java.util.regex.Pattern classPattern
      • bugPattern

        java.util.regex.Pattern bugPattern
      • callsPattern

        java.util.regex.Pattern callsPattern
      • notSpecified

        public boolean notSpecified
      • not

        public boolean not
      • duration

        int duration
      • first

        long first
      • firstAsString

        java.lang.String firstAsString
      • after

        long after
      • afterAsString

        java.lang.String afterAsString
      • before

        long before
      • beforeAsString

        java.lang.String beforeAsString
      • maxRank

        int maxRank
      • maybeMutated

        long maybeMutated
      • maybeMutatedAsString

        java.lang.String maybeMutatedAsString
      • last

        long last
      • lastAsString

        java.lang.String lastAsString
      • trimToVersionAsString

        java.lang.String trimToVersionAsString
      • fixedAsString

        java.lang.String fixedAsString
      • present

        long present
      • presentAsString

        java.lang.String presentAsString
      • absent

        long absent
      • absentAsString

        java.lang.String absentAsString
      • annotation

        java.lang.String annotation
      • hashesFromFile

        java.util.HashSet<java.lang.String> hashesFromFile
      • sloppyUniqueSpecified

        public boolean sloppyUniqueSpecified
      • sloppyUnique

        public boolean sloppyUnique
      • purgeHistorySpecified

        public boolean purgeHistorySpecified
      • purgeHistory

        public boolean purgeHistory
      • activeSpecified

        public boolean activeSpecified
      • active

        public boolean active
      • notAProblem

        public boolean notAProblem
      • notAProblemSpecified

        public boolean notAProblemSpecified
      • shouldFix

        public boolean shouldFix
      • shouldFixSpecified

        public boolean shouldFixSpecified
      • hasField

        public boolean hasField
      • hasFieldSpecified

        public boolean hasFieldSpecified
      • hasLocal

        public boolean hasLocal
      • hasLocalSpecified

        public boolean hasLocalSpecified
      • applySuppression

        public boolean applySuppression
      • applySuppressionSpecified

        public boolean applySuppressionSpecified
      • withSource

        public boolean withSource
      • withSourceSpecified

        public boolean withSourceSpecified
      • knownSource

        public boolean knownSource
      • knownSourceSpecified

        public boolean knownSourceSpecified
      • introducedByChange

        public boolean introducedByChange
      • introducedByChangeSpecified

        public boolean introducedByChangeSpecified
      • removedByChange

        public boolean removedByChange
      • removedByChangeSpecified

        public boolean removedByChangeSpecified
      • newCode

        public boolean newCode
      • newCodeSpecified

        public boolean newCodeSpecified
      • hashChanged

        public boolean hashChanged
      • hashChangedSpecified

        public boolean hashChangedSpecified
      • removedCode

        public boolean removedCode
      • removedCodeSpecified

        public boolean removedCodeSpecified
      • dontUpdateStats

        public boolean dontUpdateStats
      • dontUpdateStatsSpecified

        public boolean dontUpdateStatsSpecified
      • withMessagesSpecified

        public boolean withMessagesSpecified
      • withMessages

        public boolean withMessages
      • includeFilter

        private final java.util.List<Matcher> includeFilter
      • excludeFilter

        private final java.util.List<Matcher> excludeFilter
      • excludedInstanceHashes

        java.util.HashSet<java.lang.String> excludedInstanceHashes
      • designationKey

        java.util.Set<java.lang.String> designationKey
      • categoryKey

        java.util.Set<java.lang.String> categoryKey
      • uniqueSloppy

        java.util.SortedSet<BugInstance> uniqueSloppy
      • priority

        int priority
      • suppressionFilter

        Filter suppressionFilter
      • mutationPoints

        java.util.HashSet<java.lang.String> mutationPoints
    • Constructor Detail

      • FilterCommandLine

        FilterCommandLine()
    • Method Detail

      • getVersionNum

        public static long getVersionNum​(BugCollection collection,
                                         java.lang.String val,
                                         boolean roundToLaterVersion)
      • getVersionNum

        public static long getVersionNum​(java.util.Map<java.lang.String,​AppVersion> versions,
                                         java.util.SortedMap<java.lang.Long,​AppVersion> timeStamps,
                                         java.lang.String val,
                                         boolean roundToLaterVersion,
                                         long currentSeqNum)
      • getAppropriateSeq

        private static long getAppropriateSeq​(java.util.SortedMap<java.lang.Long,​AppVersion> timeStamps,
                                              long when,
                                              boolean roundToLaterVersion)
      • addCategoryKey

        private void addCategoryKey​(java.lang.String argument)
      • bugLiveAt

        private boolean bugLiveAt​(BugInstance bug,
                                  long now)
      • handleOption

        protected void handleOption​(java.lang.String option,
                                    java.lang.String optionExtraPart)
                             throws java.io.IOException
        Description copied from class: CommandLine
        Callback method for handling an option.
        Specified by:
        handleOption in class CommandLine
        Parameters:
        option - the option
        optionExtraPart - the "extra" part of the option (everything after the colon: e.g., "withMessages" in "-xml:withMessages"); the empty string if there was no extra part
        Throws:
        java.io.IOException
      • setField

        private void setField​(java.lang.String fieldName,
                              boolean value)
      • handleOptionWithArgument

        protected void handleOptionWithArgument​(java.lang.String option,
                                                java.lang.String argument)
                                         throws java.io.IOException
        Description copied from class: CommandLine
        Callback method for handling an option with an argument.
        Specified by:
        handleOptionWithArgument in class CommandLine
        Parameters:
        option - the option
        argument - the argument
        Throws:
        java.io.IOException
      • getReady

        public void getReady​(SortedBugCollection origCollection)
        Do any prep work needed to perform bug filtering
        Parameters:
        origCollection -
      • atMutationPoint

        private boolean atMutationPoint​(BugInstance b)
        Parameters:
        b -
        Returns:
      • getBugLocation

        private java.lang.String getBugLocation​(BugInstance b)
        Parameters:
        b -
        Returns: