Reviewed By: jberdine Differential Revision: D4329611 fbshipit-source-id: aea5792master
parent
eafe1158a6
commit
6c056f535a
@ -0,0 +1,20 @@
|
||||
# Copyright (c) 2016 - present Facebook, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD style license found in the
|
||||
# LICENSE file in the root directory of this source tree. An additional grant
|
||||
# of patent rights can be found in the PATENTS file in the same directory.
|
||||
|
||||
TESTS_DIR = ../..
|
||||
|
||||
ANALYZER = linters
|
||||
|
||||
CODETOANALYZE_DIR = ../codetoanalyze/componentkit
|
||||
|
||||
CLANG_OPTIONS = -x objective-c++ -std=c++11 -c -fblocks
|
||||
INFER_OPTIONS = --no-filtering --compute-analytics --project-root $(CODETOANALYZE_DIR)
|
||||
INFERPRINT_OPTIONS = --issues-tests
|
||||
|
||||
SOURCES = $(CODETOANALYZE_DIR)/TestComponentKitAnalytics.mm
|
||||
|
||||
include $(TESTS_DIR)/clang.make
|
@ -0,0 +1,27 @@
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, -1, COMPONENT_FILE_CYCLOMATIC_COMPLEXITY, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 1, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 2, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 3, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 4, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 5, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 6, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 7, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 8, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 9, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 10, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 11, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 12, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 13, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 14, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 15, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 16, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 17, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 18, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 19, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 20, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 21, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 22, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 23, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, Linters_dummy_method, 24, COMPONENT_FILE_LINE_COUNT, []
|
||||
TestComponentKitAnalytics.mm, SomeClass_new, 16, COMPONENT_FILE_CYCLOMATIC_COMPLEXITY, []
|
||||
TestComponentKitAnalytics.mm, SomeClass_new, 18, COMPONENT_FILE_CYCLOMATIC_COMPLEXITY, []
|
@ -1,137 +0,0 @@
|
||||
[
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_CYCLOMATIC_COMPLEXITY",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_CYCLOMATIC_COMPLEXITY",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "SomeClass_new"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_CYCLOMATIC_COMPLEXITY",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "SomeClass_new"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
},
|
||||
{
|
||||
"bug_type": "COMPONENT_FILE_LINE_COUNT",
|
||||
"file": "TestComponentKitAnalytics.mm",
|
||||
"procedure": "Linters_dummy_method"
|
||||
}
|
||||
]
|
Loading…
Reference in new issue