tree-sitter-analyzer 0.8.1__py3-none-any.whl → 0.8.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tree-sitter-analyzer might be problematic. Click here for more details.
- tree_sitter_analyzer/__init__.py +1 -1
- tree_sitter_analyzer/cli/commands/base_command.py +3 -1
- tree_sitter_analyzer/cli/commands/query_command.py +1 -1
- tree_sitter_analyzer/mcp/server.py +29 -1
- tree_sitter_analyzer/mcp/tools/analyze_scale_tool.py +677 -673
- tree_sitter_analyzer/mcp/tools/analyze_scale_tool_cli_compatible.py +4 -9
- tree_sitter_analyzer/mcp/utils/error_handler.py +18 -0
- tree_sitter_analyzer/project_detector.py +317 -317
- tree_sitter_analyzer/security/__init__.py +22 -22
- tree_sitter_analyzer/security/boundary_manager.py +44 -2
- tree_sitter_analyzer/security/regex_checker.py +292 -292
- tree_sitter_analyzer/security/validator.py +5 -2
- {tree_sitter_analyzer-0.8.1.dist-info → tree_sitter_analyzer-0.8.3.dist-info}/METADATA +35 -7
- {tree_sitter_analyzer-0.8.1.dist-info → tree_sitter_analyzer-0.8.3.dist-info}/RECORD +16 -16
- {tree_sitter_analyzer-0.8.1.dist-info → tree_sitter_analyzer-0.8.3.dist-info}/WHEEL +0 -0
- {tree_sitter_analyzer-0.8.1.dist-info → tree_sitter_analyzer-0.8.3.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tree-sitter-analyzer
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.3
|
|
4
4
|
Summary: Extensible multi-language code analyzer framework using Tree-sitter with dynamic plugin architecture
|
|
5
5
|
Project-URL: Homepage, https://github.com/aimasteracc/tree-sitter-analyzer
|
|
6
6
|
Project-URL: Documentation, https://github.com/aimasteracc/tree-sitter-analyzer#readme
|
|
@@ -137,7 +137,9 @@ Description-Content-Type: text/markdown
|
|
|
137
137
|
|
|
138
138
|
[](https://python.org)
|
|
139
139
|
[](LICENSE)
|
|
140
|
-
[](#testing)
|
|
141
|
+
[](#testing)
|
|
142
|
+
[](#quality)
|
|
141
143
|
|
|
142
144
|
**Solve the LLM token limit problem for large code files.**
|
|
143
145
|
|
|
@@ -332,18 +334,44 @@ Tree-sitter-analyzer automatically detects and secures your project boundaries:
|
|
|
332
334
|
}
|
|
333
335
|
```
|
|
334
336
|
|
|
335
|
-
## 🧪 Testing
|
|
337
|
+
## 🧪 Testing & Quality
|
|
336
338
|
|
|
337
|
-
This project maintains
|
|
339
|
+
This project maintains **enterprise-grade quality** with comprehensive testing:
|
|
338
340
|
|
|
341
|
+
### 📊 Quality Metrics
|
|
342
|
+
- **1358 tests** - 100% pass rate ✅
|
|
343
|
+
- **74.82% code coverage** - Industry standard quality
|
|
344
|
+
- **Zero test failures** - Complete CI/CD readiness
|
|
345
|
+
- **Cross-platform compatibility** - Windows, macOS, Linux
|
|
346
|
+
|
|
347
|
+
### 🏆 Recent Quality Achievements (v0.8.2+)
|
|
348
|
+
- ✅ **Complete test suite stabilization** - All 1358 tests passing
|
|
349
|
+
- ✅ **Windows compatibility improvements** - Fixed path handling and security validation
|
|
350
|
+
- ✅ **Enhanced error messaging** - Consistent CLI and MCP error reporting
|
|
351
|
+
- ✅ **Performance optimizations** - Improved timing accuracy in analysis tools
|
|
352
|
+
- ✅ **Security framework enhancements** - Better project boundary management
|
|
353
|
+
|
|
354
|
+
### 🔧 Running Tests
|
|
339
355
|
```bash
|
|
340
|
-
# Run tests
|
|
356
|
+
# Run all tests
|
|
341
357
|
pytest tests/ -v
|
|
342
358
|
|
|
343
|
-
# Run with coverage
|
|
344
|
-
pytest tests/ --cov=tree_sitter_analyzer
|
|
359
|
+
# Run with coverage report
|
|
360
|
+
pytest tests/ --cov=tree_sitter_analyzer --cov-report=html
|
|
361
|
+
|
|
362
|
+
# Run specific test categories
|
|
363
|
+
pytest tests/test_formatters_comprehensive.py -v
|
|
364
|
+
pytest tests/test_core_engine_extended.py -v
|
|
365
|
+
pytest tests/test_mcp_server_initialization.py -v
|
|
345
366
|
```
|
|
346
367
|
|
|
368
|
+
### 📈 Coverage Highlights
|
|
369
|
+
- **Formatters**: 42.30% (newly established)
|
|
370
|
+
- **Error Handler**: 82.76% (major improvement)
|
|
371
|
+
- **Language Detector**: 98.41% (excellent)
|
|
372
|
+
- **CLI Main**: 97.78% (excellent)
|
|
373
|
+
- **Security Framework**: 78%+ across all modules
|
|
374
|
+
|
|
347
375
|
## 📄 License
|
|
348
376
|
|
|
349
377
|
MIT License - see [LICENSE](LICENSE) file for details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tree_sitter_analyzer/__init__.py,sha256=
|
|
1
|
+
tree_sitter_analyzer/__init__.py,sha256=_3nXMz3u_gwDfCxRMCiy5AzN7_CA7lp9Jpe4ovI19EE,3199
|
|
2
2
|
tree_sitter_analyzer/__main__.py,sha256=ilhMPpn_ar28oelzxLfQcX6WH_UbQ2euxiSoV3z_yCg,239
|
|
3
3
|
tree_sitter_analyzer/api.py,sha256=_94HoE1LKGELSE6FpZ6pEqm2R7qfoPokyfpGSjawliQ,17487
|
|
4
4
|
tree_sitter_analyzer/cli_main.py,sha256=ses68m5tLoYMP6Co3Fk2vqBACuFd38MqF85uEoa0mbw,9714
|
|
@@ -9,7 +9,7 @@ tree_sitter_analyzer/language_detector.py,sha256=IjkYF1E7_TtWlwYjz780ZUJAyPltL2a
|
|
|
9
9
|
tree_sitter_analyzer/language_loader.py,sha256=gdLxkSoajm-q7c1vcvFONtBf5XJRgasUVI4L0wMzra0,8124
|
|
10
10
|
tree_sitter_analyzer/models.py,sha256=z0aqdZOVA8rYWF0143TSAUoCvncVRLZ1O70eAjV87gU,16564
|
|
11
11
|
tree_sitter_analyzer/output_manager.py,sha256=eiBOSL2vUUQi1ghYBr4gwT7aOYC2WTgIoISBZlXkzPo,8399
|
|
12
|
-
tree_sitter_analyzer/project_detector.py,sha256=
|
|
12
|
+
tree_sitter_analyzer/project_detector.py,sha256=FWk9bgnonxhCBRBGST-iSSxI6zHC3Ea-VTnP8iM_S10,9882
|
|
13
13
|
tree_sitter_analyzer/query_loader.py,sha256=NilC2XmmhYrBL6ONlzRGlehGa23C_4V6nDVap6YG8v0,10120
|
|
14
14
|
tree_sitter_analyzer/table_formatter.py,sha256=BfrAouAr3r6MD9xY9yhHw_PwD0aJ4BQo5p1UFhorT5k,27284
|
|
15
15
|
tree_sitter_analyzer/utils.py,sha256=Pq_2vlDPul8jean0PwlQ_XC-RDjkuaUbwoXp2ls7dV8,8268
|
|
@@ -18,10 +18,10 @@ tree_sitter_analyzer/cli/__main__.py,sha256=xgCuvLv5NNeEsxKM40pF_7b1apgj3DZ4ECa-
|
|
|
18
18
|
tree_sitter_analyzer/cli/info_commands.py,sha256=0x_6mfMq7jpKBLT9jzhTikXcs0n4TzNEV2Te9dyKNd4,4405
|
|
19
19
|
tree_sitter_analyzer/cli/commands/__init__.py,sha256=qLtJ7rRge-Reu4aZbczn_jmUHQNQ4lEAsve9BZYHYd0,697
|
|
20
20
|
tree_sitter_analyzer/cli/commands/advanced_command.py,sha256=YJGrFBEqFPpS0VB-o28Un89Cjwr-eTirNdcFLP4rlN8,3512
|
|
21
|
-
tree_sitter_analyzer/cli/commands/base_command.py,sha256=
|
|
21
|
+
tree_sitter_analyzer/cli/commands/base_command.py,sha256=m-qt6BK8zmK0lLuN__lqZhwI6Vyr_P1yntQ71UvyBNY,6823
|
|
22
22
|
tree_sitter_analyzer/cli/commands/default_command.py,sha256=R9_GuI5KVYPK2DfXRuG8L89vwxv0QVW8sur_sigjZKo,542
|
|
23
23
|
tree_sitter_analyzer/cli/commands/partial_read_command.py,sha256=kD3E2f1zCseSKpGQ3bgHnEuCq-DCPRQrT91JJJh8B4Q,4776
|
|
24
|
-
tree_sitter_analyzer/cli/commands/query_command.py,sha256=
|
|
24
|
+
tree_sitter_analyzer/cli/commands/query_command.py,sha256=TNkmuUKaTmTYD80jc8eesYLpw59YVk-6nw478SsYWH8,3640
|
|
25
25
|
tree_sitter_analyzer/cli/commands/structure_command.py,sha256=u-NKm06CLgx4srdK5bVo7WtcV4dArA7WYWQWmeXcWMs,5358
|
|
26
26
|
tree_sitter_analyzer/cli/commands/summary_command.py,sha256=X3pLK7t2ma4SDlG7yYsaFX6bQ4OVUrHv8OWDfgTMNMw,3703
|
|
27
27
|
tree_sitter_analyzer/cli/commands/table_command.py,sha256=BAIw26WRi_yXbKvkuV7tXFKzSiWvYKVzRUxAcgsJ7VQ,9676
|
|
@@ -46,19 +46,19 @@ tree_sitter_analyzer/languages/java_plugin.py,sha256=o_9F_anKCemnUDV6hq28RatRmBm
|
|
|
46
46
|
tree_sitter_analyzer/languages/javascript_plugin.py,sha256=9al0ScXmM5Y8Xl82oNp7cUaU9P59eNCJCPXSlfea4u8,16290
|
|
47
47
|
tree_sitter_analyzer/languages/python_plugin.py,sha256=nlVxDx6thOB5o6QfQzGbD7gph3_YuM32YYzqYZoHlMw,29899
|
|
48
48
|
tree_sitter_analyzer/mcp/__init__.py,sha256=mL_XjEks3tJOGAl9ULs_09KQOH1BWi92yvXpBidwmlI,752
|
|
49
|
-
tree_sitter_analyzer/mcp/server.py,sha256=
|
|
49
|
+
tree_sitter_analyzer/mcp/server.py,sha256=guh8Z4JPw3S_-qpQwAIY8V3KxZCskHXokB-EQhI6mqo,17015
|
|
50
50
|
tree_sitter_analyzer/mcp/resources/__init__.py,sha256=PHDvZyHZawoToDQVqrepsmcTk00ZlaTsu6uxwVjoa4A,1433
|
|
51
51
|
tree_sitter_analyzer/mcp/resources/code_file_resource.py,sha256=MDHvJl6akElHtcxlN6eCcY5WYSjQEQFCyhAVGiPGk9s,6462
|
|
52
52
|
tree_sitter_analyzer/mcp/resources/project_stats_resource.py,sha256=lZF9TGxjKvTwPyuWE_o3I3V4LK0zEj3lab4L0Iq-hho,19758
|
|
53
53
|
tree_sitter_analyzer/mcp/tools/__init__.py,sha256=RMvJOzfZMVe24WUNWJJ-pdygc1RbEVrhW5NZwpykDoQ,792
|
|
54
|
-
tree_sitter_analyzer/mcp/tools/analyze_scale_tool.py,sha256
|
|
55
|
-
tree_sitter_analyzer/mcp/tools/analyze_scale_tool_cli_compatible.py,sha256=
|
|
54
|
+
tree_sitter_analyzer/mcp/tools/analyze_scale_tool.py,sha256=-xVdDuo45X1O-IYKzJvJRM4LlISKWMJmEKCC7sJp3v0,27388
|
|
55
|
+
tree_sitter_analyzer/mcp/tools/analyze_scale_tool_cli_compatible.py,sha256=1RjsEMS8n9hBmipbgIjw-sAykFRmMZzW53w5be1Ps24,9040
|
|
56
56
|
tree_sitter_analyzer/mcp/tools/base_tool.py,sha256=szW84sSYejzRyBlFbskOARQbsfc2JLwHmjZ6rJZ8SQA,1264
|
|
57
57
|
tree_sitter_analyzer/mcp/tools/read_partial_tool.py,sha256=Hjfl1-b0BVsT-g6zr0-pxXA0T1tKaE0iLJZFMm-fxRI,11505
|
|
58
58
|
tree_sitter_analyzer/mcp/tools/table_format_tool.py,sha256=JUfkB32ZXf-RQ5O2nKC2jFTVR1AxD8lks5vjjDFEoNw,15502
|
|
59
59
|
tree_sitter_analyzer/mcp/tools/universal_analyze_tool.py,sha256=MbJEzWa0b2KtHLIgmy5WVcCN89YL4tB1drujoHt9axs,22173
|
|
60
60
|
tree_sitter_analyzer/mcp/utils/__init__.py,sha256=F_qFFC2gvGNdgRWGLxIh4Amd0dPhZv0Ni1ZbCbaYLlI,3063
|
|
61
|
-
tree_sitter_analyzer/mcp/utils/error_handler.py,sha256=
|
|
61
|
+
tree_sitter_analyzer/mcp/utils/error_handler.py,sha256=tygl1E9fcI-2i7F-b1m3FYzJV9WvecSuskq6fDhSbgQ,18924
|
|
62
62
|
tree_sitter_analyzer/plugins/__init__.py,sha256=MfSW8P9GLaL_9XgLISdlpIUY4quqapk0avPLIpBdMTg,10606
|
|
63
63
|
tree_sitter_analyzer/plugins/base.py,sha256=or-p0ZkXxVPuXEsysRbOcBGo2r-Di-BgnN3e0fnN44Q,17696
|
|
64
64
|
tree_sitter_analyzer/plugins/manager.py,sha256=DTe1kGNzElOKXjlcKuHkA-SOOpInBeFCeT6rSdxR3AI,12914
|
|
@@ -67,11 +67,11 @@ tree_sitter_analyzer/queries/java.py,sha256=guHrEQD2PvzUvY7dVxIXpul2KmIJMLefq7G7
|
|
|
67
67
|
tree_sitter_analyzer/queries/javascript.py,sha256=wIv5k-l48e1_sW_vqNUBkdNKO97CBs-L8IZcQIQeZh0,4110
|
|
68
68
|
tree_sitter_analyzer/queries/python.py,sha256=tl72D3JTOSNIG-1lXww0YKQ41AgMKB5iBUkNBaqfkiI,7855
|
|
69
69
|
tree_sitter_analyzer/queries/typescript.py,sha256=I1ndwPjAMGOIa1frSK3ewLqEkeDAJuAE9qzD9seEGf4,6937
|
|
70
|
-
tree_sitter_analyzer/security/__init__.py,sha256=
|
|
71
|
-
tree_sitter_analyzer/security/boundary_manager.py,sha256=
|
|
72
|
-
tree_sitter_analyzer/security/regex_checker.py,sha256=
|
|
73
|
-
tree_sitter_analyzer/security/validator.py,sha256=
|
|
74
|
-
tree_sitter_analyzer-0.8.
|
|
75
|
-
tree_sitter_analyzer-0.8.
|
|
76
|
-
tree_sitter_analyzer-0.8.
|
|
77
|
-
tree_sitter_analyzer-0.8.
|
|
70
|
+
tree_sitter_analyzer/security/__init__.py,sha256=AlBGtSpDqVxlfM4K7JD-dJsDE8cPcuzJvN7OOsNOhm8,646
|
|
71
|
+
tree_sitter_analyzer/security/boundary_manager.py,sha256=g1xPsBIx2w0hbqor7f2T2cSJ0_4ztSL_v-l076U-G54,9439
|
|
72
|
+
tree_sitter_analyzer/security/regex_checker.py,sha256=glKsja9zbrP_kOkaXxPkzkkUjLZpO1EBCi3LS3fobmQ,10317
|
|
73
|
+
tree_sitter_analyzer/security/validator.py,sha256=CbEQsKjw3F3MyU8WSOhFYy0SeAYdxORhLWI3ymxDBvo,9311
|
|
74
|
+
tree_sitter_analyzer-0.8.3.dist-info/METADATA,sha256=0wTQ2VYQgpwasWzdiMUtQkPkzpkC_m9_5NztpT83kz8,15767
|
|
75
|
+
tree_sitter_analyzer-0.8.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
76
|
+
tree_sitter_analyzer-0.8.3.dist-info/entry_points.txt,sha256=EA0Ow27x2SqNt2300sv70RTWxKRIxJzOhNPIVlez4NM,417
|
|
77
|
+
tree_sitter_analyzer-0.8.3.dist-info/RECORD,,
|
|
File without changes
|
{tree_sitter_analyzer-0.8.1.dist-info → tree_sitter_analyzer-0.8.3.dist-info}/entry_points.txt
RENAMED
|
File without changes
|