Mon, 22 Apr 2024 16:13:31 +0200
Added a type filter to show just results of the selected type.
--- a/ChangeLog Sat Dec 23 16:08:42 2023 +0100 +++ b/ChangeLog Mon Apr 22 16:13:31 2024 +0200 @@ -1,5 +1,8 @@ ChangeLog --------- +Version 10.3.0: +- added a type filter to show just results of the selected type + Version 10.2.2: - bug fixes
--- a/PluginVulture.py Sat Dec 23 16:08:42 2023 +0100 +++ b/PluginVulture.py Mon Apr 22 16:13:31 2024 +0200 @@ -26,7 +26,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "10.2.2" +version = "10.3.0" className = "VulturePlugin" packageName = "VultureChecker" shortDescription = "Plug-in to detect unused code using the 'vulture' library"
--- a/VultureChecker/Documentation/source/Plugin_Checker_Vulture.PluginVulture.html Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/Documentation/source/Plugin_Checker_Vulture.PluginVulture.html Mon Apr 22 16:13:31 2024 +0200 @@ -7,41 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Checker_Vulture.PluginVulture</h1> - <p> Module implementing the vulture plug-in. </p> + <h3>Global Attributes</h3> - <table> -<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> +<tr><td>author</td></tr> +<tr><td>autoactivate</td></tr> +<tr><td>className</td></tr> +<tr><td>deactivateable</td></tr> +<tr><td>error</td></tr> +<tr><td>longDescription</td></tr> +<tr><td>name</td></tr> +<tr><td>needsRestart</td></tr> +<tr><td>packageName</td></tr> +<tr><td>pyqtApi</td></tr> +<tr><td>shortDescription</td></tr> +<tr><td>version</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#VulturePlugin">VulturePlugin</a></td> <td>Class documentation goes here.</td> </tr> </table> + <h3>Functions</h3> - <table> - <tr> <td><a href="#installDependencies">installDependencies</a></td> <td>Function to install dependencies of this plug-in.</td> </tr> </table> + <hr /> <hr /> <a NAME="VulturePlugin" ID="VulturePlugin"></a> <h2>VulturePlugin</h2> - <p> Class documentation goes here. </p> + <h3>Signals</h3> <dl> @@ -62,19 +71,17 @@ <h3>Derived from</h3> QObject <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#VulturePlugin.__init__">VulturePlugin</a></td> <td>Constructor</td> @@ -136,19 +143,20 @@ <td>Public slot to dispatch the result.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="VulturePlugin.__init__" ID="VulturePlugin.__init__"></a> <h4>VulturePlugin (Constructor)</h4> <b>VulturePlugin</b>(<i>ui</i>) - <p> Constructor </p> + <dl> <dt><i>ui</i> (UserInterface)</dt> @@ -159,32 +167,32 @@ <a NAME="VulturePlugin.__initialize" ID="VulturePlugin.__initialize"></a> <h4>VulturePlugin.__initialize</h4> <b>__initialize</b>(<i></i>) - <p> Private slot to (re)initialize the plug-in. </p> + <a NAME="VulturePlugin.__loadTranslator" ID="VulturePlugin.__loadTranslator"></a> <h4>VulturePlugin.__loadTranslator</h4> <b>__loadTranslator</b>(<i></i>) - <p> Private method to load the translation file. </p> + <a NAME="VulturePlugin.__projectClosed" ID="VulturePlugin.__projectClosed"></a> <h4>VulturePlugin.__projectClosed</h4> <b>__projectClosed</b>(<i></i>) - <p> Private slot to handle closing a project. </p> + <a NAME="VulturePlugin.__projectShowMenu" ID="VulturePlugin.__projectShowMenu"></a> <h4>VulturePlugin.__projectShowMenu</h4> <b>__projectShowMenu</b>(<i>menuName, menu, </i>) - <p> Private slot called, when the the project menu or a submenu is about to be shown. </p> + <dl> <dt><i>menuName</i> (str)</dt> @@ -199,17 +207,17 @@ <a NAME="VulturePlugin.__projectVultureCheck" ID="VulturePlugin.__projectVultureCheck"></a> <h4>VulturePlugin.__projectVultureCheck</h4> <b>__projectVultureCheck</b>(<i></i>) - <p> Private slot used to check the project for unused code. </p> + <a NAME="VulturePlugin.__serviceError" ID="VulturePlugin.__serviceError"></a> <h4>VulturePlugin.__serviceError</h4> <b>__serviceError</b>(<i>fn, msg</i>) - <p> Private slot handling service errors. </p> + <dl> <dt><i>fn</i> (str)</dt> @@ -224,10 +232,10 @@ <a NAME="VulturePlugin.activate" ID="VulturePlugin.activate"></a> <h4>VulturePlugin.activate</h4> <b>activate</b>(<i></i>) - <p> Public method to activate this plug-in. </p> + <dl> <dt>Return:</dt> <dd> @@ -243,10 +251,10 @@ <a NAME="VulturePlugin.batchJobDone" ID="VulturePlugin.batchJobDone"></a> <h4>VulturePlugin.batchJobDone</h4> <b>batchJobDone</b>(<i>fx, lang</i>) - <p> Public slot handling the completion of a batch job. </p> + <dl> <dt><i>fx</i> (str)</dt> @@ -261,24 +269,24 @@ <a NAME="VulturePlugin.cancelVultureCheckBatch" ID="VulturePlugin.cancelVultureCheckBatch"></a> <h4>VulturePlugin.cancelVultureCheckBatch</h4> <b>cancelVultureCheckBatch</b>(<i></i>) - <p> Public method to cancel all batch jobs. </p> + <a NAME="VulturePlugin.deactivate" ID="VulturePlugin.deactivate"></a> <h4>VulturePlugin.deactivate</h4> <b>deactivate</b>(<i></i>) - <p> Public method to deactivate this plug-in. </p> + <a NAME="VulturePlugin.serviceErrorPy3" ID="VulturePlugin.serviceErrorPy3"></a> <h4>VulturePlugin.serviceErrorPy3</h4> <b>serviceErrorPy3</b>(<i>fx, lang, fn, msg</i>) - <p> Public slot handling service errors for Python 3. </p> + <dl> <dt><i>fx</i> (str)</dt> @@ -301,10 +309,10 @@ <a NAME="VulturePlugin.vultureCheck" ID="VulturePlugin.vultureCheck"></a> <h4>VulturePlugin.vultureCheck</h4> <b>vultureCheck</b>(<i>lang, filename, source</i>) - <p> Public method to prepare a vulture check for a Python project. </p> + <dl> <dt><i>lang</i> (str or None)</dt> @@ -324,11 +332,11 @@ <a NAME="VulturePlugin.vultureCheckBatch" ID="VulturePlugin.vultureCheckBatch"></a> <h4>VulturePlugin.vultureCheckBatch</h4> <b>vultureCheckBatch</b>(<i>argumentsList</i>) - <p> Public method to prepare a vulture check for a Python project using the batch mode. </p> + <dl> <dt><i>argumentsList</i> ((str, str))</dt> @@ -340,10 +348,10 @@ <a NAME="VulturePlugin.vultureCheckDone" ID="VulturePlugin.vultureCheckDone"></a> <h4>VulturePlugin.vultureCheckDone</h4> <b>vultureCheckDone</b>(<i>filename, result</i>) - <p> Public slot to dispatch the result. </p> + <dl> <dt><i>filename</i> (str)</dt> @@ -361,10 +369,10 @@ <a NAME="installDependencies" ID="installDependencies"></a> <h2>installDependencies</h2> <b>installDependencies</b>(<i>pipInstall</i>) - <p> Function to install dependencies of this plug-in. </p> + <dl> <dt><i>pipInstall</i> (function)</dt> @@ -374,4 +382,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/VultureChecker/Documentation/source/Plugin_Checker_Vulture.VultureChecker.EditWhiteListDialog.html Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/Documentation/source/Plugin_Checker_Vulture.VultureChecker.EditWhiteListDialog.html Mon Apr 22 16:13:31 2024 +0200 @@ -7,53 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Checker_Vulture.VultureChecker.EditWhiteListDialog</h1> - <p> Module implementing the whitelist edit dialog. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#EditWhiteListDialog">EditWhiteListDialog</a></td> <td>Class implementing the whitelist edit dialog.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="EditWhiteListDialog" ID="EditWhiteListDialog"></a> <h2>EditWhiteListDialog</h2> - <p> Class implementing the whitelist edit dialog. </p> + <h3>Derived from</h3> QDialog, Ui_EditWhiteListDialog <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#EditWhiteListDialog.__init__">EditWhiteListDialog</a></td> <td>Constructor</td> @@ -123,19 +120,20 @@ <td>Private slot to react upon a change of selection in the variables list.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="EditWhiteListDialog.__init__" ID="EditWhiteListDialog.__init__"></a> <h4>EditWhiteListDialog (Constructor)</h4> <b>EditWhiteListDialog</b>(<i>whitelists, parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>whitelists</i> (dict of list of str)</dt> @@ -150,10 +148,10 @@ <a NAME="EditWhiteListDialog.__getWhiteList" ID="EditWhiteListDialog.__getWhiteList"></a> <h4>EditWhiteListDialog.__getWhiteList</h4> <b>__getWhiteList</b>(<i>listWidget</i>) - <p> Private method to get the whitelisted names from a list widget. </p> + <dl> <dt><i>listWidget</i> (QListWidget)</dt> @@ -176,10 +174,10 @@ <a NAME="EditWhiteListDialog.__isPattern" ID="EditWhiteListDialog.__isPattern"></a> <h4>EditWhiteListDialog.__isPattern</h4> <b>__isPattern</b>(<i>name</i>) - <p> Private method to check, if a name is a wildcard pattern. </p> + <dl> <dt><i>name</i> (str)</dt> @@ -202,17 +200,17 @@ <a NAME="EditWhiteListDialog.__setButtonEnabledStates" ID="EditWhiteListDialog.__setButtonEnabledStates"></a> <h4>EditWhiteListDialog.__setButtonEnabledStates</h4> <b>__setButtonEnabledStates</b>(<i></i>) - <p> Private slot to set the state of various buttons. </p> + <a NAME="EditWhiteListDialog.getWhiteLists" ID="EditWhiteListDialog.getWhiteLists"></a> <h4>EditWhiteListDialog.getWhiteLists</h4> <b>getWhiteLists</b>(<i></i>) - <p> Public methods to retrieve the various whitelists. </p> + <dl> <dt>Return:</dt> <dd> @@ -228,46 +226,46 @@ <a NAME="EditWhiteListDialog.on_addButton_clicked" ID="EditWhiteListDialog.on_addButton_clicked"></a> <h4>EditWhiteListDialog.on_addButton_clicked</h4> <b>on_addButton_clicked</b>(<i></i>) - <p> Private slot to add an entry to the current list. </p> + <a NAME="EditWhiteListDialog.on_attributesList_itemSelectionChanged" ID="EditWhiteListDialog.on_attributesList_itemSelectionChanged"></a> <h4>EditWhiteListDialog.on_attributesList_itemSelectionChanged</h4> <b>on_attributesList_itemSelectionChanged</b>(<i></i>) - <p> Private slot to react upon a change of selection in the attributes list. </p> + <a NAME="EditWhiteListDialog.on_classesList_itemSelectionChanged" ID="EditWhiteListDialog.on_classesList_itemSelectionChanged"></a> <h4>EditWhiteListDialog.on_classesList_itemSelectionChanged</h4> <b>on_classesList_itemSelectionChanged</b>(<i></i>) - <p> Private slot to react upon a change of selection in the classes list. </p> + <a NAME="EditWhiteListDialog.on_functionsList_itemSelectionChanged" ID="EditWhiteListDialog.on_functionsList_itemSelectionChanged"></a> <h4>EditWhiteListDialog.on_functionsList_itemSelectionChanged</h4> <b>on_functionsList_itemSelectionChanged</b>(<i></i>) - <p> Private slot to react upon a change of selection in the functions list. </p> + <a NAME="EditWhiteListDialog.on_importsList_itemSelectionChanged" ID="EditWhiteListDialog.on_importsList_itemSelectionChanged"></a> <h4>EditWhiteListDialog.on_importsList_itemSelectionChanged</h4> <b>on_importsList_itemSelectionChanged</b>(<i></i>) - <p> Private slot to react upon a change of selection in the imports list. </p> + <a NAME="EditWhiteListDialog.on_listsWidget_currentChanged" ID="EditWhiteListDialog.on_listsWidget_currentChanged"></a> <h4>EditWhiteListDialog.on_listsWidget_currentChanged</h4> <b>on_listsWidget_currentChanged</b>(<i>index</i>) - <p> Private slot handling the selection of tab. </p> + <dl> <dt><i>index</i> (int)</dt> @@ -278,46 +276,46 @@ <a NAME="EditWhiteListDialog.on_methodsList_itemSelectionChanged" ID="EditWhiteListDialog.on_methodsList_itemSelectionChanged"></a> <h4>EditWhiteListDialog.on_methodsList_itemSelectionChanged</h4> <b>on_methodsList_itemSelectionChanged</b>(<i></i>) - <p> Private slot to react upon a change of selection in the methods list. </p> + <a NAME="EditWhiteListDialog.on_patternsList_itemSelectionChanged" ID="EditWhiteListDialog.on_patternsList_itemSelectionChanged"></a> <h4>EditWhiteListDialog.on_patternsList_itemSelectionChanged</h4> <b>on_patternsList_itemSelectionChanged</b>(<i></i>) - <p> Private slot to react upon a change of selection in the patterns list. </p> + <a NAME="EditWhiteListDialog.on_propertiesList_itemSelectionChanged" ID="EditWhiteListDialog.on_propertiesList_itemSelectionChanged"></a> <h4>EditWhiteListDialog.on_propertiesList_itemSelectionChanged</h4> <b>on_propertiesList_itemSelectionChanged</b>(<i></i>) - <p> Private slot to react upon a change of selection in the properties list. </p> + <a NAME="EditWhiteListDialog.on_removeAllButton_clicked" ID="EditWhiteListDialog.on_removeAllButton_clicked"></a> <h4>EditWhiteListDialog.on_removeAllButton_clicked</h4> <b>on_removeAllButton_clicked</b>(<i></i>) - <p> Private slot to remove all entries from the current list. </p> + <a NAME="EditWhiteListDialog.on_removeButton_clicked" ID="EditWhiteListDialog.on_removeButton_clicked"></a> <h4>EditWhiteListDialog.on_removeButton_clicked</h4> <b>on_removeButton_clicked</b>(<i></i>) - <p> Private slot to remove the selected entries from the current list. </p> + <a NAME="EditWhiteListDialog.on_variablesList_itemSelectionChanged" ID="EditWhiteListDialog.on_variablesList_itemSelectionChanged"></a> <h4>EditWhiteListDialog.on_variablesList_itemSelectionChanged</h4> <b>on_variablesList_itemSelectionChanged</b>(<i></i>) - <p> Private slot to react upon a change of selection in the variables list. </p> + <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/VultureChecker/Documentation/source/Plugin_Checker_Vulture.VultureChecker.VultureCheckerDialog.html Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/Documentation/source/Plugin_Checker_Vulture.VultureChecker.VultureCheckerDialog.html Mon Apr 22 16:13:31 2024 +0200 @@ -7,19 +7,17 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Checker_Vulture.VultureChecker.VultureCheckerDialog</h1> - <p> Module implementing a dialog to show the vulture check results. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#VultureCheckerDialog">VultureCheckerDialog</a></td> <td>Class implementing a dialog to show the vulture check results.</td> @@ -29,35 +27,35 @@ <td>Class to hold the name, type, confidence and location of defined code.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="VultureCheckerDialog" ID="VultureCheckerDialog"></a> <h2>VultureCheckerDialog</h2> - <p> Class implementing a dialog to show the vulture check results. </p> + <h3>Derived from</h3> QDialog, Ui_VultureCheckerDialog <h3>Class Attributes</h3> +<table> +<tr><td>FilePathRole</td></tr> +<tr><td>TypeRole</td></tr> +</table> -<table> -<tr><td>FilePathRole</td></tr><tr><td>TypeRole</td></tr> -</table> <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#VultureCheckerDialog.__init__">VultureCheckerDialog</a></td> <td>Constructor</td> @@ -195,6 +193,10 @@ <td>Private slot to start a code metrics run.</td> </tr> <tr> +<td><a href="#VultureCheckerDialog.on_typeFilterComboBox_currentTextChanged">on_typeFilterComboBox_currentTextChanged</a></td> +<td>Private slot to handle the selection of a type filter.</td> +</tr> +<tr> <td><a href="#VultureCheckerDialog.prepare">prepare</a></td> <td>Public method to prepare the dialog with a list of filenames.</td> </tr> @@ -211,19 +213,20 @@ <td>Public method to start a vulture check batch job.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="VultureCheckerDialog.__init__" ID="VultureCheckerDialog.__init__"></a> <h4>VultureCheckerDialog (Constructor)</h4> <b>VultureCheckerDialog</b>(<i>vultureService, parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>vultureService</i> (VulturePlugin)</dt> @@ -238,24 +241,24 @@ <a NAME="VultureCheckerDialog.__batchFinished" ID="VultureCheckerDialog.__batchFinished"></a> <h4>VultureCheckerDialog.__batchFinished</h4> <b>__batchFinished</b>(<i></i>) - <p> Private slot handling the completion of a batch job. </p> + <a NAME="VultureCheckerDialog.__cancel" ID="VultureCheckerDialog.__cancel"></a> <h4>VultureCheckerDialog.__cancel</h4> <b>__cancel</b>(<i></i>) - <p> Private method to cancel the current check run. </p> + <a NAME="VultureCheckerDialog.__createErrorItem" ID="VultureCheckerDialog.__createErrorItem"></a> <h4>VultureCheckerDialog.__createErrorItem</h4> <b>__createErrorItem</b>(<i>filename, message</i>) - <p> Private slot to create a new error item in the result list. </p> + <dl> <dt><i>filename</i> (str)</dt> @@ -270,10 +273,10 @@ <a NAME="VultureCheckerDialog.__createFileItem" ID="VultureCheckerDialog.__createFileItem"></a> <h4>VultureCheckerDialog.__createFileItem</h4> <b>__createFileItem</b>(<i>filename</i>) - <p> Private method to create a file item. </p> + <dl> <dt><i>filename</i> (str)</dt> @@ -296,10 +299,10 @@ <a NAME="VultureCheckerDialog.__createResultItem" ID="VultureCheckerDialog.__createResultItem"></a> <h4>VultureCheckerDialog.__createResultItem</h4> <b>__createResultItem</b>(<i>parent, item</i>) - <p> Private method to create a result item. </p> + <dl> <dt><i>parent</i> (QTreeWidgetItem)</dt> @@ -314,17 +317,17 @@ <a NAME="VultureCheckerDialog.__createResultItems" ID="VultureCheckerDialog.__createResultItems"></a> <h4>VultureCheckerDialog.__createResultItems</h4> <b>__createResultItems</b>(<i></i>) - <p> Private method to populate the list with the analysis result. </p> + <a NAME="VultureCheckerDialog.__dict2Item" ID="VultureCheckerDialog.__dict2Item"></a> <h4>VultureCheckerDialog.__dict2Item</h4> <b>__dict2Item</b>(<i>d</i>) - <p> Private method to convert an item dictionary to a vulture item. </p> + <dl> <dt><i>d</i> (dict)</dt> @@ -347,17 +350,17 @@ <a NAME="VultureCheckerDialog.__editWhiteList" ID="VultureCheckerDialog.__editWhiteList"></a> <h4>VultureCheckerDialog.__editWhiteList</h4> <b>__editWhiteList</b>(<i></i>) - <p> Private slot to edit the whitelist. </p> + <a NAME="VultureCheckerDialog.__filterUnusedAttributes" ID="VultureCheckerDialog.__filterUnusedAttributes"></a> <h4>VultureCheckerDialog.__filterUnusedAttributes</h4> <b>__filterUnusedAttributes</b>(<i></i>) - <p> Private method to get the list of unused attributes. </p> + <dl> <dt>Return:</dt> <dd> @@ -373,10 +376,10 @@ <a NAME="VultureCheckerDialog.__filterUnusedClasses" ID="VultureCheckerDialog.__filterUnusedClasses"></a> <h4>VultureCheckerDialog.__filterUnusedClasses</h4> <b>__filterUnusedClasses</b>(<i></i>) - <p> Private method to get the list of unused classes. </p> + <dl> <dt>Return:</dt> <dd> @@ -392,10 +395,10 @@ <a NAME="VultureCheckerDialog.__filterUnusedFunctions" ID="VultureCheckerDialog.__filterUnusedFunctions"></a> <h4>VultureCheckerDialog.__filterUnusedFunctions</h4> <b>__filterUnusedFunctions</b>(<i></i>) - <p> Private method to get the list of unused functions. </p> + <dl> <dt>Return:</dt> <dd> @@ -411,10 +414,10 @@ <a NAME="VultureCheckerDialog.__filterUnusedImports" ID="VultureCheckerDialog.__filterUnusedImports"></a> <h4>VultureCheckerDialog.__filterUnusedImports</h4> <b>__filterUnusedImports</b>(<i></i>) - <p> Private method to get a list of unused imports. </p> + <dl> <dt>Return:</dt> <dd> @@ -430,10 +433,10 @@ <a NAME="VultureCheckerDialog.__filterUnusedItems" ID="VultureCheckerDialog.__filterUnusedItems"></a> <h4>VultureCheckerDialog.__filterUnusedItems</h4> <b>__filterUnusedItems</b>(<i>unused, whitelistName</i>) - <p> Private method to get a list of unused items. </p> + <dl> <dt><i>unused</i> (list of VultureItem)</dt> @@ -460,10 +463,10 @@ <a NAME="VultureCheckerDialog.__filterUnusedMethods" ID="VultureCheckerDialog.__filterUnusedMethods"></a> <h4>VultureCheckerDialog.__filterUnusedMethods</h4> <b>__filterUnusedMethods</b>(<i></i>) - <p> Private method to get the list of unused methods. </p> + <dl> <dt>Return:</dt> <dd> @@ -479,10 +482,10 @@ <a NAME="VultureCheckerDialog.__filterUnusedProperties" ID="VultureCheckerDialog.__filterUnusedProperties"></a> <h4>VultureCheckerDialog.__filterUnusedProperties</h4> <b>__filterUnusedProperties</b>(<i></i>) - <p> Private method to get the list of unused properties. </p> + <dl> <dt>Return:</dt> <dd> @@ -498,10 +501,10 @@ <a NAME="VultureCheckerDialog.__filterUnusedVariables" ID="VultureCheckerDialog.__filterUnusedVariables"></a> <h4>VultureCheckerDialog.__filterUnusedVariables</h4> <b>__filterUnusedVariables</b>(<i></i>) - <p> Private method to get the list of unused variables. </p> + <dl> <dt>Return:</dt> <dd> @@ -517,11 +520,11 @@ <a NAME="VultureCheckerDialog.__filteredList" ID="VultureCheckerDialog.__filteredList"></a> <h4>VultureCheckerDialog.__filteredList</h4> <b>__filteredList</b>(<i>itemList</i>) - <p> Private method to filter a list against the whitelist patterns returning items not matching the whitelist. </p> + <dl> <dt><i>itemList</i> (list of VultureItem)</dt> @@ -544,18 +547,18 @@ <a NAME="VultureCheckerDialog.__finish" ID="VultureCheckerDialog.__finish"></a> <h4>VultureCheckerDialog.__finish</h4> <b>__finish</b>(<i></i>) - <p> Private slot called when the action finished or the user pressed the cancel button. </p> + <a NAME="VultureCheckerDialog.__getSelectedNonFileItems" ID="VultureCheckerDialog.__getSelectedNonFileItems"></a> <h4>VultureCheckerDialog.__getSelectedNonFileItems</h4> <b>__getSelectedNonFileItems</b>(<i></i>) - <p> Private method to get a list of selected non file items. </p> + <dl> <dt>Return:</dt> <dd> @@ -571,17 +574,17 @@ <a NAME="VultureCheckerDialog.__prepareResultLists" ID="VultureCheckerDialog.__prepareResultLists"></a> <h4>VultureCheckerDialog.__prepareResultLists</h4> <b>__prepareResultLists</b>(<i></i>) - <p> Private method to prepare the result lists. </p> + <a NAME="VultureCheckerDialog.__processError" ID="VultureCheckerDialog.__processError"></a> <h4>VultureCheckerDialog.__processError</h4> <b>__processError</b>(<i>fn, msg</i>) - <p> Private slot to process an error indication from the service. </p> + <dl> <dt><i>fn</i> (str)</dt> @@ -596,10 +599,10 @@ <a NAME="VultureCheckerDialog.__processResult" ID="VultureCheckerDialog.__processResult"></a> <h4>VultureCheckerDialog.__processResult</h4> <b>__processResult</b>(<i>fn, result</i>) - <p> Private slot called after performing a vulture analysis on one file. </p> + <dl> <dt><i>fn</i> (str)</dt> @@ -614,24 +617,24 @@ <a NAME="VultureCheckerDialog.__resultCollapse" ID="VultureCheckerDialog.__resultCollapse"></a> <h4>VultureCheckerDialog.__resultCollapse</h4> <b>__resultCollapse</b>(<i></i>) - <p> Private slot to collapse all entries of the resultlist. </p> + <a NAME="VultureCheckerDialog.__resultExpand" ID="VultureCheckerDialog.__resultExpand"></a> <h4>VultureCheckerDialog.__resultExpand</h4> <b>__resultExpand</b>(<i></i>) - <p> Private slot to expand all entries of the resultlist. </p> + <a NAME="VultureCheckerDialog.__showContextMenu" ID="VultureCheckerDialog.__showContextMenu"></a> <h4>VultureCheckerDialog.__showContextMenu</h4> <b>__showContextMenu</b>(<i>coord</i>) - <p> Private slot to show the context menu of the listview. </p> + <dl> <dt><i>coord</i> (QPoint)</dt> @@ -642,10 +645,10 @@ <a NAME="VultureCheckerDialog.__storeResult" ID="VultureCheckerDialog.__storeResult"></a> <h4>VultureCheckerDialog.__storeResult</h4> <b>__storeResult</b>(<i>result</i>) - <p> Private method to store the result of an analysis. </p> + <dl> <dt><i>result</i> (dict)</dt> @@ -656,10 +659,10 @@ <a NAME="VultureCheckerDialog.__storeWhiteLists" ID="VultureCheckerDialog.__storeWhiteLists"></a> <h4>VultureCheckerDialog.__storeWhiteLists</h4> <b>__storeWhiteLists</b>(<i>whitelists</i>) - <p> Private method to store the new whitelists, if they have changed. </p> + <dl> <dt><i>whitelists</i> (dict of list of str)</dt> @@ -670,24 +673,24 @@ <a NAME="VultureCheckerDialog.__whiteList" ID="VultureCheckerDialog.__whiteList"></a> <h4>VultureCheckerDialog.__whiteList</h4> <b>__whiteList</b>(<i></i>) - <p> Private slot to add entries to the whitelist. </p> + <a NAME="VultureCheckerDialog.clear" ID="VultureCheckerDialog.clear"></a> <h4>VultureCheckerDialog.clear</h4> <b>clear</b>(<i></i>) - <p> Public method to clear all results. </p> + <a NAME="VultureCheckerDialog.closeEvent" ID="VultureCheckerDialog.closeEvent"></a> <h4>VultureCheckerDialog.closeEvent</h4> <b>closeEvent</b>(<i>evt</i>) - <p> Protected method to handle a close event. </p> + <dl> <dt><i>evt</i> (QCloseEvent)</dt> @@ -698,10 +701,10 @@ <a NAME="VultureCheckerDialog.on_buttonBox_clicked" ID="VultureCheckerDialog.on_buttonBox_clicked"></a> <h4>VultureCheckerDialog.on_buttonBox_clicked</h4> <b>on_buttonBox_clicked</b>(<i>button</i>) - <p> Private slot called by a button of the button box clicked. </p> + <dl> <dt><i>button</i> (QAbstractButton)</dt> @@ -712,10 +715,10 @@ <a NAME="VultureCheckerDialog.on_resultList_itemActivated" ID="VultureCheckerDialog.on_resultList_itemActivated"></a> <h4>VultureCheckerDialog.on_resultList_itemActivated</h4> <b>on_resultList_itemActivated</b>(<i>item, column</i>) - <p> Private slot to handle the activation of a result item. </p> + <dl> <dt><i>item</i> (QTreeWidgetItem)</dt> @@ -730,17 +733,31 @@ <a NAME="VultureCheckerDialog.on_startButton_clicked" ID="VultureCheckerDialog.on_startButton_clicked"></a> <h4>VultureCheckerDialog.on_startButton_clicked</h4> <b>on_startButton_clicked</b>(<i></i>) - <p> Private slot to start a code metrics run. </p> + +<a NAME="VultureCheckerDialog.on_typeFilterComboBox_currentTextChanged" ID="VultureCheckerDialog.on_typeFilterComboBox_currentTextChanged"></a> +<h4>VultureCheckerDialog.on_typeFilterComboBox_currentTextChanged</h4> +<b>on_typeFilterComboBox_currentTextChanged</b>(<i>typeFilter</i>) +<p> + Private slot to handle the selection of a type filter. +</p> + +<dl> + +<dt><i>typeFilter</i> (str)</dt> +<dd> +type of the selected filter entry +</dd> +</dl> <a NAME="VultureCheckerDialog.prepare" ID="VultureCheckerDialog.prepare"></a> <h4>VultureCheckerDialog.prepare</h4> <b>prepare</b>(<i>fileList, project</i>) - <p> Public method to prepare the dialog with a list of filenames. </p> + <dl> <dt><i>fileList</i> (list of str)</dt> @@ -755,10 +772,10 @@ <a NAME="VultureCheckerDialog.start" ID="VultureCheckerDialog.start"></a> <h4>VultureCheckerDialog.start</h4> <b>start</b>(<i>fn</i>) - <p> Public slot to start the code metrics determination. </p> + <dl> <dt><i>fn</i> (str or list of str)</dt> @@ -770,66 +787,65 @@ <a NAME="VultureCheckerDialog.vultureCheck" ID="VultureCheckerDialog.vultureCheck"></a> <h4>VultureCheckerDialog.vultureCheck</h4> <b>vultureCheck</b>(<i></i>) - <p> Public method to start a vulture check for one Python file. </p> <p> The results are reported to the __processResult slot. </p> + <a NAME="VultureCheckerDialog.vultureCheckBatch" ID="VultureCheckerDialog.vultureCheckBatch"></a> <h4>VultureCheckerDialog.vultureCheckBatch</h4> <b>vultureCheckBatch</b>(<i></i>) - <p> Public method to start a vulture check batch job. </p> <p> The results are reported to the __processResult slot. </p> + <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="VultureItem" ID="VultureItem"></a> <h2>VultureItem</h2> - <p> Class to hold the name, type, confidence and location of defined code. </p> + <h3>Derived from</h3> None <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#VultureItem.__init__">VultureItem</a></td> <td>Constructor</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="VultureItem.__init__" ID="VultureItem.__init__"></a> <h4>VultureItem (Constructor)</h4> <b>VultureItem</b>(<i>name, typ, filename, firstLineno, lastLineno, confidence</i>) - <p> Constructor </p> + <dl> <dt><i>name</i> (str)</dt> @@ -859,4 +875,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/VultureChecker/Documentation/source/Plugin_Checker_Vulture.VultureChecker.VultureCheckerService.html Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/Documentation/source/Plugin_Checker_Vulture.VultureChecker.VultureCheckerService.html Mon Apr 22 16:13:31 2024 +0200 @@ -7,28 +7,25 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Checker_Vulture.VultureChecker.VultureCheckerService</h1> - <p> Module implementing the cyclomatic complexity service. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#EricVulture">EricVulture</a></td> <td>Class to adopt the Vulture class to the eric plug-in functionality.</td> </tr> </table> + <h3>Functions</h3> - <table> - <tr> <td><a href="#__analyze">__analyze</a></td> <td>Private function to analyze one Python file.</td> @@ -54,30 +51,29 @@ <td>Module function acting as the parallel worker for the vulture check.</td> </tr> </table> + <hr /> <hr /> <a NAME="EricVulture" ID="EricVulture"></a> <h2>EricVulture</h2> - <p> Class to adopt the Vulture class to the eric plug-in functionality. </p> + <h3>Derived from</h3> Vulture <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#EricVulture.__item2Dict">__item2Dict</a></td> <td>Private method to convert a vulture item to a dictionary.</td> @@ -87,19 +83,20 @@ <td>Public method to get the scan results.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="EricVulture.__item2Dict" ID="EricVulture.__item2Dict"></a> <h4>EricVulture.__item2Dict</h4> <b>__item2Dict</b>(<i>item</i>) - <p> Private method to convert a vulture item to a dictionary. </p> + <dl> <dt><i>item</i> (vulture.Item)</dt> @@ -122,10 +119,10 @@ <a NAME="EricVulture.getResults" ID="EricVulture.getResults"></a> <h4>EricVulture.getResults</h4> <b>getResults</b>(<i></i>) - <p> Public method to get the scan results. </p> + <dl> <dt>Return:</dt> <dd> @@ -144,10 +141,10 @@ <a NAME="__analyze" ID="__analyze"></a> <h2>__analyze</h2> <b>__analyze</b>(<i>filename, text=""</i>) - <p> Private function to analyze one Python file. </p> + <dl> <dt><i>filename</i> (str)</dt> @@ -177,10 +174,10 @@ <a NAME="batchVultureCheck" ID="batchVultureCheck"></a> <h2>batchVultureCheck</h2> <b>batchVultureCheck</b>(<i>argumentsList, send, fx, cancelled, maxProcesses=0</i>) - <p> Module function to analyze a batch of files. </p> + <dl> <dt><i>argumentsList</i> (list)</dt> @@ -210,10 +207,10 @@ <a NAME="initBatchService" ID="initBatchService"></a> <h2>initBatchService</h2> <b>initBatchService</b>(<i></i>) - <p> Initialize the batch service and return the entry point. </p> + <dl> <dt>Return:</dt> <dd> @@ -232,10 +229,10 @@ <a NAME="initService" ID="initService"></a> <h2>initService</h2> <b>initService</b>(<i></i>) - <p> Initialize the service and return the entry point. </p> + <dl> <dt>Return:</dt> <dd> @@ -254,10 +251,10 @@ <a NAME="vultureCheck" ID="vultureCheck"></a> <h2>vultureCheck</h2> <b>vultureCheck</b>(<i>file, text=""</i>) - <p> Private function to analyze one file. </p> + <dl> <dt><i>file</i> (str)</dt> @@ -287,10 +284,10 @@ <a NAME="workerTask" ID="workerTask"></a> <h2>workerTask</h2> <b>workerTask</b>(<i>inputQueue, outputQueue</i>) - <p> Module function acting as the parallel worker for the vulture check. </p> + <dl> <dt><i>inputQueue</i> (multiprocessing.Queue)</dt> @@ -304,4 +301,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/VultureChecker/Documentation/source/index-Plugin_Checker_Vulture.VultureChecker.html Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/Documentation/source/index-Plugin_Checker_Vulture.VultureChecker.html Mon Apr 22 16:13:31 2024 +0200 @@ -6,12 +6,12 @@ </head> <body> <h1>Plugin_Checker_Vulture.VultureChecker</h1> - <p> Package containing the vulture dialog, supporting functions and data. </p> + <h3>Modules</h3> <table> @@ -28,4 +28,4 @@ <td>Module implementing the cyclomatic complexity service.</td> </tr> </table> -</body></html> \ No newline at end of file +</body></html>
--- a/VultureChecker/Documentation/source/index-Plugin_Checker_Vulture.html Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/Documentation/source/index-Plugin_Checker_Vulture.html Mon Apr 22 16:13:31 2024 +0200 @@ -6,11 +6,11 @@ </head> <body> <h1>Plugin_Checker_Vulture</h1> - <p> Package implementing the vulture plug-in. </p> + <h3>Packages</h3> <table> @@ -28,4 +28,4 @@ <td>Module implementing the vulture plug-in.</td> </tr> </table> -</body></html> \ No newline at end of file +</body></html>
--- a/VultureChecker/Documentation/source/index.html Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/Documentation/source/index.html Mon Apr 22 16:13:31 2024 +0200 @@ -17,4 +17,4 @@ </tr> </table> -</body></html> \ No newline at end of file +</body></html>
--- a/VultureChecker/VultureCheckerDialog.py Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/VultureCheckerDialog.py Mon Apr 22 16:13:31 2024 +0200 @@ -132,6 +132,8 @@ "import": self.tr("Import"), } + self.__allTypesFilter = self.tr("All Types") + def __createErrorItem(self, filename, message): """ Private slot to create a new error item in the result list. @@ -206,6 +208,7 @@ self.cancelled = False self.__errorItem = None self.resultList.clear() + self.typeFilterComboBox.clear() self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setEnabled(False) self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setEnabled(True) @@ -645,6 +648,8 @@ """ Private method to populate the list with the analysis result. """ + typeFilters = set() + lastFileItem = None lastFileName = "" items = ( @@ -663,6 +668,18 @@ self.__createResultItem(lastFileItem, item) + # add to type filters if not already present + try: + translatedType = self.__translatedTypes[item.typ] + except KeyError: + translatedType = item.typ + typeFilters.add(translatedType) + + blocked = self.typeFilterComboBox.blockSignals(True) + self.typeFilterComboBox.addItem(self.__allTypesFilter) + self.typeFilterComboBox.addItems(sorted(typeFilters)) + self.typeFilterComboBox.blockSignals(blocked) + def __createResultItem(self, parent, item): """ Private method to create a result item. @@ -795,3 +812,32 @@ if changed: self.__project.setData("CHECKERSPARMS", "Vulture", self.__data) + + @pyqtSlot(str) + def on_typeFilterComboBox_currentTextChanged(self, typeFilter): + """ + Private slot to handle the selection of a type filter. + + @param typeFilter type of the selected filter entry + @type str + """ + if typeFilter == self.__allTypesFilter: + for row in range(self.resultList.topLevelItemCount()): + fileItem = self.resultList.topLevelItem(row) + fileItem.setHidden(False) + for result in range(fileItem.childCount()): + resultItem = fileItem.child(result) + resultItem.setHidden(False) + + else: + for row in range(self.resultList.topLevelItemCount()): + fileItem = self.resultList.topLevelItem(row) + visibleResults = 0 + for result in range(fileItem.childCount()): + resultItem = fileItem.child(result) + if resultItem.text(3) == typeFilter: + visibleResults += 1 + resultItem.setHidden(False) + else: + resultItem.setHidden(True) + fileItem.setHidden(visibleResults == 0)
--- a/VultureChecker/VultureCheckerDialog.ui Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/VultureCheckerDialog.ui Mon Apr 22 16:13:31 2024 +0200 @@ -83,6 +83,47 @@ </widget> </item> <item> + <widget class="Line" name="line_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Filter by Type:</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="typeFilterComboBox"> + <property name="toolTip"> + <string>Select the type of entries to be shown.</string> + </property> + <property name="sizeAdjustPolicy"> + <enum>QComboBox::AdjustToContents</enum> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> <widget class="QTreeWidget" name="resultList"> <property name="contextMenuPolicy"> <enum>Qt::CustomContextMenu</enum> @@ -148,6 +189,7 @@ <tabstops> <tabstop>startButton</tabstop> <tabstop>excludeFilesEdit</tabstop> + <tabstop>typeFilterComboBox</tabstop> <tabstop>resultList</tabstop> </tabstops> <resources/>
--- a/VultureChecker/i18n/vulture_de.ts Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/i18n/vulture_de.ts Mon Apr 22 16:13:31 2024 +0200 @@ -92,6 +92,76 @@ <context> <name>VultureCheckerDialog</name> <message> + <location filename="../VultureCheckerDialog.py" line="95" /> + <source>Add to Whitelist</source> + <translation>Zur Whitelist Hinzufügen</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="98" /> + <source>Edit Whitelist</source> + <translation>Whitelist Bearbeiten</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="101" /> + <source>Collapse all</source> + <translation>Alle Zuklappen</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="104" /> + <source>Expand all</source> + <translation>Alle Aufklappen</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="126" /> + <source>Property</source> + <translation>Eigenschaft</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="127" /> + <source>Function</source> + <translation>Funktion</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="128" /> + <source>Method</source> + <translation>Methode</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="129" /> + <source>Attribute</source> + <translation>Attribut</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="130" /> + <source>Variable</source> + <translation>Variable</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="131" /> + <source>Class</source> + <translation>Klasse</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="132" /> + <source>Import</source> + <translation>Import</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="135" /> + <source>All Types</source> + <translation>Alle Typen</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="147" /> + <source>Errors</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="400" /> + <source>No unused code found.</source> + <translation>Es wurde kein ungenutzter Code gefunden.</translation> + </message> + <message> <location filename="../VultureCheckerDialog.ui" line="0" /> <source>Unused Code Checker</source> <translation>Checker für ungenutzten Code</translation> @@ -125,6 +195,16 @@ </message> <message> <location filename="../VultureCheckerDialog.ui" line="0" /> + <source>Filter by Type:</source> + <translation>Typfilter:</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.ui" line="0" /> + <source>Select the type of entries to be shown.</source> + <translation>Wähle den Typ der anzuzeigenden Einträge.</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.ui" line="0" /> <source>Line</source> <translation>Zeile</translation> </message> @@ -153,96 +233,31 @@ <source>%v/%m Files</source> <translation>%v/%m Dateien</translation> </message> - <message> - <location filename="../VultureCheckerDialog.py" line="91" /> - <source>Add to Whitelist</source> - <translation>Zur Whitelist Hinzufügen</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="94" /> - <source>Edit Whitelist</source> - <translation>Whitelist Bearbeiten</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="97" /> - <source>Collapse all</source> - <translation>Alle Zuklappen</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="100" /> - <source>Expand all</source> - <translation>Alle Aufklappen</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="121" /> - <source>Property</source> - <translation>Eigenschaft</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="122" /> - <source>Function</source> - <translation>Funktion</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="123" /> - <source>Method</source> - <translation>Methode</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="124" /> - <source>Attribute</source> - <translation>Attribut</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="125" /> - <source>Variable</source> - <translation>Variable</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="126" /> - <source>Class</source> - <translation>Klasse</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="127" /> - <source>Import</source> - <translation>Import</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="140" /> - <source>Errors</source> - <translation>Fehler</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="392" /> - <source>No unused code found.</source> - <translation>Es wurde kein ungenutzter Code gefunden.</translation> - </message> </context> <context> <name>VulturePlugin</name> <message> - <location filename="../../PluginVulture.py" line="109" /> + <location filename="../../PluginVulture.py" line="113" /> <source>Python 3 batch job</source> <translation>Python 3 Stapelverarbeitung</translation> </message> <message> - <location filename="../../PluginVulture.py" line="212" /> + <location filename="../../PluginVulture.py" line="216" /> <source>Check Unused Code</source> <translation>Prüfe auf Ungenutzten Code</translation> </message> <message> - <location filename="../../PluginVulture.py" line="213" /> + <location filename="../../PluginVulture.py" line="217" /> <source>&Unused Code...</source> <translation>&Ungenutzter Code...</translation> </message> <message> - <location filename="../../PluginVulture.py" line="219" /> + <location filename="../../PluginVulture.py" line="223" /> <source>Check for unused code</source> <translation>Auf ungenutzten Code überprüfen</translation> </message> <message> - <location filename="../../PluginVulture.py" line="221" /> + <location filename="../../PluginVulture.py" line="225" /> <source><b>Check Unused Code...</b><p>This checks a Python project for unused code.</p></source> <translation><b>Prüfe auf Ungenutzten Code...</b><p>Dies überprüft ein Python Projekt auf ungenutzten Code.</p></translation> </message>
--- a/VultureChecker/i18n/vulture_en.ts Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/i18n/vulture_en.ts Mon Apr 22 16:13:31 2024 +0200 @@ -92,6 +92,76 @@ <context> <name>VultureCheckerDialog</name> <message> + <location filename="../VultureCheckerDialog.py" line="95" /> + <source>Add to Whitelist</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="98" /> + <source>Edit Whitelist</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="101" /> + <source>Collapse all</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="104" /> + <source>Expand all</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="126" /> + <source>Property</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="127" /> + <source>Function</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="128" /> + <source>Method</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="129" /> + <source>Attribute</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="130" /> + <source>Variable</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="131" /> + <source>Class</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="132" /> + <source>Import</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="135" /> + <source>All Types</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="147" /> + <source>Errors</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="400" /> + <source>No unused code found.</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../VultureCheckerDialog.ui" line="0" /> <source>Unused Code Checker</source> <translation type="unfinished" /> @@ -124,6 +194,16 @@ </message> <message> <location filename="../VultureCheckerDialog.ui" line="0" /> + <source>Filter by Type:</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.ui" line="0" /> + <source>Select the type of entries to be shown.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.ui" line="0" /> <source>Line</source> <translation type="unfinished" /> </message> @@ -152,96 +232,31 @@ <source>%v/%m Files</source> <translation type="unfinished" /> </message> - <message> - <location filename="../VultureCheckerDialog.py" line="91" /> - <source>Add to Whitelist</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="94" /> - <source>Edit Whitelist</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="97" /> - <source>Collapse all</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="100" /> - <source>Expand all</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="121" /> - <source>Property</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="122" /> - <source>Function</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="123" /> - <source>Method</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="124" /> - <source>Attribute</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="125" /> - <source>Variable</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="126" /> - <source>Class</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="127" /> - <source>Import</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="140" /> - <source>Errors</source> - <translation type="unfinished" /> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="392" /> - <source>No unused code found.</source> - <translation type="unfinished" /> - </message> </context> <context> <name>VulturePlugin</name> <message> - <location filename="../../PluginVulture.py" line="109" /> + <location filename="../../PluginVulture.py" line="113" /> <source>Python 3 batch job</source> <translation type="unfinished" /> </message> <message> - <location filename="../../PluginVulture.py" line="212" /> + <location filename="../../PluginVulture.py" line="216" /> <source>Check Unused Code</source> <translation type="unfinished" /> </message> <message> - <location filename="../../PluginVulture.py" line="213" /> + <location filename="../../PluginVulture.py" line="217" /> <source>&Unused Code...</source> <translation type="unfinished" /> </message> <message> - <location filename="../../PluginVulture.py" line="219" /> + <location filename="../../PluginVulture.py" line="223" /> <source>Check for unused code</source> <translation type="unfinished" /> </message> <message> - <location filename="../../PluginVulture.py" line="221" /> + <location filename="../../PluginVulture.py" line="225" /> <source><b>Check Unused Code...</b><p>This checks a Python project for unused code.</p></source> <translation type="unfinished" /> </message>
--- a/VultureChecker/i18n/vulture_es.ts Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/i18n/vulture_es.ts Mon Apr 22 16:13:31 2024 +0200 @@ -92,6 +92,76 @@ <context> <name>VultureCheckerDialog</name> <message> + <location filename="../VultureCheckerDialog.py" line="95" /> + <source>Add to Whitelist</source> + <translation>Añadir a la Lista Blanca</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="98" /> + <source>Edit Whitelist</source> + <translation>Editar Lista Blanca</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="101" /> + <source>Collapse all</source> + <translation>Contraer todo</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="104" /> + <source>Expand all</source> + <translation>Expandir todo</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="126" /> + <source>Property</source> + <translation>Propiedad</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="127" /> + <source>Function</source> + <translation>Función</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="128" /> + <source>Method</source> + <translation>Método</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="129" /> + <source>Attribute</source> + <translation>Atributo</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="130" /> + <source>Variable</source> + <translation>Variable</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="131" /> + <source>Class</source> + <translation>Clase</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="132" /> + <source>Import</source> + <translation>Import</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="135" /> + <source>All Types</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="147" /> + <source>Errors</source> + <translation>Errores</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="400" /> + <source>No unused code found.</source> + <translation>No se ha hallado código sin utilizar.</translation> + </message> + <message> <location filename="../VultureCheckerDialog.ui" line="0" /> <source>Unused Code Checker</source> <translation>Comprobador de Código no Usado</translation> @@ -125,6 +195,16 @@ </message> <message> <location filename="../VultureCheckerDialog.ui" line="0" /> + <source>Filter by Type:</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.ui" line="0" /> + <source>Select the type of entries to be shown.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.ui" line="0" /> <source>Line</source> <translation>Línea</translation> </message> @@ -153,96 +233,31 @@ <source>%v/%m Files</source> <translation>Archivos %v/%m</translation> </message> - <message> - <location filename="../VultureCheckerDialog.py" line="91" /> - <source>Add to Whitelist</source> - <translation>Añadir a la Lista Blanca</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="94" /> - <source>Edit Whitelist</source> - <translation>Editar Lista Blanca</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="97" /> - <source>Collapse all</source> - <translation>Contraer todo</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="100" /> - <source>Expand all</source> - <translation>Expandir todo</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="121" /> - <source>Property</source> - <translation>Propiedad</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="122" /> - <source>Function</source> - <translation>Función</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="123" /> - <source>Method</source> - <translation>Método</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="124" /> - <source>Attribute</source> - <translation>Atributo</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="125" /> - <source>Variable</source> - <translation>Variable</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="126" /> - <source>Class</source> - <translation>Clase</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="127" /> - <source>Import</source> - <translation>Import</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="140" /> - <source>Errors</source> - <translation>Errores</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="392" /> - <source>No unused code found.</source> - <translation>No se ha hallado código sin utilizar.</translation> - </message> </context> <context> <name>VulturePlugin</name> <message> - <location filename="../../PluginVulture.py" line="109" /> + <location filename="../../PluginVulture.py" line="113" /> <source>Python 3 batch job</source> <translation>Trabajo por lotes de Python 3</translation> </message> <message> - <location filename="../../PluginVulture.py" line="212" /> + <location filename="../../PluginVulture.py" line="216" /> <source>Check Unused Code</source> <translation>Comprobar Código no Usado</translation> </message> <message> - <location filename="../../PluginVulture.py" line="213" /> + <location filename="../../PluginVulture.py" line="217" /> <source>&Unused Code...</source> <translation>Código no &Usado...</translation> </message> <message> - <location filename="../../PluginVulture.py" line="219" /> + <location filename="../../PluginVulture.py" line="223" /> <source>Check for unused code</source> <translation>Comprobar código no usado</translation> </message> <message> - <location filename="../../PluginVulture.py" line="221" /> + <location filename="../../PluginVulture.py" line="225" /> <source><b>Check Unused Code...</b><p>This checks a Python project for unused code.</p></source> <translation><b>Comprobar Código no Usado...</b><p>Comprueba un projecto Python buscando código no usado.</p></translation> </message>
--- a/VultureChecker/i18n/vulture_ru.ts Sat Dec 23 16:08:42 2023 +0100 +++ b/VultureChecker/i18n/vulture_ru.ts Mon Apr 22 16:13:31 2024 +0200 @@ -92,6 +92,76 @@ <context> <name>VultureCheckerDialog</name> <message> + <location filename="../VultureCheckerDialog.py" line="95" /> + <source>Add to Whitelist</source> + <translation>Добавить в белый список</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="98" /> + <source>Edit Whitelist</source> + <translation>Правка белого списка</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="101" /> + <source>Collapse all</source> + <translation>Свернуть все</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="104" /> + <source>Expand all</source> + <translation>Развернуть все</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="126" /> + <source>Property</source> + <translation>Свойство</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="127" /> + <source>Function</source> + <translation>Функция</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="128" /> + <source>Method</source> + <translation>Метод</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="129" /> + <source>Attribute</source> + <translation>Атрибут</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="130" /> + <source>Variable</source> + <translation>Переменная</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="131" /> + <source>Class</source> + <translation>Класс</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="132" /> + <source>Import</source> + <translation>Импорт</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="135" /> + <source>All Types</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="147" /> + <source>Errors</source> + <translation>Ошибки</translation> + </message> + <message> + <location filename="../VultureCheckerDialog.py" line="400" /> + <source>No unused code found.</source> + <translation>Неиспользуемый код не найден.</translation> + </message> + <message> <location filename="../VultureCheckerDialog.ui" line="0" /> <source>Unused Code Checker</source> <translation>Проверка неиспользованного кода</translation> @@ -125,6 +195,16 @@ </message> <message> <location filename="../VultureCheckerDialog.ui" line="0" /> + <source>Filter by Type:</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.ui" line="0" /> + <source>Select the type of entries to be shown.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../VultureCheckerDialog.ui" line="0" /> <source>Line</source> <translation>Строка</translation> </message> @@ -153,96 +233,31 @@ <source>%v/%m Files</source> <translation>%v из %m файлов</translation> </message> - <message> - <location filename="../VultureCheckerDialog.py" line="91" /> - <source>Add to Whitelist</source> - <translation>Добавить в белый список</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="94" /> - <source>Edit Whitelist</source> - <translation>Правка белого списка</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="97" /> - <source>Collapse all</source> - <translation>Свернуть все</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="100" /> - <source>Expand all</source> - <translation>Развернуть все</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="121" /> - <source>Property</source> - <translation>Свойство</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="122" /> - <source>Function</source> - <translation>Функция</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="123" /> - <source>Method</source> - <translation>Метод</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="124" /> - <source>Attribute</source> - <translation>Атрибут</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="125" /> - <source>Variable</source> - <translation>Переменная</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="126" /> - <source>Class</source> - <translation>Класс</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="127" /> - <source>Import</source> - <translation>Импорт</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="140" /> - <source>Errors</source> - <translation>Ошибки</translation> - </message> - <message> - <location filename="../VultureCheckerDialog.py" line="392" /> - <source>No unused code found.</source> - <translation>Неиспользуемый код не найден.</translation> - </message> </context> <context> <name>VulturePlugin</name> <message> - <location filename="../../PluginVulture.py" line="109" /> + <location filename="../../PluginVulture.py" line="113" /> <source>Python 3 batch job</source> <translation>Пакетное задание Python 3</translation> </message> <message> - <location filename="../../PluginVulture.py" line="212" /> + <location filename="../../PluginVulture.py" line="216" /> <source>Check Unused Code</source> <translation>Проверка неиспользуемого кода</translation> </message> <message> - <location filename="../../PluginVulture.py" line="213" /> + <location filename="../../PluginVulture.py" line="217" /> <source>&Unused Code...</source> <translation>&Неиспользованный код...</translation> </message> <message> - <location filename="../../PluginVulture.py" line="219" /> + <location filename="../../PluginVulture.py" line="223" /> <source>Check for unused code</source> <translation>Проверка неиспользуемого кода</translation> </message> <message> - <location filename="../../PluginVulture.py" line="221" /> + <location filename="../../PluginVulture.py" line="225" /> <source><b>Check Unused Code...</b><p>This checks a Python project for unused code.</p></source> <translation><b>Проверка неиспользуемого кода...</b><p>Эта проверка позволяет выявить в проекте Python неиспользованный код.</p></translation> </message>