INFO: Language automatically detected from extension: java
2025-07-23 14:53:01,315 - tree_sitter_analyzer - INFO - Successfully read file BigService.java with encoding: utf-8
2025-07-23 14:53:01,336 - tree_sitter_analyzer.performance - INFO - file_analysis: 0.0494s - Extracted 72 elements

--- Advanced Analysis Results ---
{
  "file_path": "BigService.java",
  "package": "com.example.service",
  "statistics": {
    "file_path": "BigService.java",
    "success": true,
    "package_name": "com.example.service",
    "element_counts": {
      "imports": 8,
      "classes": 1,
      "methods": 66,
      "fields": 5,
      "annotations": 0
    },
    "analysis_time_ms": 49.4,
    "error_message": null
  },
  "imports": [
    {
      "name": "",
      "statement": "",
      "is_static": false,
      "is_wildcard": true,
      "line": 0
    },
    {
      "name": "",
      "statement": "",
      "is_static": false,
      "is_wildcard": false,
      "line": 0
    },
    {
      "name": "",
      "statement": "",
      "is_static": false,
      "is_wildcard": false,
      "line": 0
    },
    {
      "name": "",
      "statement": "",
      "is_static": false,
      "is_wildcard": false,
      "line": 0
    },
    {
      "name": "",
      "statement": "",
      "is_static": false,
      "is_wildcard": false,
      "line": 0
    },
    {
      "name": "",
      "statement": "",
      "is_static": false,
      "is_wildcard": false,
      "line": 0
    },
    {
      "name": "",
      "statement": "",
      "is_static": false,
      "is_wildcard": false,
      "line": 0
    },
    {
      "name": "",
      "statement": "",
      "is_static": false,
      "is_wildcard": false,
      "line": 0
    }
  ],
  "classes": [
    {
      "name": "BigService",
      "type": "class",
      "visibility": "public",
      "extends": null,
      "implements": [],
      "annotations": [],
      "lines": "17-1420"
    }
  ],
  "methods": [
    {
      "name": "BigService",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": null,
      "parameters": 0,
      "annotations": [],
      "is_constructor": true,
      "is_static": false,
      "complexity": 1,
      "lines": "33-39"
    },
    {
      "name": "initializeService",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 1,
      "lines": "44-50"
    },
    {
      "name": "loadConfiguration",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "55-65"
    },
    {
      "name": "setupDatabaseConnection",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 2,
      "lines": "70-77"
    },
    {
      "name": "validateSystemRequirements",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 1,
      "lines": "82-88"
    },
    {
      "name": "checkMemoryUsage",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 2,
      "lines": "93-106"
    },
    {
      "name": "checkDiskSpace",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 2,
      "lines": "111-117"
    },
    {
      "name": "checkNetworkConnectivity",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 3,
      "lines": "122-136"
    },
    {
      "name": "authenticateUser",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 7,
      "lines": "141-172"
    },
    {
      "name": "createSession",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "String",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "177-199"
    },
    {
      "name": "validateData",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 13,
      "lines": "204-246"
    },
    {
      "name": "validateEmail",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 1,
      "lines": "251-254"
    },
    {
      "name": "validatePhoneNumber",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 1,
      "lines": "259-262"
    },
    {
      "name": "validateDate",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "267-275"
    },
    {
      "name": "logOperation",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 6,
      "lines": "280-290"
    },
    {
      "name": "manageCache",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "295-308"
    },
    {
      "name": "cleanupCache",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 2,
      "lines": "313-326"
    },
    {
      "name": "updateCacheStatistics",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 1,
      "lines": "331-335"
    },
    {
      "name": "calculateCacheHitRatio",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 1,
      "lines": "340-343"
    },
    {
      "name": "performBackup",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 12,
      "lines": "348-367"
    },
    {
      "name": "performFullBackup",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 8,
      "lines": "372-395"
    },
    {
      "name": "performIncrementalBackup",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 8,
      "lines": "400-414"
    },
    {
      "name": "performDifferentialBackup",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 11,
      "lines": "419-433"
    },
    {
      "name": "generateReport",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 10,
      "lines": "438-471"
    },
    {
      "name": "prepareReportData",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "476-490"
    },
    {
      "name": "generateSalesReport",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 7,
      "lines": "495-513"
    },
    {
      "name": "generatePerformanceReport",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 12,
      "lines": "518-534"
    },
    {
      "name": "generateUserActivityReport",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "539-553"
    },
    {
      "name": "generateSystemHealthReport",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "558-574"
    },
    {
      "name": "finalizeReport",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "579-593"
    },
    {
      "name": "updateCustomerName",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "601-617"
    },
    {
      "name": "getCustomerInfo",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "Map<String, Object>",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 8,
      "lines": "622-652"
    },
    {
      "name": "deleteCustomer",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 9,
      "lines": "657-691"
    },
    {
      "name": "processOrder",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "String",
      "parameters": 3,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 11,
      "lines": "696-736"
    },
    {
      "name": "manageInventory",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 3,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 10,
      "lines": "741-773"
    },
    {
      "name": "addInventory",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 6,
      "lines": "778-792"
    },
    {
      "name": "removeInventory",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "797-811"
    },
    {
      "name": "updateInventory",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "816-830"
    },
    {
      "name": "checkInventory",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 6,
      "lines": "835-850"
    },
    {
      "name": "sendNotification",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 3,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 14,
      "lines": "855-884"
    },
    {
      "name": "shutdownSystem",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 6,
      "lines": "890-913"
    },
    {
      "name": "savePendingOperations",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 2,
      "lines": "918-927"
    },
    {
      "name": "closeDatabaseConnections",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 2,
      "lines": "932-941"
    },
    {
      "name": "finalizeSystemLogs",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 2,
      "lines": "946-954"
    },
    {
      "name": "handleError",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "959-978"
    },
    {
      "name": "handleDatabaseError",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "983-997"
    },
    {
      "name": "handleValidationError",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 2,
      "lines": "1002-1010"
    },
    {
      "name": "handleRuntimeError",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "1015-1029"
    },
    {
      "name": "handleGenericError",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 2,
      "lines": "1034-1042"
    },
    {
      "name": "monitorPerformance",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "1047-1068"
    },
    {
      "name": "monitorCpuUsage",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "1073-1087"
    },
    {
      "name": "monitorMemoryUsage",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "1092-1113"
    },
    {
      "name": "monitorDiskIO",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "1118-1132"
    },
    {
      "name": "monitorNetworkUsage",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "1137-1151"
    },
    {
      "name": "performSecurityCheck",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 3,
      "lines": "1156-1172"
    },
    {
      "name": "checkAccessPermissions",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 6,
      "lines": "1177-1193"
    },
    {
      "name": "validateSecuritySettings",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "1198-1212"
    },
    {
      "name": "performVulnerabilityScan",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 8,
      "lines": "1217-1231"
    },
    {
      "name": "reviewSecurityLogs",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "1236-1250"
    },
    {
      "name": "synchronizeData",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "1255-1284"
    },
    {
      "name": "prepareSynchronization",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "1289-1303"
    },
    {
      "name": "extractData",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 5,
      "lines": "1308-1324"
    },
    {
      "name": "transformData",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 0,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 9,
      "lines": "1329-1343"
    },
    {
      "name": "loadData",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 4,
      "lines": "1348-1362"
    },
    {
      "name": "verifySynchronization",
      "file_path": "BigService.java",
      "visibility": "private",
      "return_type": "void",
      "parameters": 2,
      "annotations": [],
      "is_constructor": false,
      "is_static": false,
      "complexity": 8,
      "lines": "1367-1381"
    },
    {
      "name": "main",
      "file_path": "BigService.java",
      "visibility": "public",
      "return_type": "void",
      "parameters": 1,
      "annotations": [],
      "is_constructor": false,
      "is_static": true,
      "complexity": 4,
      "lines": "1386-1419"
    }
  ],
  "fields": [
    {
      "name": "DEFAULT_ENCODING",
      "type": "String",
      "file_path": "BigService.java",
      "visibility": "private",
      "is_static": true,
      "is_final": true,
      "annotations": [],
      "lines": "19-19"
    },
    {
      "name": "MAX_RETRY_COUNT",
      "type": "int",
      "file_path": "BigService.java",
      "visibility": "private",
      "is_static": true,
      "is_final": true,
      "annotations": [],
      "lines": "20-20"
    },
    {
      "name": "TIMEOUT_MILLISECONDS",
      "type": "long",
      "file_path": "BigService.java",
      "visibility": "private",
      "is_static": true,
      "is_final": true,
      "annotations": [],
      "lines": "21-21"
    },
    {
      "name": "DATE_FORMAT",
      "type": "String",
      "file_path": "BigService.java",
      "visibility": "private",
      "is_static": true,
      "is_final": true,
      "annotations": [],
      "lines": "22-22"
    },
    {
      "name": "dataSource",
      "type": "DataSource",
      "file_path": "BigService.java",
      "visibility": "private",
      "is_static": false,
      "is_final": false,
      "annotations": [],
      "lines": "24-24"
    }
  ]
}
